OpenSDN source code
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rpc.grpc.pb.h
Go to the documentation of this file.
1 // Generated by the gRPC C++ plugin.
2 // If you make any local change, they will be lost.
3 // source: rpc.proto
4 #ifndef GRPC_rpc_2eproto__INCLUDED
5 #define GRPC_rpc_2eproto__INCLUDED
6 
7 #include "rpc.pb.h"
8 
9 #include <grpcpp/impl/codegen/async_stream.h>
10 #include <grpcpp/impl/codegen/async_unary_call.h>
11 #include <grpcpp/impl/codegen/method_handler_impl.h>
12 #include <grpcpp/impl/codegen/proto_utils.h>
13 #include <grpcpp/impl/codegen/rpc_method.h>
14 #include <grpcpp/impl/codegen/service_type.h>
15 #include <grpcpp/impl/codegen/status.h>
16 #include <grpcpp/impl/codegen/stub_options.h>
17 #include <grpcpp/impl/codegen/sync_stream.h>
18 
19 namespace grpc {
20 class CompletionQueue;
21 class Channel;
22 class ServerCompletionQueue;
23 class ServerContext;
24 } // namespace grpc
25 
26 namespace etcdserverpb {
27 
28 class KV final {
29  public:
30  static constexpr char const* service_full_name() {
31  return "etcdserverpb.KV";
32  }
33  class StubInterface {
34  public:
35  virtual ~StubInterface() {}
36  // Range gets the keys in the range from the key-value store.
37  virtual ::grpc::Status Range(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::etcdserverpb::RangeResponse* response) = 0;
38  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse>> AsyncRange(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::grpc::CompletionQueue* cq) {
39  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse>>(AsyncRangeRaw(context, request, cq));
40  }
41  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse>> PrepareAsyncRange(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::grpc::CompletionQueue* cq) {
42  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse>>(PrepareAsyncRangeRaw(context, request, cq));
43  }
44  // Put puts the given key into the key-value store.
45  // A put request increments the revision of the key-value store
46  // and generates one event in the event history.
47  virtual ::grpc::Status Put(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::etcdserverpb::PutResponse* response) = 0;
48  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse>> AsyncPut(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::grpc::CompletionQueue* cq) {
49  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse>>(AsyncPutRaw(context, request, cq));
50  }
51  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse>> PrepareAsyncPut(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::grpc::CompletionQueue* cq) {
52  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse>>(PrepareAsyncPutRaw(context, request, cq));
53  }
54  // DeleteRange deletes the given range from the key-value store.
55  // A delete request increments the revision of the key-value store
56  // and generates a delete event in the event history for every deleted key.
57  virtual ::grpc::Status DeleteRange(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::etcdserverpb::DeleteRangeResponse* response) = 0;
58  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse>> AsyncDeleteRange(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::grpc::CompletionQueue* cq) {
59  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse>>(AsyncDeleteRangeRaw(context, request, cq));
60  }
61  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse>> PrepareAsyncDeleteRange(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::grpc::CompletionQueue* cq) {
62  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse>>(PrepareAsyncDeleteRangeRaw(context, request, cq));
63  }
64  // Txn processes multiple requests in a single transaction.
65  // A txn request increments the revision of the key-value store
66  // and generates events with the same revision for every completed request.
67  // It is not allowed to modify the same key several times within one txn.
68  virtual ::grpc::Status Txn(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::etcdserverpb::TxnResponse* response) = 0;
69  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse>> AsyncTxn(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::grpc::CompletionQueue* cq) {
70  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse>>(AsyncTxnRaw(context, request, cq));
71  }
72  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse>> PrepareAsyncTxn(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::grpc::CompletionQueue* cq) {
73  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse>>(PrepareAsyncTxnRaw(context, request, cq));
74  }
75  // Compact compacts the event history in the etcd key-value store. The key-value
76  // store should be periodically compacted or the event history will continue to grow
77  // indefinitely.
78  virtual ::grpc::Status Compact(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::etcdserverpb::CompactionResponse* response) = 0;
79  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse>> AsyncCompact(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::grpc::CompletionQueue* cq) {
80  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse>>(AsyncCompactRaw(context, request, cq));
81  }
82  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse>> PrepareAsyncCompact(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::grpc::CompletionQueue* cq) {
83  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse>>(PrepareAsyncCompactRaw(context, request, cq));
84  }
85  private:
86  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse>* AsyncRangeRaw(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::grpc::CompletionQueue* cq) = 0;
87  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse>* PrepareAsyncRangeRaw(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::grpc::CompletionQueue* cq) = 0;
88  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse>* AsyncPutRaw(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::grpc::CompletionQueue* cq) = 0;
89  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse>* PrepareAsyncPutRaw(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::grpc::CompletionQueue* cq) = 0;
90  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse>* AsyncDeleteRangeRaw(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::grpc::CompletionQueue* cq) = 0;
91  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse>* PrepareAsyncDeleteRangeRaw(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::grpc::CompletionQueue* cq) = 0;
92  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse>* AsyncTxnRaw(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::grpc::CompletionQueue* cq) = 0;
93  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse>* PrepareAsyncTxnRaw(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::grpc::CompletionQueue* cq) = 0;
94  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse>* AsyncCompactRaw(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::grpc::CompletionQueue* cq) = 0;
95  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse>* PrepareAsyncCompactRaw(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::grpc::CompletionQueue* cq) = 0;
96  };
97  class Stub final : public StubInterface {
98  public:
99  Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel);
100  ::grpc::Status Range(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::etcdserverpb::RangeResponse* response) override;
101  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse>> AsyncRange(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::grpc::CompletionQueue* cq) {
102  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse>>(AsyncRangeRaw(context, request, cq));
103  }
104  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse>> PrepareAsyncRange(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::grpc::CompletionQueue* cq) {
105  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse>>(PrepareAsyncRangeRaw(context, request, cq));
106  }
107  ::grpc::Status Put(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::etcdserverpb::PutResponse* response) override;
108  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse>> AsyncPut(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::grpc::CompletionQueue* cq) {
109  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse>>(AsyncPutRaw(context, request, cq));
110  }
111  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse>> PrepareAsyncPut(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::grpc::CompletionQueue* cq) {
112  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse>>(PrepareAsyncPutRaw(context, request, cq));
113  }
114  ::grpc::Status DeleteRange(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::etcdserverpb::DeleteRangeResponse* response) override;
115  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse>> AsyncDeleteRange(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::grpc::CompletionQueue* cq) {
116  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse>>(AsyncDeleteRangeRaw(context, request, cq));
117  }
118  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse>> PrepareAsyncDeleteRange(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::grpc::CompletionQueue* cq) {
119  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse>>(PrepareAsyncDeleteRangeRaw(context, request, cq));
120  }
121  ::grpc::Status Txn(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::etcdserverpb::TxnResponse* response) override;
122  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse>> AsyncTxn(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::grpc::CompletionQueue* cq) {
123  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse>>(AsyncTxnRaw(context, request, cq));
124  }
125  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse>> PrepareAsyncTxn(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::grpc::CompletionQueue* cq) {
126  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse>>(PrepareAsyncTxnRaw(context, request, cq));
127  }
128  ::grpc::Status Compact(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::etcdserverpb::CompactionResponse* response) override;
129  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse>> AsyncCompact(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::grpc::CompletionQueue* cq) {
130  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse>>(AsyncCompactRaw(context, request, cq));
131  }
132  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse>> PrepareAsyncCompact(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::grpc::CompletionQueue* cq) {
133  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse>>(PrepareAsyncCompactRaw(context, request, cq));
134  }
135 
136  private:
137  std::shared_ptr< ::grpc::ChannelInterface> channel_;
138  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse>* AsyncRangeRaw(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::grpc::CompletionQueue* cq) override;
139  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse>* PrepareAsyncRangeRaw(::grpc::ClientContext* context, const ::etcdserverpb::RangeRequest& request, ::grpc::CompletionQueue* cq) override;
140  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse>* AsyncPutRaw(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::grpc::CompletionQueue* cq) override;
141  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse>* PrepareAsyncPutRaw(::grpc::ClientContext* context, const ::etcdserverpb::PutRequest& request, ::grpc::CompletionQueue* cq) override;
142  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse>* AsyncDeleteRangeRaw(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::grpc::CompletionQueue* cq) override;
143  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse>* PrepareAsyncDeleteRangeRaw(::grpc::ClientContext* context, const ::etcdserverpb::DeleteRangeRequest& request, ::grpc::CompletionQueue* cq) override;
144  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse>* AsyncTxnRaw(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::grpc::CompletionQueue* cq) override;
145  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse>* PrepareAsyncTxnRaw(::grpc::ClientContext* context, const ::etcdserverpb::TxnRequest& request, ::grpc::CompletionQueue* cq) override;
146  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse>* AsyncCompactRaw(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::grpc::CompletionQueue* cq) override;
147  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse>* PrepareAsyncCompactRaw(::grpc::ClientContext* context, const ::etcdserverpb::CompactionRequest& request, ::grpc::CompletionQueue* cq) override;
148  const ::grpc::internal::RpcMethod rpcmethod_Range_;
149  const ::grpc::internal::RpcMethod rpcmethod_Put_;
150  const ::grpc::internal::RpcMethod rpcmethod_DeleteRange_;
151  const ::grpc::internal::RpcMethod rpcmethod_Txn_;
152  const ::grpc::internal::RpcMethod rpcmethod_Compact_;
153  };
154  static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
155 
156  class Service : public ::grpc::Service {
157  public:
158  Service();
159  virtual ~Service();
160  // Range gets the keys in the range from the key-value store.
161  virtual ::grpc::Status Range(::grpc::ServerContext* context, const ::etcdserverpb::RangeRequest* request, ::etcdserverpb::RangeResponse* response);
162  // Put puts the given key into the key-value store.
163  // A put request increments the revision of the key-value store
164  // and generates one event in the event history.
165  virtual ::grpc::Status Put(::grpc::ServerContext* context, const ::etcdserverpb::PutRequest* request, ::etcdserverpb::PutResponse* response);
166  // DeleteRange deletes the given range from the key-value store.
167  // A delete request increments the revision of the key-value store
168  // and generates a delete event in the event history for every deleted key.
169  virtual ::grpc::Status DeleteRange(::grpc::ServerContext* context, const ::etcdserverpb::DeleteRangeRequest* request, ::etcdserverpb::DeleteRangeResponse* response);
170  // Txn processes multiple requests in a single transaction.
171  // A txn request increments the revision of the key-value store
172  // and generates events with the same revision for every completed request.
173  // It is not allowed to modify the same key several times within one txn.
174  virtual ::grpc::Status Txn(::grpc::ServerContext* context, const ::etcdserverpb::TxnRequest* request, ::etcdserverpb::TxnResponse* response);
175  // Compact compacts the event history in the etcd key-value store. The key-value
176  // store should be periodically compacted or the event history will continue to grow
177  // indefinitely.
178  virtual ::grpc::Status Compact(::grpc::ServerContext* context, const ::etcdserverpb::CompactionRequest* request, ::etcdserverpb::CompactionResponse* response);
179  };
180  template <class BaseClass>
181  class WithAsyncMethod_Range : public BaseClass {
182  private:
184  public:
186  ::grpc::Service::MarkMethodAsync(0);
187  }
190  }
191  // disable synchronous version of this method
192  ::grpc::Status Range(::grpc::ServerContext* context, const ::etcdserverpb::RangeRequest* request, ::etcdserverpb::RangeResponse* response) final override {
193  abort();
194  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
195  }
196  void RequestRange(::grpc::ServerContext* context, ::etcdserverpb::RangeRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::RangeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
197  ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
198  }
199  };
200  template <class BaseClass>
201  class WithAsyncMethod_Put : public BaseClass {
202  private:
204  public:
206  ::grpc::Service::MarkMethodAsync(1);
207  }
208  ~WithAsyncMethod_Put() override {
210  }
211  // disable synchronous version of this method
212  ::grpc::Status Put(::grpc::ServerContext* context, const ::etcdserverpb::PutRequest* request, ::etcdserverpb::PutResponse* response) final override {
213  abort();
214  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
215  }
216  void RequestPut(::grpc::ServerContext* context, ::etcdserverpb::PutRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::PutResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
217  ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag);
218  }
219  };
220  template <class BaseClass>
221  class WithAsyncMethod_DeleteRange : public BaseClass {
222  private:
224  public:
226  ::grpc::Service::MarkMethodAsync(2);
227  }
230  }
231  // disable synchronous version of this method
232  ::grpc::Status DeleteRange(::grpc::ServerContext* context, const ::etcdserverpb::DeleteRangeRequest* request, ::etcdserverpb::DeleteRangeResponse* response) final override {
233  abort();
234  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
235  }
236  void RequestDeleteRange(::grpc::ServerContext* context, ::etcdserverpb::DeleteRangeRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::DeleteRangeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
237  ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag);
238  }
239  };
240  template <class BaseClass>
241  class WithAsyncMethod_Txn : public BaseClass {
242  private:
244  public:
246  ::grpc::Service::MarkMethodAsync(3);
247  }
248  ~WithAsyncMethod_Txn() override {
250  }
251  // disable synchronous version of this method
252  ::grpc::Status Txn(::grpc::ServerContext* context, const ::etcdserverpb::TxnRequest* request, ::etcdserverpb::TxnResponse* response) final override {
253  abort();
254  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
255  }
256  void RequestTxn(::grpc::ServerContext* context, ::etcdserverpb::TxnRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::TxnResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
257  ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag);
258  }
259  };
260  template <class BaseClass>
261  class WithAsyncMethod_Compact : public BaseClass {
262  private:
264  public:
266  ::grpc::Service::MarkMethodAsync(4);
267  }
270  }
271  // disable synchronous version of this method
272  ::grpc::Status Compact(::grpc::ServerContext* context, const ::etcdserverpb::CompactionRequest* request, ::etcdserverpb::CompactionResponse* response) final override {
273  abort();
274  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
275  }
276  void RequestCompact(::grpc::ServerContext* context, ::etcdserverpb::CompactionRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::CompactionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
277  ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag);
278  }
279  };
281  template <class BaseClass>
282  class WithGenericMethod_Range : public BaseClass {
283  private:
285  public:
287  ::grpc::Service::MarkMethodGeneric(0);
288  }
291  }
292  // disable synchronous version of this method
293  ::grpc::Status Range(::grpc::ServerContext* context, const ::etcdserverpb::RangeRequest* request, ::etcdserverpb::RangeResponse* response) final override {
294  abort();
295  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
296  }
297  };
298  template <class BaseClass>
299  class WithGenericMethod_Put : public BaseClass {
300  private:
302  public:
304  ::grpc::Service::MarkMethodGeneric(1);
305  }
308  }
309  // disable synchronous version of this method
310  ::grpc::Status Put(::grpc::ServerContext* context, const ::etcdserverpb::PutRequest* request, ::etcdserverpb::PutResponse* response) final override {
311  abort();
312  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
313  }
314  };
315  template <class BaseClass>
316  class WithGenericMethod_DeleteRange : public BaseClass {
317  private:
319  public:
321  ::grpc::Service::MarkMethodGeneric(2);
322  }
325  }
326  // disable synchronous version of this method
327  ::grpc::Status DeleteRange(::grpc::ServerContext* context, const ::etcdserverpb::DeleteRangeRequest* request, ::etcdserverpb::DeleteRangeResponse* response) final override {
328  abort();
329  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
330  }
331  };
332  template <class BaseClass>
333  class WithGenericMethod_Txn : public BaseClass {
334  private:
336  public:
338  ::grpc::Service::MarkMethodGeneric(3);
339  }
342  }
343  // disable synchronous version of this method
344  ::grpc::Status Txn(::grpc::ServerContext* context, const ::etcdserverpb::TxnRequest* request, ::etcdserverpb::TxnResponse* response) final override {
345  abort();
346  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
347  }
348  };
349  template <class BaseClass>
350  class WithGenericMethod_Compact : public BaseClass {
351  private:
353  public:
355  ::grpc::Service::MarkMethodGeneric(4);
356  }
359  }
360  // disable synchronous version of this method
361  ::grpc::Status Compact(::grpc::ServerContext* context, const ::etcdserverpb::CompactionRequest* request, ::etcdserverpb::CompactionResponse* response) final override {
362  abort();
363  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
364  }
365  };
366  template <class BaseClass>
367  class WithStreamedUnaryMethod_Range : public BaseClass {
368  private:
370  public:
372  ::grpc::Service::MarkMethodStreamed(0,
373  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::RangeRequest, ::etcdserverpb::RangeResponse>(std::bind(&WithStreamedUnaryMethod_Range<BaseClass>::StreamedRange, this, std::placeholders::_1, std::placeholders::_2)));
374  }
377  }
378  // disable regular version of this method
379  ::grpc::Status Range(::grpc::ServerContext* context, const ::etcdserverpb::RangeRequest* request, ::etcdserverpb::RangeResponse* response) final override {
380  abort();
381  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
382  }
383  // replace default version of method with streamed unary
384  virtual ::grpc::Status StreamedRange(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::RangeRequest,::etcdserverpb::RangeResponse>* server_unary_streamer) = 0;
385  };
386  template <class BaseClass>
387  class WithStreamedUnaryMethod_Put : public BaseClass {
388  private:
390  public:
392  ::grpc::Service::MarkMethodStreamed(1,
393  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::PutRequest, ::etcdserverpb::PutResponse>(std::bind(&WithStreamedUnaryMethod_Put<BaseClass>::StreamedPut, this, std::placeholders::_1, std::placeholders::_2)));
394  }
397  }
398  // disable regular version of this method
399  ::grpc::Status Put(::grpc::ServerContext* context, const ::etcdserverpb::PutRequest* request, ::etcdserverpb::PutResponse* response) final override {
400  abort();
401  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
402  }
403  // replace default version of method with streamed unary
404  virtual ::grpc::Status StreamedPut(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::PutRequest,::etcdserverpb::PutResponse>* server_unary_streamer) = 0;
405  };
406  template <class BaseClass>
407  class WithStreamedUnaryMethod_DeleteRange : public BaseClass {
408  private:
410  public:
412  ::grpc::Service::MarkMethodStreamed(2,
413  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::DeleteRangeRequest, ::etcdserverpb::DeleteRangeResponse>(std::bind(&WithStreamedUnaryMethod_DeleteRange<BaseClass>::StreamedDeleteRange, this, std::placeholders::_1, std::placeholders::_2)));
414  }
417  }
418  // disable regular version of this method
419  ::grpc::Status DeleteRange(::grpc::ServerContext* context, const ::etcdserverpb::DeleteRangeRequest* request, ::etcdserverpb::DeleteRangeResponse* response) final override {
420  abort();
421  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
422  }
423  // replace default version of method with streamed unary
424  virtual ::grpc::Status StreamedDeleteRange(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::DeleteRangeRequest,::etcdserverpb::DeleteRangeResponse>* server_unary_streamer) = 0;
425  };
426  template <class BaseClass>
427  class WithStreamedUnaryMethod_Txn : public BaseClass {
428  private:
430  public:
432  ::grpc::Service::MarkMethodStreamed(3,
433  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::TxnRequest, ::etcdserverpb::TxnResponse>(std::bind(&WithStreamedUnaryMethod_Txn<BaseClass>::StreamedTxn, this, std::placeholders::_1, std::placeholders::_2)));
434  }
437  }
438  // disable regular version of this method
439  ::grpc::Status Txn(::grpc::ServerContext* context, const ::etcdserverpb::TxnRequest* request, ::etcdserverpb::TxnResponse* response) final override {
440  abort();
441  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
442  }
443  // replace default version of method with streamed unary
444  virtual ::grpc::Status StreamedTxn(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::TxnRequest,::etcdserverpb::TxnResponse>* server_unary_streamer) = 0;
445  };
446  template <class BaseClass>
447  class WithStreamedUnaryMethod_Compact : public BaseClass {
448  private:
450  public:
452  ::grpc::Service::MarkMethodStreamed(4,
453  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::CompactionRequest, ::etcdserverpb::CompactionResponse>(std::bind(&WithStreamedUnaryMethod_Compact<BaseClass>::StreamedCompact, this, std::placeholders::_1, std::placeholders::_2)));
454  }
457  }
458  // disable regular version of this method
459  ::grpc::Status Compact(::grpc::ServerContext* context, const ::etcdserverpb::CompactionRequest* request, ::etcdserverpb::CompactionResponse* response) final override {
460  abort();
461  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
462  }
463  // replace default version of method with streamed unary
464  virtual ::grpc::Status StreamedCompact(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::CompactionRequest,::etcdserverpb::CompactionResponse>* server_unary_streamer) = 0;
465  };
469 };
470 
471 class Watch final {
472  public:
473  static constexpr char const* service_full_name() {
474  return "etcdserverpb.Watch";
475  }
477  public:
478  virtual ~StubInterface() {}
479  // Watch watches for events happening or that have happened. Both input and output
480  // are streams; the input stream is for creating and canceling watchers and the output
481  // stream sends events. One watch RPC can watch on multiple key ranges, streaming events
482  // for several watches at once. The entire event history can be watched starting from the
483  // last compaction revision.
484  std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>> Watch(::grpc::ClientContext* context) {
485  return std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>>(WatchRaw(context));
486  }
487  std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>> AsyncWatch(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) {
488  return std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>>(AsyncWatchRaw(context, cq, tag));
489  }
490  std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>> PrepareAsyncWatch(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) {
491  return std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>>(PrepareAsyncWatchRaw(context, cq));
492  }
493  private:
494  virtual ::grpc::ClientReaderWriterInterface< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>* WatchRaw(::grpc::ClientContext* context) = 0;
495  virtual ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>* AsyncWatchRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) = 0;
496  virtual ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>* PrepareAsyncWatchRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) = 0;
497  };
498  class Stub final : public StubInterface {
499  public:
500  Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel);
501  std::unique_ptr< ::grpc::ClientReaderWriter< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>> Watch(::grpc::ClientContext* context) {
502  return std::unique_ptr< ::grpc::ClientReaderWriter< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>>(WatchRaw(context));
503  }
504  std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>> AsyncWatch(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) {
505  return std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>>(AsyncWatchRaw(context, cq, tag));
506  }
507  std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>> PrepareAsyncWatch(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) {
508  return std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>>(PrepareAsyncWatchRaw(context, cq));
509  }
510 
511  private:
512  std::shared_ptr< ::grpc::ChannelInterface> channel_;
513  ::grpc::ClientReaderWriter< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>* WatchRaw(::grpc::ClientContext* context) override;
514  ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>* AsyncWatchRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) override;
515  ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest, ::etcdserverpb::WatchResponse>* PrepareAsyncWatchRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) override;
516  const ::grpc::internal::RpcMethod rpcmethod_Watch_;
517  };
518  static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
519 
520  class Service : public ::grpc::Service {
521  public:
522  Service();
523  virtual ~Service();
524  // Watch watches for events happening or that have happened. Both input and output
525  // are streams; the input stream is for creating and canceling watchers and the output
526  // stream sends events. One watch RPC can watch on multiple key ranges, streaming events
527  // for several watches at once. The entire event history can be watched starting from the
528  // last compaction revision.
529  virtual ::grpc::Status Watch(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::etcdserverpb::WatchResponse, ::etcdserverpb::WatchRequest>* stream);
530  };
531  template <class BaseClass>
532  class WithAsyncMethod_Watch : public BaseClass {
533  private:
535  public:
537  ::grpc::Service::MarkMethodAsync(0);
538  }
541  }
542  // disable synchronous version of this method
543  ::grpc::Status Watch(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::etcdserverpb::WatchResponse, ::etcdserverpb::WatchRequest>* stream) final override {
544  abort();
545  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
546  }
547  void RequestWatch(::grpc::ServerContext* context, ::grpc::ServerAsyncReaderWriter< ::etcdserverpb::WatchResponse, ::etcdserverpb::WatchRequest>* stream, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
548  ::grpc::Service::RequestAsyncBidiStreaming(0, context, stream, new_call_cq, notification_cq, tag);
549  }
550  };
552  template <class BaseClass>
553  class WithGenericMethod_Watch : public BaseClass {
554  private:
556  public:
558  ::grpc::Service::MarkMethodGeneric(0);
559  }
562  }
563  // disable synchronous version of this method
564  ::grpc::Status Watch(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::etcdserverpb::WatchResponse, ::etcdserverpb::WatchRequest>* stream) final override {
565  abort();
566  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
567  }
568  };
572 };
573 
574 class Lease final {
575  public:
576  static constexpr char const* service_full_name() {
577  return "etcdserverpb.Lease";
578  }
580  public:
581  virtual ~StubInterface() {}
582  // LeaseGrant creates a lease which expires if the server does not receive a keepAlive
583  // within a given time to live period. All keys attached to the lease will be expired and
584  // deleted if the lease expires. Each expired key generates a delete event in the event history.
585  virtual ::grpc::Status LeaseGrant(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::etcdserverpb::LeaseGrantResponse* response) = 0;
586  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse>> AsyncLeaseGrant(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::grpc::CompletionQueue* cq) {
587  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse>>(AsyncLeaseGrantRaw(context, request, cq));
588  }
589  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse>> PrepareAsyncLeaseGrant(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::grpc::CompletionQueue* cq) {
590  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse>>(PrepareAsyncLeaseGrantRaw(context, request, cq));
591  }
592  // LeaseRevoke revokes a lease. All keys attached to the lease will expire and be deleted.
593  virtual ::grpc::Status LeaseRevoke(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::etcdserverpb::LeaseRevokeResponse* response) = 0;
594  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse>> AsyncLeaseRevoke(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::grpc::CompletionQueue* cq) {
595  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse>>(AsyncLeaseRevokeRaw(context, request, cq));
596  }
597  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse>> PrepareAsyncLeaseRevoke(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::grpc::CompletionQueue* cq) {
598  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse>>(PrepareAsyncLeaseRevokeRaw(context, request, cq));
599  }
600  // LeaseKeepAlive keeps the lease alive by streaming keep alive requests from the client
601  // to the server and streaming keep alive responses from the server to the client.
602  std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>> LeaseKeepAlive(::grpc::ClientContext* context) {
603  return std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>>(LeaseKeepAliveRaw(context));
604  }
605  std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>> AsyncLeaseKeepAlive(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) {
606  return std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>>(AsyncLeaseKeepAliveRaw(context, cq, tag));
607  }
608  std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>> PrepareAsyncLeaseKeepAlive(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) {
609  return std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>>(PrepareAsyncLeaseKeepAliveRaw(context, cq));
610  }
611  private:
612  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse>* AsyncLeaseGrantRaw(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::grpc::CompletionQueue* cq) = 0;
613  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse>* PrepareAsyncLeaseGrantRaw(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::grpc::CompletionQueue* cq) = 0;
614  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse>* AsyncLeaseRevokeRaw(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::grpc::CompletionQueue* cq) = 0;
615  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse>* PrepareAsyncLeaseRevokeRaw(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::grpc::CompletionQueue* cq) = 0;
616  virtual ::grpc::ClientReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>* LeaseKeepAliveRaw(::grpc::ClientContext* context) = 0;
617  virtual ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>* AsyncLeaseKeepAliveRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) = 0;
618  virtual ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>* PrepareAsyncLeaseKeepAliveRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) = 0;
619  };
620  class Stub final : public StubInterface {
621  public:
622  Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel);
623  ::grpc::Status LeaseGrant(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::etcdserverpb::LeaseGrantResponse* response) override;
624  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse>> AsyncLeaseGrant(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::grpc::CompletionQueue* cq) {
625  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse>>(AsyncLeaseGrantRaw(context, request, cq));
626  }
627  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse>> PrepareAsyncLeaseGrant(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::grpc::CompletionQueue* cq) {
628  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse>>(PrepareAsyncLeaseGrantRaw(context, request, cq));
629  }
630  ::grpc::Status LeaseRevoke(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::etcdserverpb::LeaseRevokeResponse* response) override;
631  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse>> AsyncLeaseRevoke(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::grpc::CompletionQueue* cq) {
632  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse>>(AsyncLeaseRevokeRaw(context, request, cq));
633  }
634  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse>> PrepareAsyncLeaseRevoke(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::grpc::CompletionQueue* cq) {
635  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse>>(PrepareAsyncLeaseRevokeRaw(context, request, cq));
636  }
637  std::unique_ptr< ::grpc::ClientReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>> LeaseKeepAlive(::grpc::ClientContext* context) {
638  return std::unique_ptr< ::grpc::ClientReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>>(LeaseKeepAliveRaw(context));
639  }
640  std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>> AsyncLeaseKeepAlive(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) {
641  return std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>>(AsyncLeaseKeepAliveRaw(context, cq, tag));
642  }
643  std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>> PrepareAsyncLeaseKeepAlive(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) {
644  return std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>>(PrepareAsyncLeaseKeepAliveRaw(context, cq));
645  }
646 
647  private:
648  std::shared_ptr< ::grpc::ChannelInterface> channel_;
649  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse>* AsyncLeaseGrantRaw(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::grpc::CompletionQueue* cq) override;
650  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse>* PrepareAsyncLeaseGrantRaw(::grpc::ClientContext* context, const ::etcdserverpb::LeaseGrantRequest& request, ::grpc::CompletionQueue* cq) override;
651  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse>* AsyncLeaseRevokeRaw(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::grpc::CompletionQueue* cq) override;
652  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse>* PrepareAsyncLeaseRevokeRaw(::grpc::ClientContext* context, const ::etcdserverpb::LeaseRevokeRequest& request, ::grpc::CompletionQueue* cq) override;
653  ::grpc::ClientReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>* LeaseKeepAliveRaw(::grpc::ClientContext* context) override;
654  ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>* AsyncLeaseKeepAliveRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) override;
655  ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest, ::etcdserverpb::LeaseKeepAliveResponse>* PrepareAsyncLeaseKeepAliveRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq) override;
656  const ::grpc::internal::RpcMethod rpcmethod_LeaseGrant_;
657  const ::grpc::internal::RpcMethod rpcmethod_LeaseRevoke_;
658  const ::grpc::internal::RpcMethod rpcmethod_LeaseKeepAlive_;
659  };
660  static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
661 
662  class Service : public ::grpc::Service {
663  public:
664  Service();
665  virtual ~Service();
666  // LeaseGrant creates a lease which expires if the server does not receive a keepAlive
667  // within a given time to live period. All keys attached to the lease will be expired and
668  // deleted if the lease expires. Each expired key generates a delete event in the event history.
669  virtual ::grpc::Status LeaseGrant(::grpc::ServerContext* context, const ::etcdserverpb::LeaseGrantRequest* request, ::etcdserverpb::LeaseGrantResponse* response);
670  // LeaseRevoke revokes a lease. All keys attached to the lease will expire and be deleted.
671  virtual ::grpc::Status LeaseRevoke(::grpc::ServerContext* context, const ::etcdserverpb::LeaseRevokeRequest* request, ::etcdserverpb::LeaseRevokeResponse* response);
672  // LeaseKeepAlive keeps the lease alive by streaming keep alive requests from the client
673  // to the server and streaming keep alive responses from the server to the client.
674  virtual ::grpc::Status LeaseKeepAlive(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::etcdserverpb::LeaseKeepAliveResponse, ::etcdserverpb::LeaseKeepAliveRequest>* stream);
675  };
676  template <class BaseClass>
677  class WithAsyncMethod_LeaseGrant : public BaseClass {
678  private:
680  public:
682  ::grpc::Service::MarkMethodAsync(0);
683  }
686  }
687  // disable synchronous version of this method
688  ::grpc::Status LeaseGrant(::grpc::ServerContext* context, const ::etcdserverpb::LeaseGrantRequest* request, ::etcdserverpb::LeaseGrantResponse* response) final override {
689  abort();
690  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
691  }
692  void RequestLeaseGrant(::grpc::ServerContext* context, ::etcdserverpb::LeaseGrantRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::LeaseGrantResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
693  ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
694  }
695  };
696  template <class BaseClass>
697  class WithAsyncMethod_LeaseRevoke : public BaseClass {
698  private:
700  public:
702  ::grpc::Service::MarkMethodAsync(1);
703  }
706  }
707  // disable synchronous version of this method
708  ::grpc::Status LeaseRevoke(::grpc::ServerContext* context, const ::etcdserverpb::LeaseRevokeRequest* request, ::etcdserverpb::LeaseRevokeResponse* response) final override {
709  abort();
710  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
711  }
712  void RequestLeaseRevoke(::grpc::ServerContext* context, ::etcdserverpb::LeaseRevokeRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::LeaseRevokeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
713  ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag);
714  }
715  };
716  template <class BaseClass>
717  class WithAsyncMethod_LeaseKeepAlive : public BaseClass {
718  private:
720  public:
722  ::grpc::Service::MarkMethodAsync(2);
723  }
726  }
727  // disable synchronous version of this method
728  ::grpc::Status LeaseKeepAlive(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::etcdserverpb::LeaseKeepAliveResponse, ::etcdserverpb::LeaseKeepAliveRequest>* stream) final override {
729  abort();
730  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
731  }
732  void RequestLeaseKeepAlive(::grpc::ServerContext* context, ::grpc::ServerAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveResponse, ::etcdserverpb::LeaseKeepAliveRequest>* stream, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
733  ::grpc::Service::RequestAsyncBidiStreaming(2, context, stream, new_call_cq, notification_cq, tag);
734  }
735  };
737  template <class BaseClass>
738  class WithGenericMethod_LeaseGrant : public BaseClass {
739  private:
741  public:
743  ::grpc::Service::MarkMethodGeneric(0);
744  }
747  }
748  // disable synchronous version of this method
749  ::grpc::Status LeaseGrant(::grpc::ServerContext* context, const ::etcdserverpb::LeaseGrantRequest* request, ::etcdserverpb::LeaseGrantResponse* response) final override {
750  abort();
751  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
752  }
753  };
754  template <class BaseClass>
755  class WithGenericMethod_LeaseRevoke : public BaseClass {
756  private:
758  public:
760  ::grpc::Service::MarkMethodGeneric(1);
761  }
764  }
765  // disable synchronous version of this method
766  ::grpc::Status LeaseRevoke(::grpc::ServerContext* context, const ::etcdserverpb::LeaseRevokeRequest* request, ::etcdserverpb::LeaseRevokeResponse* response) final override {
767  abort();
768  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
769  }
770  };
771  template <class BaseClass>
772  class WithGenericMethod_LeaseKeepAlive : public BaseClass {
773  private:
775  public:
777  ::grpc::Service::MarkMethodGeneric(2);
778  }
781  }
782  // disable synchronous version of this method
783  ::grpc::Status LeaseKeepAlive(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::etcdserverpb::LeaseKeepAliveResponse, ::etcdserverpb::LeaseKeepAliveRequest>* stream) final override {
784  abort();
785  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
786  }
787  };
788  template <class BaseClass>
789  class WithStreamedUnaryMethod_LeaseGrant : public BaseClass {
790  private:
792  public:
794  ::grpc::Service::MarkMethodStreamed(0,
795  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::LeaseGrantRequest, ::etcdserverpb::LeaseGrantResponse>(std::bind(&WithStreamedUnaryMethod_LeaseGrant<BaseClass>::StreamedLeaseGrant, this, std::placeholders::_1, std::placeholders::_2)));
796  }
799  }
800  // disable regular version of this method
801  ::grpc::Status LeaseGrant(::grpc::ServerContext* context, const ::etcdserverpb::LeaseGrantRequest* request, ::etcdserverpb::LeaseGrantResponse* response) final override {
802  abort();
803  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
804  }
805  // replace default version of method with streamed unary
806  virtual ::grpc::Status StreamedLeaseGrant(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::LeaseGrantRequest,::etcdserverpb::LeaseGrantResponse>* server_unary_streamer) = 0;
807  };
808  template <class BaseClass>
809  class WithStreamedUnaryMethod_LeaseRevoke : public BaseClass {
810  private:
812  public:
814  ::grpc::Service::MarkMethodStreamed(1,
815  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::LeaseRevokeRequest, ::etcdserverpb::LeaseRevokeResponse>(std::bind(&WithStreamedUnaryMethod_LeaseRevoke<BaseClass>::StreamedLeaseRevoke, this, std::placeholders::_1, std::placeholders::_2)));
816  }
819  }
820  // disable regular version of this method
821  ::grpc::Status LeaseRevoke(::grpc::ServerContext* context, const ::etcdserverpb::LeaseRevokeRequest* request, ::etcdserverpb::LeaseRevokeResponse* response) final override {
822  abort();
823  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
824  }
825  // replace default version of method with streamed unary
826  virtual ::grpc::Status StreamedLeaseRevoke(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::LeaseRevokeRequest,::etcdserverpb::LeaseRevokeResponse>* server_unary_streamer) = 0;
827  };
831 };
832 
833 class Cluster final {
834  public:
835  static constexpr char const* service_full_name() {
836  return "etcdserverpb.Cluster";
837  }
839  public:
840  virtual ~StubInterface() {}
841  // MemberAdd adds a member into the cluster.
842  virtual ::grpc::Status MemberAdd(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::etcdserverpb::MemberAddResponse* response) = 0;
843  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse>> AsyncMemberAdd(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::grpc::CompletionQueue* cq) {
844  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse>>(AsyncMemberAddRaw(context, request, cq));
845  }
846  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse>> PrepareAsyncMemberAdd(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::grpc::CompletionQueue* cq) {
847  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse>>(PrepareAsyncMemberAddRaw(context, request, cq));
848  }
849  // MemberRemove removes an existing member from the cluster.
850  virtual ::grpc::Status MemberRemove(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::etcdserverpb::MemberRemoveResponse* response) = 0;
851  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse>> AsyncMemberRemove(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::grpc::CompletionQueue* cq) {
852  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse>>(AsyncMemberRemoveRaw(context, request, cq));
853  }
854  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse>> PrepareAsyncMemberRemove(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::grpc::CompletionQueue* cq) {
855  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse>>(PrepareAsyncMemberRemoveRaw(context, request, cq));
856  }
857  // MemberUpdate updates the member configuration.
858  virtual ::grpc::Status MemberUpdate(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::etcdserverpb::MemberUpdateResponse* response) = 0;
859  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse>> AsyncMemberUpdate(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::grpc::CompletionQueue* cq) {
860  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse>>(AsyncMemberUpdateRaw(context, request, cq));
861  }
862  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse>> PrepareAsyncMemberUpdate(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::grpc::CompletionQueue* cq) {
863  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse>>(PrepareAsyncMemberUpdateRaw(context, request, cq));
864  }
865  // MemberList lists all the members in the cluster.
866  virtual ::grpc::Status MemberList(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::etcdserverpb::MemberListResponse* response) = 0;
867  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse>> AsyncMemberList(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::grpc::CompletionQueue* cq) {
868  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse>>(AsyncMemberListRaw(context, request, cq));
869  }
870  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse>> PrepareAsyncMemberList(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::grpc::CompletionQueue* cq) {
871  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse>>(PrepareAsyncMemberListRaw(context, request, cq));
872  }
873  private:
874  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse>* AsyncMemberAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::grpc::CompletionQueue* cq) = 0;
875  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse>* PrepareAsyncMemberAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::grpc::CompletionQueue* cq) = 0;
876  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse>* AsyncMemberRemoveRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::grpc::CompletionQueue* cq) = 0;
877  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse>* PrepareAsyncMemberRemoveRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::grpc::CompletionQueue* cq) = 0;
878  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse>* AsyncMemberUpdateRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0;
879  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse>* PrepareAsyncMemberUpdateRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0;
880  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse>* AsyncMemberListRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::grpc::CompletionQueue* cq) = 0;
881  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse>* PrepareAsyncMemberListRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::grpc::CompletionQueue* cq) = 0;
882  };
883  class Stub final : public StubInterface {
884  public:
885  Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel);
886  ::grpc::Status MemberAdd(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::etcdserverpb::MemberAddResponse* response) override;
887  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse>> AsyncMemberAdd(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::grpc::CompletionQueue* cq) {
888  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse>>(AsyncMemberAddRaw(context, request, cq));
889  }
890  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse>> PrepareAsyncMemberAdd(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::grpc::CompletionQueue* cq) {
891  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse>>(PrepareAsyncMemberAddRaw(context, request, cq));
892  }
893  ::grpc::Status MemberRemove(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::etcdserverpb::MemberRemoveResponse* response) override;
894  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse>> AsyncMemberRemove(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::grpc::CompletionQueue* cq) {
895  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse>>(AsyncMemberRemoveRaw(context, request, cq));
896  }
897  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse>> PrepareAsyncMemberRemove(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::grpc::CompletionQueue* cq) {
898  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse>>(PrepareAsyncMemberRemoveRaw(context, request, cq));
899  }
900  ::grpc::Status MemberUpdate(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::etcdserverpb::MemberUpdateResponse* response) override;
901  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse>> AsyncMemberUpdate(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::grpc::CompletionQueue* cq) {
902  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse>>(AsyncMemberUpdateRaw(context, request, cq));
903  }
904  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse>> PrepareAsyncMemberUpdate(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::grpc::CompletionQueue* cq) {
905  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse>>(PrepareAsyncMemberUpdateRaw(context, request, cq));
906  }
907  ::grpc::Status MemberList(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::etcdserverpb::MemberListResponse* response) override;
908  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse>> AsyncMemberList(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::grpc::CompletionQueue* cq) {
909  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse>>(AsyncMemberListRaw(context, request, cq));
910  }
911  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse>> PrepareAsyncMemberList(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::grpc::CompletionQueue* cq) {
912  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse>>(PrepareAsyncMemberListRaw(context, request, cq));
913  }
914 
915  private:
916  std::shared_ptr< ::grpc::ChannelInterface> channel_;
917  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse>* AsyncMemberAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::grpc::CompletionQueue* cq) override;
918  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse>* PrepareAsyncMemberAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberAddRequest& request, ::grpc::CompletionQueue* cq) override;
919  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse>* AsyncMemberRemoveRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::grpc::CompletionQueue* cq) override;
920  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse>* PrepareAsyncMemberRemoveRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberRemoveRequest& request, ::grpc::CompletionQueue* cq) override;
921  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse>* AsyncMemberUpdateRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::grpc::CompletionQueue* cq) override;
922  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse>* PrepareAsyncMemberUpdateRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberUpdateRequest& request, ::grpc::CompletionQueue* cq) override;
923  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse>* AsyncMemberListRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::grpc::CompletionQueue* cq) override;
924  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse>* PrepareAsyncMemberListRaw(::grpc::ClientContext* context, const ::etcdserverpb::MemberListRequest& request, ::grpc::CompletionQueue* cq) override;
925  const ::grpc::internal::RpcMethod rpcmethod_MemberAdd_;
926  const ::grpc::internal::RpcMethod rpcmethod_MemberRemove_;
927  const ::grpc::internal::RpcMethod rpcmethod_MemberUpdate_;
928  const ::grpc::internal::RpcMethod rpcmethod_MemberList_;
929  };
930  static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
931 
932  class Service : public ::grpc::Service {
933  public:
934  Service();
935  virtual ~Service();
936  // MemberAdd adds a member into the cluster.
937  virtual ::grpc::Status MemberAdd(::grpc::ServerContext* context, const ::etcdserverpb::MemberAddRequest* request, ::etcdserverpb::MemberAddResponse* response);
938  // MemberRemove removes an existing member from the cluster.
939  virtual ::grpc::Status MemberRemove(::grpc::ServerContext* context, const ::etcdserverpb::MemberRemoveRequest* request, ::etcdserverpb::MemberRemoveResponse* response);
940  // MemberUpdate updates the member configuration.
941  virtual ::grpc::Status MemberUpdate(::grpc::ServerContext* context, const ::etcdserverpb::MemberUpdateRequest* request, ::etcdserverpb::MemberUpdateResponse* response);
942  // MemberList lists all the members in the cluster.
943  virtual ::grpc::Status MemberList(::grpc::ServerContext* context, const ::etcdserverpb::MemberListRequest* request, ::etcdserverpb::MemberListResponse* response);
944  };
945  template <class BaseClass>
946  class WithAsyncMethod_MemberAdd : public BaseClass {
947  private:
949  public:
951  ::grpc::Service::MarkMethodAsync(0);
952  }
955  }
956  // disable synchronous version of this method
957  ::grpc::Status MemberAdd(::grpc::ServerContext* context, const ::etcdserverpb::MemberAddRequest* request, ::etcdserverpb::MemberAddResponse* response) final override {
958  abort();
959  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
960  }
961  void RequestMemberAdd(::grpc::ServerContext* context, ::etcdserverpb::MemberAddRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::MemberAddResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
962  ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
963  }
964  };
965  template <class BaseClass>
966  class WithAsyncMethod_MemberRemove : public BaseClass {
967  private:
969  public:
971  ::grpc::Service::MarkMethodAsync(1);
972  }
975  }
976  // disable synchronous version of this method
977  ::grpc::Status MemberRemove(::grpc::ServerContext* context, const ::etcdserverpb::MemberRemoveRequest* request, ::etcdserverpb::MemberRemoveResponse* response) final override {
978  abort();
979  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
980  }
981  void RequestMemberRemove(::grpc::ServerContext* context, ::etcdserverpb::MemberRemoveRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::MemberRemoveResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
982  ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag);
983  }
984  };
985  template <class BaseClass>
986  class WithAsyncMethod_MemberUpdate : public BaseClass {
987  private:
989  public:
991  ::grpc::Service::MarkMethodAsync(2);
992  }
995  }
996  // disable synchronous version of this method
997  ::grpc::Status MemberUpdate(::grpc::ServerContext* context, const ::etcdserverpb::MemberUpdateRequest* request, ::etcdserverpb::MemberUpdateResponse* response) final override {
998  abort();
999  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1000  }
1001  void RequestMemberUpdate(::grpc::ServerContext* context, ::etcdserverpb::MemberUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::MemberUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
1002  ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag);
1003  }
1004  };
1005  template <class BaseClass>
1006  class WithAsyncMethod_MemberList : public BaseClass {
1007  private:
1009  public:
1011  ::grpc::Service::MarkMethodAsync(3);
1012  }
1015  }
1016  // disable synchronous version of this method
1017  ::grpc::Status MemberList(::grpc::ServerContext* context, const ::etcdserverpb::MemberListRequest* request, ::etcdserverpb::MemberListResponse* response) final override {
1018  abort();
1019  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1020  }
1021  void RequestMemberList(::grpc::ServerContext* context, ::etcdserverpb::MemberListRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::MemberListResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
1022  ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag);
1023  }
1024  };
1026  template <class BaseClass>
1027  class WithGenericMethod_MemberAdd : public BaseClass {
1028  private:
1030  public:
1032  ::grpc::Service::MarkMethodGeneric(0);
1033  }
1036  }
1037  // disable synchronous version of this method
1038  ::grpc::Status MemberAdd(::grpc::ServerContext* context, const ::etcdserverpb::MemberAddRequest* request, ::etcdserverpb::MemberAddResponse* response) final override {
1039  abort();
1040  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1041  }
1042  };
1043  template <class BaseClass>
1044  class WithGenericMethod_MemberRemove : public BaseClass {
1045  private:
1047  public:
1049  ::grpc::Service::MarkMethodGeneric(1);
1050  }
1053  }
1054  // disable synchronous version of this method
1055  ::grpc::Status MemberRemove(::grpc::ServerContext* context, const ::etcdserverpb::MemberRemoveRequest* request, ::etcdserverpb::MemberRemoveResponse* response) final override {
1056  abort();
1057  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1058  }
1059  };
1060  template <class BaseClass>
1061  class WithGenericMethod_MemberUpdate : public BaseClass {
1062  private:
1064  public:
1066  ::grpc::Service::MarkMethodGeneric(2);
1067  }
1070  }
1071  // disable synchronous version of this method
1072  ::grpc::Status MemberUpdate(::grpc::ServerContext* context, const ::etcdserverpb::MemberUpdateRequest* request, ::etcdserverpb::MemberUpdateResponse* response) final override {
1073  abort();
1074  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1075  }
1076  };
1077  template <class BaseClass>
1078  class WithGenericMethod_MemberList : public BaseClass {
1079  private:
1081  public:
1083  ::grpc::Service::MarkMethodGeneric(3);
1084  }
1087  }
1088  // disable synchronous version of this method
1089  ::grpc::Status MemberList(::grpc::ServerContext* context, const ::etcdserverpb::MemberListRequest* request, ::etcdserverpb::MemberListResponse* response) final override {
1090  abort();
1091  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1092  }
1093  };
1094  template <class BaseClass>
1095  class WithStreamedUnaryMethod_MemberAdd : public BaseClass {
1096  private:
1098  public:
1100  ::grpc::Service::MarkMethodStreamed(0,
1101  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::MemberAddRequest, ::etcdserverpb::MemberAddResponse>(std::bind(&WithStreamedUnaryMethod_MemberAdd<BaseClass>::StreamedMemberAdd, this, std::placeholders::_1, std::placeholders::_2)));
1102  }
1105  }
1106  // disable regular version of this method
1107  ::grpc::Status MemberAdd(::grpc::ServerContext* context, const ::etcdserverpb::MemberAddRequest* request, ::etcdserverpb::MemberAddResponse* response) final override {
1108  abort();
1109  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1110  }
1111  // replace default version of method with streamed unary
1112  virtual ::grpc::Status StreamedMemberAdd(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::MemberAddRequest,::etcdserverpb::MemberAddResponse>* server_unary_streamer) = 0;
1113  };
1114  template <class BaseClass>
1115  class WithStreamedUnaryMethod_MemberRemove : public BaseClass {
1116  private:
1118  public:
1120  ::grpc::Service::MarkMethodStreamed(1,
1121  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::MemberRemoveRequest, ::etcdserverpb::MemberRemoveResponse>(std::bind(&WithStreamedUnaryMethod_MemberRemove<BaseClass>::StreamedMemberRemove, this, std::placeholders::_1, std::placeholders::_2)));
1122  }
1125  }
1126  // disable regular version of this method
1127  ::grpc::Status MemberRemove(::grpc::ServerContext* context, const ::etcdserverpb::MemberRemoveRequest* request, ::etcdserverpb::MemberRemoveResponse* response) final override {
1128  abort();
1129  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1130  }
1131  // replace default version of method with streamed unary
1132  virtual ::grpc::Status StreamedMemberRemove(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::MemberRemoveRequest,::etcdserverpb::MemberRemoveResponse>* server_unary_streamer) = 0;
1133  };
1134  template <class BaseClass>
1135  class WithStreamedUnaryMethod_MemberUpdate : public BaseClass {
1136  private:
1138  public:
1140  ::grpc::Service::MarkMethodStreamed(2,
1141  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::MemberUpdateRequest, ::etcdserverpb::MemberUpdateResponse>(std::bind(&WithStreamedUnaryMethod_MemberUpdate<BaseClass>::StreamedMemberUpdate, this, std::placeholders::_1, std::placeholders::_2)));
1142  }
1145  }
1146  // disable regular version of this method
1147  ::grpc::Status MemberUpdate(::grpc::ServerContext* context, const ::etcdserverpb::MemberUpdateRequest* request, ::etcdserverpb::MemberUpdateResponse* response) final override {
1148  abort();
1149  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1150  }
1151  // replace default version of method with streamed unary
1152  virtual ::grpc::Status StreamedMemberUpdate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::MemberUpdateRequest,::etcdserverpb::MemberUpdateResponse>* server_unary_streamer) = 0;
1153  };
1154  template <class BaseClass>
1155  class WithStreamedUnaryMethod_MemberList : public BaseClass {
1156  private:
1158  public:
1160  ::grpc::Service::MarkMethodStreamed(3,
1161  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::MemberListRequest, ::etcdserverpb::MemberListResponse>(std::bind(&WithStreamedUnaryMethod_MemberList<BaseClass>::StreamedMemberList, this, std::placeholders::_1, std::placeholders::_2)));
1162  }
1165  }
1166  // disable regular version of this method
1167  ::grpc::Status MemberList(::grpc::ServerContext* context, const ::etcdserverpb::MemberListRequest* request, ::etcdserverpb::MemberListResponse* response) final override {
1168  abort();
1169  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1170  }
1171  // replace default version of method with streamed unary
1172  virtual ::grpc::Status StreamedMemberList(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::MemberListRequest,::etcdserverpb::MemberListResponse>* server_unary_streamer) = 0;
1173  };
1177 };
1178 
1179 class Maintenance final {
1180  public:
1181  static constexpr char const* service_full_name() {
1182  return "etcdserverpb.Maintenance";
1183  }
1185  public:
1186  virtual ~StubInterface() {}
1187  // Alarm activates, deactivates, and queries alarms regarding cluster health.
1188  virtual ::grpc::Status Alarm(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::etcdserverpb::AlarmResponse* response) = 0;
1189  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse>> AsyncAlarm(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::grpc::CompletionQueue* cq) {
1190  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse>>(AsyncAlarmRaw(context, request, cq));
1191  }
1192  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse>> PrepareAsyncAlarm(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::grpc::CompletionQueue* cq) {
1193  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse>>(PrepareAsyncAlarmRaw(context, request, cq));
1194  }
1195  // Status gets the status of the member.
1196  virtual ::grpc::Status Status(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::etcdserverpb::StatusResponse* response) = 0;
1197  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse>> AsyncStatus(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::grpc::CompletionQueue* cq) {
1198  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse>>(AsyncStatusRaw(context, request, cq));
1199  }
1200  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse>> PrepareAsyncStatus(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::grpc::CompletionQueue* cq) {
1201  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse>>(PrepareAsyncStatusRaw(context, request, cq));
1202  }
1203  // Defragment defragments a member's backend database to recover storage space.
1204  virtual ::grpc::Status Defragment(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::etcdserverpb::DefragmentResponse* response) = 0;
1205  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse>> AsyncDefragment(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::grpc::CompletionQueue* cq) {
1206  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse>>(AsyncDefragmentRaw(context, request, cq));
1207  }
1208  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse>> PrepareAsyncDefragment(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::grpc::CompletionQueue* cq) {
1209  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse>>(PrepareAsyncDefragmentRaw(context, request, cq));
1210  }
1211  // Hash returns the hash of the local KV state for consistency checking purpose.
1212  // This is designed for testing; do not use this in production when there
1213  // are ongoing transactions.
1214  virtual ::grpc::Status Hash(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::etcdserverpb::HashResponse* response) = 0;
1215  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse>> AsyncHash(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::grpc::CompletionQueue* cq) {
1216  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse>>(AsyncHashRaw(context, request, cq));
1217  }
1218  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse>> PrepareAsyncHash(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::grpc::CompletionQueue* cq) {
1219  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse>>(PrepareAsyncHashRaw(context, request, cq));
1220  }
1221  // Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
1222  std::unique_ptr< ::grpc::ClientReaderInterface< ::etcdserverpb::SnapshotResponse>> Snapshot(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request) {
1223  return std::unique_ptr< ::grpc::ClientReaderInterface< ::etcdserverpb::SnapshotResponse>>(SnapshotRaw(context, request));
1224  }
1225  std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse>> AsyncSnapshot(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request, ::grpc::CompletionQueue* cq, void* tag) {
1226  return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse>>(AsyncSnapshotRaw(context, request, cq, tag));
1227  }
1228  std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse>> PrepareAsyncSnapshot(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request, ::grpc::CompletionQueue* cq) {
1229  return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse>>(PrepareAsyncSnapshotRaw(context, request, cq));
1230  }
1231  private:
1232  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse>* AsyncAlarmRaw(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::grpc::CompletionQueue* cq) = 0;
1233  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse>* PrepareAsyncAlarmRaw(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::grpc::CompletionQueue* cq) = 0;
1234  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse>* AsyncStatusRaw(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::grpc::CompletionQueue* cq) = 0;
1235  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse>* PrepareAsyncStatusRaw(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::grpc::CompletionQueue* cq) = 0;
1236  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse>* AsyncDefragmentRaw(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::grpc::CompletionQueue* cq) = 0;
1237  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse>* PrepareAsyncDefragmentRaw(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::grpc::CompletionQueue* cq) = 0;
1238  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse>* AsyncHashRaw(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::grpc::CompletionQueue* cq) = 0;
1239  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse>* PrepareAsyncHashRaw(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::grpc::CompletionQueue* cq) = 0;
1240  virtual ::grpc::ClientReaderInterface< ::etcdserverpb::SnapshotResponse>* SnapshotRaw(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request) = 0;
1241  virtual ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse>* AsyncSnapshotRaw(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request, ::grpc::CompletionQueue* cq, void* tag) = 0;
1242  virtual ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse>* PrepareAsyncSnapshotRaw(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request, ::grpc::CompletionQueue* cq) = 0;
1243  };
1244  class Stub final : public StubInterface {
1245  public:
1246  Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel);
1247  ::grpc::Status Alarm(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::etcdserverpb::AlarmResponse* response) override;
1248  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse>> AsyncAlarm(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::grpc::CompletionQueue* cq) {
1249  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse>>(AsyncAlarmRaw(context, request, cq));
1250  }
1251  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse>> PrepareAsyncAlarm(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::grpc::CompletionQueue* cq) {
1252  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse>>(PrepareAsyncAlarmRaw(context, request, cq));
1253  }
1254  ::grpc::Status Status(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::etcdserverpb::StatusResponse* response) override;
1255  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse>> AsyncStatus(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::grpc::CompletionQueue* cq) {
1256  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse>>(AsyncStatusRaw(context, request, cq));
1257  }
1258  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse>> PrepareAsyncStatus(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::grpc::CompletionQueue* cq) {
1259  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse>>(PrepareAsyncStatusRaw(context, request, cq));
1260  }
1261  ::grpc::Status Defragment(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::etcdserverpb::DefragmentResponse* response) override;
1262  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse>> AsyncDefragment(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::grpc::CompletionQueue* cq) {
1263  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse>>(AsyncDefragmentRaw(context, request, cq));
1264  }
1265  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse>> PrepareAsyncDefragment(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::grpc::CompletionQueue* cq) {
1266  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse>>(PrepareAsyncDefragmentRaw(context, request, cq));
1267  }
1268  ::grpc::Status Hash(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::etcdserverpb::HashResponse* response) override;
1269  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse>> AsyncHash(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::grpc::CompletionQueue* cq) {
1270  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse>>(AsyncHashRaw(context, request, cq));
1271  }
1272  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse>> PrepareAsyncHash(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::grpc::CompletionQueue* cq) {
1273  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse>>(PrepareAsyncHashRaw(context, request, cq));
1274  }
1275  std::unique_ptr< ::grpc::ClientReader< ::etcdserverpb::SnapshotResponse>> Snapshot(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request) {
1276  return std::unique_ptr< ::grpc::ClientReader< ::etcdserverpb::SnapshotResponse>>(SnapshotRaw(context, request));
1277  }
1278  std::unique_ptr< ::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse>> AsyncSnapshot(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request, ::grpc::CompletionQueue* cq, void* tag) {
1279  return std::unique_ptr< ::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse>>(AsyncSnapshotRaw(context, request, cq, tag));
1280  }
1281  std::unique_ptr< ::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse>> PrepareAsyncSnapshot(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request, ::grpc::CompletionQueue* cq) {
1282  return std::unique_ptr< ::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse>>(PrepareAsyncSnapshotRaw(context, request, cq));
1283  }
1284 
1285  private:
1286  std::shared_ptr< ::grpc::ChannelInterface> channel_;
1287  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse>* AsyncAlarmRaw(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::grpc::CompletionQueue* cq) override;
1288  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse>* PrepareAsyncAlarmRaw(::grpc::ClientContext* context, const ::etcdserverpb::AlarmRequest& request, ::grpc::CompletionQueue* cq) override;
1289  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse>* AsyncStatusRaw(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::grpc::CompletionQueue* cq) override;
1290  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse>* PrepareAsyncStatusRaw(::grpc::ClientContext* context, const ::etcdserverpb::StatusRequest& request, ::grpc::CompletionQueue* cq) override;
1291  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse>* AsyncDefragmentRaw(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::grpc::CompletionQueue* cq) override;
1292  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse>* PrepareAsyncDefragmentRaw(::grpc::ClientContext* context, const ::etcdserverpb::DefragmentRequest& request, ::grpc::CompletionQueue* cq) override;
1293  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse>* AsyncHashRaw(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::grpc::CompletionQueue* cq) override;
1294  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse>* PrepareAsyncHashRaw(::grpc::ClientContext* context, const ::etcdserverpb::HashRequest& request, ::grpc::CompletionQueue* cq) override;
1295  ::grpc::ClientReader< ::etcdserverpb::SnapshotResponse>* SnapshotRaw(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request) override;
1296  ::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse>* AsyncSnapshotRaw(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request, ::grpc::CompletionQueue* cq, void* tag) override;
1297  ::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse>* PrepareAsyncSnapshotRaw(::grpc::ClientContext* context, const ::etcdserverpb::SnapshotRequest& request, ::grpc::CompletionQueue* cq) override;
1298  const ::grpc::internal::RpcMethod rpcmethod_Alarm_;
1299  const ::grpc::internal::RpcMethod rpcmethod_Status_;
1300  const ::grpc::internal::RpcMethod rpcmethod_Defragment_;
1301  const ::grpc::internal::RpcMethod rpcmethod_Hash_;
1302  const ::grpc::internal::RpcMethod rpcmethod_Snapshot_;
1303  };
1304  static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
1305 
1306  class Service : public ::grpc::Service {
1307  public:
1308  Service();
1309  virtual ~Service();
1310  // Alarm activates, deactivates, and queries alarms regarding cluster health.
1311  virtual ::grpc::Status Alarm(::grpc::ServerContext* context, const ::etcdserverpb::AlarmRequest* request, ::etcdserverpb::AlarmResponse* response);
1312  // Status gets the status of the member.
1313  virtual ::grpc::Status Status(::grpc::ServerContext* context, const ::etcdserverpb::StatusRequest* request, ::etcdserverpb::StatusResponse* response);
1314  // Defragment defragments a member's backend database to recover storage space.
1315  virtual ::grpc::Status Defragment(::grpc::ServerContext* context, const ::etcdserverpb::DefragmentRequest* request, ::etcdserverpb::DefragmentResponse* response);
1316  // Hash returns the hash of the local KV state for consistency checking purpose.
1317  // This is designed for testing; do not use this in production when there
1318  // are ongoing transactions.
1319  virtual ::grpc::Status Hash(::grpc::ServerContext* context, const ::etcdserverpb::HashRequest* request, ::etcdserverpb::HashResponse* response);
1320  // Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
1321  virtual ::grpc::Status Snapshot(::grpc::ServerContext* context, const ::etcdserverpb::SnapshotRequest* request, ::grpc::ServerWriter< ::etcdserverpb::SnapshotResponse>* writer);
1322  };
1323  template <class BaseClass>
1324  class WithAsyncMethod_Alarm : public BaseClass {
1325  private:
1327  public:
1329  ::grpc::Service::MarkMethodAsync(0);
1330  }
1333  }
1334  // disable synchronous version of this method
1335  ::grpc::Status Alarm(::grpc::ServerContext* context, const ::etcdserverpb::AlarmRequest* request, ::etcdserverpb::AlarmResponse* response) final override {
1336  abort();
1337  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1338  }
1339  void RequestAlarm(::grpc::ServerContext* context, ::etcdserverpb::AlarmRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AlarmResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
1340  ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
1341  }
1342  };
1343  template <class BaseClass>
1344  class WithAsyncMethod_Status : public BaseClass {
1345  private:
1347  public:
1349  ::grpc::Service::MarkMethodAsync(1);
1350  }
1353  }
1354  // disable synchronous version of this method
1355  ::grpc::Status Status(::grpc::ServerContext* context, const ::etcdserverpb::StatusRequest* request, ::etcdserverpb::StatusResponse* response) final override {
1356  abort();
1357  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1358  }
1359  void RequestStatus(::grpc::ServerContext* context, ::etcdserverpb::StatusRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::StatusResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
1360  ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag);
1361  }
1362  };
1363  template <class BaseClass>
1364  class WithAsyncMethod_Defragment : public BaseClass {
1365  private:
1367  public:
1369  ::grpc::Service::MarkMethodAsync(2);
1370  }
1373  }
1374  // disable synchronous version of this method
1375  ::grpc::Status Defragment(::grpc::ServerContext* context, const ::etcdserverpb::DefragmentRequest* request, ::etcdserverpb::DefragmentResponse* response) final override {
1376  abort();
1377  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1378  }
1379  void RequestDefragment(::grpc::ServerContext* context, ::etcdserverpb::DefragmentRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::DefragmentResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
1380  ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag);
1381  }
1382  };
1383  template <class BaseClass>
1384  class WithAsyncMethod_Hash : public BaseClass {
1385  private:
1387  public:
1389  ::grpc::Service::MarkMethodAsync(3);
1390  }
1393  }
1394  // disable synchronous version of this method
1395  ::grpc::Status Hash(::grpc::ServerContext* context, const ::etcdserverpb::HashRequest* request, ::etcdserverpb::HashResponse* response) final override {
1396  abort();
1397  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1398  }
1399  void RequestHash(::grpc::ServerContext* context, ::etcdserverpb::HashRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::HashResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
1400  ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag);
1401  }
1402  };
1403  template <class BaseClass>
1404  class WithAsyncMethod_Snapshot : public BaseClass {
1405  private:
1407  public:
1409  ::grpc::Service::MarkMethodAsync(4);
1410  }
1413  }
1414  // disable synchronous version of this method
1415  ::grpc::Status Snapshot(::grpc::ServerContext* context, const ::etcdserverpb::SnapshotRequest* request, ::grpc::ServerWriter< ::etcdserverpb::SnapshotResponse>* writer) final override {
1416  abort();
1417  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1418  }
1419  void RequestSnapshot(::grpc::ServerContext* context, ::etcdserverpb::SnapshotRequest* request, ::grpc::ServerAsyncWriter< ::etcdserverpb::SnapshotResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
1420  ::grpc::Service::RequestAsyncServerStreaming(4, context, request, writer, new_call_cq, notification_cq, tag);
1421  }
1422  };
1424  template <class BaseClass>
1425  class WithGenericMethod_Alarm : public BaseClass {
1426  private:
1428  public:
1430  ::grpc::Service::MarkMethodGeneric(0);
1431  }
1434  }
1435  // disable synchronous version of this method
1436  ::grpc::Status Alarm(::grpc::ServerContext* context, const ::etcdserverpb::AlarmRequest* request, ::etcdserverpb::AlarmResponse* response) final override {
1437  abort();
1438  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1439  }
1440  };
1441  template <class BaseClass>
1442  class WithGenericMethod_Status : public BaseClass {
1443  private:
1445  public:
1447  ::grpc::Service::MarkMethodGeneric(1);
1448  }
1451  }
1452  // disable synchronous version of this method
1453  ::grpc::Status Status(::grpc::ServerContext* context, const ::etcdserverpb::StatusRequest* request, ::etcdserverpb::StatusResponse* response) final override {
1454  abort();
1455  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1456  }
1457  };
1458  template <class BaseClass>
1459  class WithGenericMethod_Defragment : public BaseClass {
1460  private:
1462  public:
1464  ::grpc::Service::MarkMethodGeneric(2);
1465  }
1468  }
1469  // disable synchronous version of this method
1470  ::grpc::Status Defragment(::grpc::ServerContext* context, const ::etcdserverpb::DefragmentRequest* request, ::etcdserverpb::DefragmentResponse* response) final override {
1471  abort();
1472  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1473  }
1474  };
1475  template <class BaseClass>
1476  class WithGenericMethod_Hash : public BaseClass {
1477  private:
1479  public:
1481  ::grpc::Service::MarkMethodGeneric(3);
1482  }
1485  }
1486  // disable synchronous version of this method
1487  ::grpc::Status Hash(::grpc::ServerContext* context, const ::etcdserverpb::HashRequest* request, ::etcdserverpb::HashResponse* response) final override {
1488  abort();
1489  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1490  }
1491  };
1492  template <class BaseClass>
1493  class WithGenericMethod_Snapshot : public BaseClass {
1494  private:
1496  public:
1498  ::grpc::Service::MarkMethodGeneric(4);
1499  }
1502  }
1503  // disable synchronous version of this method
1504  ::grpc::Status Snapshot(::grpc::ServerContext* context, const ::etcdserverpb::SnapshotRequest* request, ::grpc::ServerWriter< ::etcdserverpb::SnapshotResponse>* writer) final override {
1505  abort();
1506  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1507  }
1508  };
1509  template <class BaseClass>
1510  class WithStreamedUnaryMethod_Alarm : public BaseClass {
1511  private:
1513  public:
1515  ::grpc::Service::MarkMethodStreamed(0,
1516  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AlarmRequest, ::etcdserverpb::AlarmResponse>(std::bind(&WithStreamedUnaryMethod_Alarm<BaseClass>::StreamedAlarm, this, std::placeholders::_1, std::placeholders::_2)));
1517  }
1520  }
1521  // disable regular version of this method
1522  ::grpc::Status Alarm(::grpc::ServerContext* context, const ::etcdserverpb::AlarmRequest* request, ::etcdserverpb::AlarmResponse* response) final override {
1523  abort();
1524  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1525  }
1526  // replace default version of method with streamed unary
1527  virtual ::grpc::Status StreamedAlarm(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AlarmRequest,::etcdserverpb::AlarmResponse>* server_unary_streamer) = 0;
1528  };
1529  template <class BaseClass>
1530  class WithStreamedUnaryMethod_Status : public BaseClass {
1531  private:
1533  public:
1535  ::grpc::Service::MarkMethodStreamed(1,
1536  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::StatusRequest, ::etcdserverpb::StatusResponse>(std::bind(&WithStreamedUnaryMethod_Status<BaseClass>::StreamedStatus, this, std::placeholders::_1, std::placeholders::_2)));
1537  }
1540  }
1541  // disable regular version of this method
1542  ::grpc::Status Status(::grpc::ServerContext* context, const ::etcdserverpb::StatusRequest* request, ::etcdserverpb::StatusResponse* response) final override {
1543  abort();
1544  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1545  }
1546  // replace default version of method with streamed unary
1547  virtual ::grpc::Status StreamedStatus(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::StatusRequest,::etcdserverpb::StatusResponse>* server_unary_streamer) = 0;
1548  };
1549  template <class BaseClass>
1550  class WithStreamedUnaryMethod_Defragment : public BaseClass {
1551  private:
1553  public:
1555  ::grpc::Service::MarkMethodStreamed(2,
1556  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::DefragmentRequest, ::etcdserverpb::DefragmentResponse>(std::bind(&WithStreamedUnaryMethod_Defragment<BaseClass>::StreamedDefragment, this, std::placeholders::_1, std::placeholders::_2)));
1557  }
1560  }
1561  // disable regular version of this method
1562  ::grpc::Status Defragment(::grpc::ServerContext* context, const ::etcdserverpb::DefragmentRequest* request, ::etcdserverpb::DefragmentResponse* response) final override {
1563  abort();
1564  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1565  }
1566  // replace default version of method with streamed unary
1567  virtual ::grpc::Status StreamedDefragment(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::DefragmentRequest,::etcdserverpb::DefragmentResponse>* server_unary_streamer) = 0;
1568  };
1569  template <class BaseClass>
1570  class WithStreamedUnaryMethod_Hash : public BaseClass {
1571  private:
1573  public:
1575  ::grpc::Service::MarkMethodStreamed(3,
1576  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::HashRequest, ::etcdserverpb::HashResponse>(std::bind(&WithStreamedUnaryMethod_Hash<BaseClass>::StreamedHash, this, std::placeholders::_1, std::placeholders::_2)));
1577  }
1580  }
1581  // disable regular version of this method
1582  ::grpc::Status Hash(::grpc::ServerContext* context, const ::etcdserverpb::HashRequest* request, ::etcdserverpb::HashResponse* response) final override {
1583  abort();
1584  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1585  }
1586  // replace default version of method with streamed unary
1587  virtual ::grpc::Status StreamedHash(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::HashRequest,::etcdserverpb::HashResponse>* server_unary_streamer) = 0;
1588  };
1590  template <class BaseClass>
1591  class WithSplitStreamingMethod_Snapshot : public BaseClass {
1592  private:
1594  public:
1596  ::grpc::Service::MarkMethodStreamed(4,
1597  new ::grpc::internal::SplitServerStreamingHandler< ::etcdserverpb::SnapshotRequest, ::etcdserverpb::SnapshotResponse>(std::bind(&WithSplitStreamingMethod_Snapshot<BaseClass>::StreamedSnapshot, this, std::placeholders::_1, std::placeholders::_2)));
1598  }
1601  }
1602  // disable regular version of this method
1603  ::grpc::Status Snapshot(::grpc::ServerContext* context, const ::etcdserverpb::SnapshotRequest* request, ::grpc::ServerWriter< ::etcdserverpb::SnapshotResponse>* writer) final override {
1604  abort();
1605  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
1606  }
1607  // replace default version of method with split streamed
1608  virtual ::grpc::Status StreamedSnapshot(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::etcdserverpb::SnapshotRequest,::etcdserverpb::SnapshotResponse>* server_split_streamer) = 0;
1609  };
1612 };
1613 
1614 class Auth final {
1615  public:
1616  static constexpr char const* service_full_name() {
1617  return "etcdserverpb.Auth";
1618  }
1620  public:
1621  virtual ~StubInterface() {}
1622  // AuthEnable enables authentication.
1623  virtual ::grpc::Status AuthEnable(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::etcdserverpb::AuthEnableResponse* response) = 0;
1624  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse>> AsyncAuthEnable(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::grpc::CompletionQueue* cq) {
1625  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse>>(AsyncAuthEnableRaw(context, request, cq));
1626  }
1627  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse>> PrepareAsyncAuthEnable(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::grpc::CompletionQueue* cq) {
1628  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse>>(PrepareAsyncAuthEnableRaw(context, request, cq));
1629  }
1630  // AuthDisable disables authentication.
1631  virtual ::grpc::Status AuthDisable(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::etcdserverpb::AuthDisableResponse* response) = 0;
1632  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse>> AsyncAuthDisable(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::grpc::CompletionQueue* cq) {
1633  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse>>(AsyncAuthDisableRaw(context, request, cq));
1634  }
1635  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse>> PrepareAsyncAuthDisable(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::grpc::CompletionQueue* cq) {
1636  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse>>(PrepareAsyncAuthDisableRaw(context, request, cq));
1637  }
1638  // Authenticate processes an authenticate request.
1639  virtual ::grpc::Status Authenticate(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::etcdserverpb::AuthenticateResponse* response) = 0;
1640  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse>> AsyncAuthenticate(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::grpc::CompletionQueue* cq) {
1641  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse>>(AsyncAuthenticateRaw(context, request, cq));
1642  }
1643  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse>> PrepareAsyncAuthenticate(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::grpc::CompletionQueue* cq) {
1644  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse>>(PrepareAsyncAuthenticateRaw(context, request, cq));
1645  }
1646  // UserAdd adds a new user.
1647  virtual ::grpc::Status UserAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::etcdserverpb::AuthUserAddResponse* response) = 0;
1648  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse>> AsyncUserAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::grpc::CompletionQueue* cq) {
1649  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse>>(AsyncUserAddRaw(context, request, cq));
1650  }
1651  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse>> PrepareAsyncUserAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::grpc::CompletionQueue* cq) {
1652  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse>>(PrepareAsyncUserAddRaw(context, request, cq));
1653  }
1654  // UserGet gets detailed user information.
1655  virtual ::grpc::Status UserGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::etcdserverpb::AuthUserGetResponse* response) = 0;
1656  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse>> AsyncUserGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::grpc::CompletionQueue* cq) {
1657  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse>>(AsyncUserGetRaw(context, request, cq));
1658  }
1659  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse>> PrepareAsyncUserGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::grpc::CompletionQueue* cq) {
1660  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse>>(PrepareAsyncUserGetRaw(context, request, cq));
1661  }
1662  // UserList gets a list of all users.
1663  virtual ::grpc::Status UserList(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::etcdserverpb::AuthUserListResponse* response) = 0;
1664  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse>> AsyncUserList(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::grpc::CompletionQueue* cq) {
1665  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse>>(AsyncUserListRaw(context, request, cq));
1666  }
1667  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse>> PrepareAsyncUserList(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::grpc::CompletionQueue* cq) {
1668  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse>>(PrepareAsyncUserListRaw(context, request, cq));
1669  }
1670  // UserDelete deletes a specified user.
1671  virtual ::grpc::Status UserDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::etcdserverpb::AuthUserDeleteResponse* response) = 0;
1672  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse>> AsyncUserDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::grpc::CompletionQueue* cq) {
1673  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse>>(AsyncUserDeleteRaw(context, request, cq));
1674  }
1675  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse>> PrepareAsyncUserDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::grpc::CompletionQueue* cq) {
1676  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse>>(PrepareAsyncUserDeleteRaw(context, request, cq));
1677  }
1678  // UserChangePassword changes the password of a specified user.
1679  virtual ::grpc::Status UserChangePassword(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::etcdserverpb::AuthUserChangePasswordResponse* response) = 0;
1680  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse>> AsyncUserChangePassword(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::grpc::CompletionQueue* cq) {
1681  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse>>(AsyncUserChangePasswordRaw(context, request, cq));
1682  }
1683  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse>> PrepareAsyncUserChangePassword(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::grpc::CompletionQueue* cq) {
1684  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse>>(PrepareAsyncUserChangePasswordRaw(context, request, cq));
1685  }
1686  // UserGrant grants a role to a specified user.
1687  virtual ::grpc::Status UserGrantRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::etcdserverpb::AuthUserGrantRoleResponse* response) = 0;
1688  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse>> AsyncUserGrantRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::grpc::CompletionQueue* cq) {
1689  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse>>(AsyncUserGrantRoleRaw(context, request, cq));
1690  }
1691  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse>> PrepareAsyncUserGrantRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::grpc::CompletionQueue* cq) {
1692  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse>>(PrepareAsyncUserGrantRoleRaw(context, request, cq));
1693  }
1694  // UserRevokeRole revokes a role of specified user.
1695  virtual ::grpc::Status UserRevokeRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::etcdserverpb::AuthUserRevokeRoleResponse* response) = 0;
1696  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse>> AsyncUserRevokeRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::grpc::CompletionQueue* cq) {
1697  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse>>(AsyncUserRevokeRoleRaw(context, request, cq));
1698  }
1699  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse>> PrepareAsyncUserRevokeRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::grpc::CompletionQueue* cq) {
1700  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse>>(PrepareAsyncUserRevokeRoleRaw(context, request, cq));
1701  }
1702  // RoleAdd adds a new role.
1703  virtual ::grpc::Status RoleAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::etcdserverpb::AuthRoleAddResponse* response) = 0;
1704  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse>> AsyncRoleAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::grpc::CompletionQueue* cq) {
1705  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse>>(AsyncRoleAddRaw(context, request, cq));
1706  }
1707  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse>> PrepareAsyncRoleAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::grpc::CompletionQueue* cq) {
1708  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse>>(PrepareAsyncRoleAddRaw(context, request, cq));
1709  }
1710  // RoleGet gets detailed role information.
1711  virtual ::grpc::Status RoleGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::etcdserverpb::AuthRoleGetResponse* response) = 0;
1712  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse>> AsyncRoleGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::grpc::CompletionQueue* cq) {
1713  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse>>(AsyncRoleGetRaw(context, request, cq));
1714  }
1715  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse>> PrepareAsyncRoleGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::grpc::CompletionQueue* cq) {
1716  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse>>(PrepareAsyncRoleGetRaw(context, request, cq));
1717  }
1718  // RoleList gets lists of all roles.
1719  virtual ::grpc::Status RoleList(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::etcdserverpb::AuthRoleListResponse* response) = 0;
1720  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse>> AsyncRoleList(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::grpc::CompletionQueue* cq) {
1721  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse>>(AsyncRoleListRaw(context, request, cq));
1722  }
1723  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse>> PrepareAsyncRoleList(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::grpc::CompletionQueue* cq) {
1724  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse>>(PrepareAsyncRoleListRaw(context, request, cq));
1725  }
1726  // RoleDelete deletes a specified role.
1727  virtual ::grpc::Status RoleDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::etcdserverpb::AuthRoleDeleteResponse* response) = 0;
1728  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse>> AsyncRoleDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::grpc::CompletionQueue* cq) {
1729  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse>>(AsyncRoleDeleteRaw(context, request, cq));
1730  }
1731  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse>> PrepareAsyncRoleDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::grpc::CompletionQueue* cq) {
1732  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse>>(PrepareAsyncRoleDeleteRaw(context, request, cq));
1733  }
1734  // RoleGrantPermission grants a permission of a specified key or range to a specified role.
1735  virtual ::grpc::Status RoleGrantPermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::etcdserverpb::AuthRoleGrantPermissionResponse* response) = 0;
1736  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse>> AsyncRoleGrantPermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::grpc::CompletionQueue* cq) {
1737  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse>>(AsyncRoleGrantPermissionRaw(context, request, cq));
1738  }
1739  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse>> PrepareAsyncRoleGrantPermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::grpc::CompletionQueue* cq) {
1740  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse>>(PrepareAsyncRoleGrantPermissionRaw(context, request, cq));
1741  }
1742  // RoleRevokePermission revokes a key or range permission of a specified role.
1743  virtual ::grpc::Status RoleRevokePermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::etcdserverpb::AuthRoleRevokePermissionResponse* response) = 0;
1744  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse>> AsyncRoleRevokePermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::grpc::CompletionQueue* cq) {
1745  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse>>(AsyncRoleRevokePermissionRaw(context, request, cq));
1746  }
1747  std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse>> PrepareAsyncRoleRevokePermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::grpc::CompletionQueue* cq) {
1748  return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse>>(PrepareAsyncRoleRevokePermissionRaw(context, request, cq));
1749  }
1750  private:
1751  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse>* AsyncAuthEnableRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::grpc::CompletionQueue* cq) = 0;
1752  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse>* PrepareAsyncAuthEnableRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::grpc::CompletionQueue* cq) = 0;
1753  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse>* AsyncAuthDisableRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::grpc::CompletionQueue* cq) = 0;
1754  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse>* PrepareAsyncAuthDisableRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::grpc::CompletionQueue* cq) = 0;
1755  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse>* AsyncAuthenticateRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::grpc::CompletionQueue* cq) = 0;
1756  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse>* PrepareAsyncAuthenticateRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::grpc::CompletionQueue* cq) = 0;
1757  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse>* AsyncUserAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::grpc::CompletionQueue* cq) = 0;
1758  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse>* PrepareAsyncUserAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::grpc::CompletionQueue* cq) = 0;
1759  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse>* AsyncUserGetRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::grpc::CompletionQueue* cq) = 0;
1760  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse>* PrepareAsyncUserGetRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::grpc::CompletionQueue* cq) = 0;
1761  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse>* AsyncUserListRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::grpc::CompletionQueue* cq) = 0;
1762  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse>* PrepareAsyncUserListRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::grpc::CompletionQueue* cq) = 0;
1763  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse>* AsyncUserDeleteRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0;
1764  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse>* PrepareAsyncUserDeleteRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0;
1765  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse>* AsyncUserChangePasswordRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::grpc::CompletionQueue* cq) = 0;
1766  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse>* PrepareAsyncUserChangePasswordRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::grpc::CompletionQueue* cq) = 0;
1767  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse>* AsyncUserGrantRoleRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::grpc::CompletionQueue* cq) = 0;
1768  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse>* PrepareAsyncUserGrantRoleRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::grpc::CompletionQueue* cq) = 0;
1769  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse>* AsyncUserRevokeRoleRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::grpc::CompletionQueue* cq) = 0;
1770  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse>* PrepareAsyncUserRevokeRoleRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::grpc::CompletionQueue* cq) = 0;
1771  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse>* AsyncRoleAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::grpc::CompletionQueue* cq) = 0;
1772  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse>* PrepareAsyncRoleAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::grpc::CompletionQueue* cq) = 0;
1773  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse>* AsyncRoleGetRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::grpc::CompletionQueue* cq) = 0;
1774  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse>* PrepareAsyncRoleGetRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::grpc::CompletionQueue* cq) = 0;
1775  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse>* AsyncRoleListRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::grpc::CompletionQueue* cq) = 0;
1776  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse>* PrepareAsyncRoleListRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::grpc::CompletionQueue* cq) = 0;
1777  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse>* AsyncRoleDeleteRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0;
1778  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse>* PrepareAsyncRoleDeleteRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0;
1779  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse>* AsyncRoleGrantPermissionRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::grpc::CompletionQueue* cq) = 0;
1780  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse>* PrepareAsyncRoleGrantPermissionRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::grpc::CompletionQueue* cq) = 0;
1781  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse>* AsyncRoleRevokePermissionRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::grpc::CompletionQueue* cq) = 0;
1782  virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse>* PrepareAsyncRoleRevokePermissionRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::grpc::CompletionQueue* cq) = 0;
1783  };
1784  class Stub final : public StubInterface {
1785  public:
1786  Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel);
1787  ::grpc::Status AuthEnable(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::etcdserverpb::AuthEnableResponse* response) override;
1788  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse>> AsyncAuthEnable(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::grpc::CompletionQueue* cq) {
1789  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse>>(AsyncAuthEnableRaw(context, request, cq));
1790  }
1791  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse>> PrepareAsyncAuthEnable(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::grpc::CompletionQueue* cq) {
1792  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse>>(PrepareAsyncAuthEnableRaw(context, request, cq));
1793  }
1794  ::grpc::Status AuthDisable(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::etcdserverpb::AuthDisableResponse* response) override;
1795  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse>> AsyncAuthDisable(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::grpc::CompletionQueue* cq) {
1796  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse>>(AsyncAuthDisableRaw(context, request, cq));
1797  }
1798  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse>> PrepareAsyncAuthDisable(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::grpc::CompletionQueue* cq) {
1799  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse>>(PrepareAsyncAuthDisableRaw(context, request, cq));
1800  }
1801  ::grpc::Status Authenticate(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::etcdserverpb::AuthenticateResponse* response) override;
1802  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse>> AsyncAuthenticate(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::grpc::CompletionQueue* cq) {
1803  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse>>(AsyncAuthenticateRaw(context, request, cq));
1804  }
1805  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse>> PrepareAsyncAuthenticate(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::grpc::CompletionQueue* cq) {
1806  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse>>(PrepareAsyncAuthenticateRaw(context, request, cq));
1807  }
1808  ::grpc::Status UserAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::etcdserverpb::AuthUserAddResponse* response) override;
1809  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse>> AsyncUserAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::grpc::CompletionQueue* cq) {
1810  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse>>(AsyncUserAddRaw(context, request, cq));
1811  }
1812  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse>> PrepareAsyncUserAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::grpc::CompletionQueue* cq) {
1813  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse>>(PrepareAsyncUserAddRaw(context, request, cq));
1814  }
1815  ::grpc::Status UserGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::etcdserverpb::AuthUserGetResponse* response) override;
1816  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse>> AsyncUserGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::grpc::CompletionQueue* cq) {
1817  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse>>(AsyncUserGetRaw(context, request, cq));
1818  }
1819  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse>> PrepareAsyncUserGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::grpc::CompletionQueue* cq) {
1820  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse>>(PrepareAsyncUserGetRaw(context, request, cq));
1821  }
1822  ::grpc::Status UserList(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::etcdserverpb::AuthUserListResponse* response) override;
1823  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse>> AsyncUserList(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::grpc::CompletionQueue* cq) {
1824  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse>>(AsyncUserListRaw(context, request, cq));
1825  }
1826  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse>> PrepareAsyncUserList(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::grpc::CompletionQueue* cq) {
1827  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse>>(PrepareAsyncUserListRaw(context, request, cq));
1828  }
1829  ::grpc::Status UserDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::etcdserverpb::AuthUserDeleteResponse* response) override;
1830  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse>> AsyncUserDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::grpc::CompletionQueue* cq) {
1831  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse>>(AsyncUserDeleteRaw(context, request, cq));
1832  }
1833  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse>> PrepareAsyncUserDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::grpc::CompletionQueue* cq) {
1834  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse>>(PrepareAsyncUserDeleteRaw(context, request, cq));
1835  }
1836  ::grpc::Status UserChangePassword(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::etcdserverpb::AuthUserChangePasswordResponse* response) override;
1837  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse>> AsyncUserChangePassword(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::grpc::CompletionQueue* cq) {
1838  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse>>(AsyncUserChangePasswordRaw(context, request, cq));
1839  }
1840  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse>> PrepareAsyncUserChangePassword(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::grpc::CompletionQueue* cq) {
1841  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse>>(PrepareAsyncUserChangePasswordRaw(context, request, cq));
1842  }
1843  ::grpc::Status UserGrantRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::etcdserverpb::AuthUserGrantRoleResponse* response) override;
1844  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse>> AsyncUserGrantRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::grpc::CompletionQueue* cq) {
1845  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse>>(AsyncUserGrantRoleRaw(context, request, cq));
1846  }
1847  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse>> PrepareAsyncUserGrantRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::grpc::CompletionQueue* cq) {
1848  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse>>(PrepareAsyncUserGrantRoleRaw(context, request, cq));
1849  }
1850  ::grpc::Status UserRevokeRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::etcdserverpb::AuthUserRevokeRoleResponse* response) override;
1851  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse>> AsyncUserRevokeRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::grpc::CompletionQueue* cq) {
1852  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse>>(AsyncUserRevokeRoleRaw(context, request, cq));
1853  }
1854  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse>> PrepareAsyncUserRevokeRole(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::grpc::CompletionQueue* cq) {
1855  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse>>(PrepareAsyncUserRevokeRoleRaw(context, request, cq));
1856  }
1857  ::grpc::Status RoleAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::etcdserverpb::AuthRoleAddResponse* response) override;
1858  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse>> AsyncRoleAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::grpc::CompletionQueue* cq) {
1859  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse>>(AsyncRoleAddRaw(context, request, cq));
1860  }
1861  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse>> PrepareAsyncRoleAdd(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::grpc::CompletionQueue* cq) {
1862  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse>>(PrepareAsyncRoleAddRaw(context, request, cq));
1863  }
1864  ::grpc::Status RoleGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::etcdserverpb::AuthRoleGetResponse* response) override;
1865  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse>> AsyncRoleGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::grpc::CompletionQueue* cq) {
1866  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse>>(AsyncRoleGetRaw(context, request, cq));
1867  }
1868  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse>> PrepareAsyncRoleGet(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::grpc::CompletionQueue* cq) {
1869  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse>>(PrepareAsyncRoleGetRaw(context, request, cq));
1870  }
1871  ::grpc::Status RoleList(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::etcdserverpb::AuthRoleListResponse* response) override;
1872  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse>> AsyncRoleList(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::grpc::CompletionQueue* cq) {
1873  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse>>(AsyncRoleListRaw(context, request, cq));
1874  }
1875  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse>> PrepareAsyncRoleList(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::grpc::CompletionQueue* cq) {
1876  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse>>(PrepareAsyncRoleListRaw(context, request, cq));
1877  }
1878  ::grpc::Status RoleDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::etcdserverpb::AuthRoleDeleteResponse* response) override;
1879  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse>> AsyncRoleDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::grpc::CompletionQueue* cq) {
1880  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse>>(AsyncRoleDeleteRaw(context, request, cq));
1881  }
1882  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse>> PrepareAsyncRoleDelete(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::grpc::CompletionQueue* cq) {
1883  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse>>(PrepareAsyncRoleDeleteRaw(context, request, cq));
1884  }
1885  ::grpc::Status RoleGrantPermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::etcdserverpb::AuthRoleGrantPermissionResponse* response) override;
1886  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse>> AsyncRoleGrantPermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::grpc::CompletionQueue* cq) {
1887  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse>>(AsyncRoleGrantPermissionRaw(context, request, cq));
1888  }
1889  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse>> PrepareAsyncRoleGrantPermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::grpc::CompletionQueue* cq) {
1890  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse>>(PrepareAsyncRoleGrantPermissionRaw(context, request, cq));
1891  }
1892  ::grpc::Status RoleRevokePermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::etcdserverpb::AuthRoleRevokePermissionResponse* response) override;
1893  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse>> AsyncRoleRevokePermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::grpc::CompletionQueue* cq) {
1894  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse>>(AsyncRoleRevokePermissionRaw(context, request, cq));
1895  }
1896  std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse>> PrepareAsyncRoleRevokePermission(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::grpc::CompletionQueue* cq) {
1897  return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse>>(PrepareAsyncRoleRevokePermissionRaw(context, request, cq));
1898  }
1899 
1900  private:
1901  std::shared_ptr< ::grpc::ChannelInterface> channel_;
1902  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse>* AsyncAuthEnableRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::grpc::CompletionQueue* cq) override;
1903  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse>* PrepareAsyncAuthEnableRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthEnableRequest& request, ::grpc::CompletionQueue* cq) override;
1904  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse>* AsyncAuthDisableRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::grpc::CompletionQueue* cq) override;
1905  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse>* PrepareAsyncAuthDisableRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthDisableRequest& request, ::grpc::CompletionQueue* cq) override;
1906  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse>* AsyncAuthenticateRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::grpc::CompletionQueue* cq) override;
1907  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse>* PrepareAsyncAuthenticateRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthenticateRequest& request, ::grpc::CompletionQueue* cq) override;
1908  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse>* AsyncUserAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::grpc::CompletionQueue* cq) override;
1909  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse>* PrepareAsyncUserAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserAddRequest& request, ::grpc::CompletionQueue* cq) override;
1910  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse>* AsyncUserGetRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::grpc::CompletionQueue* cq) override;
1911  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse>* PrepareAsyncUserGetRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGetRequest& request, ::grpc::CompletionQueue* cq) override;
1912  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse>* AsyncUserListRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::grpc::CompletionQueue* cq) override;
1913  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse>* PrepareAsyncUserListRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserListRequest& request, ::grpc::CompletionQueue* cq) override;
1914  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse>* AsyncUserDeleteRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::grpc::CompletionQueue* cq) override;
1915  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse>* PrepareAsyncUserDeleteRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserDeleteRequest& request, ::grpc::CompletionQueue* cq) override;
1916  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse>* AsyncUserChangePasswordRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::grpc::CompletionQueue* cq) override;
1917  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse>* PrepareAsyncUserChangePasswordRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest& request, ::grpc::CompletionQueue* cq) override;
1918  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse>* AsyncUserGrantRoleRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::grpc::CompletionQueue* cq) override;
1919  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse>* PrepareAsyncUserGrantRoleRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest& request, ::grpc::CompletionQueue* cq) override;
1920  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse>* AsyncUserRevokeRoleRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::grpc::CompletionQueue* cq) override;
1921  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse>* PrepareAsyncUserRevokeRoleRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest& request, ::grpc::CompletionQueue* cq) override;
1922  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse>* AsyncRoleAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::grpc::CompletionQueue* cq) override;
1923  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse>* PrepareAsyncRoleAddRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleAddRequest& request, ::grpc::CompletionQueue* cq) override;
1924  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse>* AsyncRoleGetRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::grpc::CompletionQueue* cq) override;
1925  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse>* PrepareAsyncRoleGetRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGetRequest& request, ::grpc::CompletionQueue* cq) override;
1926  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse>* AsyncRoleListRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::grpc::CompletionQueue* cq) override;
1927  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse>* PrepareAsyncRoleListRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleListRequest& request, ::grpc::CompletionQueue* cq) override;
1928  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse>* AsyncRoleDeleteRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::grpc::CompletionQueue* cq) override;
1929  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse>* PrepareAsyncRoleDeleteRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleDeleteRequest& request, ::grpc::CompletionQueue* cq) override;
1930  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse>* AsyncRoleGrantPermissionRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::grpc::CompletionQueue* cq) override;
1931  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse>* PrepareAsyncRoleGrantPermissionRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest& request, ::grpc::CompletionQueue* cq) override;
1932  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse>* AsyncRoleRevokePermissionRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::grpc::CompletionQueue* cq) override;
1933  ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse>* PrepareAsyncRoleRevokePermissionRaw(::grpc::ClientContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest& request, ::grpc::CompletionQueue* cq) override;
1934  const ::grpc::internal::RpcMethod rpcmethod_AuthEnable_;
1935  const ::grpc::internal::RpcMethod rpcmethod_AuthDisable_;
1936  const ::grpc::internal::RpcMethod rpcmethod_Authenticate_;
1937  const ::grpc::internal::RpcMethod rpcmethod_UserAdd_;
1938  const ::grpc::internal::RpcMethod rpcmethod_UserGet_;
1939  const ::grpc::internal::RpcMethod rpcmethod_UserList_;
1940  const ::grpc::internal::RpcMethod rpcmethod_UserDelete_;
1941  const ::grpc::internal::RpcMethod rpcmethod_UserChangePassword_;
1942  const ::grpc::internal::RpcMethod rpcmethod_UserGrantRole_;
1943  const ::grpc::internal::RpcMethod rpcmethod_UserRevokeRole_;
1944  const ::grpc::internal::RpcMethod rpcmethod_RoleAdd_;
1945  const ::grpc::internal::RpcMethod rpcmethod_RoleGet_;
1946  const ::grpc::internal::RpcMethod rpcmethod_RoleList_;
1947  const ::grpc::internal::RpcMethod rpcmethod_RoleDelete_;
1948  const ::grpc::internal::RpcMethod rpcmethod_RoleGrantPermission_;
1949  const ::grpc::internal::RpcMethod rpcmethod_RoleRevokePermission_;
1950  };
1951  static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
1952 
1953  class Service : public ::grpc::Service {
1954  public:
1955  Service();
1956  virtual ~Service();
1957  // AuthEnable enables authentication.
1958  virtual ::grpc::Status AuthEnable(::grpc::ServerContext* context, const ::etcdserverpb::AuthEnableRequest* request, ::etcdserverpb::AuthEnableResponse* response);
1959  // AuthDisable disables authentication.
1960  virtual ::grpc::Status AuthDisable(::grpc::ServerContext* context, const ::etcdserverpb::AuthDisableRequest* request, ::etcdserverpb::AuthDisableResponse* response);
1961  // Authenticate processes an authenticate request.
1962  virtual ::grpc::Status Authenticate(::grpc::ServerContext* context, const ::etcdserverpb::AuthenticateRequest* request, ::etcdserverpb::AuthenticateResponse* response);
1963  // UserAdd adds a new user.
1964  virtual ::grpc::Status UserAdd(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserAddRequest* request, ::etcdserverpb::AuthUserAddResponse* response);
1965  // UserGet gets detailed user information.
1966  virtual ::grpc::Status UserGet(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserGetRequest* request, ::etcdserverpb::AuthUserGetResponse* response);
1967  // UserList gets a list of all users.
1968  virtual ::grpc::Status UserList(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserListRequest* request, ::etcdserverpb::AuthUserListResponse* response);
1969  // UserDelete deletes a specified user.
1970  virtual ::grpc::Status UserDelete(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserDeleteRequest* request, ::etcdserverpb::AuthUserDeleteResponse* response);
1971  // UserChangePassword changes the password of a specified user.
1972  virtual ::grpc::Status UserChangePassword(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest* request, ::etcdserverpb::AuthUserChangePasswordResponse* response);
1973  // UserGrant grants a role to a specified user.
1974  virtual ::grpc::Status UserGrantRole(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest* request, ::etcdserverpb::AuthUserGrantRoleResponse* response);
1975  // UserRevokeRole revokes a role of specified user.
1976  virtual ::grpc::Status UserRevokeRole(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest* request, ::etcdserverpb::AuthUserRevokeRoleResponse* response);
1977  // RoleAdd adds a new role.
1978  virtual ::grpc::Status RoleAdd(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleAddRequest* request, ::etcdserverpb::AuthRoleAddResponse* response);
1979  // RoleGet gets detailed role information.
1980  virtual ::grpc::Status RoleGet(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleGetRequest* request, ::etcdserverpb::AuthRoleGetResponse* response);
1981  // RoleList gets lists of all roles.
1982  virtual ::grpc::Status RoleList(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleListRequest* request, ::etcdserverpb::AuthRoleListResponse* response);
1983  // RoleDelete deletes a specified role.
1984  virtual ::grpc::Status RoleDelete(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleDeleteRequest* request, ::etcdserverpb::AuthRoleDeleteResponse* response);
1985  // RoleGrantPermission grants a permission of a specified key or range to a specified role.
1986  virtual ::grpc::Status RoleGrantPermission(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest* request, ::etcdserverpb::AuthRoleGrantPermissionResponse* response);
1987  // RoleRevokePermission revokes a key or range permission of a specified role.
1988  virtual ::grpc::Status RoleRevokePermission(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest* request, ::etcdserverpb::AuthRoleRevokePermissionResponse* response);
1989  };
1990  template <class BaseClass>
1991  class WithAsyncMethod_AuthEnable : public BaseClass {
1992  private:
1994  public:
1996  ::grpc::Service::MarkMethodAsync(0);
1997  }
2000  }
2001  // disable synchronous version of this method
2002  ::grpc::Status AuthEnable(::grpc::ServerContext* context, const ::etcdserverpb::AuthEnableRequest* request, ::etcdserverpb::AuthEnableResponse* response) final override {
2003  abort();
2004  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2005  }
2006  void RequestAuthEnable(::grpc::ServerContext* context, ::etcdserverpb::AuthEnableRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthEnableResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2007  ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
2008  }
2009  };
2010  template <class BaseClass>
2011  class WithAsyncMethod_AuthDisable : public BaseClass {
2012  private:
2014  public:
2016  ::grpc::Service::MarkMethodAsync(1);
2017  }
2020  }
2021  // disable synchronous version of this method
2022  ::grpc::Status AuthDisable(::grpc::ServerContext* context, const ::etcdserverpb::AuthDisableRequest* request, ::etcdserverpb::AuthDisableResponse* response) final override {
2023  abort();
2024  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2025  }
2026  void RequestAuthDisable(::grpc::ServerContext* context, ::etcdserverpb::AuthDisableRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthDisableResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2027  ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag);
2028  }
2029  };
2030  template <class BaseClass>
2031  class WithAsyncMethod_Authenticate : public BaseClass {
2032  private:
2034  public:
2036  ::grpc::Service::MarkMethodAsync(2);
2037  }
2040  }
2041  // disable synchronous version of this method
2042  ::grpc::Status Authenticate(::grpc::ServerContext* context, const ::etcdserverpb::AuthenticateRequest* request, ::etcdserverpb::AuthenticateResponse* response) final override {
2043  abort();
2044  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2045  }
2046  void RequestAuthenticate(::grpc::ServerContext* context, ::etcdserverpb::AuthenticateRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthenticateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2047  ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag);
2048  }
2049  };
2050  template <class BaseClass>
2051  class WithAsyncMethod_UserAdd : public BaseClass {
2052  private:
2054  public:
2056  ::grpc::Service::MarkMethodAsync(3);
2057  }
2060  }
2061  // disable synchronous version of this method
2062  ::grpc::Status UserAdd(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserAddRequest* request, ::etcdserverpb::AuthUserAddResponse* response) final override {
2063  abort();
2064  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2065  }
2066  void RequestUserAdd(::grpc::ServerContext* context, ::etcdserverpb::AuthUserAddRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserAddResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2067  ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag);
2068  }
2069  };
2070  template <class BaseClass>
2071  class WithAsyncMethod_UserGet : public BaseClass {
2072  private:
2074  public:
2076  ::grpc::Service::MarkMethodAsync(4);
2077  }
2080  }
2081  // disable synchronous version of this method
2082  ::grpc::Status UserGet(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserGetRequest* request, ::etcdserverpb::AuthUserGetResponse* response) final override {
2083  abort();
2084  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2085  }
2086  void RequestUserGet(::grpc::ServerContext* context, ::etcdserverpb::AuthUserGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserGetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2087  ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag);
2088  }
2089  };
2090  template <class BaseClass>
2091  class WithAsyncMethod_UserList : public BaseClass {
2092  private:
2094  public:
2096  ::grpc::Service::MarkMethodAsync(5);
2097  }
2100  }
2101  // disable synchronous version of this method
2102  ::grpc::Status UserList(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserListRequest* request, ::etcdserverpb::AuthUserListResponse* response) final override {
2103  abort();
2104  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2105  }
2106  void RequestUserList(::grpc::ServerContext* context, ::etcdserverpb::AuthUserListRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserListResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2107  ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag);
2108  }
2109  };
2110  template <class BaseClass>
2111  class WithAsyncMethod_UserDelete : public BaseClass {
2112  private:
2114  public:
2116  ::grpc::Service::MarkMethodAsync(6);
2117  }
2120  }
2121  // disable synchronous version of this method
2122  ::grpc::Status UserDelete(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserDeleteRequest* request, ::etcdserverpb::AuthUserDeleteResponse* response) final override {
2123  abort();
2124  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2125  }
2126  void RequestUserDelete(::grpc::ServerContext* context, ::etcdserverpb::AuthUserDeleteRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserDeleteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2127  ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag);
2128  }
2129  };
2130  template <class BaseClass>
2131  class WithAsyncMethod_UserChangePassword : public BaseClass {
2132  private:
2134  public:
2136  ::grpc::Service::MarkMethodAsync(7);
2137  }
2140  }
2141  // disable synchronous version of this method
2142  ::grpc::Status UserChangePassword(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest* request, ::etcdserverpb::AuthUserChangePasswordResponse* response) final override {
2143  abort();
2144  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2145  }
2146  void RequestUserChangePassword(::grpc::ServerContext* context, ::etcdserverpb::AuthUserChangePasswordRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserChangePasswordResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2147  ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag);
2148  }
2149  };
2150  template <class BaseClass>
2151  class WithAsyncMethod_UserGrantRole : public BaseClass {
2152  private:
2154  public:
2156  ::grpc::Service::MarkMethodAsync(8);
2157  }
2160  }
2161  // disable synchronous version of this method
2162  ::grpc::Status UserGrantRole(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest* request, ::etcdserverpb::AuthUserGrantRoleResponse* response) final override {
2163  abort();
2164  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2165  }
2166  void RequestUserGrantRole(::grpc::ServerContext* context, ::etcdserverpb::AuthUserGrantRoleRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserGrantRoleResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2167  ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag);
2168  }
2169  };
2170  template <class BaseClass>
2171  class WithAsyncMethod_UserRevokeRole : public BaseClass {
2172  private:
2174  public:
2176  ::grpc::Service::MarkMethodAsync(9);
2177  }
2180  }
2181  // disable synchronous version of this method
2182  ::grpc::Status UserRevokeRole(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest* request, ::etcdserverpb::AuthUserRevokeRoleResponse* response) final override {
2183  abort();
2184  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2185  }
2186  void RequestUserRevokeRole(::grpc::ServerContext* context, ::etcdserverpb::AuthUserRevokeRoleRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserRevokeRoleResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2187  ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag);
2188  }
2189  };
2190  template <class BaseClass>
2191  class WithAsyncMethod_RoleAdd : public BaseClass {
2192  private:
2194  public:
2196  ::grpc::Service::MarkMethodAsync(10);
2197  }
2200  }
2201  // disable synchronous version of this method
2202  ::grpc::Status RoleAdd(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleAddRequest* request, ::etcdserverpb::AuthRoleAddResponse* response) final override {
2203  abort();
2204  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2205  }
2206  void RequestRoleAdd(::grpc::ServerContext* context, ::etcdserverpb::AuthRoleAddRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleAddResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2207  ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag);
2208  }
2209  };
2210  template <class BaseClass>
2211  class WithAsyncMethod_RoleGet : public BaseClass {
2212  private:
2214  public:
2216  ::grpc::Service::MarkMethodAsync(11);
2217  }
2220  }
2221  // disable synchronous version of this method
2222  ::grpc::Status RoleGet(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleGetRequest* request, ::etcdserverpb::AuthRoleGetResponse* response) final override {
2223  abort();
2224  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2225  }
2226  void RequestRoleGet(::grpc::ServerContext* context, ::etcdserverpb::AuthRoleGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleGetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2227  ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag);
2228  }
2229  };
2230  template <class BaseClass>
2231  class WithAsyncMethod_RoleList : public BaseClass {
2232  private:
2234  public:
2236  ::grpc::Service::MarkMethodAsync(12);
2237  }
2240  }
2241  // disable synchronous version of this method
2242  ::grpc::Status RoleList(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleListRequest* request, ::etcdserverpb::AuthRoleListResponse* response) final override {
2243  abort();
2244  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2245  }
2246  void RequestRoleList(::grpc::ServerContext* context, ::etcdserverpb::AuthRoleListRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleListResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2247  ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag);
2248  }
2249  };
2250  template <class BaseClass>
2251  class WithAsyncMethod_RoleDelete : public BaseClass {
2252  private:
2254  public:
2256  ::grpc::Service::MarkMethodAsync(13);
2257  }
2260  }
2261  // disable synchronous version of this method
2262  ::grpc::Status RoleDelete(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleDeleteRequest* request, ::etcdserverpb::AuthRoleDeleteResponse* response) final override {
2263  abort();
2264  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2265  }
2266  void RequestRoleDelete(::grpc::ServerContext* context, ::etcdserverpb::AuthRoleDeleteRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleDeleteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2267  ::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag);
2268  }
2269  };
2270  template <class BaseClass>
2271  class WithAsyncMethod_RoleGrantPermission : public BaseClass {
2272  private:
2274  public:
2276  ::grpc::Service::MarkMethodAsync(14);
2277  }
2280  }
2281  // disable synchronous version of this method
2282  ::grpc::Status RoleGrantPermission(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest* request, ::etcdserverpb::AuthRoleGrantPermissionResponse* response) final override {
2283  abort();
2284  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2285  }
2286  void RequestRoleGrantPermission(::grpc::ServerContext* context, ::etcdserverpb::AuthRoleGrantPermissionRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleGrantPermissionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2287  ::grpc::Service::RequestAsyncUnary(14, context, request, response, new_call_cq, notification_cq, tag);
2288  }
2289  };
2290  template <class BaseClass>
2291  class WithAsyncMethod_RoleRevokePermission : public BaseClass {
2292  private:
2294  public:
2296  ::grpc::Service::MarkMethodAsync(15);
2297  }
2300  }
2301  // disable synchronous version of this method
2302  ::grpc::Status RoleRevokePermission(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest* request, ::etcdserverpb::AuthRoleRevokePermissionResponse* response) final override {
2303  abort();
2304  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2305  }
2306  void RequestRoleRevokePermission(::grpc::ServerContext* context, ::etcdserverpb::AuthRoleRevokePermissionRequest* request, ::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleRevokePermissionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
2307  ::grpc::Service::RequestAsyncUnary(15, context, request, response, new_call_cq, notification_cq, tag);
2308  }
2309  };
2311  template <class BaseClass>
2312  class WithGenericMethod_AuthEnable : public BaseClass {
2313  private:
2315  public:
2317  ::grpc::Service::MarkMethodGeneric(0);
2318  }
2321  }
2322  // disable synchronous version of this method
2323  ::grpc::Status AuthEnable(::grpc::ServerContext* context, const ::etcdserverpb::AuthEnableRequest* request, ::etcdserverpb::AuthEnableResponse* response) final override {
2324  abort();
2325  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2326  }
2327  };
2328  template <class BaseClass>
2329  class WithGenericMethod_AuthDisable : public BaseClass {
2330  private:
2332  public:
2334  ::grpc::Service::MarkMethodGeneric(1);
2335  }
2338  }
2339  // disable synchronous version of this method
2340  ::grpc::Status AuthDisable(::grpc::ServerContext* context, const ::etcdserverpb::AuthDisableRequest* request, ::etcdserverpb::AuthDisableResponse* response) final override {
2341  abort();
2342  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2343  }
2344  };
2345  template <class BaseClass>
2346  class WithGenericMethod_Authenticate : public BaseClass {
2347  private:
2349  public:
2351  ::grpc::Service::MarkMethodGeneric(2);
2352  }
2355  }
2356  // disable synchronous version of this method
2357  ::grpc::Status Authenticate(::grpc::ServerContext* context, const ::etcdserverpb::AuthenticateRequest* request, ::etcdserverpb::AuthenticateResponse* response) final override {
2358  abort();
2359  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2360  }
2361  };
2362  template <class BaseClass>
2363  class WithGenericMethod_UserAdd : public BaseClass {
2364  private:
2366  public:
2368  ::grpc::Service::MarkMethodGeneric(3);
2369  }
2372  }
2373  // disable synchronous version of this method
2374  ::grpc::Status UserAdd(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserAddRequest* request, ::etcdserverpb::AuthUserAddResponse* response) final override {
2375  abort();
2376  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2377  }
2378  };
2379  template <class BaseClass>
2380  class WithGenericMethod_UserGet : public BaseClass {
2381  private:
2383  public:
2385  ::grpc::Service::MarkMethodGeneric(4);
2386  }
2389  }
2390  // disable synchronous version of this method
2391  ::grpc::Status UserGet(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserGetRequest* request, ::etcdserverpb::AuthUserGetResponse* response) final override {
2392  abort();
2393  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2394  }
2395  };
2396  template <class BaseClass>
2397  class WithGenericMethod_UserList : public BaseClass {
2398  private:
2400  public:
2402  ::grpc::Service::MarkMethodGeneric(5);
2403  }
2406  }
2407  // disable synchronous version of this method
2408  ::grpc::Status UserList(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserListRequest* request, ::etcdserverpb::AuthUserListResponse* response) final override {
2409  abort();
2410  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2411  }
2412  };
2413  template <class BaseClass>
2414  class WithGenericMethod_UserDelete : public BaseClass {
2415  private:
2417  public:
2419  ::grpc::Service::MarkMethodGeneric(6);
2420  }
2423  }
2424  // disable synchronous version of this method
2425  ::grpc::Status UserDelete(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserDeleteRequest* request, ::etcdserverpb::AuthUserDeleteResponse* response) final override {
2426  abort();
2427  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2428  }
2429  };
2430  template <class BaseClass>
2431  class WithGenericMethod_UserChangePassword : public BaseClass {
2432  private:
2434  public:
2436  ::grpc::Service::MarkMethodGeneric(7);
2437  }
2440  }
2441  // disable synchronous version of this method
2442  ::grpc::Status UserChangePassword(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest* request, ::etcdserverpb::AuthUserChangePasswordResponse* response) final override {
2443  abort();
2444  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2445  }
2446  };
2447  template <class BaseClass>
2448  class WithGenericMethod_UserGrantRole : public BaseClass {
2449  private:
2451  public:
2453  ::grpc::Service::MarkMethodGeneric(8);
2454  }
2457  }
2458  // disable synchronous version of this method
2459  ::grpc::Status UserGrantRole(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest* request, ::etcdserverpb::AuthUserGrantRoleResponse* response) final override {
2460  abort();
2461  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2462  }
2463  };
2464  template <class BaseClass>
2465  class WithGenericMethod_UserRevokeRole : public BaseClass {
2466  private:
2468  public:
2470  ::grpc::Service::MarkMethodGeneric(9);
2471  }
2474  }
2475  // disable synchronous version of this method
2476  ::grpc::Status UserRevokeRole(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest* request, ::etcdserverpb::AuthUserRevokeRoleResponse* response) final override {
2477  abort();
2478  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2479  }
2480  };
2481  template <class BaseClass>
2482  class WithGenericMethod_RoleAdd : public BaseClass {
2483  private:
2485  public:
2487  ::grpc::Service::MarkMethodGeneric(10);
2488  }
2491  }
2492  // disable synchronous version of this method
2493  ::grpc::Status RoleAdd(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleAddRequest* request, ::etcdserverpb::AuthRoleAddResponse* response) final override {
2494  abort();
2495  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2496  }
2497  };
2498  template <class BaseClass>
2499  class WithGenericMethod_RoleGet : public BaseClass {
2500  private:
2502  public:
2504  ::grpc::Service::MarkMethodGeneric(11);
2505  }
2508  }
2509  // disable synchronous version of this method
2510  ::grpc::Status RoleGet(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleGetRequest* request, ::etcdserverpb::AuthRoleGetResponse* response) final override {
2511  abort();
2512  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2513  }
2514  };
2515  template <class BaseClass>
2516  class WithGenericMethod_RoleList : public BaseClass {
2517  private:
2519  public:
2521  ::grpc::Service::MarkMethodGeneric(12);
2522  }
2525  }
2526  // disable synchronous version of this method
2527  ::grpc::Status RoleList(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleListRequest* request, ::etcdserverpb::AuthRoleListResponse* response) final override {
2528  abort();
2529  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2530  }
2531  };
2532  template <class BaseClass>
2533  class WithGenericMethod_RoleDelete : public BaseClass {
2534  private:
2536  public:
2538  ::grpc::Service::MarkMethodGeneric(13);
2539  }
2542  }
2543  // disable synchronous version of this method
2544  ::grpc::Status RoleDelete(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleDeleteRequest* request, ::etcdserverpb::AuthRoleDeleteResponse* response) final override {
2545  abort();
2546  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2547  }
2548  };
2549  template <class BaseClass>
2550  class WithGenericMethod_RoleGrantPermission : public BaseClass {
2551  private:
2553  public:
2555  ::grpc::Service::MarkMethodGeneric(14);
2556  }
2559  }
2560  // disable synchronous version of this method
2561  ::grpc::Status RoleGrantPermission(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest* request, ::etcdserverpb::AuthRoleGrantPermissionResponse* response) final override {
2562  abort();
2563  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2564  }
2565  };
2566  template <class BaseClass>
2567  class WithGenericMethod_RoleRevokePermission : public BaseClass {
2568  private:
2570  public:
2572  ::grpc::Service::MarkMethodGeneric(15);
2573  }
2576  }
2577  // disable synchronous version of this method
2578  ::grpc::Status RoleRevokePermission(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest* request, ::etcdserverpb::AuthRoleRevokePermissionResponse* response) final override {
2579  abort();
2580  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2581  }
2582  };
2583  template <class BaseClass>
2584  class WithStreamedUnaryMethod_AuthEnable : public BaseClass {
2585  private:
2587  public:
2589  ::grpc::Service::MarkMethodStreamed(0,
2590  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthEnableRequest, ::etcdserverpb::AuthEnableResponse>(std::bind(&WithStreamedUnaryMethod_AuthEnable<BaseClass>::StreamedAuthEnable, this, std::placeholders::_1, std::placeholders::_2)));
2591  }
2594  }
2595  // disable regular version of this method
2596  ::grpc::Status AuthEnable(::grpc::ServerContext* context, const ::etcdserverpb::AuthEnableRequest* request, ::etcdserverpb::AuthEnableResponse* response) final override {
2597  abort();
2598  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2599  }
2600  // replace default version of method with streamed unary
2601  virtual ::grpc::Status StreamedAuthEnable(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthEnableRequest,::etcdserverpb::AuthEnableResponse>* server_unary_streamer) = 0;
2602  };
2603  template <class BaseClass>
2604  class WithStreamedUnaryMethod_AuthDisable : public BaseClass {
2605  private:
2607  public:
2609  ::grpc::Service::MarkMethodStreamed(1,
2610  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthDisableRequest, ::etcdserverpb::AuthDisableResponse>(std::bind(&WithStreamedUnaryMethod_AuthDisable<BaseClass>::StreamedAuthDisable, this, std::placeholders::_1, std::placeholders::_2)));
2611  }
2614  }
2615  // disable regular version of this method
2616  ::grpc::Status AuthDisable(::grpc::ServerContext* context, const ::etcdserverpb::AuthDisableRequest* request, ::etcdserverpb::AuthDisableResponse* response) final override {
2617  abort();
2618  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2619  }
2620  // replace default version of method with streamed unary
2621  virtual ::grpc::Status StreamedAuthDisable(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthDisableRequest,::etcdserverpb::AuthDisableResponse>* server_unary_streamer) = 0;
2622  };
2623  template <class BaseClass>
2624  class WithStreamedUnaryMethod_Authenticate : public BaseClass {
2625  private:
2627  public:
2629  ::grpc::Service::MarkMethodStreamed(2,
2630  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthenticateRequest, ::etcdserverpb::AuthenticateResponse>(std::bind(&WithStreamedUnaryMethod_Authenticate<BaseClass>::StreamedAuthenticate, this, std::placeholders::_1, std::placeholders::_2)));
2631  }
2634  }
2635  // disable regular version of this method
2636  ::grpc::Status Authenticate(::grpc::ServerContext* context, const ::etcdserverpb::AuthenticateRequest* request, ::etcdserverpb::AuthenticateResponse* response) final override {
2637  abort();
2638  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2639  }
2640  // replace default version of method with streamed unary
2641  virtual ::grpc::Status StreamedAuthenticate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthenticateRequest,::etcdserverpb::AuthenticateResponse>* server_unary_streamer) = 0;
2642  };
2643  template <class BaseClass>
2644  class WithStreamedUnaryMethod_UserAdd : public BaseClass {
2645  private:
2647  public:
2649  ::grpc::Service::MarkMethodStreamed(3,
2650  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthUserAddRequest, ::etcdserverpb::AuthUserAddResponse>(std::bind(&WithStreamedUnaryMethod_UserAdd<BaseClass>::StreamedUserAdd, this, std::placeholders::_1, std::placeholders::_2)));
2651  }
2654  }
2655  // disable regular version of this method
2656  ::grpc::Status UserAdd(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserAddRequest* request, ::etcdserverpb::AuthUserAddResponse* response) final override {
2657  abort();
2658  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2659  }
2660  // replace default version of method with streamed unary
2661  virtual ::grpc::Status StreamedUserAdd(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserAddRequest,::etcdserverpb::AuthUserAddResponse>* server_unary_streamer) = 0;
2662  };
2663  template <class BaseClass>
2664  class WithStreamedUnaryMethod_UserGet : public BaseClass {
2665  private:
2667  public:
2669  ::grpc::Service::MarkMethodStreamed(4,
2670  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthUserGetRequest, ::etcdserverpb::AuthUserGetResponse>(std::bind(&WithStreamedUnaryMethod_UserGet<BaseClass>::StreamedUserGet, this, std::placeholders::_1, std::placeholders::_2)));
2671  }
2674  }
2675  // disable regular version of this method
2676  ::grpc::Status UserGet(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserGetRequest* request, ::etcdserverpb::AuthUserGetResponse* response) final override {
2677  abort();
2678  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2679  }
2680  // replace default version of method with streamed unary
2681  virtual ::grpc::Status StreamedUserGet(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserGetRequest,::etcdserverpb::AuthUserGetResponse>* server_unary_streamer) = 0;
2682  };
2683  template <class BaseClass>
2684  class WithStreamedUnaryMethod_UserList : public BaseClass {
2685  private:
2687  public:
2689  ::grpc::Service::MarkMethodStreamed(5,
2690  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthUserListRequest, ::etcdserverpb::AuthUserListResponse>(std::bind(&WithStreamedUnaryMethod_UserList<BaseClass>::StreamedUserList, this, std::placeholders::_1, std::placeholders::_2)));
2691  }
2694  }
2695  // disable regular version of this method
2696  ::grpc::Status UserList(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserListRequest* request, ::etcdserverpb::AuthUserListResponse* response) final override {
2697  abort();
2698  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2699  }
2700  // replace default version of method with streamed unary
2701  virtual ::grpc::Status StreamedUserList(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserListRequest,::etcdserverpb::AuthUserListResponse>* server_unary_streamer) = 0;
2702  };
2703  template <class BaseClass>
2704  class WithStreamedUnaryMethod_UserDelete : public BaseClass {
2705  private:
2707  public:
2709  ::grpc::Service::MarkMethodStreamed(6,
2710  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthUserDeleteRequest, ::etcdserverpb::AuthUserDeleteResponse>(std::bind(&WithStreamedUnaryMethod_UserDelete<BaseClass>::StreamedUserDelete, this, std::placeholders::_1, std::placeholders::_2)));
2711  }
2714  }
2715  // disable regular version of this method
2716  ::grpc::Status UserDelete(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserDeleteRequest* request, ::etcdserverpb::AuthUserDeleteResponse* response) final override {
2717  abort();
2718  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2719  }
2720  // replace default version of method with streamed unary
2721  virtual ::grpc::Status StreamedUserDelete(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserDeleteRequest,::etcdserverpb::AuthUserDeleteResponse>* server_unary_streamer) = 0;
2722  };
2723  template <class BaseClass>
2725  private:
2727  public:
2729  ::grpc::Service::MarkMethodStreamed(7,
2730  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthUserChangePasswordRequest, ::etcdserverpb::AuthUserChangePasswordResponse>(std::bind(&WithStreamedUnaryMethod_UserChangePassword<BaseClass>::StreamedUserChangePassword, this, std::placeholders::_1, std::placeholders::_2)));
2731  }
2734  }
2735  // disable regular version of this method
2736  ::grpc::Status UserChangePassword(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserChangePasswordRequest* request, ::etcdserverpb::AuthUserChangePasswordResponse* response) final override {
2737  abort();
2738  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2739  }
2740  // replace default version of method with streamed unary
2741  virtual ::grpc::Status StreamedUserChangePassword(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserChangePasswordRequest,::etcdserverpb::AuthUserChangePasswordResponse>* server_unary_streamer) = 0;
2742  };
2743  template <class BaseClass>
2744  class WithStreamedUnaryMethod_UserGrantRole : public BaseClass {
2745  private:
2747  public:
2749  ::grpc::Service::MarkMethodStreamed(8,
2750  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthUserGrantRoleRequest, ::etcdserverpb::AuthUserGrantRoleResponse>(std::bind(&WithStreamedUnaryMethod_UserGrantRole<BaseClass>::StreamedUserGrantRole, this, std::placeholders::_1, std::placeholders::_2)));
2751  }
2754  }
2755  // disable regular version of this method
2756  ::grpc::Status UserGrantRole(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserGrantRoleRequest* request, ::etcdserverpb::AuthUserGrantRoleResponse* response) final override {
2757  abort();
2758  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2759  }
2760  // replace default version of method with streamed unary
2761  virtual ::grpc::Status StreamedUserGrantRole(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserGrantRoleRequest,::etcdserverpb::AuthUserGrantRoleResponse>* server_unary_streamer) = 0;
2762  };
2763  template <class BaseClass>
2764  class WithStreamedUnaryMethod_UserRevokeRole : public BaseClass {
2765  private:
2767  public:
2769  ::grpc::Service::MarkMethodStreamed(9,
2770  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthUserRevokeRoleRequest, ::etcdserverpb::AuthUserRevokeRoleResponse>(std::bind(&WithStreamedUnaryMethod_UserRevokeRole<BaseClass>::StreamedUserRevokeRole, this, std::placeholders::_1, std::placeholders::_2)));
2771  }
2774  }
2775  // disable regular version of this method
2776  ::grpc::Status UserRevokeRole(::grpc::ServerContext* context, const ::etcdserverpb::AuthUserRevokeRoleRequest* request, ::etcdserverpb::AuthUserRevokeRoleResponse* response) final override {
2777  abort();
2778  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2779  }
2780  // replace default version of method with streamed unary
2781  virtual ::grpc::Status StreamedUserRevokeRole(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserRevokeRoleRequest,::etcdserverpb::AuthUserRevokeRoleResponse>* server_unary_streamer) = 0;
2782  };
2783  template <class BaseClass>
2784  class WithStreamedUnaryMethod_RoleAdd : public BaseClass {
2785  private:
2787  public:
2789  ::grpc::Service::MarkMethodStreamed(10,
2790  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthRoleAddRequest, ::etcdserverpb::AuthRoleAddResponse>(std::bind(&WithStreamedUnaryMethod_RoleAdd<BaseClass>::StreamedRoleAdd, this, std::placeholders::_1, std::placeholders::_2)));
2791  }
2794  }
2795  // disable regular version of this method
2796  ::grpc::Status RoleAdd(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleAddRequest* request, ::etcdserverpb::AuthRoleAddResponse* response) final override {
2797  abort();
2798  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2799  }
2800  // replace default version of method with streamed unary
2801  virtual ::grpc::Status StreamedRoleAdd(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleAddRequest,::etcdserverpb::AuthRoleAddResponse>* server_unary_streamer) = 0;
2802  };
2803  template <class BaseClass>
2804  class WithStreamedUnaryMethod_RoleGet : public BaseClass {
2805  private:
2807  public:
2809  ::grpc::Service::MarkMethodStreamed(11,
2810  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthRoleGetRequest, ::etcdserverpb::AuthRoleGetResponse>(std::bind(&WithStreamedUnaryMethod_RoleGet<BaseClass>::StreamedRoleGet, this, std::placeholders::_1, std::placeholders::_2)));
2811  }
2814  }
2815  // disable regular version of this method
2816  ::grpc::Status RoleGet(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleGetRequest* request, ::etcdserverpb::AuthRoleGetResponse* response) final override {
2817  abort();
2818  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2819  }
2820  // replace default version of method with streamed unary
2821  virtual ::grpc::Status StreamedRoleGet(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleGetRequest,::etcdserverpb::AuthRoleGetResponse>* server_unary_streamer) = 0;
2822  };
2823  template <class BaseClass>
2824  class WithStreamedUnaryMethod_RoleList : public BaseClass {
2825  private:
2827  public:
2829  ::grpc::Service::MarkMethodStreamed(12,
2830  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthRoleListRequest, ::etcdserverpb::AuthRoleListResponse>(std::bind(&WithStreamedUnaryMethod_RoleList<BaseClass>::StreamedRoleList, this, std::placeholders::_1, std::placeholders::_2)));
2831  }
2834  }
2835  // disable regular version of this method
2836  ::grpc::Status RoleList(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleListRequest* request, ::etcdserverpb::AuthRoleListResponse* response) final override {
2837  abort();
2838  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2839  }
2840  // replace default version of method with streamed unary
2841  virtual ::grpc::Status StreamedRoleList(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleListRequest,::etcdserverpb::AuthRoleListResponse>* server_unary_streamer) = 0;
2842  };
2843  template <class BaseClass>
2844  class WithStreamedUnaryMethod_RoleDelete : public BaseClass {
2845  private:
2847  public:
2849  ::grpc::Service::MarkMethodStreamed(13,
2850  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthRoleDeleteRequest, ::etcdserverpb::AuthRoleDeleteResponse>(std::bind(&WithStreamedUnaryMethod_RoleDelete<BaseClass>::StreamedRoleDelete, this, std::placeholders::_1, std::placeholders::_2)));
2851  }
2854  }
2855  // disable regular version of this method
2856  ::grpc::Status RoleDelete(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleDeleteRequest* request, ::etcdserverpb::AuthRoleDeleteResponse* response) final override {
2857  abort();
2858  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2859  }
2860  // replace default version of method with streamed unary
2861  virtual ::grpc::Status StreamedRoleDelete(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleDeleteRequest,::etcdserverpb::AuthRoleDeleteResponse>* server_unary_streamer) = 0;
2862  };
2863  template <class BaseClass>
2865  private:
2867  public:
2869  ::grpc::Service::MarkMethodStreamed(14,
2870  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthRoleGrantPermissionRequest, ::etcdserverpb::AuthRoleGrantPermissionResponse>(std::bind(&WithStreamedUnaryMethod_RoleGrantPermission<BaseClass>::StreamedRoleGrantPermission, this, std::placeholders::_1, std::placeholders::_2)));
2871  }
2874  }
2875  // disable regular version of this method
2876  ::grpc::Status RoleGrantPermission(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleGrantPermissionRequest* request, ::etcdserverpb::AuthRoleGrantPermissionResponse* response) final override {
2877  abort();
2878  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2879  }
2880  // replace default version of method with streamed unary
2881  virtual ::grpc::Status StreamedRoleGrantPermission(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleGrantPermissionRequest,::etcdserverpb::AuthRoleGrantPermissionResponse>* server_unary_streamer) = 0;
2882  };
2883  template <class BaseClass>
2885  private:
2887  public:
2889  ::grpc::Service::MarkMethodStreamed(15,
2890  new ::grpc::internal::StreamedUnaryHandler< ::etcdserverpb::AuthRoleRevokePermissionRequest, ::etcdserverpb::AuthRoleRevokePermissionResponse>(std::bind(&WithStreamedUnaryMethod_RoleRevokePermission<BaseClass>::StreamedRoleRevokePermission, this, std::placeholders::_1, std::placeholders::_2)));
2891  }
2894  }
2895  // disable regular version of this method
2896  ::grpc::Status RoleRevokePermission(::grpc::ServerContext* context, const ::etcdserverpb::AuthRoleRevokePermissionRequest* request, ::etcdserverpb::AuthRoleRevokePermissionResponse* response) final override {
2897  abort();
2898  return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
2899  }
2900  // replace default version of method with streamed unary
2901  virtual ::grpc::Status StreamedRoleRevokePermission(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleRevokePermissionRequest,::etcdserverpb::AuthRoleRevokePermissionResponse>* server_unary_streamer) = 0;
2902  };
2906 };
2907 
2908 } // namespace etcdserverpb
2909 
2910 
2911 #endif // GRPC_rpc_2eproto__INCLUDED
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse > > AsyncStatus(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1197
::grpc::Status LeaseGrant(::grpc::ServerContext *context, const ::etcdserverpb::LeaseGrantRequest *request,::etcdserverpb::LeaseGrantResponse *response) finaloverride
Definition: rpc.grpc.pb.h:688
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse > * PrepareAsyncRangeRaw(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status RoleGrantPermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::etcdserverpb::AuthRoleGrantPermissionResponse *response)=0
virtual ::grpc::Status Compact(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::etcdserverpb::CompactionResponse *response)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse > * PrepareAsyncMemberAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:335
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse > > PrepareAsyncDefragment(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1208
virtual ::grpc::Status AuthEnable(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::etcdserverpb::AuthEnableResponse *response)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:389
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse > * PrepareAsyncMemberRemoveRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status Put(::grpc::ServerContext *context, const ::etcdserverpb::PutRequest *request,::etcdserverpb::PutResponse *response)
Definition: rpc.grpc.pb.cc:138
static std::unique_ptr< Stub > NewStub(const std::shared_ptr< ::grpc::ChannelInterface > &channel, const ::grpc::StubOptions &options=::grpc::StubOptions())
Definition: rpc.grpc.pb.cc:26
::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse > * AsyncPutRaw(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:56
::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse > * PrepareAsyncLeaseRevokeRaw(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:249
void RequestMemberRemove(::grpc::ServerContext *context,::etcdserverpb::MemberRemoveRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::MemberRemoveResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:981
::grpc::Status MemberAdd(::grpc::ServerContext *context, const ::etcdserverpb::MemberAddRequest *request,::etcdserverpb::MemberAddResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1107
::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse > * PrepareAsyncDefragmentRaw(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:484
::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse > * PrepareAsyncTxnRaw(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:84
static std::unique_ptr< Stub > NewStub(const std::shared_ptr< ::grpc::ChannelInterface > &channel, const ::grpc::StubOptions &options=::grpc::StubOptions())
Definition: rpc.grpc.pb.cc:314
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse > * AsyncRoleAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::grpc::CompletionQueue *cq)=0
WithAsyncMethod_LeaseGrant< WithAsyncMethod_LeaseRevoke< WithAsyncMethod_LeaseKeepAlive< Service > > > AsyncService
Definition: rpc.grpc.pb.h:736
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2686
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse > > AsyncHash(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1215
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse > > PrepareAsyncRoleGrantPermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1889
virtual ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > * PrepareAsyncLeaseKeepAliveRaw(::grpc::ClientContext *context,::grpc::CompletionQueue *cq)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse > * AsyncUserListRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:687
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse > > PrepareAsyncRoleList(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1875
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse > > AsyncAuthDisable(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1795
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse > * PrepareAsyncUserDeleteRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status Alarm(::grpc::ServerContext *context, const ::etcdserverpb::AlarmRequest *request,::etcdserverpb::AlarmResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1522
const ::grpc::internal::RpcMethod rpcmethod_LeaseGrant_
Definition: rpc.grpc.pb.h:656
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse > > AsyncAuthEnable(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1788
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:811
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse > > PrepareAsyncRoleGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1715
const ::grpc::internal::RpcMethod rpcmethod_Watch_
Definition: rpc.grpc.pb.h:516
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse > * AsyncUserGrantRoleRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse > > PrepareAsyncPut(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:111
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse > > PrepareAsyncAuthEnable(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1791
std::shared_ptr< ::grpc::ChannelInterface > channel_
Definition: rpc.grpc.pb.h:648
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse > > PrepareAsyncDeleteRange(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:118
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse > * PrepareAsyncAuthenticateRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:655
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2586
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse > * AsyncHashRaw(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::grpc::CompletionQueue *cq)=0
void RequestRoleGet(::grpc::ServerContext *context,::etcdserverpb::AuthRoleGetRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleGetResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2226
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2382
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse > * PrepareAsyncPutRaw(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status Txn(::grpc::ServerContext *context, const ::etcdserverpb::TxnRequest *request,::etcdserverpb::TxnResponse *response) finaloverride
Definition: rpc.grpc.pb.h:439
const ::grpc::internal::RpcMethod rpcmethod_Put_
Definition: rpc.grpc.pb.h:149
virtual ::grpc::Status UserGrantRole(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest *request,::etcdserverpb::AuthUserGrantRoleResponse *response)
Definition: rpc.grpc.pb.cc:957
virtual ::grpc::Status RoleList(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::etcdserverpb::AuthRoleListResponse *response)=0
WithStreamedUnaryMethod_LeaseGrant< WithStreamedUnaryMethod_LeaseRevoke< Service > > StreamedService
Definition: rpc.grpc.pb.h:830
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse > > PrepareAsyncUserGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1659
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse > * AsyncUserDeleteRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse > > AsyncUserDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1672
std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > > Watch(::grpc::ClientContext *context)
Definition: rpc.grpc.pb.h:484
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:352
void RequestUserDelete(::grpc::ServerContext *context,::etcdserverpb::AuthUserDeleteRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserDeleteResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2126
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:699
virtual ::grpc::Status Range(::grpc::ServerContext *context, const ::etcdserverpb::RangeRequest *request,::etcdserverpb::RangeResponse *response)
Definition: rpc.grpc.pb.cc:131
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2467
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2416
::grpc::Status RoleList(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleListRequest *request,::etcdserverpb::AuthRoleListResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2836
::grpc::Status UserDelete(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserDeleteRequest *request,::etcdserverpb::AuthUserDeleteResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2122
Service StreamedUnaryService
Definition: rpc.grpc.pb.h:569
::grpc::Status UserAdd(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserAddRequest *request,::etcdserverpb::AuthUserAddResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2374
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse > > AsyncUserRevokeRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1851
const ::grpc::internal::RpcMethod rpcmethod_MemberList_
Definition: rpc.grpc.pb.h:928
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse > * AsyncAuthenticateRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status RoleGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::etcdserverpb::AuthRoleGetResponse *response) override
Definition: rpc.grpc.pb.cc:755
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse > > PrepareAsyncHash(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1218
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse > * PrepareAsyncUserListRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status Watch(::grpc::ServerContext *context,::grpc::ServerReaderWriter< ::etcdserverpb::WatchResponse,::etcdserverpb::WatchRequest > *stream)
Definition: rpc.grpc.pb.cc:204
static constexpr char const * service_full_name()
Definition: rpc.grpc.pb.h:1616
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse > * PrepareAsyncUserRevokeRoleRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status Txn(::grpc::ServerContext *context, const ::etcdserverpb::TxnRequest *request,::etcdserverpb::TxnResponse *response)
Definition: rpc.grpc.pb.cc:152
virtual ::grpc::Status DeleteRange(::grpc::ServerContext *context, const ::etcdserverpb::DeleteRangeRequest *request,::etcdserverpb::DeleteRangeResponse *response)
Definition: rpc.grpc.pb.cc:145
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse > > AsyncCompact(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:79
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse > > AsyncLeaseGrant(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:586
void RequestUserGrantRole(::grpc::ServerContext *context,::etcdserverpb::AuthUserGrantRoleRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserGrantRoleResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2166
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse > > PrepareAsyncUserList(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1826
::grpc::Status Alarm(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::etcdserverpb::AlarmResponse *response) override
Definition: rpc.grpc.pb.cc:452
::grpc::Status MemberUpdate(::grpc::ServerContext *context, const ::etcdserverpb::MemberUpdateRequest *request,::etcdserverpb::MemberUpdateResponse *response) finaloverride
Definition: rpc.grpc.pb.h:997
virtual ::grpc::Status RoleRevokePermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::etcdserverpb::AuthRoleRevokePermissionResponse *response)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse > > AsyncDeleteRange(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:58
::grpc::Status UserChangePassword(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::etcdserverpb::AuthUserChangePasswordResponse *response) override
Definition: rpc.grpc.pb.cc:707
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse > > AsyncRoleGrantPermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1736
virtual ::grpc::Status StreamedRoleDelete(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleDeleteRequest,::etcdserverpb::AuthRoleDeleteResponse > *server_unary_streamer)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse > > PrepareAsyncMemberUpdate(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:904
std::unique_ptr< ::grpc::ClientReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > > LeaseKeepAlive(::grpc::ClientContext *context)
Definition: rpc.grpc.pb.h:637
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse > > AsyncRoleDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1728
::grpc::Status RoleRevokePermission(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest *request,::etcdserverpb::AuthRoleRevokePermissionResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2578
virtual ::grpc::Status AuthDisable(::grpc::ServerContext *context, const ::etcdserverpb::AuthDisableRequest *request,::etcdserverpb::AuthDisableResponse *response)
Definition: rpc.grpc.pb.cc:908
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse > * AsyncAlarmRaw(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::grpc::CompletionQueue *cq)=0
void RequestSnapshot(::grpc::ServerContext *context,::etcdserverpb::SnapshotRequest *request,::grpc::ServerAsyncWriter< ::etcdserverpb::SnapshotResponse > *writer,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:1419
::grpc::Status Snapshot(::grpc::ServerContext *context, const ::etcdserverpb::SnapshotRequest *request,::grpc::ServerWriter< ::etcdserverpb::SnapshotResponse > *writer) finaloverride
Definition: rpc.grpc.pb.h:1603
void RequestPut(::grpc::ServerContext *context,::etcdserverpb::PutRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::PutResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:216
virtual ::grpc::Status UserRevokeRole(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest *request,::etcdserverpb::AuthUserRevokeRoleResponse *response)
Definition: rpc.grpc.pb.cc:964
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse > * AsyncMemberListRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status MemberList(::grpc::ServerContext *context, const ::etcdserverpb::MemberListRequest *request,::etcdserverpb::MemberListResponse *response)
Definition: rpc.grpc.pb.cc:422
Service SplitStreamedService
Definition: rpc.grpc.pb.h:2904
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2233
std::shared_ptr< ::grpc::ChannelInterface > channel_
Definition: rpc.grpc.pb.h:1901
::grpc::Status RoleDelete(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleDeleteRequest *request,::etcdserverpb::AuthRoleDeleteResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2262
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse > > AsyncDefragment(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1205
static std::unique_ptr< Stub > NewStub(const std::shared_ptr< ::grpc::ChannelInterface > &channel, const ::grpc::StubOptions &options=::grpc::StubOptions())
Definition: rpc.grpc.pb.cc:598
virtual ::grpc::Status StreamedCompact(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::CompactionRequest,::etcdserverpb::CompactionResponse > *server_unary_streamer)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1386
::grpc::Status Range(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::etcdserverpb::RangeResponse *response) override
Definition: rpc.grpc.pb.cc:40
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse > * AsyncUserDeleteRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:699
static constexpr char const * service_full_name()
Definition: rpc.grpc.pb.h:835
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse > * AsyncCompactRaw(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status RoleGrantPermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::etcdserverpb::AuthRoleGrantPermissionResponse *response) override
Definition: rpc.grpc.pb.cc:791
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2846
::grpc::Status RoleRevokePermission(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest *request,::etcdserverpb::AuthRoleRevokePermissionResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2896
::grpc::Status UserAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::etcdserverpb::AuthUserAddResponse *response) override
Definition: rpc.grpc.pb.cc:659
std::unique_ptr< ::grpc::ClientReaderInterface< ::etcdserverpb::SnapshotResponse > > Snapshot(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request)
Definition: rpc.grpc.pb.h:1222
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:409
::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse > * PrepareAsyncMemberListRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:371
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:183
::grpc::Status UserList(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserListRequest *request,::etcdserverpb::AuthUserListResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2408
std::unique_ptr< ::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse > > AsyncSnapshot(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request,::grpc::CompletionQueue *cq, void *tag)
Definition: rpc.grpc.pb.h:1278
::grpc::Status UserDelete(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserDeleteRequest *request,::etcdserverpb::AuthUserDeleteResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2716
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse > > PrepareAsyncUserGrantRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1847
const ::grpc::internal::RpcMethod rpcmethod_AuthEnable_
Definition: rpc.grpc.pb.h:1934
::grpc::Status Txn(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::etcdserverpb::TxnResponse *response) override
Definition: rpc.grpc.pb.cc:76
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse > > PrepareAsyncUserGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1819
::grpc::Status UserGet(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserGetRequest *request,::etcdserverpb::AuthUserGetResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2391
WithAsyncMethod_Range< WithAsyncMethod_Put< WithAsyncMethod_DeleteRange< WithAsyncMethod_Txn< WithAsyncMethod_Compact< Service > > > > > AsyncService
Definition: rpc.grpc.pb.h:280
const ::grpc::internal::RpcMethod rpcmethod_AuthDisable_
Definition: rpc.grpc.pb.h:1935
virtual ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > * PrepareAsyncWatchRaw(::grpc::ClientContext *context,::grpc::CompletionQueue *cq)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse > * AsyncUserGetRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:675
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse > > PrepareAsyncRange(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:104
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1063
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse > > PrepareAsyncUserList(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1667
static constexpr char const * service_full_name()
Definition: rpc.grpc.pb.h:1181
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse > * AsyncMemberRemoveRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse > * AsyncMemberAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse > * PrepareAsyncUserAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse > > PrepareAsyncUserChangePassword(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1840
std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > > LeaseKeepAlive(::grpc::ClientContext *context)
Definition: rpc.grpc.pb.h:602
void RequestUserAdd(::grpc::ServerContext *context,::etcdserverpb::AuthUserAddRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserAddResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2066
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:968
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2273
WithStreamedUnaryMethod_MemberAdd< WithStreamedUnaryMethod_MemberRemove< WithStreamedUnaryMethod_MemberUpdate< WithStreamedUnaryMethod_MemberList< Service > > > > StreamedUnaryService
Definition: rpc.grpc.pb.h:1174
::grpc::Status LeaseRevoke(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::etcdserverpb::LeaseRevokeResponse *response) override
Definition: rpc.grpc.pb.cc:241
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse > * AsyncUserRevokeRoleRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status Defragment(::grpc::ServerContext *context, const ::etcdserverpb::DefragmentRequest *request,::etcdserverpb::DefragmentResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1375
::grpc::Status AuthEnable(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::etcdserverpb::AuthEnableResponse *response) override
Definition: rpc.grpc.pb.cc:623
::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > * AsyncLeaseKeepAliveRaw(::grpc::ClientContext *context,::grpc::CompletionQueue *cq, void *tag) override
Definition: rpc.grpc.pb.cc:257
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse > * PrepareAsyncLeaseRevokeRaw(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse > * AsyncRoleListRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::grpc::CompletionQueue *cq)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1495
::grpc::Status UserGrantRole(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest *request,::etcdserverpb::AuthUserGrantRoleResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2756
WithStreamedUnaryMethod_Range< WithStreamedUnaryMethod_Put< WithStreamedUnaryMethod_DeleteRange< WithStreamedUnaryMethod_Txn< WithStreamedUnaryMethod_Compact< Service > > > > > StreamedService
Definition: rpc.grpc.pb.h:468
::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > * PrepareAsyncLeaseKeepAliveRaw(::grpc::ClientContext *context,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:261
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:791
virtual ::grpc::Status UserList(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserListRequest *request,::etcdserverpb::AuthUserListResponse *response)
Definition: rpc.grpc.pb.cc:936
::grpc::Status LeaseKeepAlive(::grpc::ServerContext *context,::grpc::ServerReaderWriter< ::etcdserverpb::LeaseKeepAliveResponse,::etcdserverpb::LeaseKeepAliveRequest > *stream) finaloverride
Definition: rpc.grpc.pb.h:728
virtual ::grpc::Status Compact(::grpc::ServerContext *context, const ::etcdserverpb::CompactionRequest *request,::etcdserverpb::CompactionResponse *response)
Definition: rpc.grpc.pb.cc:159
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1029
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse > * AsyncLeaseRevokeRaw(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status Status(::grpc::ServerContext *context, const ::etcdserverpb::StatusRequest *request,::etcdserverpb::StatusResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1542
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2293
virtual ::grpc::Status MemberRemove(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::etcdserverpb::MemberRemoveResponse *response)=0
void RequestDefragment(::grpc::ServerContext *context,::etcdserverpb::DefragmentRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::DefragmentResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:1379
::grpc::Status RoleList(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleListRequest *request,::etcdserverpb::AuthRoleListResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2242
::grpc::Status RoleRevokePermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::etcdserverpb::AuthRoleRevokePermissionResponse *response) override
Definition: rpc.grpc.pb.cc:803
::grpc::Status MemberList(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::etcdserverpb::MemberListResponse *response) override
Definition: rpc.grpc.pb.cc:363
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse > * PrepareAsyncRoleAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse > > AsyncLeaseRevoke(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:631
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse > * PrepareAsyncAuthEnableRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status LeaseRevoke(::grpc::ServerContext *context, const ::etcdserverpb::LeaseRevokeRequest *request,::etcdserverpb::LeaseRevokeResponse *response)
Definition: rpc.grpc.pb.cc:293
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse > > AsyncUserAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1809
::grpc::Status UserChangePassword(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest *request,::etcdserverpb::AuthUserChangePasswordResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2442
::grpc::Status UserChangePassword(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest *request,::etcdserverpb::AuthUserChangePasswordResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2142
::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse > * PrepareAsyncCompactRaw(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:96
::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse > * PrepareAsyncRangeRaw(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:48
::grpc::Status RoleList(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleListRequest *request,::etcdserverpb::AuthRoleListResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2527
::grpc::Status LeaseRevoke(::grpc::ServerContext *context, const ::etcdserverpb::LeaseRevokeRequest *request,::etcdserverpb::LeaseRevokeResponse *response) finaloverride
Definition: rpc.grpc.pb.h:708
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse > > PrepareAsyncMemberRemove(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:854
::grpc::Status Hash(::grpc::ServerContext *context, const ::etcdserverpb::HashRequest *request,::etcdserverpb::HashResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1395
::grpc::Status Compact(::grpc::ServerContext *context, const ::etcdserverpb::CompactionRequest *request,::etcdserverpb::CompactionResponse *response) finaloverride
Definition: rpc.grpc.pb.h:272
void RequestTxn(::grpc::ServerContext *context,::etcdserverpb::TxnRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::TxnResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:256
WithStreamedUnaryMethod_AuthEnable< WithStreamedUnaryMethod_AuthDisable< WithStreamedUnaryMethod_Authenticate< WithStreamedUnaryMethod_UserAdd< WithStreamedUnaryMethod_UserGet< WithStreamedUnaryMethod_UserList< WithStreamedUnaryMethod_UserDelete< WithStreamedUnaryMethod_UserChangePassword< WithStreamedUnaryMethod_UserGrantRole< WithStreamedUnaryMethod_UserRevokeRole< WithStreamedUnaryMethod_RoleAdd< WithStreamedUnaryMethod_RoleGet< WithStreamedUnaryMethod_RoleList< WithStreamedUnaryMethod_RoleDelete< WithStreamedUnaryMethod_RoleGrantPermission< WithStreamedUnaryMethod_RoleRevokePermission< Service > > > > > > > > > > > > > > > > StreamedService
Definition: rpc.grpc.pb.h:2905
::grpc::Status UserRevokeRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::etcdserverpb::AuthUserRevokeRoleResponse *response) override
Definition: rpc.grpc.pb.cc:731
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse > > AsyncUserGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1816
::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse > * AsyncMemberListRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:367
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse > * PrepareAsyncUserChangePasswordRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status UserRevokeRole(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest *request,::etcdserverpb::AuthUserRevokeRoleResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2182
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse > > PrepareAsyncLeaseRevoke(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:597
::grpc::Status LeaseRevoke(::grpc::ServerContext *context, const ::etcdserverpb::LeaseRevokeRequest *request,::etcdserverpb::LeaseRevokeResponse *response) finaloverride
Definition: rpc.grpc.pb.h:766
virtual ::grpc::Status RoleGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::etcdserverpb::AuthRoleGetResponse *response)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse > * PrepareAsyncUserRevokeRoleRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:739
virtual ::grpc::Status StreamedAuthEnable(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthEnableRequest,::etcdserverpb::AuthEnableResponse > *server_unary_streamer)=0
::grpc::ClientReader< ::etcdserverpb::SnapshotResponse > * SnapshotRaw(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request) override
Definition: rpc.grpc.pb.cc:500
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserDeleteResponse > > PrepareAsyncUserDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1675
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2433
::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse > * AsyncCompactRaw(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:92
::grpc::Status Status(::grpc::ServerContext *context, const ::etcdserverpb::StatusRequest *request,::etcdserverpb::StatusResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1453
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse > * PrepareAsyncUserGetRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse > * AsyncHashRaw(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:492
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse > > PrepareAsyncMemberUpdate(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:862
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse > > PrepareAsyncMemberAdd(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:846
::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse > * AsyncDeleteRangeRaw(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:68
::grpc::Status LeaseGrant(::grpc::ServerContext *context, const ::etcdserverpb::LeaseGrantRequest *request,::etcdserverpb::LeaseGrantResponse *response) finaloverride
Definition: rpc.grpc.pb.h:749
::grpc::Status UserChangePassword(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest *request,::etcdserverpb::AuthUserChangePasswordResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2736
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2348
std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > > AsyncWatch(::grpc::ClientContext *context,::grpc::CompletionQueue *cq, void *tag)
Definition: rpc.grpc.pb.h:487
const ::grpc::internal::RpcMethod rpcmethod_Defragment_
Definition: rpc.grpc.pb.h:1300
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse > * AsyncRoleGetRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse > > AsyncRoleAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1704
void RequestAuthEnable(::grpc::ServerContext *context,::etcdserverpb::AuthEnableRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthEnableResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2006
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2646
::grpc::Status Watch(::grpc::ServerContext *context,::grpc::ServerReaderWriter< ::etcdserverpb::WatchResponse,::etcdserverpb::WatchRequest > *stream) finaloverride
Definition: rpc.grpc.pb.h:543
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1080
WithAsyncMethod_AuthEnable< WithAsyncMethod_AuthDisable< WithAsyncMethod_Authenticate< WithAsyncMethod_UserAdd< WithAsyncMethod_UserGet< WithAsyncMethod_UserList< WithAsyncMethod_UserDelete< WithAsyncMethod_UserChangePassword< WithAsyncMethod_UserGrantRole< WithAsyncMethod_UserRevokeRole< WithAsyncMethod_RoleAdd< WithAsyncMethod_RoleGet< WithAsyncMethod_RoleList< WithAsyncMethod_RoleDelete< WithAsyncMethod_RoleGrantPermission< WithAsyncMethod_RoleRevokePermission< Service > > > > > > > > > > > > > > > > AsyncService
Definition: rpc.grpc.pb.h:2310
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse > > AsyncRoleList(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1720
::grpc::Status UserGrantRole(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest *request,::etcdserverpb::AuthUserGrantRoleResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2162
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse > * AsyncAuthDisableRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:639
::grpc::Status DeleteRange(::grpc::ServerContext *context, const ::etcdserverpb::DeleteRangeRequest *request,::etcdserverpb::DeleteRangeResponse *response) finaloverride
Definition: rpc.grpc.pb.h:327
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse > > AsyncUserGrantRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1688
virtual ::grpc::Status UserGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::etcdserverpb::AuthUserGetResponse *response)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse > * AsyncRangeRaw(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::grpc::CompletionQueue *cq)=0
void RequestRoleAdd(::grpc::ServerContext *context,::etcdserverpb::AuthRoleAddRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleAddResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2206
virtual ::grpc::Status RoleRevokePermission(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest *request,::etcdserverpb::AuthRoleRevokePermissionResponse *response)
virtual ::grpc::Status UserList(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::etcdserverpb::AuthUserListResponse *response)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse > * AsyncRoleGetRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:759
::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse > * AsyncLeaseGrantRaw(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:233
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::HashResponse > * PrepareAsyncHashRaw(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse > * AsyncMemberAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:331
::grpc::Status Defragment(::grpc::ServerContext *context, const ::etcdserverpb::DefragmentRequest *request,::etcdserverpb::DefragmentResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1470
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse > > AsyncRoleGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1712
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse > * PrepareAsyncRoleRevokePermissionRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:811
WithStreamedUnaryMethod_Alarm< WithStreamedUnaryMethod_Status< WithStreamedUnaryMethod_Defragment< WithStreamedUnaryMethod_Hash< WithSplitStreamingMethod_Snapshot< Service > > > > > StreamedService
Definition: rpc.grpc.pb.h:1611
::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse > * AsyncTxnRaw(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:80
std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse > > PrepareAsyncSnapshot(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1228
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse > > AsyncDefragment(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1262
::grpc::Status UserList(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserListRequest *request,::etcdserverpb::AuthUserListResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2696
virtual ::grpc::Status DeleteRange(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::etcdserverpb::DeleteRangeResponse *response)=0
virtual ::grpc::Status StreamedRange(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::RangeRequest,::etcdserverpb::RangeResponse > *server_unary_streamer)=0
::grpc::Status UserGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::etcdserverpb::AuthUserGetResponse *response) override
Definition: rpc.grpc.pb.cc:671
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse > > PrepareAsyncLeaseRevoke(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:634
std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > > PrepareAsyncLeaseKeepAlive(::grpc::ClientContext *context,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:643
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:774
::grpc::Status RoleGet(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleGetRequest *request,::etcdserverpb::AuthRoleGetResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2510
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse > > AsyncUserAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1648
::grpc::Status UserRevokeRole(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest *request,::etcdserverpb::AuthUserRevokeRoleResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2776
virtual ::grpc::Status UserAdd(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserAddRequest *request,::etcdserverpb::AuthUserAddResponse *response)
Definition: rpc.grpc.pb.cc:922
virtual ::grpc::Status UserGet(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserGetRequest *request,::etcdserverpb::AuthUserGetResponse *response)
Definition: rpc.grpc.pb.cc:929
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse > * AsyncRoleGrantPermissionRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:795
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2569
::grpc::Status Hash(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::etcdserverpb::HashResponse *response) override
Definition: rpc.grpc.pb.cc:488
virtual ::grpc::Status StreamedRoleGet(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleGetRequest,::etcdserverpb::AuthRoleGetResponse > *server_unary_streamer)=0
::grpc::Status MemberList(::grpc::ServerContext *context, const ::etcdserverpb::MemberListRequest *request,::etcdserverpb::MemberListResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1017
virtual ::grpc::Status StreamedRoleRevokePermission(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleRevokePermissionRequest,::etcdserverpb::AuthRoleRevokePermissionResponse > *server_unary_streamer)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse > * PrepareAsyncMemberAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse > > PrepareAsyncMemberRemove(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:897
std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > > PrepareAsyncWatch(::grpc::ClientContext *context,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:490
::grpc::Status DeleteRange(::grpc::ServerContext *context, const ::etcdserverpb::DeleteRangeRequest *request,::etcdserverpb::DeleteRangeResponse *response) finaloverride
Definition: rpc.grpc.pb.h:232
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse > * PrepareAsyncAlarmRaw(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status LeaseRevoke(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::etcdserverpb::LeaseRevokeResponse *response)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse > > AsyncRange(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:101
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:243
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse > * AsyncAuthEnableRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::grpc::CompletionQueue *cq)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2535
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:534
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseRevokeResponse > > AsyncLeaseRevoke(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:594
virtual ::grpc::Status AuthDisable(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::etcdserverpb::AuthDisableResponse *response)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1532
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse > > PrepareAsyncDefragment(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1265
virtual ::grpc::Status LeaseKeepAlive(::grpc::ServerContext *context,::grpc::ServerReaderWriter< ::etcdserverpb::LeaseKeepAliveResponse,::etcdserverpb::LeaseKeepAliveRequest > *stream)
Definition: rpc.grpc.pb.cc:300
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse > > AsyncRoleRevokePermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1893
::grpc::Status MemberAdd(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::etcdserverpb::MemberAddResponse *response) override
Definition: rpc.grpc.pb.cc:327
::grpc::Status RoleAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::etcdserverpb::AuthRoleAddResponse *response) override
Definition: rpc.grpc.pb.cc:743
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse > > AsyncUserRevokeRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1696
virtual ::grpc::Status Alarm(::grpc::ServerContext *context, const ::etcdserverpb::AlarmRequest *request,::etcdserverpb::AlarmResponse *response)
Definition: rpc.grpc.pb.cc:543
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1097
::grpc::ClientAsyncResponseReader< ::etcdserverpb::RangeResponse > * AsyncRangeRaw(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:44
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse > > PrepareAsyncLeaseGrant(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:589
::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseRevokeResponse > * AsyncLeaseRevokeRaw(::grpc::ClientContext *context, const ::etcdserverpb::LeaseRevokeRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:245
::grpc::Status LeaseRevoke(::grpc::ServerContext *context, const ::etcdserverpb::LeaseRevokeRequest *request,::etcdserverpb::LeaseRevokeResponse *response) finaloverride
Definition: rpc.grpc.pb.h:821
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse > * PrepareAsyncAuthDisableRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:643
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse > > PrepareAsyncStatus(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1258
Stub(const std::shared_ptr< ::grpc::ChannelInterface > &channel)
Definition: rpc.grpc.pb.cc:320
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse > * AsyncRoleRevokePermissionRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::grpc::CompletionQueue *cq)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1444
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:555
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2606
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2093
const ::grpc::internal::RpcMethod rpcmethod_UserDelete_
Definition: rpc.grpc.pb.h:1940
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGetResponse > * PrepareAsyncUserGetRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:679
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse > > PrepareAsyncRoleGrantPermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1739
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2666
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse > * PrepareAsyncUserChangePasswordRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:715
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse > > PrepareAsyncRoleRevokePermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1896
::grpc::Status MemberList(::grpc::ServerContext *context, const ::etcdserverpb::MemberListRequest *request,::etcdserverpb::MemberListResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1089
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse > > PrepareAsyncRoleDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1882
::grpc::Status DeleteRange(::grpc::ServerContext *context, const ::etcdserverpb::DeleteRangeRequest *request,::etcdserverpb::DeleteRangeResponse *response) finaloverride
Definition: rpc.grpc.pb.h:419
virtual ::grpc::Status LeaseGrant(::grpc::ServerContext *context, const ::etcdserverpb::LeaseGrantRequest *request,::etcdserverpb::LeaseGrantResponse *response)
Definition: rpc.grpc.pb.cc:286
::grpc::Status UserAdd(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserAddRequest *request,::etcdserverpb::AuthUserAddResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2656
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse > * AsyncUserGrantRoleRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:723
virtual ::grpc::Status StreamedPut(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::PutRequest,::etcdserverpb::PutResponse > *server_unary_streamer)=0
::grpc::ClientReaderWriter< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > * WatchRaw(::grpc::ClientContext *context) override
Definition: rpc.grpc.pb.cc:181
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse > > AsyncRoleGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1865
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse > > PrepareAsyncUserGrantRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1691
void RequestUserGet(::grpc::ServerContext *context,::etcdserverpb::AuthUserGetRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserGetResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2086
::grpc::Status Authenticate(::grpc::ServerContext *context, const ::etcdserverpb::AuthenticateRequest *request,::etcdserverpb::AuthenticateResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2042
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse > > AsyncAuthEnable(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1624
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2766
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse > > AsyncRoleDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1879
const ::grpc::internal::RpcMethod rpcmethod_RoleGet_
Definition: rpc.grpc.pb.h:1945
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGetResponse > * PrepareAsyncRoleGetRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse > > AsyncSnapshot(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request,::grpc::CompletionQueue *cq, void *tag)
Definition: rpc.grpc.pb.h:1225
void RequestMemberAdd(::grpc::ServerContext *context,::etcdserverpb::MemberAddRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::MemberAddResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:961
WithSplitStreamingMethod_Snapshot< Service > SplitStreamedService
Definition: rpc.grpc.pb.h:1610
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse > * AsyncRoleDeleteRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::grpc::CompletionQueue *cq)=0
Stub(const std::shared_ptr< ::grpc::ChannelInterface > &channel)
Definition: rpc.grpc.pb.cc:604
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse > > AsyncMemberAdd(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:887
const ::grpc::internal::RpcMethod rpcmethod_UserRevokeRole_
Definition: rpc.grpc.pb.h:1943
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse > > AsyncUserDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1830
::grpc::Status UserGet(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserGetRequest *request,::etcdserverpb::AuthUserGetResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2676
const ::grpc::internal::RpcMethod rpcmethod_UserGrantRole_
Definition: rpc.grpc.pb.h:1942
virtual ::grpc::ClientReaderWriterInterface< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > * WatchRaw(::grpc::ClientContext *context)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse > > PrepareAsyncUserAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1651
virtual ::grpc::Status MemberAdd(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::etcdserverpb::MemberAddResponse *response)=0
virtual ::grpc::Status UserDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::etcdserverpb::AuthUserDeleteResponse *response)=0
const ::grpc::internal::RpcMethod rpcmethod_LeaseRevoke_
Definition: rpc.grpc.pb.h:657
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse > > PrepareAsyncRoleRevokePermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1747
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1326
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse > > PrepareAsyncDeleteRange(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:61
::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse > * PrepareAsyncHashRaw(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:496
void RequestCompact(::grpc::ServerContext *context,::etcdserverpb::CompactionRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::CompactionResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:276
std::shared_ptr< ::grpc::ChannelInterface > channel_
Definition: rpc.grpc.pb.h:916
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2253
static std::unique_ptr< Stub > NewStub(const std::shared_ptr< ::grpc::ChannelInterface > &channel, const ::grpc::StubOptions &options=::grpc::StubOptions())
Definition: rpc.grpc.pb.cc:217
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse > > AsyncTxn(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:69
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2484
virtual ::grpc::Status RoleGet(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleGetRequest *request,::etcdserverpb::AuthRoleGetResponse *response)
Definition: rpc.grpc.pb.cc:978
virtual ::grpc::Status StreamedMemberRemove(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::MemberRemoveRequest,::etcdserverpb::MemberRemoveResponse > *server_unary_streamer)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::DefragmentResponse > * AsyncDefragmentRaw(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:480
::grpc::Status RoleAdd(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleAddRequest *request,::etcdserverpb::AuthRoleAddResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2796
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse > * PrepareAsyncRoleListRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status RoleAdd(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleAddRequest *request,::etcdserverpb::AuthRoleAddResponse *response)
Definition: rpc.grpc.pb.cc:971
virtual ::grpc::Status MemberUpdate(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::etcdserverpb::MemberUpdateResponse *response)=0
const ::grpc::internal::RpcMethod rpcmethod_RoleDelete_
Definition: rpc.grpc.pb.h:1947
WithAsyncMethod_MemberAdd< WithAsyncMethod_MemberRemove< WithAsyncMethod_MemberUpdate< WithAsyncMethod_MemberList< Service > > > > AsyncService
Definition: rpc.grpc.pb.h:1025
::grpc::Status UserDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::etcdserverpb::AuthUserDeleteResponse *response) override
Definition: rpc.grpc.pb.cc:695
::grpc::Status Put(::grpc::ServerContext *context, const ::etcdserverpb::PutRequest *request,::etcdserverpb::PutResponse *response) finaloverride
Definition: rpc.grpc.pb.h:212
virtual ::grpc::Status StreamedRoleAdd(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleAddRequest,::etcdserverpb::AuthRoleAddResponse > *server_unary_streamer)=0
::grpc::Status MemberAdd(::grpc::ServerContext *context, const ::etcdserverpb::MemberAddRequest *request,::etcdserverpb::MemberAddResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1038
::grpc::Status AuthEnable(::grpc::ServerContext *context, const ::etcdserverpb::AuthEnableRequest *request,::etcdserverpb::AuthEnableResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2323
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1346
virtual ::grpc::Status AuthEnable(::grpc::ServerContext *context, const ::etcdserverpb::AuthEnableRequest *request,::etcdserverpb::AuthEnableResponse *response)
Definition: rpc.grpc.pb.cc:901
static Options options
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserRevokeRoleResponse > > PrepareAsyncUserRevokeRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1699
virtual ::grpc::Status UserDelete(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserDeleteRequest *request,::etcdserverpb::AuthUserDeleteResponse *response)
Definition: rpc.grpc.pb.cc:943
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleRevokePermissionResponse > * AsyncRoleRevokePermissionRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:807
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse > * AsyncAlarmRaw(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:456
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse > > PrepareAsyncCompact(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:82
std::shared_ptr< ::grpc::ChannelInterface > channel_
Definition: rpc.grpc.pb.h:137
virtual ::grpc::ClientReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > * LeaseKeepAliveRaw(::grpc::ClientContext *context)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse > * AsyncMemberUpdateRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:355
::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse > * AsyncMemberRemoveRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:343
std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > > AsyncLeaseKeepAlive(::grpc::ClientContext *context,::grpc::CompletionQueue *cq, void *tag)
Definition: rpc.grpc.pb.h:640
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:948
::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse > * PrepareAsyncMemberRemoveRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:347
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberRemoveResponse > > AsyncMemberRemove(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:851
::grpc::Status Put(::grpc::ServerContext *context, const ::etcdserverpb::PutRequest *request,::etcdserverpb::PutResponse *response) finaloverride
Definition: rpc.grpc.pb.h:310
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse > > AsyncUserChangePassword(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1837
::grpc::Status RoleList(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::etcdserverpb::AuthRoleListResponse *response) override
Definition: rpc.grpc.pb.cc:767
::grpc::Status Authenticate(::grpc::ServerContext *context, const ::etcdserverpb::AuthenticateRequest *request,::etcdserverpb::AuthenticateResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2357
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse > * PrepareAsyncAuthenticateRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::grpc::CompletionQueue *cq)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2133
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2399
void RequestLeaseKeepAlive(::grpc::ServerContext *context,::grpc::ServerAsyncReaderWriter< ::etcdserverpb::LeaseKeepAliveResponse,::etcdserverpb::LeaseKeepAliveRequest > *stream,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:732
void RequestHash(::grpc::ServerContext *context,::etcdserverpb::HashRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::HashResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:1399
::grpc::Status AuthDisable(::grpc::ServerContext *context, const ::etcdserverpb::AuthDisableRequest *request,::etcdserverpb::AuthDisableResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2022
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse > * AsyncDefragmentRaw(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status AuthDisable(::grpc::ServerContext *context, const ::etcdserverpb::AuthDisableRequest *request,::etcdserverpb::AuthDisableResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2340
Stub(const std::shared_ptr< ::grpc::ChannelInterface > &channel)
Definition: rpc.grpc.pb.cc:223
virtual ::grpc::Status LeaseGrant(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::etcdserverpb::LeaseGrantResponse *response)=0
::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > * PrepareAsyncWatchRaw(::grpc::ClientContext *context,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:189
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:223
WithAsyncMethod_Watch< Service > AsyncService
Definition: rpc.grpc.pb.h:551
virtual ::grpc::Status Authenticate(::grpc::ServerContext *context, const ::etcdserverpb::AuthenticateRequest *request,::etcdserverpb::AuthenticateResponse *response)
Definition: rpc.grpc.pb.cc:915
::grpc::Status MemberRemove(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::etcdserverpb::MemberRemoveResponse *response) override
Definition: rpc.grpc.pb.cc:339
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse > * PrepareAsyncTxnRaw(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status LeaseGrant(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::etcdserverpb::LeaseGrantResponse *response) override
Definition: rpc.grpc.pb.cc:229
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse > > PrepareAsyncMemberList(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:870
const ::grpc::internal::RpcMethod rpcmethod_RoleRevokePermission_
Definition: rpc.grpc.pb.h:1949
::grpc::Status Hash(::grpc::ServerContext *context, const ::etcdserverpb::HashRequest *request,::etcdserverpb::HashResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1582
::grpc::Status Alarm(::grpc::ServerContext *context, const ::etcdserverpb::AlarmRequest *request,::etcdserverpb::AlarmResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1436
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse > > AsyncAlarm(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1248
::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse > * PrepareAsyncLeaseGrantRaw(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:237
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2450
::grpc::Status Alarm(::grpc::ServerContext *context, const ::etcdserverpb::AlarmRequest *request,::etcdserverpb::AlarmResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1335
virtual ::grpc::Status Alarm(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::etcdserverpb::AlarmResponse *response)=0
virtual ::grpc::Status UserAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::etcdserverpb::AuthUserAddResponse *response)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:301
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse > * PrepareAsyncRoleDeleteRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:787
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2331
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse > > PrepareAsyncRoleGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1868
const ::grpc::internal::RpcMethod rpcmethod_RoleAdd_
Definition: rpc.grpc.pb.h:1944
std::unique_ptr< ::grpc::ClientReader< ::etcdserverpb::SnapshotResponse > > Snapshot(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request)
Definition: rpc.grpc.pb.h:1275
const ::grpc::internal::RpcMethod rpcmethod_UserGet_
Definition: rpc.grpc.pb.h:1938
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse > > PrepareAsyncUserRevokeRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1854
const ::grpc::internal::RpcMethod rpcmethod_Alarm_
Definition: rpc.grpc.pb.h:1298
::grpc::Status Txn(::grpc::ServerContext *context, const ::etcdserverpb::TxnRequest *request,::etcdserverpb::TxnResponse *response) finaloverride
Definition: rpc.grpc.pb.h:344
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse > * PrepareAsyncLeaseGrantRaw(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status UserGrantRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::etcdserverpb::AuthUserGrantRoleResponse *response)=0
static constexpr char const * service_full_name()
Definition: rpc.grpc.pb.h:473
std::unique_ptr< ::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse > > PrepareAsyncSnapshot(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1281
const ::grpc::internal::RpcMethod rpcmethod_Authenticate_
Definition: rpc.grpc.pb.h:1936
const ::grpc::internal::RpcMethod rpcmethod_UserChangePassword_
Definition: rpc.grpc.pb.h:1941
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2365
virtual ::grpc::Status StreamedLeaseRevoke(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::LeaseRevokeRequest,::etcdserverpb::LeaseRevokeResponse > *server_unary_streamer)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse > * PrepareAsyncStatusRaw(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::grpc::CompletionQueue *cq)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:988
::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse > * PrepareAsyncPutRaw(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:60
virtual ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > * AsyncLeaseKeepAliveRaw(::grpc::ClientContext *context,::grpc::CompletionQueue *cq, void *tag)=0
virtual ::grpc::Status StreamedUserDelete(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserDeleteRequest,::etcdserverpb::AuthUserDeleteResponse > *server_unary_streamer)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse > > AsyncTxn(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:122
virtual ::grpc::Status UserChangePassword(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::etcdserverpb::AuthUserChangePasswordResponse *response)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse > * AsyncUserListRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse > > AsyncRoleGrantPermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1886
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse > * PrepareAsyncAlarmRaw(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:460
virtual ::grpc::Status StreamedDefragment(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::DefragmentRequest,::etcdserverpb::DefragmentResponse > *server_unary_streamer)=0
virtual ::grpc::Status StreamedUserList(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserListRequest,::etcdserverpb::AuthUserListResponse > *server_unary_streamer)=0
void RequestAuthenticate(::grpc::ServerContext *context,::etcdserverpb::AuthenticateRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthenticateResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2046
virtual ::grpc::Status Txn(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::etcdserverpb::TxnResponse *response)=0
::grpc::Status MemberList(::grpc::ServerContext *context, const ::etcdserverpb::MemberListRequest *request,::etcdserverpb::MemberListResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1167
::grpc::Status DeleteRange(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::etcdserverpb::DeleteRangeResponse *response) override
Definition: rpc.grpc.pb.cc:64
virtual ::grpc::Status Hash(::grpc::ServerContext *context, const ::etcdserverpb::HashRequest *request,::etcdserverpb::HashResponse *response)
Definition: rpc.grpc.pb.cc:564
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse > > PrepareAsyncCompact(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:132
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:335
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:719
::grpc::Status MemberRemove(::grpc::ServerContext *context, const ::etcdserverpb::MemberRemoveRequest *request,::etcdserverpb::MemberRemoveResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1127
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse > * PrepareAsyncUserListRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:691
Stub(const std::shared_ptr< ::grpc::ChannelInterface > &channel)
Definition: rpc.grpc.pb.cc:32
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:740
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:757
WithStreamedUnaryMethod_Alarm< WithStreamedUnaryMethod_Status< WithStreamedUnaryMethod_Defragment< WithStreamedUnaryMethod_Hash< Service > > > > StreamedUnaryService
Definition: rpc.grpc.pb.h:1589
void RequestAuthDisable(::grpc::ServerContext *context,::etcdserverpb::AuthDisableRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthDisableResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2026
::grpc::Status MemberUpdate(::grpc::ServerContext *context, const ::etcdserverpb::MemberUpdateRequest *request,::etcdserverpb::MemberUpdateResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1147
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1406
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserRevokeRoleResponse > * AsyncUserRevokeRoleRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:735
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse > * AsyncUserAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:663
std::shared_ptr< ::grpc::ChannelInterface > channel_
Definition: rpc.grpc.pb.h:1286
virtual ::grpc::Status MemberRemove(::grpc::ServerContext *context, const ::etcdserverpb::MemberRemoveRequest *request,::etcdserverpb::MemberRemoveResponse *response)
Definition: rpc.grpc.pb.cc:408
void RequestRoleDelete(::grpc::ServerContext *context,::etcdserverpb::AuthRoleDeleteRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleDeleteResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2266
virtual ::grpc::Status RoleGrantPermission(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest *request,::etcdserverpb::AuthRoleGrantPermissionResponse *response)
Definition: rpc.grpc.pb.cc:999
virtual ::grpc::Status Defragment(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::etcdserverpb::DefragmentResponse *response)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1427
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse > > AsyncMemberUpdate(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:859
Stub(const std::shared_ptr< ::grpc::ChannelInterface > &channel)
Definition: rpc.grpc.pb.cc:444
::grpc::Status RoleAdd(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleAddRequest *request,::etcdserverpb::AuthRoleAddResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2202
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1157
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::CompactionResponse > > AsyncCompact(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:129
const ::grpc::internal::RpcMethod rpcmethod_Status_
Definition: rpc.grpc.pb.h:1299
virtual ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse > * AsyncSnapshotRaw(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request,::grpc::CompletionQueue *cq, void *tag)=0
::grpc::Status LeaseKeepAlive(::grpc::ServerContext *context,::grpc::ServerReaderWriter< ::etcdserverpb::LeaseKeepAliveResponse,::etcdserverpb::LeaseKeepAliveRequest > *stream) finaloverride
Definition: rpc.grpc.pb.h:783
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2073
::grpc::Status Defragment(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::etcdserverpb::DefragmentResponse *response) override
Definition: rpc.grpc.pb.cc:476
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse > * PrepareAsyncRoleRevokePermissionRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse > > PrepareAsyncUserChangePassword(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1683
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse > * AsyncUserGetRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::grpc::CompletionQueue *cq)=0
virtual ::grpc::Status Defragment(::grpc::ServerContext *context, const ::etcdserverpb::DefragmentRequest *request,::etcdserverpb::DefragmentResponse *response)
Definition: rpc.grpc.pb.cc:557
void RequestWatch(::grpc::ServerContext *context,::grpc::ServerAsyncReaderWriter< ::etcdserverpb::WatchResponse,::etcdserverpb::WatchRequest > *stream,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:547
const ::grpc::internal::RpcMethod rpcmethod_Hash_
Definition: rpc.grpc.pb.h:1301
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:449
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2113
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse > * PrepareAsyncRoleGrantPermissionRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status UserList(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserListRequest *request,::etcdserverpb::AuthUserListResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2102
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse > * PrepareAsyncRoleDeleteRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status UserAdd(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserAddRequest *request,::etcdserverpb::AuthUserAddResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2062
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2786
std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > > PrepareAsyncWatch(::grpc::ClientContext *context,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:507
::grpc::Status RoleGrantPermission(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest *request,::etcdserverpb::AuthRoleGrantPermissionResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2561
void RequestUserList(::grpc::ServerContext *context,::etcdserverpb::AuthUserListRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserListResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2106
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse > > AsyncAuthenticate(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1640
::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse > * PrepareAsyncDeleteRangeRaw(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:72
::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse > * PrepareAsyncMemberUpdateRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:359
WithStreamedUnaryMethod_AuthEnable< WithStreamedUnaryMethod_AuthDisable< WithStreamedUnaryMethod_Authenticate< WithStreamedUnaryMethod_UserAdd< WithStreamedUnaryMethod_UserGet< WithStreamedUnaryMethod_UserList< WithStreamedUnaryMethod_UserDelete< WithStreamedUnaryMethod_UserChangePassword< WithStreamedUnaryMethod_UserGrantRole< WithStreamedUnaryMethod_UserRevokeRole< WithStreamedUnaryMethod_RoleAdd< WithStreamedUnaryMethod_RoleGet< WithStreamedUnaryMethod_RoleList< WithStreamedUnaryMethod_RoleDelete< WithStreamedUnaryMethod_RoleGrantPermission< WithStreamedUnaryMethod_RoleRevokePermission< Service > > > > > > > > > > > > > > > > StreamedUnaryService
Definition: rpc.grpc.pb.h:2903
const ::grpc::internal::RpcMethod rpcmethod_RoleList_
Definition: rpc.grpc.pb.h:1946
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse > > AsyncMemberList(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:908
virtual ::grpc::Status StreamedStatus(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::StatusRequest,::etcdserverpb::StatusResponse > *server_unary_streamer)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse > * AsyncTxnRaw(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status RoleGrantPermission(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest *request,::etcdserverpb::AuthRoleGrantPermissionResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2282
Service SplitStreamedService
Definition: rpc.grpc.pb.h:829
::grpc::Status MemberRemove(::grpc::ServerContext *context, const ::etcdserverpb::MemberRemoveRequest *request,::etcdserverpb::MemberRemoveResponse *response) finaloverride
Definition: rpc.grpc.pb.h:977
::grpc::Status Hash(::grpc::ServerContext *context, const ::etcdserverpb::HashRequest *request,::etcdserverpb::HashResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1487
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse > * PrepareAsyncMemberListRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status MemberUpdate(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::etcdserverpb::MemberUpdateResponse *response) override
Definition: rpc.grpc.pb.cc:351
::grpc::Status UserRevokeRole(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest *request,::etcdserverpb::AuthUserRevokeRoleResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2476
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleAddResponse > > PrepareAsyncRoleAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1707
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleDeleteResponse > * AsyncRoleDeleteRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:783
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:429
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse > * AsyncAuthEnableRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:627
::grpc::Status UserList(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::etcdserverpb::AuthUserListResponse *response) override
Definition: rpc.grpc.pb.cc:683
virtual ::grpc::Status StreamedDeleteRange(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::DeleteRangeRequest,::etcdserverpb::DeleteRangeResponse > *server_unary_streamer)=0
virtual ::grpc::Status RoleDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::etcdserverpb::AuthRoleDeleteResponse *response)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2746
::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > * AsyncWatchRaw(::grpc::ClientContext *context,::grpc::CompletionQueue *cq, void *tag) override
Definition: rpc.grpc.pb.cc:185
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse > > AsyncAuthDisable(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1632
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse > * AsyncRoleListRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:771
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1008
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse > > PrepareAsyncAuthenticate(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1805
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse > > PrepareAsyncRange(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:41
virtual ::grpc::Status StreamedSnapshot(::grpc::ServerContext *context,::grpc::ServerSplitStreamer< ::etcdserverpb::SnapshotRequest,::etcdserverpb::SnapshotResponse > *server_split_streamer)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGetResponse > > AsyncUserGet(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGetRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1656
WithStreamedUnaryMethod_MemberAdd< WithStreamedUnaryMethod_MemberRemove< WithStreamedUnaryMethod_MemberUpdate< WithStreamedUnaryMethod_MemberList< Service > > > > StreamedService
Definition: rpc.grpc.pb.h:1176
void RequestRoleGrantPermission(::grpc::ServerContext *context,::etcdserverpb::AuthRoleGrantPermissionRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleGrantPermissionResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2286
std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > > AsyncWatch(::grpc::ClientContext *context,::grpc::CompletionQueue *cq, void *tag)
Definition: rpc.grpc.pb.h:504
WithStreamedUnaryMethod_Range< WithStreamedUnaryMethod_Put< WithStreamedUnaryMethod_DeleteRange< WithStreamedUnaryMethod_Txn< WithStreamedUnaryMethod_Compact< Service > > > > > StreamedUnaryService
Definition: rpc.grpc.pb.h:466
::grpc::Status Defragment(::grpc::ServerContext *context, const ::etcdserverpb::DefragmentRequest *request,::etcdserverpb::DefragmentResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1562
virtual ::grpc::Status StreamedMemberList(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::MemberListRequest,::etcdserverpb::MemberListResponse > *server_unary_streamer)=0
WithAsyncMethod_Alarm< WithAsyncMethod_Status< WithAsyncMethod_Defragment< WithAsyncMethod_Hash< WithAsyncMethod_Snapshot< Service > > > > > AsyncService
Definition: rpc.grpc.pb.h:1423
::grpc::Status Snapshot(::grpc::ServerContext *context, const ::etcdserverpb::SnapshotRequest *request,::grpc::ServerWriter< ::etcdserverpb::SnapshotResponse > *writer) finaloverride
Definition: rpc.grpc.pb.h:1415
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2552
void RequestMemberList(::grpc::ServerContext *context,::etcdserverpb::MemberListRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::MemberListResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:1021
void RequestLeaseGrant(::grpc::ServerContext *context,::etcdserverpb::LeaseGrantRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::LeaseGrantResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:692
void RequestRange(::grpc::ServerContext *context,::etcdserverpb::RangeRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::RangeResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:196
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse > > AsyncPut(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:48
::grpc::ClientReaderWriter< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > * LeaseKeepAliveRaw(::grpc::ClientContext *context) override
Definition: rpc.grpc.pb.cc:253
virtual ::grpc::Status StreamedHash(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::HashRequest,::etcdserverpb::HashResponse > *server_unary_streamer)=0
virtual ::grpc::Status RoleDelete(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleDeleteRequest *request,::etcdserverpb::AuthRoleDeleteResponse *response)
Definition: rpc.grpc.pb.cc:992
virtual ::grpc::Status RoleAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::etcdserverpb::AuthRoleAddResponse *response)=0
::grpc::Status Compact(::grpc::ServerContext *context, const ::etcdserverpb::CompactionRequest *request,::etcdserverpb::CompactionResponse *response) finaloverride
Definition: rpc.grpc.pb.h:459
virtual ::grpc::Status RoleList(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleListRequest *request,::etcdserverpb::AuthRoleListResponse *response)
Definition: rpc.grpc.pb.cc:985
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:284
virtual ::grpc::Status StreamedRoleGrantPermission(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleGrantPermissionRequest,::etcdserverpb::AuthRoleGrantPermissionResponse > *server_unary_streamer)=0
const ::grpc::internal::RpcMethod rpcmethod_UserList_
Definition: rpc.grpc.pb.h:1939
::grpc::Status Put(::grpc::ServerContext *context, const ::etcdserverpb::PutRequest *request,::etcdserverpb::PutResponse *response) finaloverride
Definition: rpc.grpc.pb.h:399
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse > > AsyncLeaseGrant(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:624
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse > > PrepareAsyncStatus(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1200
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse > * AsyncRoleAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:747
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthEnableResponse > > PrepareAsyncAuthEnable(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1627
::grpc::Status AuthEnable(::grpc::ServerContext *context, const ::etcdserverpb::AuthEnableRequest *request,::etcdserverpb::AuthEnableResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2002
::grpc::Status RoleGet(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleGetRequest *request,::etcdserverpb::AuthRoleGetResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2222
static constexpr char const * service_full_name()
Definition: rpc.grpc.pb.h:576
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1478
virtual ::grpc::ClientReaderInterface< ::etcdserverpb::SnapshotResponse > * SnapshotRaw(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::RangeResponse > > AsyncRange(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:38
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthEnableResponse > * PrepareAsyncAuthEnableRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthEnableRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:631
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthDisableResponse > > PrepareAsyncAuthDisable(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1798
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse > > AsyncAlarm(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1189
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:679
virtual ::grpc::Status StreamedRoleList(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthRoleListRequest,::etcdserverpb::AuthRoleListResponse > *server_unary_streamer)=0
::grpc::Status Status(::grpc::ServerContext *context, const ::etcdserverpb::StatusRequest *request,::etcdserverpb::StatusResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1355
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse > > AsyncStatus(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1255
virtual ::grpc::Status StreamedUserChangePassword(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserChangePasswordRequest,::etcdserverpb::AuthUserChangePasswordResponse > *server_unary_streamer)=0
virtual ::grpc::Status StreamedAuthDisable(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthDisableRequest,::etcdserverpb::AuthDisableResponse > *server_unary_streamer)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:369
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1046
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse > * PrepareAsyncMemberUpdateRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::grpc::CompletionQueue *cq)=0
const ::grpc::internal::RpcMethod rpcmethod_Compact_
Definition: rpc.grpc.pb.h:152
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2518
::grpc::Status Authenticate(::grpc::ServerContext *context, const ::etcdserverpb::AuthenticateRequest *request,::etcdserverpb::AuthenticateResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2636
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DefragmentResponse > * PrepareAsyncDefragmentRaw(::grpc::ClientContext *context, const ::etcdserverpb::DefragmentRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status Range(::grpc::ServerContext *context, const ::etcdserverpb::RangeRequest *request,::etcdserverpb::RangeResponse *response) finaloverride
Definition: rpc.grpc.pb.h:379
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::StatusResponse > * AsyncStatusRaw(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::grpc::CompletionQueue *cq)=0
void RequestRoleRevokePermission(::grpc::ServerContext *context,::etcdserverpb::AuthRoleRevokePermissionRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleRevokePermissionResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2306
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse > > AsyncUserGrantRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1844
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse > * AsyncAuthDisableRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::PutResponse > > AsyncPut(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:108
void RequestUserChangePassword(::grpc::ServerContext *context,::etcdserverpb::AuthUserChangePasswordRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserChangePasswordResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2146
virtual ::grpc::Status Hash(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::etcdserverpb::HashResponse *response)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserGrantRoleResponse > * PrepareAsyncUserGrantRoleRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::grpc::CompletionQueue *cq)=0
static std::unique_ptr< Stub > NewStub(const std::shared_ptr< ::grpc::ChannelInterface > &channel, const ::grpc::StubOptions &options=::grpc::StubOptions())
Definition: rpc.grpc.pb.cc:438
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2013
virtual ::grpc::Status Put(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::etcdserverpb::PutResponse *response)=0
virtual ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > * AsyncWatchRaw(::grpc::ClientContext *context,::grpc::CompletionQueue *cq, void *tag)=0
virtual ::grpc::Status StreamedTxn(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::TxnRequest,::etcdserverpb::TxnResponse > *server_unary_streamer)=0
::grpc::Status LeaseGrant(::grpc::ServerContext *context, const ::etcdserverpb::LeaseGrantRequest *request,::etcdserverpb::LeaseGrantResponse *response) finaloverride
Definition: rpc.grpc.pb.h:801
::grpc::Status Compact(::grpc::ServerContext *context, const ::etcdserverpb::CompactionRequest *request,::etcdserverpb::CompactionResponse *response) finaloverride
Definition: rpc.grpc.pb.h:361
virtual ::grpc::Status StreamedMemberAdd(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::MemberAddRequest,::etcdserverpb::MemberAddResponse > *server_unary_streamer)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse > > AsyncRoleAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1858
::grpc::Status Range(::grpc::ServerContext *context, const ::etcdserverpb::RangeRequest *request,::etcdserverpb::RangeResponse *response) finaloverride
Definition: rpc.grpc.pb.h:293
virtual ::grpc::Status UserRevokeRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserRevokeRoleRequest &request,::etcdserverpb::AuthUserRevokeRoleResponse *response)=0
static std::unique_ptr< Stub > NewStub(const std::shared_ptr< ::grpc::ChannelInterface > &channel, const ::grpc::StubOptions &options=::grpc::StubOptions())
Definition: rpc.grpc.pb.cc:171
std::unique_ptr< ::grpc::ClientReaderWriter< ::etcdserverpb::WatchRequest,::etcdserverpb::WatchResponse > > Watch(::grpc::ClientContext *context)
Definition: rpc.grpc.pb.h:501
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserListResponse > > AsyncUserList(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1823
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberListResponse > > AsyncMemberList(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:867
const ::grpc::internal::RpcMethod rpcmethod_MemberUpdate_
Definition: rpc.grpc.pb.h:927
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGetResponse > * PrepareAsyncRoleGetRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGetRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:763
void RequestLeaseRevoke(::grpc::ServerContext *context,::etcdserverpb::LeaseRevokeRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::LeaseRevokeResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:712
::grpc::Status MemberRemove(::grpc::ServerContext *context, const ::etcdserverpb::MemberRemoveRequest *request,::etcdserverpb::MemberRemoveResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1055
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserAddResponse > * AsyncUserAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse > * AsyncStatusRaw(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:468
const ::grpc::internal::RpcMethod rpcmethod_DeleteRange_
Definition: rpc.grpc.pb.h:150
const ::grpc::internal::RpcMethod rpcmethod_Snapshot_
Definition: rpc.grpc.pb.h:1302
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse > > PrepareAsyncPut(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:51
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::TxnResponse > > PrepareAsyncTxn(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:125
::grpc::Status AuthDisable(::grpc::ServerContext *context, const ::etcdserverpb::AuthDisableRequest *request,::etcdserverpb::AuthDisableResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2616
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1572
::grpc::Status Snapshot(::grpc::ServerContext *context, const ::etcdserverpb::SnapshotRequest *request,::grpc::ServerWriter< ::etcdserverpb::SnapshotResponse > *writer) finaloverride
Definition: rpc.grpc.pb.h:1504
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2501
void RequestAlarm(::grpc::ServerContext *context,::etcdserverpb::AlarmRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AlarmResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:1339
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleGrantPermissionResponse > * AsyncRoleGrantPermissionRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::LeaseGrantResponse > > PrepareAsyncLeaseGrant(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:627
::grpc::Status RoleGrantPermission(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest *request,::etcdserverpb::AuthRoleGrantPermissionResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2876
::grpc::Status RoleAdd(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleAddRequest *request,::etcdserverpb::AuthRoleAddResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2493
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2173
virtual ::grpc::Status MemberAdd(::grpc::ServerContext *context, const ::etcdserverpb::MemberAddRequest *request,::etcdserverpb::MemberAddResponse *response)
Definition: rpc.grpc.pb.cc:401
::grpc::Status UserGrantRole(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::etcdserverpb::AuthUserGrantRoleResponse *response) override
Definition: rpc.grpc.pb.cc:719
::grpc::Status MemberUpdate(::grpc::ServerContext *context, const ::etcdserverpb::MemberUpdateRequest *request,::etcdserverpb::MemberUpdateResponse *response) finaloverride
Definition: rpc.grpc.pb.h:1072
const ::grpc::internal::RpcMethod rpcmethod_Txn_
Definition: rpc.grpc.pb.h:151
virtual ::grpc::Status Status(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::etcdserverpb::StatusResponse *response)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberUpdateResponse > * AsyncMemberUpdateRaw(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::grpc::CompletionQueue *cq)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2033
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleGrantPermissionResponse > * PrepareAsyncRoleGrantPermissionRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleGrantPermissionRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:799
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::MemberAddResponse > > AsyncMemberAdd(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:843
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberAddResponse > > PrepareAsyncMemberAdd(::grpc::ClientContext *context, const ::etcdserverpb::MemberAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:890
::grpc::Status RoleGet(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleGetRequest *request,::etcdserverpb::AuthRoleGetResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2816
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse > * PrepareAsyncRoleListRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:775
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse > * PrepareAsyncUserAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:667
virtual ::grpc::Status StreamedUserAdd(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserAddRequest,::etcdserverpb::AuthUserAddResponse > *server_unary_streamer)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserListResponse > > AsyncUserList(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1664
::grpc::Status AuthDisable(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::etcdserverpb::AuthDisableResponse *response) override
Definition: rpc.grpc.pb.cc:635
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2626
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserAddResponse > > PrepareAsyncUserAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1812
const ::grpc::internal::RpcMethod rpcmethod_LeaseKeepAlive_
Definition: rpc.grpc.pb.h:658
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2806
virtual ::grpc::Status StreamedUserRevokeRole(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserRevokeRoleRequest,::etcdserverpb::AuthUserRevokeRoleResponse > *server_unary_streamer)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AlarmResponse > > PrepareAsyncAlarm(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1192
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:318
virtual ::grpc::Status StreamedUserGet(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserGetRequest,::etcdserverpb::AuthUserGetResponse > *server_unary_streamer)=0
std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > > PrepareAsyncLeaseKeepAlive(::grpc::ClientContext *context,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:608
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1366
Service SplitStreamedService
Definition: rpc.grpc.pb.h:570
::grpc::Status RoleDelete(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleDeleteRequest *request,::etcdserverpb::AuthRoleDeleteResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2856
void RequestRoleList(::grpc::ServerContext *context,::etcdserverpb::AuthRoleListRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthRoleListResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2246
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::TxnResponse > > PrepareAsyncTxn(::grpc::ClientContext *context, const ::etcdserverpb::TxnRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:72
virtual ::grpc::Status Snapshot(::grpc::ServerContext *context, const ::etcdserverpb::SnapshotRequest *request,::grpc::ServerWriter< ::etcdserverpb::SnapshotResponse > *writer)
Definition: rpc.grpc.pb.cc:571
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2213
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AlarmResponse > > PrepareAsyncAlarm(::grpc::ClientContext *context, const ::etcdserverpb::AlarmRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1251
void RequestUserRevokeRole(::grpc::ServerContext *context,::etcdserverpb::AuthUserRevokeRoleRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::AuthUserRevokeRoleResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:2186
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1461
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2706
virtual ::grpc::Status StreamedUserGrantRole(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthUserGrantRoleRequest,::etcdserverpb::AuthUserGrantRoleResponse > *server_unary_streamer)=0
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::LeaseGrantResponse > * AsyncLeaseGrantRaw(::grpc::ClientContext *context, const ::etcdserverpb::LeaseGrantRequest &request,::grpc::CompletionQueue *cq)=0
Stub(const std::shared_ptr< ::grpc::ChannelInterface > &channel)
Definition: rpc.grpc.pb.cc:177
virtual ::grpc::ClientAsyncReaderInterface< ::etcdserverpb::SnapshotResponse > * PrepareAsyncSnapshotRaw(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request,::grpc::CompletionQueue *cq)=0
WithStreamedUnaryMethod_LeaseGrant< WithStreamedUnaryMethod_LeaseRevoke< Service > > StreamedUnaryService
Definition: rpc.grpc.pb.h:828
::grpc::Status AuthEnable(::grpc::ServerContext *context, const ::etcdserverpb::AuthEnableRequest *request,::etcdserverpb::AuthEnableResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2596
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse > > PrepareAsyncUserDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1833
::grpc::Status Compact(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::etcdserverpb::CompactionResponse *response) override
Definition: rpc.grpc.pb.cc:88
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1512
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthenticateResponse > > PrepareAsyncAuthenticate(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1643
virtual ::grpc::Status MemberList(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::etcdserverpb::MemberListResponse *response)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserChangePasswordResponse > * AsyncUserChangePasswordRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:711
virtual ::grpc::Status Status(::grpc::ServerContext *context, const ::etcdserverpb::StatusRequest *request,::etcdserverpb::StatusResponse *response)
Definition: rpc.grpc.pb.cc:550
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse > > PrepareAsyncAuthDisable(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1635
void RequestStatus(::grpc::ServerContext *context,::etcdserverpb::StatusRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::StatusResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:1359
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:263
::grpc::Status UserGet(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserGetRequest *request,::etcdserverpb::AuthUserGetResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2082
::grpc::Status Authenticate(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::etcdserverpb::AuthenticateResponse *response) override
Definition: rpc.grpc.pb.cc:647
virtual ::grpc::Status MemberUpdate(::grpc::ServerContext *context, const ::etcdserverpb::MemberUpdateRequest *request,::etcdserverpb::MemberUpdateResponse *response)
Definition: rpc.grpc.pb.cc:415
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2153
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse > > AsyncUserChangePassword(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1680
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse > * PrepareAsyncDeleteRangeRaw(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberRemoveResponse > > AsyncMemberRemove(::grpc::ClientContext *context, const ::etcdserverpb::MemberRemoveRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:894
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserDeleteResponse > * PrepareAsyncUserDeleteRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserDeleteRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:703
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::DeleteRangeResponse > * AsyncDeleteRangeRaw(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse > > PrepareAsyncHash(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1272
::grpc::Status Txn(::grpc::ServerContext *context, const ::etcdserverpb::TxnRequest *request,::etcdserverpb::TxnResponse *response) finaloverride
Definition: rpc.grpc.pb.h:252
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:1993
::grpc::Status Put(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::etcdserverpb::PutResponse *response) override
Definition: rpc.grpc.pb.cc:52
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::HashResponse > > AsyncHash(::grpc::ClientContext *context, const ::etcdserverpb::HashRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1269
virtual ::grpc::Status StreamedAlarm(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AlarmRequest,::etcdserverpb::AlarmResponse > *server_unary_streamer)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse > * AsyncAuthenticateRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:651
Service SplitStreamedService
Definition: rpc.grpc.pb.h:467
::grpc::Status RoleDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::etcdserverpb::AuthRoleDeleteResponse *response) override
Definition: rpc.grpc.pb.cc:779
virtual ::grpc::Status StreamedAuthenticate(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::AuthenticateRequest,::etcdserverpb::AuthenticateResponse > *server_unary_streamer)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2193
virtual ::grpc::Status Range(::grpc::ClientContext *context, const ::etcdserverpb::RangeRequest &request,::etcdserverpb::RangeResponse *response)=0
std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::etcdserverpb::LeaseKeepAliveRequest,::etcdserverpb::LeaseKeepAliveResponse > > AsyncLeaseKeepAlive(::grpc::ClientContext *context,::grpc::CompletionQueue *cq, void *tag)
Definition: rpc.grpc.pb.h:605
::grpc::Status UserDelete(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserDeleteRequest *request,::etcdserverpb::AuthUserDeleteResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2425
void RequestDeleteRange(::grpc::ServerContext *context,::etcdserverpb::DeleteRangeRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::DeleteRangeResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:236
virtual ::grpc::Status Authenticate(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::etcdserverpb::AuthenticateResponse *response)=0
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2053
::grpc::ClientAsyncResponseReader< ::etcdserverpb::StatusResponse > * PrepareAsyncStatusRaw(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:472
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleListResponse > > PrepareAsyncRoleList(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1723
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:203
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthenticateResponse > > AsyncAuthenticate(::grpc::ClientContext *context, const ::etcdserverpb::AuthenticateRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1802
const ::grpc::internal::RpcMethod rpcmethod_Range_
Definition: rpc.grpc.pb.h:148
::grpc::Status Watch(::grpc::ServerContext *context,::grpc::ServerReaderWriter< ::etcdserverpb::WatchResponse,::etcdserverpb::WatchRequest > *stream) finaloverride
Definition: rpc.grpc.pb.h:564
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2314
::grpc::Status Status(::grpc::ClientContext *context, const ::etcdserverpb::StatusRequest &request,::etcdserverpb::StatusResponse *response) override
Definition: rpc.grpc.pb.cc:464
::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse > * AsyncSnapshotRaw(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request,::grpc::CompletionQueue *cq, void *tag) override
Definition: rpc.grpc.pb.cc:504
void BaseClassMustBeDerivedFromService(const Service *service)
Definition: rpc.grpc.pb.h:2826
::grpc::Status RoleDelete(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleDeleteRequest *request,::etcdserverpb::AuthRoleDeleteResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2544
::grpc::Status UserGrantRole(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest *request,::etcdserverpb::AuthUserGrantRoleResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2459
const ::grpc::internal::RpcMethod rpcmethod_RoleGrantPermission_
Definition: rpc.grpc.pb.h:1948
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleListResponse > > AsyncRoleList(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1872
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthUserChangePasswordResponse > * AsyncUserChangePasswordRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthUserGrantRoleResponse > * PrepareAsyncUserGrantRoleRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthUserGrantRoleRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:727
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleDeleteResponse > > PrepareAsyncRoleDelete(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleDeleteRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1731
const ::grpc::internal::RpcMethod rpcmethod_UserAdd_
Definition: rpc.grpc.pb.h:1937
static constexpr char const * service_full_name()
Definition: rpc.grpc.pb.h:30
::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse > * PrepareAsyncRoleAddRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:751
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::CompactionResponse > * PrepareAsyncCompactRaw(::grpc::ClientContext *context, const ::etcdserverpb::CompactionRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::ClientAsyncReader< ::etcdserverpb::SnapshotResponse > * PrepareAsyncSnapshotRaw(::grpc::ClientContext *context, const ::etcdserverpb::SnapshotRequest &request,::grpc::CompletionQueue *cq) override
Definition: rpc.grpc.pb.cc:508
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::DeleteRangeResponse > > AsyncDeleteRange(::grpc::ClientContext *context, const ::etcdserverpb::DeleteRangeRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:115
virtual ::grpc::Status StreamedLeaseGrant(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::LeaseGrantRequest,::etcdserverpb::LeaseGrantResponse > *server_unary_streamer)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberListResponse > > PrepareAsyncMemberList(::grpc::ClientContext *context, const ::etcdserverpb::MemberListRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:911
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthDisableResponse > * PrepareAsyncAuthDisableRaw(::grpc::ClientContext *context, const ::etcdserverpb::AuthDisableRequest &request,::grpc::CompletionQueue *cq)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::AuthRoleRevokePermissionResponse > > AsyncRoleRevokePermission(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1744
const ::grpc::internal::RpcMethod rpcmethod_MemberRemove_
Definition: rpc.grpc.pb.h:926
::grpc::Status RoleRevokePermission(::grpc::ServerContext *context, const ::etcdserverpb::AuthRoleRevokePermissionRequest *request,::etcdserverpb::AuthRoleRevokePermissionResponse *response) finaloverride
Definition: rpc.grpc.pb.h:2302
void RequestMemberUpdate(::grpc::ServerContext *context,::etcdserverpb::MemberUpdateRequest *request,::grpc::ServerAsyncResponseWriter< ::etcdserverpb::MemberUpdateResponse > *response,::grpc::CompletionQueue *new_call_cq,::grpc::ServerCompletionQueue *notification_cq, void *tag)
Definition: rpc.grpc.pb.h:1001
virtual ::grpc::Status UserChangePassword(::grpc::ServerContext *context, const ::etcdserverpb::AuthUserChangePasswordRequest *request,::etcdserverpb::AuthUserChangePasswordResponse *response)
Definition: rpc.grpc.pb.cc:950
const ::grpc::internal::RpcMethod rpcmethod_MemberAdd_
Definition: rpc.grpc.pb.h:925
::grpc::Status MemberAdd(::grpc::ServerContext *context, const ::etcdserverpb::MemberAddRequest *request,::etcdserverpb::MemberAddResponse *response) finaloverride
Definition: rpc.grpc.pb.h:957
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::AuthRoleAddResponse > > PrepareAsyncRoleAdd(::grpc::ClientContext *context, const ::etcdserverpb::AuthRoleAddRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:1861
virtual ::grpc::Status StreamedMemberUpdate(::grpc::ServerContext *context,::grpc::ServerUnaryStreamer< ::etcdserverpb::MemberUpdateRequest,::etcdserverpb::MemberUpdateResponse > *server_unary_streamer)=0
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::etcdserverpb::MemberUpdateResponse > > AsyncMemberUpdate(::grpc::ClientContext *context, const ::etcdserverpb::MemberUpdateRequest &request,::grpc::CompletionQueue *cq)
Definition: rpc.grpc.pb.h:901
std::shared_ptr< ::grpc::ChannelInterface > channel_
Definition: rpc.grpc.pb.h:512
virtual ::grpc::ClientAsyncResponseReaderInterface< ::etcdserverpb::PutResponse > * AsyncPutRaw(::grpc::ClientContext *context, const ::etcdserverpb::PutRequest &request,::grpc::CompletionQueue *cq)=0
::grpc::Status Range(::grpc::ServerContext *context, const ::etcdserverpb::RangeRequest *request,::etcdserverpb::RangeResponse *response) finaloverride
Definition: rpc.grpc.pb.h:192