summaryrefslogtreecommitdiff
path: root/src/currency/build/generated/proto/grpc
diff options
context:
space:
mode:
Diffstat (limited to 'src/currency/build/generated/proto/grpc')
-rw-r--r--src/currency/build/generated/proto/grpc/health/v1/health.grpc.pb.cc90
-rw-r--r--src/currency/build/generated/proto/grpc/health/v1/health.grpc.pb.h262
-rw-r--r--src/currency/build/generated/proto/grpc/health/v1/health.pb.cc544
-rw-r--r--src/currency/build/generated/proto/grpc/health/v1/health.pb.h579
-rw-r--r--src/currency/build/generated/proto/grpc/health/v1/health_mock.grpc.pb.h30
5 files changed, 1505 insertions, 0 deletions
diff --git a/src/currency/build/generated/proto/grpc/health/v1/health.grpc.pb.cc b/src/currency/build/generated/proto/grpc/health/v1/health.grpc.pb.cc
new file mode 100644
index 0000000..18b8401
--- /dev/null
+++ b/src/currency/build/generated/proto/grpc/health/v1/health.grpc.pb.cc
@@ -0,0 +1,90 @@
+// Generated by the gRPC C++ plugin.
+// If you make any local change, they will be lost.
+// source: grpc/health/v1/health.proto
+
+#include "grpc/health/v1/health.pb.h"
+#include "grpc/health/v1/health.grpc.pb.h"
+
+#include <functional>
+#include <grpcpp/support/async_stream.h>
+#include <grpcpp/support/async_unary_call.h>
+#include <grpcpp/impl/channel_interface.h>
+#include <grpcpp/impl/client_unary_call.h>
+#include <grpcpp/support/client_callback.h>
+#include <grpcpp/support/message_allocator.h>
+#include <grpcpp/support/method_handler.h>
+#include <grpcpp/impl/rpc_service_method.h>
+#include <grpcpp/support/server_callback.h>
+#include <grpcpp/impl/server_callback_handlers.h>
+#include <grpcpp/server_context.h>
+#include <grpcpp/impl/service_type.h>
+#include <grpcpp/support/sync_stream.h>
+namespace grpc {
+namespace health {
+namespace v1 {
+
+static const char* Health_method_names[] = {
+ "/grpc.health.v1.Health/Check",
+};
+
+std::unique_ptr< Health::Stub> Health::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
+ (void)options;
+ std::unique_ptr< Health::Stub> stub(new Health::Stub(channel, options));
+ return stub;
+}
+
+Health::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options)
+ : channel_(channel), rpcmethod_Check_(Health_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
+ {}
+
+::grpc::Status Health::Stub::Check(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::health::v1::HealthCheckResponse* response) {
+ return ::grpc::internal::BlockingUnaryCall< ::grpc::health::v1::HealthCheckRequest, ::grpc::health::v1::HealthCheckResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_Check_, context, request, response);
+}
+
+void Health::Stub::async::Check(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest* request, ::grpc::health::v1::HealthCheckResponse* response, std::function<void(::grpc::Status)> f) {
+ ::grpc::internal::CallbackUnaryCall< ::grpc::health::v1::HealthCheckRequest, ::grpc::health::v1::HealthCheckResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_Check_, context, request, response, std::move(f));
+}
+
+void Health::Stub::async::Check(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest* request, ::grpc::health::v1::HealthCheckResponse* response, ::grpc::ClientUnaryReactor* reactor) {
+ ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_Check_, context, request, response, reactor);
+}
+
+::grpc::ClientAsyncResponseReader< ::grpc::health::v1::HealthCheckResponse>* Health::Stub::PrepareAsyncCheckRaw(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) {
+ return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::grpc::health::v1::HealthCheckResponse, ::grpc::health::v1::HealthCheckRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_Check_, context, request);
+}
+
+::grpc::ClientAsyncResponseReader< ::grpc::health::v1::HealthCheckResponse>* Health::Stub::AsyncCheckRaw(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) {
+ auto* result =
+ this->PrepareAsyncCheckRaw(context, request, cq);
+ result->StartCall();
+ return result;
+}
+
+Health::Service::Service() {
+ AddMethod(new ::grpc::internal::RpcServiceMethod(
+ Health_method_names[0],
+ ::grpc::internal::RpcMethod::NORMAL_RPC,
+ new ::grpc::internal::RpcMethodHandler< Health::Service, ::grpc::health::v1::HealthCheckRequest, ::grpc::health::v1::HealthCheckResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
+ [](Health::Service* service,
+ ::grpc::ServerContext* ctx,
+ const ::grpc::health::v1::HealthCheckRequest* req,
+ ::grpc::health::v1::HealthCheckResponse* resp) {
+ return service->Check(ctx, req, resp);
+ }, this)));
+}
+
+Health::Service::~Service() {
+}
+
+::grpc::Status Health::Service::Check(::grpc::ServerContext* context, const ::grpc::health::v1::HealthCheckRequest* request, ::grpc::health::v1::HealthCheckResponse* response) {
+ (void) context;
+ (void) request;
+ (void) response;
+ return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
+}
+
+
+} // namespace grpc
+} // namespace health
+} // namespace v1
+
diff --git a/src/currency/build/generated/proto/grpc/health/v1/health.grpc.pb.h b/src/currency/build/generated/proto/grpc/health/v1/health.grpc.pb.h
new file mode 100644
index 0000000..8303925
--- /dev/null
+++ b/src/currency/build/generated/proto/grpc/health/v1/health.grpc.pb.h
@@ -0,0 +1,262 @@
+// Generated by the gRPC C++ plugin.
+// If you make any local change, they will be lost.
+// source: grpc/health/v1/health.proto
+// Original file comments:
+// Copyright 2015 The gRPC Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+// The canonical version of this proto can be found at
+// https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto
+//
+#ifndef GRPC_grpc_2fhealth_2fv1_2fhealth_2eproto__INCLUDED
+#define GRPC_grpc_2fhealth_2fv1_2fhealth_2eproto__INCLUDED
+
+#include "grpc/health/v1/health.pb.h"
+
+#include <functional>
+#include <grpcpp/generic/async_generic_service.h>
+#include <grpcpp/support/async_stream.h>
+#include <grpcpp/support/async_unary_call.h>
+#include <grpcpp/support/client_callback.h>
+#include <grpcpp/client_context.h>
+#include <grpcpp/completion_queue.h>
+#include <grpcpp/support/message_allocator.h>
+#include <grpcpp/support/method_handler.h>
+#include <grpcpp/impl/proto_utils.h>
+#include <grpcpp/impl/rpc_method.h>
+#include <grpcpp/support/server_callback.h>
+#include <grpcpp/impl/server_callback_handlers.h>
+#include <grpcpp/server_context.h>
+#include <grpcpp/impl/service_type.h>
+#include <grpcpp/support/status.h>
+#include <grpcpp/support/stub_options.h>
+#include <grpcpp/support/sync_stream.h>
+
+namespace grpc {
+namespace health {
+namespace v1 {
+
+class Health final {
+ public:
+ static constexpr char const* service_full_name() {
+ return "grpc.health.v1.Health";
+ }
+ class StubInterface {
+ public:
+ virtual ~StubInterface() {}
+ virtual ::grpc::Status Check(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::health::v1::HealthCheckResponse* response) = 0;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::health::v1::HealthCheckResponse>> AsyncCheck(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::health::v1::HealthCheckResponse>>(AsyncCheckRaw(context, request, cq));
+ }
+ std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::health::v1::HealthCheckResponse>> PrepareAsyncCheck(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::health::v1::HealthCheckResponse>>(PrepareAsyncCheckRaw(context, request, cq));
+ }
+ class async_interface {
+ public:
+ virtual ~async_interface() {}
+ virtual void Check(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest* request, ::grpc::health::v1::HealthCheckResponse* response, std::function<void(::grpc::Status)>) = 0;
+ virtual void Check(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest* request, ::grpc::health::v1::HealthCheckResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0;
+ };
+ typedef class async_interface experimental_async_interface;
+ virtual class async_interface* async() { return nullptr; }
+ class async_interface* experimental_async() { return async(); }
+ private:
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::grpc::health::v1::HealthCheckResponse>* AsyncCheckRaw(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ virtual ::grpc::ClientAsyncResponseReaderInterface< ::grpc::health::v1::HealthCheckResponse>* PrepareAsyncCheckRaw(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) = 0;
+ };
+ class Stub final : public StubInterface {
+ public:
+ Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
+ ::grpc::Status Check(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::health::v1::HealthCheckResponse* response) override;
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::grpc::health::v1::HealthCheckResponse>> AsyncCheck(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::grpc::health::v1::HealthCheckResponse>>(AsyncCheckRaw(context, request, cq));
+ }
+ std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::grpc::health::v1::HealthCheckResponse>> PrepareAsyncCheck(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) {
+ return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::grpc::health::v1::HealthCheckResponse>>(PrepareAsyncCheckRaw(context, request, cq));
+ }
+ class async final :
+ public StubInterface::async_interface {
+ public:
+ void Check(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest* request, ::grpc::health::v1::HealthCheckResponse* response, std::function<void(::grpc::Status)>) override;
+ void Check(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest* request, ::grpc::health::v1::HealthCheckResponse* response, ::grpc::ClientUnaryReactor* reactor) override;
+ private:
+ friend class Stub;
+ explicit async(Stub* stub): stub_(stub) { }
+ Stub* stub() { return stub_; }
+ Stub* stub_;
+ };
+ class async* async() override { return &async_stub_; }
+
+ private:
+ std::shared_ptr< ::grpc::ChannelInterface> channel_;
+ class async async_stub_{this};
+ ::grpc::ClientAsyncResponseReader< ::grpc::health::v1::HealthCheckResponse>* AsyncCheckRaw(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) override;
+ ::grpc::ClientAsyncResponseReader< ::grpc::health::v1::HealthCheckResponse>* PrepareAsyncCheckRaw(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq) override;
+ const ::grpc::internal::RpcMethod rpcmethod_Check_;
+ };
+ static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
+
+ class Service : public ::grpc::Service {
+ public:
+ Service();
+ virtual ~Service();
+ virtual ::grpc::Status Check(::grpc::ServerContext* context, const ::grpc::health::v1::HealthCheckRequest* request, ::grpc::health::v1::HealthCheckResponse* response);
+ };
+ template <class BaseClass>
+ class WithAsyncMethod_Check : public BaseClass {
+ private:
+ void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
+ public:
+ WithAsyncMethod_Check() {
+ ::grpc::Service::MarkMethodAsync(0);
+ }
+ ~WithAsyncMethod_Check() override {
+ BaseClassMustBeDerivedFromService(this);
+ }
+ // disable synchronous version of this method
+ ::grpc::Status Check(::grpc::ServerContext* /*context*/, const ::grpc::health::v1::HealthCheckRequest* /*request*/, ::grpc::health::v1::HealthCheckResponse* /*response*/) override {
+ abort();
+ return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
+ }
+ void RequestCheck(::grpc::ServerContext* context, ::grpc::health::v1::HealthCheckRequest* request, ::grpc::ServerAsyncResponseWriter< ::grpc::health::v1::HealthCheckResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
+ }
+ };
+ typedef WithAsyncMethod_Check<Service > AsyncService;
+ template <class BaseClass>
+ class WithCallbackMethod_Check : public BaseClass {
+ private:
+ void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
+ public:
+ WithCallbackMethod_Check() {
+ ::grpc::Service::MarkMethodCallback(0,
+ new ::grpc::internal::CallbackUnaryHandler< ::grpc::health::v1::HealthCheckRequest, ::grpc::health::v1::HealthCheckResponse>(
+ [this](
+ ::grpc::CallbackServerContext* context, const ::grpc::health::v1::HealthCheckRequest* request, ::grpc::health::v1::HealthCheckResponse* response) { return this->Check(context, request, response); }));}
+ void SetMessageAllocatorFor_Check(
+ ::grpc::MessageAllocator< ::grpc::health::v1::HealthCheckRequest, ::grpc::health::v1::HealthCheckResponse>* allocator) {
+ ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0);
+ static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::health::v1::HealthCheckRequest, ::grpc::health::v1::HealthCheckResponse>*>(handler)
+ ->SetMessageAllocator(allocator);
+ }
+ ~WithCallbackMethod_Check() override {
+ BaseClassMustBeDerivedFromService(this);
+ }
+ // disable synchronous version of this method
+ ::grpc::Status Check(::grpc::ServerContext* /*context*/, const ::grpc::health::v1::HealthCheckRequest* /*request*/, ::grpc::health::v1::HealthCheckResponse* /*response*/) override {
+ abort();
+ return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
+ }
+ virtual ::grpc::ServerUnaryReactor* Check(
+ ::grpc::CallbackServerContext* /*context*/, const ::grpc::health::v1::HealthCheckRequest* /*request*/, ::grpc::health::v1::HealthCheckResponse* /*response*/) { return nullptr; }
+ };
+ typedef WithCallbackMethod_Check<Service > CallbackService;
+ typedef CallbackService ExperimentalCallbackService;
+ template <class BaseClass>
+ class WithGenericMethod_Check : public BaseClass {
+ private:
+ void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
+ public:
+ WithGenericMethod_Check() {
+ ::grpc::Service::MarkMethodGeneric(0);
+ }
+ ~WithGenericMethod_Check() override {
+ BaseClassMustBeDerivedFromService(this);
+ }
+ // disable synchronous version of this method
+ ::grpc::Status Check(::grpc::ServerContext* /*context*/, const ::grpc::health::v1::HealthCheckRequest* /*request*/, ::grpc::health::v1::HealthCheckResponse* /*response*/) override {
+ abort();
+ return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
+ }
+ };
+ template <class BaseClass>
+ class WithRawMethod_Check : public BaseClass {
+ private:
+ void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
+ public:
+ WithRawMethod_Check() {
+ ::grpc::Service::MarkMethodRaw(0);
+ }
+ ~WithRawMethod_Check() override {
+ BaseClassMustBeDerivedFromService(this);
+ }
+ // disable synchronous version of this method
+ ::grpc::Status Check(::grpc::ServerContext* /*context*/, const ::grpc::health::v1::HealthCheckRequest* /*request*/, ::grpc::health::v1::HealthCheckResponse* /*response*/) override {
+ abort();
+ return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
+ }
+ void RequestCheck(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
+ ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
+ }
+ };
+ template <class BaseClass>
+ class WithRawCallbackMethod_Check : public BaseClass {
+ private:
+ void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
+ public:
+ WithRawCallbackMethod_Check() {
+ ::grpc::Service::MarkMethodRawCallback(0,
+ new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
+ [this](
+ ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->Check(context, request, response); }));
+ }
+ ~WithRawCallbackMethod_Check() override {
+ BaseClassMustBeDerivedFromService(this);
+ }
+ // disable synchronous version of this method
+ ::grpc::Status Check(::grpc::ServerContext* /*context*/, const ::grpc::health::v1::HealthCheckRequest* /*request*/, ::grpc::health::v1::HealthCheckResponse* /*response*/) override {
+ abort();
+ return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
+ }
+ virtual ::grpc::ServerUnaryReactor* Check(
+ ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
+ };
+ template <class BaseClass>
+ class WithStreamedUnaryMethod_Check : public BaseClass {
+ private:
+ void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
+ public:
+ WithStreamedUnaryMethod_Check() {
+ ::grpc::Service::MarkMethodStreamed(0,
+ new ::grpc::internal::StreamedUnaryHandler<
+ ::grpc::health::v1::HealthCheckRequest, ::grpc::health::v1::HealthCheckResponse>(
+ [this](::grpc::ServerContext* context,
+ ::grpc::ServerUnaryStreamer<
+ ::grpc::health::v1::HealthCheckRequest, ::grpc::health::v1::HealthCheckResponse>* streamer) {
+ return this->StreamedCheck(context,
+ streamer);
+ }));
+ }
+ ~WithStreamedUnaryMethod_Check() override {
+ BaseClassMustBeDerivedFromService(this);
+ }
+ // disable regular version of this method
+ ::grpc::Status Check(::grpc::ServerContext* /*context*/, const ::grpc::health::v1::HealthCheckRequest* /*request*/, ::grpc::health::v1::HealthCheckResponse* /*response*/) override {
+ abort();
+ return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
+ }
+ // replace default version of method with streamed unary
+ virtual ::grpc::Status StreamedCheck(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::grpc::health::v1::HealthCheckRequest,::grpc::health::v1::HealthCheckResponse>* server_unary_streamer) = 0;
+ };
+ typedef WithStreamedUnaryMethod_Check<Service > StreamedUnaryService;
+ typedef Service SplitStreamedService;
+ typedef WithStreamedUnaryMethod_Check<Service > StreamedService;
+};
+
+} // namespace v1
+} // namespace health
+} // namespace grpc
+
+
+#endif // GRPC_grpc_2fhealth_2fv1_2fhealth_2eproto__INCLUDED
diff --git a/src/currency/build/generated/proto/grpc/health/v1/health.pb.cc b/src/currency/build/generated/proto/grpc/health/v1/health.pb.cc
new file mode 100644
index 0000000..4eb11be
--- /dev/null
+++ b/src/currency/build/generated/proto/grpc/health/v1/health.pb.cc
@@ -0,0 +1,544 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: grpc/health/v1/health.proto
+
+#include "grpc/health/v1/health.pb.h"
+
+#include <algorithm>
+#include "google/protobuf/io/coded_stream.h"
+#include "google/protobuf/extension_set.h"
+#include "google/protobuf/wire_format_lite.h"
+#include "google/protobuf/descriptor.h"
+#include "google/protobuf/generated_message_reflection.h"
+#include "google/protobuf/reflection_ops.h"
+#include "google/protobuf/wire_format.h"
+#include "google/protobuf/generated_message_tctable_impl.h"
+// @@protoc_insertion_point(includes)
+
+// Must be included last.
+#include "google/protobuf/port_def.inc"
+PROTOBUF_PRAGMA_INIT_SEG
+namespace _pb = ::google::protobuf;
+namespace _pbi = ::google::protobuf::internal;
+namespace _fl = ::google::protobuf::internal::field_layout;
+namespace grpc {
+namespace health {
+namespace v1 {
+ template <typename>
+PROTOBUF_CONSTEXPR HealthCheckRequest::HealthCheckRequest(::_pbi::ConstantInitialized)
+ : _impl_{
+ /*decltype(_impl_.service_)*/ {
+ &::_pbi::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized{},
+ },
+ /*decltype(_impl_._cached_size_)*/ {},
+ } {}
+struct HealthCheckRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR HealthCheckRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~HealthCheckRequestDefaultTypeInternal() {}
+ union {
+ HealthCheckRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HealthCheckRequestDefaultTypeInternal _HealthCheckRequest_default_instance_;
+ template <typename>
+PROTOBUF_CONSTEXPR HealthCheckResponse::HealthCheckResponse(::_pbi::ConstantInitialized)
+ : _impl_{
+ /*decltype(_impl_.status_)*/ 0,
+ /*decltype(_impl_._cached_size_)*/ {},
+ } {}
+struct HealthCheckResponseDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR HealthCheckResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~HealthCheckResponseDefaultTypeInternal() {}
+ union {
+ HealthCheckResponse _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HealthCheckResponseDefaultTypeInternal _HealthCheckResponse_default_instance_;
+} // namespace v1
+} // namespace health
+} // namespace grpc
+static ::_pb::Metadata file_level_metadata_grpc_2fhealth_2fv1_2fhealth_2eproto[2];
+static const ::_pb::EnumDescriptor* file_level_enum_descriptors_grpc_2fhealth_2fv1_2fhealth_2eproto[1];
+static constexpr const ::_pb::ServiceDescriptor**
+ file_level_service_descriptors_grpc_2fhealth_2fv1_2fhealth_2eproto = nullptr;
+const ::uint32_t TableStruct_grpc_2fhealth_2fv1_2fhealth_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(
+ protodesc_cold) = {
+ ~0u, // no _has_bits_
+ PROTOBUF_FIELD_OFFSET(::grpc::health::v1::HealthCheckRequest, _internal_metadata_),
+ ~0u, // no _extensions_
+ ~0u, // no _oneof_case_
+ ~0u, // no _weak_field_map_
+ ~0u, // no _inlined_string_donated_
+ ~0u, // no _split_
+ ~0u, // no sizeof(Split)
+ PROTOBUF_FIELD_OFFSET(::grpc::health::v1::HealthCheckRequest, _impl_.service_),
+ ~0u, // no _has_bits_
+ PROTOBUF_FIELD_OFFSET(::grpc::health::v1::HealthCheckResponse, _internal_metadata_),
+ ~0u, // no _extensions_
+ ~0u, // no _oneof_case_
+ ~0u, // no _weak_field_map_
+ ~0u, // no _inlined_string_donated_
+ ~0u, // no _split_
+ ~0u, // no sizeof(Split)
+ PROTOBUF_FIELD_OFFSET(::grpc::health::v1::HealthCheckResponse, _impl_.status_),
+};
+
+static const ::_pbi::MigrationSchema
+ schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
+ {0, -1, -1, sizeof(::grpc::health::v1::HealthCheckRequest)},
+ {9, -1, -1, sizeof(::grpc::health::v1::HealthCheckResponse)},
+};
+
+static const ::_pb::Message* const file_default_instances[] = {
+ &::grpc::health::v1::_HealthCheckRequest_default_instance_._instance,
+ &::grpc::health::v1::_HealthCheckResponse_default_instance_._instance,
+};
+const char descriptor_table_protodef_grpc_2fhealth_2fv1_2fhealth_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
+ "\n\033grpc/health/v1/health.proto\022\016grpc.heal"
+ "th.v1\"%\n\022HealthCheckRequest\022\017\n\007service\030\001"
+ " \001(\t\"\224\001\n\023HealthCheckResponse\022A\n\006status\030\001"
+ " \001(\01621.grpc.health.v1.HealthCheckRespons"
+ "e.ServingStatus\":\n\rServingStatus\022\013\n\007UNKN"
+ "OWN\020\000\022\013\n\007SERVING\020\001\022\017\n\013NOT_SERVING\020\0022Z\n\006H"
+ "ealth\022P\n\005Check\022\".grpc.health.v1.HealthCh"
+ "eckRequest\032#.grpc.health.v1.HealthCheckR"
+ "esponseBa\n\021io.grpc.health.v1B\013HealthProt"
+ "oP\001Z,google.golang.org/grpc/health/grpc_"
+ "health_v1\252\002\016Grpc.Health.V1b\006proto3"
+};
+static ::absl::once_flag descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto_once;
+const ::_pbi::DescriptorTable descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto = {
+ false,
+ false,
+ 434,
+ descriptor_table_protodef_grpc_2fhealth_2fv1_2fhealth_2eproto,
+ "grpc/health/v1/health.proto",
+ &descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto_once,
+ nullptr,
+ 0,
+ 2,
+ schemas,
+ file_default_instances,
+ TableStruct_grpc_2fhealth_2fv1_2fhealth_2eproto::offsets,
+ file_level_metadata_grpc_2fhealth_2fv1_2fhealth_2eproto,
+ file_level_enum_descriptors_grpc_2fhealth_2fv1_2fhealth_2eproto,
+ file_level_service_descriptors_grpc_2fhealth_2fv1_2fhealth_2eproto,
+};
+
+// This function exists to be marked as weak.
+// It can significantly speed up compilation by breaking up LLVM's SCC
+// in the .pb.cc translation units. Large translation units see a
+// reduction of more than 35% of walltime for optimized builds. Without
+// the weak attribute all the messages in the file, including all the
+// vtables and everything they use become part of the same SCC through
+// a cycle like:
+// GetMetadata -> descriptor table -> default instances ->
+// vtables -> GetMetadata
+// By adding a weak function here we break the connection from the
+// individual vtables back into the descriptor table.
+PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto_getter() {
+ return &descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto;
+}
+// Force running AddDescriptors() at dynamic initialization time.
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
+static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_grpc_2fhealth_2fv1_2fhealth_2eproto(&descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto);
+namespace grpc {
+namespace health {
+namespace v1 {
+const ::google::protobuf::EnumDescriptor* HealthCheckResponse_ServingStatus_descriptor() {
+ ::google::protobuf::internal::AssignDescriptors(&descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto);
+ return file_level_enum_descriptors_grpc_2fhealth_2fv1_2fhealth_2eproto[0];
+}
+bool HealthCheckResponse_ServingStatus_IsValid(int value) {
+ switch (value) {
+ case 0:
+ case 1:
+ case 2:
+ return true;
+ default:
+ return false;
+ }
+}
+#if (__cplusplus < 201703) && \
+ (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
+
+constexpr HealthCheckResponse_ServingStatus HealthCheckResponse::UNKNOWN;
+constexpr HealthCheckResponse_ServingStatus HealthCheckResponse::SERVING;
+constexpr HealthCheckResponse_ServingStatus HealthCheckResponse::NOT_SERVING;
+constexpr HealthCheckResponse_ServingStatus HealthCheckResponse::ServingStatus_MIN;
+constexpr HealthCheckResponse_ServingStatus HealthCheckResponse::ServingStatus_MAX;
+constexpr int HealthCheckResponse::ServingStatus_ARRAYSIZE;
+
+#endif // (__cplusplus < 201703) &&
+ // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
+// ===================================================================
+
+class HealthCheckRequest::_Internal {
+ public:
+};
+
+HealthCheckRequest::HealthCheckRequest(::google::protobuf::Arena* arena)
+ : ::google::protobuf::Message(arena) {
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:grpc.health.v1.HealthCheckRequest)
+}
+HealthCheckRequest::HealthCheckRequest(const HealthCheckRequest& from) : ::google::protobuf::Message() {
+ HealthCheckRequest* const _this = this;
+ (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_.service_){},
+ /*decltype(_impl_._cached_size_)*/ {},
+ };
+ _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
+ from._internal_metadata_);
+ _impl_.service_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.service_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (!from._internal_service().empty()) {
+ _this->_impl_.service_.Set(from._internal_service(), _this->GetArenaForAllocation());
+ }
+
+ // @@protoc_insertion_point(copy_constructor:grpc.health.v1.HealthCheckRequest)
+}
+inline void HealthCheckRequest::SharedCtor(::_pb::Arena* arena) {
+ (void)arena;
+ new (&_impl_) Impl_{
+ decltype(_impl_.service_){},
+ /*decltype(_impl_._cached_size_)*/ {},
+ };
+ _impl_.service_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.service_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+}
+HealthCheckRequest::~HealthCheckRequest() {
+ // @@protoc_insertion_point(destructor:grpc.health.v1.HealthCheckRequest)
+ _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
+ SharedDtor();
+}
+inline void HealthCheckRequest::SharedDtor() {
+ ABSL_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.service_.Destroy();
+}
+void HealthCheckRequest::SetCachedSize(int size) const {
+ _impl_._cached_size_.Set(size);
+}
+
+PROTOBUF_NOINLINE void HealthCheckRequest::Clear() {
+// @@protoc_insertion_point(message_clear_start:grpc.health.v1.HealthCheckRequest)
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ _impl_.service_.ClearToEmpty();
+ _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
+}
+
+const char* HealthCheckRequest::_InternalParse(
+ const char* ptr, ::_pbi::ParseContext* ctx) {
+ ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
+ return ptr;
+}
+
+
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<0, 1, 0, 49, 2> HealthCheckRequest::_table_ = {
+ {
+ 0, // no _has_bits_
+ 0, // no _extensions_
+ 1, 0, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967294, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 1, // num_field_entries
+ 0, // num_aux_entries
+ offsetof(decltype(_table_), field_names), // no aux_entries
+ &_HealthCheckRequest_default_instance_._instance,
+ ::_pbi::TcParser::GenericFallback, // fallback
+ }, {{
+ // string service = 1;
+ {::_pbi::TcParser::FastUS1,
+ {10, 63, 0, PROTOBUF_FIELD_OFFSET(HealthCheckRequest, _impl_.service_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // string service = 1;
+ {PROTOBUF_FIELD_OFFSET(HealthCheckRequest, _impl_.service_), 0, 0,
+ (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
+ }},
+ // no aux_entries
+ {{
+ "\41\7\0\0\0\0\0\0"
+ "grpc.health.v1.HealthCheckRequest"
+ "service"
+ }},
+};
+
+::uint8_t* HealthCheckRequest::_InternalSerialize(
+ ::uint8_t* target,
+ ::google::protobuf::io::EpsCopyOutputStream* stream) const {
+ // @@protoc_insertion_point(serialize_to_array_start:grpc.health.v1.HealthCheckRequest)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ // string service = 1;
+ if (!this->_internal_service().empty()) {
+ const std::string& _s = this->_internal_service();
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
+ _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.health.v1.HealthCheckRequest.service");
+ target = stream->WriteStringMaybeAliased(1, _s, target);
+ }
+
+ if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
+ target =
+ ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
+ _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:grpc.health.v1.HealthCheckRequest)
+ return target;
+}
+
+::size_t HealthCheckRequest::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:grpc.health.v1.HealthCheckRequest)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ // string service = 1;
+ if (!this->_internal_service().empty()) {
+ total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
+ this->_internal_service());
+ }
+
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
+}
+
+const ::google::protobuf::Message::ClassData HealthCheckRequest::_class_data_ = {
+ ::google::protobuf::Message::CopyWithSourceCheck,
+ HealthCheckRequest::MergeImpl
+};
+const ::google::protobuf::Message::ClassData*HealthCheckRequest::GetClassData() const { return &_class_data_; }
+
+
+void HealthCheckRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
+ auto* const _this = static_cast<HealthCheckRequest*>(&to_msg);
+ auto& from = static_cast<const HealthCheckRequest&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:grpc.health.v1.HealthCheckRequest)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ if (!from._internal_service().empty()) {
+ _this->_internal_set_service(from._internal_service());
+ }
+ _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
+}
+
+void HealthCheckRequest::CopyFrom(const HealthCheckRequest& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:grpc.health.v1.HealthCheckRequest)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+PROTOBUF_NOINLINE bool HealthCheckRequest::IsInitialized() const {
+ return true;
+}
+
+void HealthCheckRequest::InternalSwap(HealthCheckRequest* other) {
+ using std::swap;
+ auto* lhs_arena = GetArenaForAllocation();
+ auto* rhs_arena = other->GetArenaForAllocation();
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.service_, lhs_arena,
+ &other->_impl_.service_, rhs_arena);
+}
+
+::google::protobuf::Metadata HealthCheckRequest::GetMetadata() const {
+ return ::_pbi::AssignDescriptors(
+ &descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto_getter, &descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto_once,
+ file_level_metadata_grpc_2fhealth_2fv1_2fhealth_2eproto[0]);
+}
+// ===================================================================
+
+class HealthCheckResponse::_Internal {
+ public:
+};
+
+HealthCheckResponse::HealthCheckResponse(::google::protobuf::Arena* arena)
+ : ::google::protobuf::Message(arena) {
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:grpc.health.v1.HealthCheckResponse)
+}
+HealthCheckResponse::HealthCheckResponse(const HealthCheckResponse& from)
+ : ::google::protobuf::Message(), _impl_(from._impl_) {
+ _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
+ from._internal_metadata_);
+ // @@protoc_insertion_point(copy_constructor:grpc.health.v1.HealthCheckResponse)
+}
+inline void HealthCheckResponse::SharedCtor(::_pb::Arena* arena) {
+ (void)arena;
+ new (&_impl_) Impl_{
+ decltype(_impl_.status_){0},
+ /*decltype(_impl_._cached_size_)*/ {},
+ };
+}
+HealthCheckResponse::~HealthCheckResponse() {
+ // @@protoc_insertion_point(destructor:grpc.health.v1.HealthCheckResponse)
+ _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
+ SharedDtor();
+}
+inline void HealthCheckResponse::SharedDtor() {
+ ABSL_DCHECK(GetArenaForAllocation() == nullptr);
+}
+void HealthCheckResponse::SetCachedSize(int size) const {
+ _impl_._cached_size_.Set(size);
+}
+
+PROTOBUF_NOINLINE void HealthCheckResponse::Clear() {
+// @@protoc_insertion_point(message_clear_start:grpc.health.v1.HealthCheckResponse)
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ _impl_.status_ = 0;
+ _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
+}
+
+const char* HealthCheckResponse::_InternalParse(
+ const char* ptr, ::_pbi::ParseContext* ctx) {
+ ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
+ return ptr;
+}
+
+
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<0, 1, 0, 0, 2> HealthCheckResponse::_table_ = {
+ {
+ 0, // no _has_bits_
+ 0, // no _extensions_
+ 1, 0, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967294, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 1, // num_field_entries
+ 0, // num_aux_entries
+ offsetof(decltype(_table_), field_names), // no aux_entries
+ &_HealthCheckResponse_default_instance_._instance,
+ ::_pbi::TcParser::GenericFallback, // fallback
+ }, {{
+ // .grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
+ {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(HealthCheckResponse, _impl_.status_), 63>(),
+ {8, 63, 0, PROTOBUF_FIELD_OFFSET(HealthCheckResponse, _impl_.status_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // .grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
+ {PROTOBUF_FIELD_OFFSET(HealthCheckResponse, _impl_.status_), 0, 0,
+ (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
+ }},
+ // no aux_entries
+ {{
+ }},
+};
+
+::uint8_t* HealthCheckResponse::_InternalSerialize(
+ ::uint8_t* target,
+ ::google::protobuf::io::EpsCopyOutputStream* stream) const {
+ // @@protoc_insertion_point(serialize_to_array_start:grpc.health.v1.HealthCheckResponse)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ // .grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
+ if (this->_internal_status() != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
+ 1, this->_internal_status(), target);
+ }
+
+ if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
+ target =
+ ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
+ _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:grpc.health.v1.HealthCheckResponse)
+ return target;
+}
+
+::size_t HealthCheckResponse::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:grpc.health.v1.HealthCheckResponse)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ // .grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
+ if (this->_internal_status() != 0) {
+ total_size += 1 +
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_status());
+ }
+
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
+}
+
+const ::google::protobuf::Message::ClassData HealthCheckResponse::_class_data_ = {
+ ::google::protobuf::Message::CopyWithSourceCheck,
+ HealthCheckResponse::MergeImpl
+};
+const ::google::protobuf::Message::ClassData*HealthCheckResponse::GetClassData() const { return &_class_data_; }
+
+
+void HealthCheckResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
+ auto* const _this = static_cast<HealthCheckResponse*>(&to_msg);
+ auto& from = static_cast<const HealthCheckResponse&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:grpc.health.v1.HealthCheckResponse)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ if (from._internal_status() != 0) {
+ _this->_internal_set_status(from._internal_status());
+ }
+ _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
+}
+
+void HealthCheckResponse::CopyFrom(const HealthCheckResponse& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:grpc.health.v1.HealthCheckResponse)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+PROTOBUF_NOINLINE bool HealthCheckResponse::IsInitialized() const {
+ return true;
+}
+
+void HealthCheckResponse::InternalSwap(HealthCheckResponse* other) {
+ using std::swap;
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_.status_, other->_impl_.status_);
+}
+
+::google::protobuf::Metadata HealthCheckResponse::GetMetadata() const {
+ return ::_pbi::AssignDescriptors(
+ &descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto_getter, &descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto_once,
+ file_level_metadata_grpc_2fhealth_2fv1_2fhealth_2eproto[1]);
+}
+// @@protoc_insertion_point(namespace_scope)
+} // namespace v1
+} // namespace health
+} // namespace grpc
+namespace google {
+namespace protobuf {
+} // namespace protobuf
+} // namespace google
+// @@protoc_insertion_point(global_scope)
+#include "google/protobuf/port_undef.inc"
diff --git a/src/currency/build/generated/proto/grpc/health/v1/health.pb.h b/src/currency/build/generated/proto/grpc/health/v1/health.pb.h
new file mode 100644
index 0000000..ebe2598
--- /dev/null
+++ b/src/currency/build/generated/proto/grpc/health/v1/health.pb.h
@@ -0,0 +1,579 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: grpc/health/v1/health.proto
+
+#ifndef GOOGLE_PROTOBUF_INCLUDED_grpc_2fhealth_2fv1_2fhealth_2eproto_2epb_2eh
+#define GOOGLE_PROTOBUF_INCLUDED_grpc_2fhealth_2fv1_2fhealth_2eproto_2epb_2eh
+
+#include <limits>
+#include <string>
+#include <type_traits>
+
+#include "google/protobuf/port_def.inc"
+#if PROTOBUF_VERSION < 4024000
+#error "This file was generated by a newer version of protoc which is"
+#error "incompatible with your Protocol Buffer headers. Please update"
+#error "your headers."
+#endif // PROTOBUF_VERSION
+
+#if 4024004 < PROTOBUF_MIN_PROTOC_VERSION
+#error "This file was generated by an older version of protoc which is"
+#error "incompatible with your Protocol Buffer headers. Please"
+#error "regenerate this file with a newer version of protoc."
+#endif // PROTOBUF_MIN_PROTOC_VERSION
+#include "google/protobuf/port_undef.inc"
+#include "google/protobuf/io/coded_stream.h"
+#include "google/protobuf/arena.h"
+#include "google/protobuf/arenastring.h"
+#include "google/protobuf/generated_message_tctable_decl.h"
+#include "google/protobuf/generated_message_util.h"
+#include "google/protobuf/metadata_lite.h"
+#include "google/protobuf/generated_message_reflection.h"
+#include "google/protobuf/message.h"
+#include "google/protobuf/repeated_field.h" // IWYU pragma: export
+#include "google/protobuf/extension_set.h" // IWYU pragma: export
+#include "google/protobuf/generated_enum_reflection.h"
+#include "google/protobuf/unknown_field_set.h"
+// @@protoc_insertion_point(includes)
+
+// Must be included last.
+#include "google/protobuf/port_def.inc"
+
+#define PROTOBUF_INTERNAL_EXPORT_grpc_2fhealth_2fv1_2fhealth_2eproto
+
+namespace google {
+namespace protobuf {
+namespace internal {
+class AnyMetadata;
+} // namespace internal
+} // namespace protobuf
+} // namespace google
+
+// Internal implementation detail -- do not use these members.
+struct TableStruct_grpc_2fhealth_2fv1_2fhealth_2eproto {
+ static const ::uint32_t offsets[];
+};
+extern const ::google::protobuf::internal::DescriptorTable
+ descriptor_table_grpc_2fhealth_2fv1_2fhealth_2eproto;
+namespace grpc {
+namespace health {
+namespace v1 {
+class HealthCheckRequest;
+struct HealthCheckRequestDefaultTypeInternal;
+extern HealthCheckRequestDefaultTypeInternal _HealthCheckRequest_default_instance_;
+class HealthCheckResponse;
+struct HealthCheckResponseDefaultTypeInternal;
+extern HealthCheckResponseDefaultTypeInternal _HealthCheckResponse_default_instance_;
+} // namespace v1
+} // namespace health
+} // namespace grpc
+namespace google {
+namespace protobuf {
+} // namespace protobuf
+} // namespace google
+
+namespace grpc {
+namespace health {
+namespace v1 {
+enum HealthCheckResponse_ServingStatus : int {
+ HealthCheckResponse_ServingStatus_UNKNOWN = 0,
+ HealthCheckResponse_ServingStatus_SERVING = 1,
+ HealthCheckResponse_ServingStatus_NOT_SERVING = 2,
+ HealthCheckResponse_ServingStatus_HealthCheckResponse_ServingStatus_INT_MIN_SENTINEL_DO_NOT_USE_ =
+ std::numeric_limits<::int32_t>::min(),
+ HealthCheckResponse_ServingStatus_HealthCheckResponse_ServingStatus_INT_MAX_SENTINEL_DO_NOT_USE_ =
+ std::numeric_limits<::int32_t>::max(),
+};
+
+bool HealthCheckResponse_ServingStatus_IsValid(int value);
+constexpr HealthCheckResponse_ServingStatus HealthCheckResponse_ServingStatus_ServingStatus_MIN = static_cast<HealthCheckResponse_ServingStatus>(0);
+constexpr HealthCheckResponse_ServingStatus HealthCheckResponse_ServingStatus_ServingStatus_MAX = static_cast<HealthCheckResponse_ServingStatus>(2);
+constexpr int HealthCheckResponse_ServingStatus_ServingStatus_ARRAYSIZE = 2 + 1;
+const ::google::protobuf::EnumDescriptor*
+HealthCheckResponse_ServingStatus_descriptor();
+template <typename T>
+const std::string& HealthCheckResponse_ServingStatus_Name(T value) {
+ static_assert(std::is_same<T, HealthCheckResponse_ServingStatus>::value ||
+ std::is_integral<T>::value,
+ "Incorrect type passed to ServingStatus_Name().");
+ return HealthCheckResponse_ServingStatus_Name(static_cast<HealthCheckResponse_ServingStatus>(value));
+}
+template <>
+inline const std::string& HealthCheckResponse_ServingStatus_Name(HealthCheckResponse_ServingStatus value) {
+ return ::google::protobuf::internal::NameOfDenseEnum<HealthCheckResponse_ServingStatus_descriptor,
+ 0, 2>(
+ static_cast<int>(value));
+}
+inline bool HealthCheckResponse_ServingStatus_Parse(absl::string_view name, HealthCheckResponse_ServingStatus* value) {
+ return ::google::protobuf::internal::ParseNamedEnum<HealthCheckResponse_ServingStatus>(
+ HealthCheckResponse_ServingStatus_descriptor(), name, value);
+}
+
+// ===================================================================
+
+
+// -------------------------------------------------------------------
+
+class HealthCheckRequest final :
+ public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:grpc.health.v1.HealthCheckRequest) */ {
+ public:
+ inline HealthCheckRequest() : HealthCheckRequest(nullptr) {}
+ ~HealthCheckRequest() override;
+ template<typename = void>
+ explicit PROTOBUF_CONSTEXPR HealthCheckRequest(::google::protobuf::internal::ConstantInitialized);
+
+ HealthCheckRequest(const HealthCheckRequest& from);
+ HealthCheckRequest(HealthCheckRequest&& from) noexcept
+ : HealthCheckRequest() {
+ *this = ::std::move(from);
+ }
+
+ inline HealthCheckRequest& operator=(const HealthCheckRequest& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline HealthCheckRequest& operator=(HealthCheckRequest&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
+ }
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::google::protobuf::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::google::protobuf::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const HealthCheckRequest& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const HealthCheckRequest* internal_default_instance() {
+ return reinterpret_cast<const HealthCheckRequest*>(
+ &_HealthCheckRequest_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 0;
+
+ friend void swap(HealthCheckRequest& a, HealthCheckRequest& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(HealthCheckRequest* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::google::protobuf::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(HealthCheckRequest* other) {
+ if (other == this) return;
+ ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ HealthCheckRequest* New(::google::protobuf::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<HealthCheckRequest>(arena);
+ }
+ using ::google::protobuf::Message::CopyFrom;
+ void CopyFrom(const HealthCheckRequest& from);
+ using ::google::protobuf::Message::MergeFrom;
+ void MergeFrom( const HealthCheckRequest& from) {
+ HealthCheckRequest::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ ::size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
+ ::uint8_t* _InternalSerialize(
+ ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::google::protobuf::Arena* arena);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(HealthCheckRequest* other);
+
+ private:
+ friend class ::google::protobuf::internal::AnyMetadata;
+ static ::absl::string_view FullMessageName() {
+ return "grpc.health.v1.HealthCheckRequest";
+ }
+ protected:
+ explicit HealthCheckRequest(::google::protobuf::Arena* arena);
+ public:
+
+ static const ClassData _class_data_;
+ const ::google::protobuf::Message::ClassData*GetClassData() const final;
+
+ ::google::protobuf::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kServiceFieldNumber = 1,
+ };
+ // string service = 1;
+ void clear_service() ;
+ const std::string& service() const;
+ template <typename Arg_ = const std::string&, typename... Args_>
+ void set_service(Arg_&& arg, Args_... args);
+ std::string* mutable_service();
+ PROTOBUF_NODISCARD std::string* release_service();
+ void set_allocated_service(std::string* ptr);
+
+ private:
+ const std::string& _internal_service() const;
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_service(
+ const std::string& value);
+ std::string* _internal_mutable_service();
+
+ public:
+ // @@protoc_insertion_point(class_scope:grpc.health.v1.HealthCheckRequest)
+ private:
+ class _Internal;
+
+ friend class ::google::protobuf::internal::TcParser;
+ static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 49, 2> _table_;
+ template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ ::google::protobuf::internal::ArenaStringPtr service_;
+ mutable ::google::protobuf::internal::CachedSize _cached_size_;
+ PROTOBUF_TSAN_DECLARE_MEMBER
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_grpc_2fhealth_2fv1_2fhealth_2eproto;
+};// -------------------------------------------------------------------
+
+class HealthCheckResponse final :
+ public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:grpc.health.v1.HealthCheckResponse) */ {
+ public:
+ inline HealthCheckResponse() : HealthCheckResponse(nullptr) {}
+ ~HealthCheckResponse() override;
+ template<typename = void>
+ explicit PROTOBUF_CONSTEXPR HealthCheckResponse(::google::protobuf::internal::ConstantInitialized);
+
+ HealthCheckResponse(const HealthCheckResponse& from);
+ HealthCheckResponse(HealthCheckResponse&& from) noexcept
+ : HealthCheckResponse() {
+ *this = ::std::move(from);
+ }
+
+ inline HealthCheckResponse& operator=(const HealthCheckResponse& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline HealthCheckResponse& operator=(HealthCheckResponse&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
+ }
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::google::protobuf::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::google::protobuf::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const HealthCheckResponse& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const HealthCheckResponse* internal_default_instance() {
+ return reinterpret_cast<const HealthCheckResponse*>(
+ &_HealthCheckResponse_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 1;
+
+ friend void swap(HealthCheckResponse& a, HealthCheckResponse& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(HealthCheckResponse* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::google::protobuf::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(HealthCheckResponse* other) {
+ if (other == this) return;
+ ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ HealthCheckResponse* New(::google::protobuf::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<HealthCheckResponse>(arena);
+ }
+ using ::google::protobuf::Message::CopyFrom;
+ void CopyFrom(const HealthCheckResponse& from);
+ using ::google::protobuf::Message::MergeFrom;
+ void MergeFrom( const HealthCheckResponse& from) {
+ HealthCheckResponse::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ ::size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
+ ::uint8_t* _InternalSerialize(
+ ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::google::protobuf::Arena* arena);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(HealthCheckResponse* other);
+
+ private:
+ friend class ::google::protobuf::internal::AnyMetadata;
+ static ::absl::string_view FullMessageName() {
+ return "grpc.health.v1.HealthCheckResponse";
+ }
+ protected:
+ explicit HealthCheckResponse(::google::protobuf::Arena* arena);
+ public:
+
+ static const ClassData _class_data_;
+ const ::google::protobuf::Message::ClassData*GetClassData() const final;
+
+ ::google::protobuf::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ using ServingStatus = HealthCheckResponse_ServingStatus;
+ static constexpr ServingStatus UNKNOWN = HealthCheckResponse_ServingStatus_UNKNOWN;
+ static constexpr ServingStatus SERVING = HealthCheckResponse_ServingStatus_SERVING;
+ static constexpr ServingStatus NOT_SERVING = HealthCheckResponse_ServingStatus_NOT_SERVING;
+ static inline bool ServingStatus_IsValid(int value) {
+ return HealthCheckResponse_ServingStatus_IsValid(value);
+ }
+ static constexpr ServingStatus ServingStatus_MIN = HealthCheckResponse_ServingStatus_ServingStatus_MIN;
+ static constexpr ServingStatus ServingStatus_MAX = HealthCheckResponse_ServingStatus_ServingStatus_MAX;
+ static constexpr int ServingStatus_ARRAYSIZE = HealthCheckResponse_ServingStatus_ServingStatus_ARRAYSIZE;
+ static inline const ::google::protobuf::EnumDescriptor* ServingStatus_descriptor() {
+ return HealthCheckResponse_ServingStatus_descriptor();
+ }
+ template <typename T>
+ static inline const std::string& ServingStatus_Name(T value) {
+ return HealthCheckResponse_ServingStatus_Name(value);
+ }
+ static inline bool ServingStatus_Parse(absl::string_view name, ServingStatus* value) {
+ return HealthCheckResponse_ServingStatus_Parse(name, value);
+ }
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kStatusFieldNumber = 1,
+ };
+ // .grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
+ void clear_status() ;
+ ::grpc::health::v1::HealthCheckResponse_ServingStatus status() const;
+ void set_status(::grpc::health::v1::HealthCheckResponse_ServingStatus value);
+
+ private:
+ ::grpc::health::v1::HealthCheckResponse_ServingStatus _internal_status() const;
+ void _internal_set_status(::grpc::health::v1::HealthCheckResponse_ServingStatus value);
+
+ public:
+ // @@protoc_insertion_point(class_scope:grpc.health.v1.HealthCheckResponse)
+ private:
+ class _Internal;
+
+ friend class ::google::protobuf::internal::TcParser;
+ static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_;
+ template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ int status_;
+ mutable ::google::protobuf::internal::CachedSize _cached_size_;
+ PROTOBUF_TSAN_DECLARE_MEMBER
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_grpc_2fhealth_2fv1_2fhealth_2eproto;
+};
+
+// ===================================================================
+
+
+
+
+// ===================================================================
+
+
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wstrict-aliasing"
+#endif // __GNUC__
+// -------------------------------------------------------------------
+
+// HealthCheckRequest
+
+// string service = 1;
+inline void HealthCheckRequest::clear_service() {
+ _impl_.service_.ClearToEmpty();
+}
+inline const std::string& HealthCheckRequest::service() const {
+ // @@protoc_insertion_point(field_get:grpc.health.v1.HealthCheckRequest.service)
+ return _internal_service();
+}
+template <typename Arg_, typename... Args_>
+inline PROTOBUF_ALWAYS_INLINE void HealthCheckRequest::set_service(Arg_&& arg,
+ Args_... args) {
+ PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
+ ;
+ _impl_.service_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
+ // @@protoc_insertion_point(field_set:grpc.health.v1.HealthCheckRequest.service)
+}
+inline std::string* HealthCheckRequest::mutable_service() {
+ std::string* _s = _internal_mutable_service();
+ // @@protoc_insertion_point(field_mutable:grpc.health.v1.HealthCheckRequest.service)
+ return _s;
+}
+inline const std::string& HealthCheckRequest::_internal_service() const {
+ PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
+ return _impl_.service_.Get();
+}
+inline void HealthCheckRequest::_internal_set_service(const std::string& value) {
+ PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
+ ;
+ _impl_.service_.Set(value, GetArenaForAllocation());
+}
+inline std::string* HealthCheckRequest::_internal_mutable_service() {
+ PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
+ ;
+ return _impl_.service_.Mutable( GetArenaForAllocation());
+}
+inline std::string* HealthCheckRequest::release_service() {
+ PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
+ // @@protoc_insertion_point(field_release:grpc.health.v1.HealthCheckRequest.service)
+ return _impl_.service_.Release();
+}
+inline void HealthCheckRequest::set_allocated_service(std::string* value) {
+ PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
+ _impl_.service_.SetAllocated(value, GetArenaForAllocation());
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.service_.IsDefault()) {
+ _impl_.service_.Set("", GetArenaForAllocation());
+ }
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ // @@protoc_insertion_point(field_set_allocated:grpc.health.v1.HealthCheckRequest.service)
+}
+
+// -------------------------------------------------------------------
+
+// HealthCheckResponse
+
+// .grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
+inline void HealthCheckResponse::clear_status() {
+ _impl_.status_ = 0;
+}
+inline ::grpc::health::v1::HealthCheckResponse_ServingStatus HealthCheckResponse::status() const {
+ // @@protoc_insertion_point(field_get:grpc.health.v1.HealthCheckResponse.status)
+ return _internal_status();
+}
+inline void HealthCheckResponse::set_status(::grpc::health::v1::HealthCheckResponse_ServingStatus value) {
+ _internal_set_status(value);
+ // @@protoc_insertion_point(field_set:grpc.health.v1.HealthCheckResponse.status)
+}
+inline ::grpc::health::v1::HealthCheckResponse_ServingStatus HealthCheckResponse::_internal_status() const {
+ PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
+ return static_cast<::grpc::health::v1::HealthCheckResponse_ServingStatus>(_impl_.status_);
+}
+inline void HealthCheckResponse::_internal_set_status(::grpc::health::v1::HealthCheckResponse_ServingStatus value) {
+ PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
+ ;
+ _impl_.status_ = value;
+}
+
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif // __GNUC__
+
+// @@protoc_insertion_point(namespace_scope)
+} // namespace v1
+} // namespace health
+} // namespace grpc
+
+
+namespace google {
+namespace protobuf {
+
+template <>
+struct is_proto_enum<::grpc::health::v1::HealthCheckResponse_ServingStatus> : std::true_type {};
+template <>
+inline const EnumDescriptor* GetEnumDescriptor<::grpc::health::v1::HealthCheckResponse_ServingStatus>() {
+ return ::grpc::health::v1::HealthCheckResponse_ServingStatus_descriptor();
+}
+
+} // namespace protobuf
+} // namespace google
+
+// @@protoc_insertion_point(global_scope)
+
+#include "google/protobuf/port_undef.inc"
+
+#endif // GOOGLE_PROTOBUF_INCLUDED_grpc_2fhealth_2fv1_2fhealth_2eproto_2epb_2eh
diff --git a/src/currency/build/generated/proto/grpc/health/v1/health_mock.grpc.pb.h b/src/currency/build/generated/proto/grpc/health/v1/health_mock.grpc.pb.h
new file mode 100644
index 0000000..69e827a
--- /dev/null
+++ b/src/currency/build/generated/proto/grpc/health/v1/health_mock.grpc.pb.h
@@ -0,0 +1,30 @@
+// Generated by the gRPC C++ plugin.
+// If you make any local change, they will be lost.
+// source: grpc/health/v1/health.proto
+
+#ifndef GRPC_MOCK_grpc_2fhealth_2fv1_2fhealth_2eproto__INCLUDED
+#define GRPC_MOCK_grpc_2fhealth_2fv1_2fhealth_2eproto__INCLUDED
+
+#include "grpc/health/v1/health.pb.h"
+#include "grpc/health/v1/health.grpc.pb.h"
+
+#include <grpcpp/support/async_stream.h>
+#include <grpcpp/support/sync_stream.h>
+#include <gmock/gmock.h>
+namespace grpc {
+namespace health {
+namespace v1 {
+
+class MockHealthStub : public Health::StubInterface {
+ public:
+ MOCK_METHOD3(Check, ::grpc::Status(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::health::v1::HealthCheckResponse* response));
+ MOCK_METHOD3(AsyncCheckRaw, ::grpc::ClientAsyncResponseReaderInterface< ::grpc::health::v1::HealthCheckResponse>*(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq));
+ MOCK_METHOD3(PrepareAsyncCheckRaw, ::grpc::ClientAsyncResponseReaderInterface< ::grpc::health::v1::HealthCheckResponse>*(::grpc::ClientContext* context, const ::grpc::health::v1::HealthCheckRequest& request, ::grpc::CompletionQueue* cq));
+};
+
+} // namespace v1
+} // namespace health
+} // namespace grpc
+
+
+#endif // GRPC_MOCK_grpc_2fhealth_2fv1_2fhealth_2eproto__INCLUDED