diff --git a/.gitmodules b/.gitmodules index b52960bb010d7200a201b0d35e5f8b4c1c5a616b..13d1556a1cc151e854e4a42eceee7ce57486b213 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ -[submodule "cpp/src/vereign/proto/code.vereign.com/code/viam-apis"] - path = cpp/src/vereign/proto/code.vereign.com/code/viam-apis - url = git@code.vereign.com:code/viam-apis.git -[submodule "cpp/src/vereign/proto/googleapis"] - path = cpp/src/vereign/proto/googleapis - url = git@github.com:googleapis/googleapis.git +[submodule "cpp/proto"] + path = cpp/proto + url = git@code.vereign.com:code/vcl-proto.git diff --git a/cpp/proto b/cpp/proto new file mode 160000 index 0000000000000000000000000000000000000000..910d2c372559e31a0f0df6a6e7048e4256d02028 --- /dev/null +++ b/cpp/proto @@ -0,0 +1 @@ +Subproject commit 910d2c372559e31a0f0df6a6e7048e4256d02028 diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt index a458b7367be7ad93bdd246349faff18563688213..4f3b7b095f4b4c6e24219e3013c2a157875c2146 100644 --- a/cpp/src/CMakeLists.txt +++ b/cpp/src/CMakeLists.txt @@ -8,48 +8,18 @@ include_directories( ${VENDOR_INSTALL_DIR}/include ${VENDOR_INSTALL_DIR}/boost/include ${FMT_INCLUDE_DIR} - ${CMAKE_SOURCE_DIR}/src/vereign/v1pb - ${CMAKE_SOURCE_DIR}/src/vereign/v1pb/googleapis + ${CMAKE_SOURCE_DIR}/proto/cpp ) -add_library(vereignproto STATIC) +file(GLOB PROTO_SRC ${CMAKE_SOURCE_DIR}/proto/cpp/vereign/client_library/*.cc) +list(APPEND PROTO_SRC + ${CMAKE_SOURCE_DIR}/proto/cpp/google/api/annotations.pb.cc + ${CMAKE_SOURCE_DIR}/proto/cpp/google/api/http.pb.cc -set(PROTO_DEFINITIONS - "vereign/proto/common_types.proto" - "vereign/proto/identity_types.proto" - "vereign/proto/passport_types.gen.proto" - "vereign/proto/dependencies.proto" - - "vereign/proto/code.vereign.com/code/viam-apis/versions/api/api.proto" - "vereign/proto/code.vereign.com/code/viam-apis/entities-management-agent/api/api.proto" -) -target_proto_generate( - TARGET vereignproto - SRC_DIR "${CMAKE_SOURCE_DIR}/src/vereign/proto" - GEN_DIR "${CMAKE_SOURCE_DIR}/src/vereign/v1pb" - DEFINITIONS ${PROTO_DEFINITIONS} -) - -set(GRPC_DEFINITIONS - "vereign/proto/passport_api.gen.proto" -) -target_grpc_generate( - TARGET vereignproto - SRC_DIR "${CMAKE_SOURCE_DIR}/src/vereign/proto" - GEN_DIR "${CMAKE_SOURCE_DIR}/src/vereign/v1pb" - DEFINITIONS ${GRPC_DEFINITIONS} -) - -set(GOOGLE_PROTO_DEFINITIONS - "vereign/proto/googleapis/google/api/http.proto" - "vereign/proto/googleapis/google/api/annotations.proto" -) -target_proto_generate( - TARGET vereignproto - SRC_DIR "${CMAKE_SOURCE_DIR}/src/vereign/proto/googleapis" - GEN_DIR "${CMAKE_SOURCE_DIR}/src/vereign/v1pb" - DEFINITIONS ${GOOGLE_PROTO_DEFINITIONS} + ${CMAKE_SOURCE_DIR}/proto/cpp/code.vereign.com/code/viam-apis/entities-management-agent/api/api.pb.cc + ${CMAKE_SOURCE_DIR}/proto/cpp/code.vereign.com/code/viam-apis/versions/api/api.pb.cc ) +add_library(vereignproto STATIC ${PROTO_SRC}) target_link_libraries( vereignproto diff --git a/cpp/src/vereign/grpc/gen/passport_api.hh b/cpp/src/vereign/grpc/gen/passport_api.hh index dd18595b3435ddf2e38563bbe2619583aba72eed..6375e25a71be2adc9f211dbad8d4f6a1126c7c47 100644 --- a/cpp/src/vereign/grpc/gen/passport_api.hh +++ b/cpp/src/vereign/grpc/gen/passport_api.hh @@ -1,14 +1,14 @@ #ifndef __VEREIGN_GRPC_GEN_PASSPORT_API_HH #define __VEREIGN_GRPC_GEN_PASSPORT_API_HH -#include <vereign/v1pb/passport_api.gen.grpc.pb.h> +#include <vereign/client_library/passport_api.gen.grpc.pb.h> namespace vereign { namespace grpc { namespace gen { template <class VereignService> -class PassportAPI : public v1pb::PassportAPI::Service { +class PassportAPI : public client_library::PassportAPI::Service { public: using VereignServicePtr = std::unique_ptr<VereignService>; @@ -21,8 +21,8 @@ public: ::grpc::Status ListPassports( ::grpc::ServerContext*, - const v1pb::ListPassportsForm* request, - v1pb::ListPassportsFormResponse* response + const client_library::ListPassportsForm* request, + client_library::ListPassportsFormResponse* response ) override { auto result_future = service_->ListPassports(request, response); diff --git a/cpp/src/vereign/grpc/passport_api.hh b/cpp/src/vereign/grpc/passport_api.hh index f4e363333cd16c55380fd841f8c53e490219e9bc..09023d481911070168659d49794460aaf6df305e 100644 --- a/cpp/src/vereign/grpc/passport_api.hh +++ b/cpp/src/vereign/grpc/passport_api.hh @@ -20,8 +20,8 @@ public: ::grpc::Status ListPassportsManually( ::grpc::ServerContext*, - const v1pb::ListPassportsForm* request, - v1pb::ListPassportsFormResponse* response + const client_library::ListPassportsForm* request, + client_library::ListPassportsFormResponse* response ) override { auto result_future = this->service_->ListPassports(request, response); diff --git a/cpp/src/vereign/proto/code.vereign.com/code/viam-apis b/cpp/src/vereign/proto/code.vereign.com/code/viam-apis deleted file mode 160000 index 6774391a64848e7dffbaae46b4a6be19f4f1bcca..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/proto/code.vereign.com/code/viam-apis +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6774391a64848e7dffbaae46b4a6be19f4f1bcca diff --git a/cpp/src/vereign/proto/common_types.proto b/cpp/src/vereign/proto/common_types.proto deleted file mode 100644 index b1a89a603fd12991c4403ab7d1a3b308e9d30331..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/proto/common_types.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; - -package vereign.v1pb; - -message ErrorStringResponse { - string status = 1; - string code = 2; - string data = 3; -} - -message ErrorEmptyResponse { - string status = 1; - string code = 2; -} - -message EmptyRequest { -} diff --git a/cpp/src/vereign/proto/dependencies.proto b/cpp/src/vereign/proto/dependencies.proto deleted file mode 100644 index 27b044dd93632708cd172275e9a2b7305f2abd05..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/proto/dependencies.proto +++ /dev/null @@ -1,9 +0,0 @@ -syntax = "proto3"; - -package vereign.v1pb.entities_management_agent.api; - -import public "code.vereign.com/code/viam-apis/entities-management-agent/api/api.proto"; - -message Help { - -} diff --git a/cpp/src/vereign/proto/googleapis b/cpp/src/vereign/proto/googleapis deleted file mode 160000 index 57253ab4c0a78d2351cff0aa638ff81b89b19afc..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/proto/googleapis +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 57253ab4c0a78d2351cff0aa638ff81b89b19afc diff --git a/cpp/src/vereign/proto/identity_types.proto b/cpp/src/vereign/proto/identity_types.proto deleted file mode 100644 index 11145f0aa715fac96ebd450099c1066bd187e27f..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/proto/identity_types.proto +++ /dev/null @@ -1,23 +0,0 @@ -syntax = "proto3"; - -package vereign.v1pb; - -import "dependencies.proto"; - -message LoginForm { - string mode = 1; - string code = 2; - string actionID = 3; -} - -message LoginFormPreviousAddedDeviceResponsePayload { - string Uuid = 1; - string Session = 2; -} - -message LoginFormPreviousAddedDeviceResponse { - string status = 1; - string code = 2; - string error = 3; - LoginFormPreviousAddedDeviceResponsePayload data = 4; -} diff --git a/cpp/src/vereign/proto/passport_api.gen.proto b/cpp/src/vereign/proto/passport_api.gen.proto deleted file mode 100644 index b9e337a2eeba3185c17479aa604497ed4d7e0a34..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/proto/passport_api.gen.proto +++ /dev/null @@ -1,11 +0,0 @@ -syntax = "proto3"; - -package vereign.v1pb; - -import "passport_types.gen.proto"; - -service PassportAPI { - rpc ListPassportsManually(ListPassportsForm) returns (ListPassportsFormResponse); - - rpc ListPassports(ListPassportsForm) returns (ListPassportsFormResponse); -} diff --git a/cpp/src/vereign/proto/passport_api.gen.proto.tmpl b/cpp/src/vereign/proto/passport_api.gen.proto.tmpl deleted file mode 100644 index b17f90060ac2c5bac811d158d25599f40b181845..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/proto/passport_api.gen.proto.tmpl +++ /dev/null @@ -1,11 +0,0 @@ -syntax = "proto3"; - -package vereign.v1pb; - -import "passport_types.gen.proto"; - -service PassportAPI { - rpc ListPassportsManualy(ListPassportsForm) returns (ListPassportsFormResponse); - - {{ here the generated rpc will be placed }} -} diff --git a/cpp/src/vereign/proto/passport_types.gen.proto b/cpp/src/vereign/proto/passport_types.gen.proto deleted file mode 100644 index a828c63540a4226b59e72fde6cfce21d9cb99415..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/proto/passport_types.gen.proto +++ /dev/null @@ -1,16 +0,0 @@ -syntax = "proto3"; - -package vereign.v1pb; - -import "dependencies.proto"; - -message ListPassportsForm { - bool doNotAttachAvatars = 1; -} - -message ListPassportsFormResponse { - string status = 1; - string code = 2; - string error = 3; - repeated api.EntityMessage_V2 data = 4; -} diff --git a/cpp/src/vereign/restapi/client_session.hh b/cpp/src/vereign/restapi/client_session.hh index 99438cffa2b4f5582dc81f6344cac9edab18d88b..67226ff830ef8cd4015365e9893a2c519ec4d07e 100644 --- a/cpp/src/vereign/restapi/client_session.hh +++ b/cpp/src/vereign/restapi/client_session.hh @@ -4,7 +4,7 @@ #include <vereign/restapi/client.hh> #include <vereign/restapi/http_header.hh> -#include <vereign/v1pb/identity_types.pb.h> +#include <vereign/client_library/identity_types.pb.h> #include <boost/none.hpp> #include <vector> @@ -30,7 +30,7 @@ struct AuthErrorType { using AuthError = boost::optional<AuthErrorType>; inline AuthError MakeAuthError( - const v1pb::LoginFormPreviousAddedDeviceResponse& resp + const client_library::LoginFormPreviousAddedDeviceResponse& resp ) { if (resp.code() == "200") { return boost::none; @@ -306,13 +306,13 @@ private: } using ResultType = PostResult< - std::unique_ptr<v1pb::EmptyRequest>, - std::unique_ptr<v1pb::LoginFormPreviousAddedDeviceResponse>>; + std::unique_ptr<client_library::EmptyRequest>, + std::unique_ptr<client_library::LoginFormPreviousAddedDeviceResponse>>; client_.PostAsync( base_path_ + "/identity/loginWithPreviouslyAddedDevice", - std::make_unique<v1pb::EmptyRequest>(), - std::make_unique<v1pb::LoginFormPreviousAddedDeviceResponse>(), + std::make_unique<client_library::EmptyRequest>(), + std::make_unique<client_library::LoginFormPreviousAddedDeviceResponse>(), std::vector<vereign::restapi::HttpHeader>{ {"publicKey", pub_key_} }, diff --git a/cpp/src/vereign/restapi/detail/post_task.hh b/cpp/src/vereign/restapi/detail/post_task.hh index 1b4cb9330cf79c376ce3ccc3b9490b1523076dcc..302ea11046e98f5b65b4f4a4b0034e9942ba50a4 100644 --- a/cpp/src/vereign/restapi/detail/post_task.hh +++ b/cpp/src/vereign/restapi/detail/post_task.hh @@ -10,7 +10,7 @@ #include <boost/beast/http.hpp> #include <google/protobuf/util/json_util.h> #include <fmt/core.h> -#include <vereign/v1pb/common_types.pb.h> +#include <vereign/client_library/common_types.pb.h> namespace vereign { namespace restapi { @@ -139,7 +139,7 @@ private: void decodeErrorResponse(const HttpResponse& httpResp) { google::protobuf::util::JsonParseOptions options; - v1pb::ErrorStringResponse stringResp; + client_library::ErrorStringResponse stringResp; auto status = google::protobuf::util::JsonStringToMessage( httpResp.body(), &stringResp, @@ -153,7 +153,7 @@ private: } options.ignore_unknown_fields = true; - v1pb::ErrorEmptyResponse emptyResp; + client_library::ErrorEmptyResponse emptyResp; status = google::protobuf::util::JsonStringToMessage( httpResp.body(), &emptyResp, diff --git a/cpp/src/vereign/service/gen/passport_service.cc b/cpp/src/vereign/service/gen/passport_service.cc index dca51490d9dfb917b98c42480d1a6801128408d3..5c47d20095b18bd9dfddd76d0f15e6d451759e2f 100644 --- a/cpp/src/vereign/service/gen/passport_service.cc +++ b/cpp/src/vereign/service/gen/passport_service.cc @@ -17,8 +17,8 @@ PassportService::PassportService(restapi::ClientSession& client_session) std::future<PassportService::ListPassportsResult> PassportService::ListPassports( - const v1pb::ListPassportsForm* req, - v1pb::ListPassportsFormResponse* resp + const client_library::ListPassportsForm* req, + client_library::ListPassportsFormResponse* resp ) { return client_session_.Post( ServicePath + listPassportsPath, diff --git a/cpp/src/vereign/service/gen/passport_service.hh b/cpp/src/vereign/service/gen/passport_service.hh index a74aceb06bff207fe22c07969ecc237cf4b682c4..e6bfad2b92a55937bb563cf79ca02932b88f35bf 100644 --- a/cpp/src/vereign/service/gen/passport_service.hh +++ b/cpp/src/vereign/service/gen/passport_service.hh @@ -3,7 +3,7 @@ #include <vereign/restapi/client_session.hh> #include <vereign/restapi/post_result.hh> -#include <vereign/v1pb/passport_types.gen.pb.h> +#include <vereign/client_library/passport_types.gen.pb.h> #include <future> @@ -29,12 +29,12 @@ public: PassportService& operator=(const PassportService&) = delete; using ListPassportsResult = Result< - const v1pb::ListPassportsForm*, - v1pb::ListPassportsFormResponse*>; + const client_library::ListPassportsForm*, + client_library::ListPassportsFormResponse*>; std::future<ListPassportsResult> ListPassports( - const v1pb::ListPassportsForm* req, - v1pb::ListPassportsFormResponse* resp + const client_library::ListPassportsForm* req, + client_library::ListPassportsFormResponse* resp ); private: diff --git a/cpp/src/vereign/service/passport_service.cc b/cpp/src/vereign/service/passport_service.cc index 47ed56dc94d1357cae079ccf38f152d7afbfde9f..e6cf88372cecd5c47c002b893fa035dfb5a8da8f 100644 --- a/cpp/src/vereign/service/passport_service.cc +++ b/cpp/src/vereign/service/passport_service.cc @@ -17,8 +17,8 @@ PassportService::PassportService(restapi::ClientSession& client_session) std::future<PassportService::ListPassportsResult> PassportService::ListPassportsManually( - const v1pb::ListPassportsForm* req, - v1pb::ListPassportsFormResponse* resp + const client_library::ListPassportsForm* req, + client_library::ListPassportsFormResponse* resp ) { return client_session_.Post( gen::PassportService::ServicePath + listPassportsPath, diff --git a/cpp/src/vereign/service/passport_service.hh b/cpp/src/vereign/service/passport_service.hh index a909a5129a2ec198cadcce9fb5629ffb778e8b64..1df27e0627fa8b70c15252e414fd5c1f0c77b2c9 100644 --- a/cpp/src/vereign/service/passport_service.hh +++ b/cpp/src/vereign/service/passport_service.hh @@ -3,7 +3,7 @@ #include <vereign/restapi/client_session.hh> #include <vereign/restapi/post_result.hh> -#include <vereign/v1pb/passport_types.gen.pb.h> +#include <vereign/client_library/passport_types.gen.pb.h> #include <vereign/service/gen/passport_service.hh> #include <future> @@ -27,12 +27,12 @@ public: PassportService& operator=(const PassportService&) = delete; using ListPassportsResult = Result< - const v1pb::ListPassportsForm*, - v1pb::ListPassportsFormResponse*>; + const client_library::ListPassportsForm*, + client_library::ListPassportsFormResponse*>; std::future<ListPassportsResult> ListPassportsManually( - const v1pb::ListPassportsForm* req, - v1pb::ListPassportsFormResponse* resp + const client_library::ListPassportsForm* req, + client_library::ListPassportsFormResponse* resp ); private: diff --git a/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/entities-management-agent/api/api.pb.cc b/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/entities-management-agent/api/api.pb.cc deleted file mode 100644 index c6465bbcb3ab2b8afc7ff80b465655012686e889..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/entities-management-agent/api/api.pb.cc +++ /dev/null @@ -1,9960 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: code.vereign.com/code/viam-apis/entities-management-agent/api/api.proto - -#include "code.vereign.com/code/viam-apis/entities-management-agent/api/api.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ClaimInvitationList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ClaimInvitationMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ClaimTagsMap_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ClaimTagsMap_V1_TagsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Claim_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Claim_V1_ValueEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityMessage_V1_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V1_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V1_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<14> scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityMessage_V2_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_GuardedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_GuardiansEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_MemberOfEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_MembersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_OrdersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_SystemChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_SystemParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ViewedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ViewersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Order_V1_DataEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Order_V1_OperationUUIDSEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -namespace api { -class Claim_V1_ValueEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Claim_V1_ValueEntry_DoNotUse> _instance; -} _Claim_V1_ValueEntry_DoNotUse_default_instance_; -class Claim_V1DefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Claim_V1> _instance; -} _Claim_V1_default_instance_; -class ClaimTagsMap_V1_TagsEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ClaimTagsMap_V1_TagsEntry_DoNotUse> _instance; -} _ClaimTagsMap_V1_TagsEntry_DoNotUse_default_instance_; -class ClaimTagsMap_V1DefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ClaimTagsMap_V1> _instance; -} _ClaimTagsMap_V1_default_instance_; -class Order_V1_OperationUUIDSEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Order_V1_OperationUUIDSEntry_DoNotUse> _instance; -} _Order_V1_OperationUUIDSEntry_DoNotUse_default_instance_; -class Order_V1_DataEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Order_V1_DataEntry_DoNotUse> _instance; -} _Order_V1_DataEntry_DoNotUse_default_instance_; -class Order_V1DefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Order_V1> _instance; -} _Order_V1_default_instance_; -class EntityMessage_V1_ClaimsEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V1_ClaimsEntry_DoNotUse> _instance; -} _EntityMessage_V1_ClaimsEntry_DoNotUse_default_instance_; -class EntityMessage_V1_PassportsCountersEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V1_PassportsCountersEntry_DoNotUse> _instance; -} _EntityMessage_V1_PassportsCountersEntry_DoNotUse_default_instance_; -class EntityMessage_V1_ContactStatusesEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V1_ContactStatusesEntry_DoNotUse> _instance; -} _EntityMessage_V1_ContactStatusesEntry_DoNotUse_default_instance_; -class EntityMessage_V1DefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V1> _instance; -} _EntityMessage_V1_default_instance_; -class EntityMessage_V2_ClaimsEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_ClaimsEntry_DoNotUse> _instance; -} _EntityMessage_V2_ClaimsEntry_DoNotUse_default_instance_; -class EntityMessage_V2_GuardedEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_GuardedEntry_DoNotUse> _instance; -} _EntityMessage_V2_GuardedEntry_DoNotUse_default_instance_; -class EntityMessage_V2_GuardiansEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_GuardiansEntry_DoNotUse> _instance; -} _EntityMessage_V2_GuardiansEntry_DoNotUse_default_instance_; -class EntityMessage_V2_MembersEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_MembersEntry_DoNotUse> _instance; -} _EntityMessage_V2_MembersEntry_DoNotUse_default_instance_; -class EntityMessage_V2_MemberOfEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_MemberOfEntry_DoNotUse> _instance; -} _EntityMessage_V2_MemberOfEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ParentsEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_ParentsEntry_DoNotUse> _instance; -} _EntityMessage_V2_ParentsEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ChildrenEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_ChildrenEntry_DoNotUse> _instance; -} _EntityMessage_V2_ChildrenEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ViewedEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_ViewedEntry_DoNotUse> _instance; -} _EntityMessage_V2_ViewedEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ViewersEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_ViewersEntry_DoNotUse> _instance; -} _EntityMessage_V2_ViewersEntry_DoNotUse_default_instance_; -class EntityMessage_V2_PassportsCountersEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_PassportsCountersEntry_DoNotUse> _instance; -} _EntityMessage_V2_PassportsCountersEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ContactStatusesEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_ContactStatusesEntry_DoNotUse> _instance; -} _EntityMessage_V2_ContactStatusesEntry_DoNotUse_default_instance_; -class EntityMessage_V2_OrdersEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_OrdersEntry_DoNotUse> _instance; -} _EntityMessage_V2_OrdersEntry_DoNotUse_default_instance_; -class EntityMessage_V2_SystemParentsEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_SystemParentsEntry_DoNotUse> _instance; -} _EntityMessage_V2_SystemParentsEntry_DoNotUse_default_instance_; -class EntityMessage_V2_SystemChildrenEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2_SystemChildrenEntry_DoNotUse> _instance; -} _EntityMessage_V2_SystemChildrenEntry_DoNotUse_default_instance_; -class EntityMessage_V2DefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessage_V2> _instance; -} _EntityMessage_V2_default_instance_; -class EntityMessageResponseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityMessageResponse> _instance; -} _EntityMessageResponse_default_instance_; -class EntityListDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityList> _instance; -} _EntityList_default_instance_; -class EntityHistoryMessage_HistoryByUUIDEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse> _instance; -} _EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_default_instance_; -class EntityHistoryMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityHistoryMessage> _instance; -} _EntityHistoryMessage_default_instance_; -class EntitySearchMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntitySearchMessage> _instance; -} _EntitySearchMessage_default_instance_; -class ClaimInvitationMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ClaimInvitationMessage> _instance; -} _ClaimInvitationMessage_default_instance_; -class ClaimInvitationMessageResponseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ClaimInvitationMessageResponse> _instance; -} _ClaimInvitationMessageResponse_default_instance_; -class ClaimInvitationSearchMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ClaimInvitationSearchMessage> _instance; -} _ClaimInvitationSearchMessage_default_instance_; -class ClaimInvitationListDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ClaimInvitationList> _instance; -} _ClaimInvitationList_default_instance_; -class ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse> _instance; -} _ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_default_instance_; -class ClaimInvitationHistoryMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ClaimInvitationHistoryMessage> _instance; -} _ClaimInvitationHistoryMessage_default_instance_; -class GetVersionEMAMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GetVersionEMAMessage> _instance; -} _GetVersionEMAMessage_default_instance_; -class GetVersionEMAResponseMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GetVersionEMAResponseMessage> _instance; -} _GetVersionEMAResponseMessage_default_instance_; -class GetEntitiesTailsMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GetEntitiesTailsMessage> _instance; -} _GetEntitiesTailsMessage_default_instance_; -class GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse> _instance; -} _GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_default_instance_; -class GetEntitiesTailsResponseMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GetEntitiesTailsResponseMessage> _instance; -} _GetEntitiesTailsResponseMessage_default_instance_; -class GetEntitiesCountersMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GetEntitiesCountersMessage> _instance; -} _GetEntitiesCountersMessage_default_instance_; -class GetEntitiesCountersResponseMessage_CountersEntry_DoNotUseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse> _instance; -} _GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_default_instance_; -class GetEntitiesCountersResponseMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GetEntitiesCountersResponseMessage> _instance; -} _GetEntitiesCountersResponseMessage_default_instance_; -class EntityReplaceMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EntityReplaceMessage> _instance; -} _EntityReplaceMessage_default_instance_; -} // namespace api -static void InitDefaultsscc_info_ClaimInvitationHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_ClaimInvitationHistoryMessage_default_instance_; - new (ptr) ::api::ClaimInvitationHistoryMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::ClaimInvitationHistoryMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ClaimInvitationHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ClaimInvitationHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_default_instance_; - new (ptr) ::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse(); - } - ::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_ClaimInvitationList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_ClaimInvitationList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_ClaimInvitationList_default_instance_; - new (ptr) ::api::ClaimInvitationList(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::ClaimInvitationList::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ClaimInvitationList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ClaimInvitationList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_ClaimInvitationMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_ClaimInvitationMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_ClaimInvitationMessage_default_instance_; - new (ptr) ::api::ClaimInvitationMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::ClaimInvitationMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ClaimInvitationMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ClaimInvitationMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_ClaimInvitationMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_ClaimInvitationMessageResponse_default_instance_; - new (ptr) ::api::ClaimInvitationMessageResponse(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::ClaimInvitationMessageResponse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ClaimInvitationMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ClaimInvitationMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_ClaimInvitationSearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_ClaimInvitationSearchMessage_default_instance_; - new (ptr) ::api::ClaimInvitationSearchMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::ClaimInvitationSearchMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ClaimInvitationSearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ClaimInvitationSearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_ClaimTagsMap_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_ClaimTagsMap_V1_default_instance_; - new (ptr) ::api::ClaimTagsMap_V1(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::ClaimTagsMap_V1::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ClaimTagsMap_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ClaimTagsMap_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_ClaimTagsMap_V1_TagsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_ClaimTagsMap_V1_TagsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_ClaimTagsMap_V1_TagsEntry_DoNotUse_default_instance_; - new (ptr) ::api::ClaimTagsMap_V1_TagsEntry_DoNotUse(); - } - ::api::ClaimTagsMap_V1_TagsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ClaimTagsMap_V1_TagsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ClaimTagsMap_V1_TagsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_Claim_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_Claim_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_Claim_V1_default_instance_; - new (ptr) ::api::Claim_V1(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::Claim_V1::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Claim_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Claim_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_Claim_V1_ValueEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_Claim_V1_ValueEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_Claim_V1_ValueEntry_DoNotUse_default_instance_; - new (ptr) ::api::Claim_V1_ValueEntry_DoNotUse(); - } - ::api::Claim_V1_ValueEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Claim_V1_ValueEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Claim_V1_ValueEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityHistoryMessage_default_instance_; - new (ptr) ::api::EntityHistoryMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::EntityHistoryMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EntityHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse(); - } - ::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_EntityList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_EntityList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityList_default_instance_; - new (ptr) ::api::EntityList(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::EntityList::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EntityList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_EntityMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessageResponse_default_instance_; - new (ptr) ::api::EntityMessageResponse(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::EntityMessageResponse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V1_default_instance_; - new (ptr) ::api::EntityMessage_V1(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::EntityMessage_V1::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_EntityMessage_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_EntityMessage_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_EntityMessage_V1_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V1_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V1_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_EntityMessage_V1_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V1_ClaimsEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V1_ClaimsEntry_DoNotUse(); - } - ::api::EntityMessage_V1_ClaimsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityMessage_V1_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EntityMessage_V1_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_ClaimTagsMap_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_EntityMessage_V1_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V1_ContactStatusesEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse(); - } - ::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V1_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V1_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V1_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V1_PassportsCountersEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse(); - } - ::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V1_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V1_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_default_instance_; - new (ptr) ::api::EntityMessage_V2(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::EntityMessage_V2::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<14> scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 14, 0, InitDefaultsscc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_EntityMessage_V2_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_GuardedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_GuardiansEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_MembersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_MemberOfEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ViewedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ViewersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_OrdersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_SystemParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_SystemChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_EntityMessage_V2_ChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_ChildrenEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_ChildrenEntry_DoNotUse(); - } - ::api::EntityMessage_V2_ChildrenEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_ChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_ClaimsEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_ClaimsEntry_DoNotUse(); - } - ::api::EntityMessage_V2_ClaimsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityMessage_V2_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EntityMessage_V2_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_ClaimTagsMap_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_EntityMessage_V2_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_ContactStatusesEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse(); - } - ::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_GuardedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_GuardedEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_GuardedEntry_DoNotUse(); - } - ::api::EntityMessage_V2_GuardedEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_GuardedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_GuardedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_GuardiansEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_GuardiansEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_GuardiansEntry_DoNotUse(); - } - ::api::EntityMessage_V2_GuardiansEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_GuardiansEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_GuardiansEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_MemberOfEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_MemberOfEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_MemberOfEntry_DoNotUse(); - } - ::api::EntityMessage_V2_MemberOfEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_MemberOfEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_MemberOfEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_MembersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_MembersEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_MembersEntry_DoNotUse(); - } - ::api::EntityMessage_V2_MembersEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_MembersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_MembersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_OrdersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_OrdersEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_OrdersEntry_DoNotUse(); - } - ::api::EntityMessage_V2_OrdersEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_OrdersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_OrdersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_ParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_ParentsEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_ParentsEntry_DoNotUse(); - } - ::api::EntityMessage_V2_ParentsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_ParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_PassportsCountersEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse(); - } - ::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_SystemChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_SystemChildrenEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse(); - } - ::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_SystemChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_SystemChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_SystemParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_SystemParentsEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_SystemParentsEntry_DoNotUse(); - } - ::api::EntityMessage_V2_SystemParentsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_SystemParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_SystemParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_ViewedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_ViewedEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_ViewedEntry_DoNotUse(); - } - ::api::EntityMessage_V2_ViewedEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ViewedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_ViewedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityMessage_V2_ViewersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityMessage_V2_ViewersEntry_DoNotUse_default_instance_; - new (ptr) ::api::EntityMessage_V2_ViewersEntry_DoNotUse(); - } - ::api::EntityMessage_V2_ViewersEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntityMessage_V2_ViewersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntityMessage_V2_ViewersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_EntityReplaceMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntityReplaceMessage_default_instance_; - new (ptr) ::api::EntityReplaceMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::EntityReplaceMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EntityReplaceMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EntityReplaceMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_EntitySearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_EntitySearchMessage_default_instance_; - new (ptr) ::api::EntitySearchMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::EntitySearchMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EntitySearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EntitySearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_GetEntitiesCountersMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_GetEntitiesCountersMessage_default_instance_; - new (ptr) ::api::GetEntitiesCountersMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::GetEntitiesCountersMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GetEntitiesCountersMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GetEntitiesCountersMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_GetEntitiesCountersResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_GetEntitiesCountersResponseMessage_default_instance_; - new (ptr) ::api::GetEntitiesCountersResponseMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::GetEntitiesCountersResponseMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GetEntitiesCountersResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_GetEntitiesCountersResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_default_instance_; - new (ptr) ::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse(); - } - ::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_GetEntitiesTailsMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_GetEntitiesTailsMessage_default_instance_; - new (ptr) ::api::GetEntitiesTailsMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::GetEntitiesTailsMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GetEntitiesTailsMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GetEntitiesTailsMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_GetEntitiesTailsResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_GetEntitiesTailsResponseMessage_default_instance_; - new (ptr) ::api::GetEntitiesTailsResponseMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::GetEntitiesTailsResponseMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GetEntitiesTailsResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_GetEntitiesTailsResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_default_instance_; - new (ptr) ::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse(); - } - ::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_GetVersionEMAMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_GetVersionEMAMessage_default_instance_; - new (ptr) ::api::GetVersionEMAMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::GetVersionEMAMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GetVersionEMAMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GetVersionEMAMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_GetVersionEMAResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_GetVersionEMAResponseMessage_default_instance_; - new (ptr) ::api::GetVersionEMAResponseMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::GetVersionEMAResponseMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GetVersionEMAResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GetVersionEMAResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_Order_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_Order_V1_default_instance_; - new (ptr) ::api::Order_V1(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::Order_V1::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_Order_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_Order_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, { - &scc_info_Order_V1_OperationUUIDSEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_Order_V1_DataEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static void InitDefaultsscc_info_Order_V1_DataEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_Order_V1_DataEntry_DoNotUse_default_instance_; - new (ptr) ::api::Order_V1_DataEntry_DoNotUse(); - } - ::api::Order_V1_DataEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Order_V1_DataEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Order_V1_DataEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static void InitDefaultsscc_info_Order_V1_OperationUUIDSEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_Order_V1_OperationUUIDSEntry_DoNotUse_default_instance_; - new (ptr) ::api::Order_V1_OperationUUIDSEntry_DoNotUse(); - } - ::api::Order_V1_OperationUUIDSEntry_DoNotUse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Order_V1_OperationUUIDSEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Order_V1_OperationUUIDSEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto}, {}}; - -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[46]; -static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[9]; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = nullptr; - -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::api::Claim_V1_ValueEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1_ValueEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::Claim_V1_ValueEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1_ValueEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, value_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, type_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, accesstype_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, functionpointer_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, symlink_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, defaultclaim_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, calculatedvalue_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, valuetype_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, verified_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, canedit_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, companyonly_), - PROTOBUF_FIELD_OFFSET(::api::Claim_V1, required_), - PROTOBUF_FIELD_OFFSET(::api::ClaimTagsMap_V1_TagsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::ClaimTagsMap_V1_TagsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::ClaimTagsMap_V1_TagsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::ClaimTagsMap_V1_TagsEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::ClaimTagsMap_V1, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::ClaimTagsMap_V1, tags_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1_OperationUUIDSEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1_OperationUUIDSEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::Order_V1_OperationUUIDSEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1_OperationUUIDSEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::Order_V1_DataEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1_DataEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::Order_V1_DataEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1_DataEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::Order_V1, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::Order_V1, uuid_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1, invoicefilename_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1, operationuuids_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1, status_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1, data_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1, invoicenumber_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1, ordernumber_), - PROTOBUF_FIELD_OFFSET(::api::Order_V1, stamp_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_ClaimsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_ClaimsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_ClaimsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_ClaimsEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, uuid_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, type_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, claims_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, guarded_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, guardians_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, members_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, memberof_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, parents_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, children_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, viewed_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, viewers_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, stamp_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, otpsecret_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, activated_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, authenticationkeys_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, certificates_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, passportscounters_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, contactstatuses_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, entitycertificate_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, symmetrickeys_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, created_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, temporary_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, pendingsharingrequests_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V1, rejectedsharingrequests_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ClaimsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ClaimsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ClaimsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ClaimsEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_GuardedEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_GuardedEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_GuardedEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_GuardedEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_GuardiansEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_GuardiansEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_GuardiansEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_GuardiansEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_MembersEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_MembersEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_MembersEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_MembersEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_MemberOfEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_MemberOfEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_MemberOfEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_MemberOfEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ParentsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ParentsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ParentsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ParentsEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ChildrenEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ChildrenEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ChildrenEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ChildrenEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ViewedEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ViewedEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ViewedEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ViewedEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ViewersEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ViewersEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ViewersEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ViewersEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_OrdersEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_OrdersEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_OrdersEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_OrdersEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_SystemParentsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_SystemParentsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_SystemParentsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_SystemParentsEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, uuid_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, type_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, claims_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, guarded_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, guardians_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, members_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, memberof_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, parents_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, children_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, viewed_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, viewers_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, stamp_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, otpsecret_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, activated_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, blocked_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, lastlogin_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, authenticationkeys_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, certificates_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, passportscounters_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, contactstatuses_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, entitycertificate_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, symmetrickeys_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, created_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, temporary_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, pendingsharingrequests_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, rejectedsharingrequests_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, deleted_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, orders_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, systemparents_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, systemchildren_), - PROTOBUF_FIELD_OFFSET(::api::EntityMessage_V2, shared_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::EntityMessageResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::EntityList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityList, history_), - PROTOBUF_FIELD_OFFSET(::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::EntityHistoryMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityHistoryMessage, historybyuuid_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::EntitySearchMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntitySearchMessage, uuid_), - PROTOBUF_FIELD_OFFSET(::api::EntitySearchMessage, from_), - PROTOBUF_FIELD_OFFSET(::api::EntitySearchMessage, to_), - PROTOBUF_FIELD_OFFSET(::api::EntitySearchMessage, type_), - PROTOBUF_FIELD_OFFSET(::api::EntitySearchMessage, searchtype_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationMessage, fromuuid_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationMessage, touuid_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationMessage, claimname_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationMessage, status_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationMessage, stamp_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationMessageResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationSearchMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationSearchMessage, fromuuid_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationSearchMessage, touuid_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationSearchMessage, claimname_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationSearchMessage, from_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationSearchMessage, to_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationSearchMessage, searchtype_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationList, history_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationHistoryMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::ClaimInvitationHistoryMessage, historybyclaiminvitation_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::GetVersionEMAMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::GetVersionEMAResponseMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::GetVersionEMAResponseMessage, version_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesTailsMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesTailsMessage, uuids_), - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesTailsResponseMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesTailsResponseMessage, entities_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesCountersMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesCountersMessage, uuids_), - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesCountersResponseMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::GetEntitiesCountersResponseMessage, counters_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::EntityReplaceMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::EntityReplaceMessage, history_), - PROTOBUF_FIELD_OFFSET(::api::EntityReplaceMessage, uuid_), -}; -static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, sizeof(::api::Claim_V1_ValueEntry_DoNotUse)}, - { 9, -1, sizeof(::api::Claim_V1)}, - { 26, 33, sizeof(::api::ClaimTagsMap_V1_TagsEntry_DoNotUse)}, - { 35, -1, sizeof(::api::ClaimTagsMap_V1)}, - { 41, 48, sizeof(::api::Order_V1_OperationUUIDSEntry_DoNotUse)}, - { 50, 57, sizeof(::api::Order_V1_DataEntry_DoNotUse)}, - { 59, -1, sizeof(::api::Order_V1)}, - { 72, 79, sizeof(::api::EntityMessage_V1_ClaimsEntry_DoNotUse)}, - { 81, 88, sizeof(::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse)}, - { 90, 97, sizeof(::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse)}, - { 99, -1, sizeof(::api::EntityMessage_V1)}, - { 128, 135, sizeof(::api::EntityMessage_V2_ClaimsEntry_DoNotUse)}, - { 137, 144, sizeof(::api::EntityMessage_V2_GuardedEntry_DoNotUse)}, - { 146, 153, sizeof(::api::EntityMessage_V2_GuardiansEntry_DoNotUse)}, - { 155, 162, sizeof(::api::EntityMessage_V2_MembersEntry_DoNotUse)}, - { 164, 171, sizeof(::api::EntityMessage_V2_MemberOfEntry_DoNotUse)}, - { 173, 180, sizeof(::api::EntityMessage_V2_ParentsEntry_DoNotUse)}, - { 182, 189, sizeof(::api::EntityMessage_V2_ChildrenEntry_DoNotUse)}, - { 191, 198, sizeof(::api::EntityMessage_V2_ViewedEntry_DoNotUse)}, - { 200, 207, sizeof(::api::EntityMessage_V2_ViewersEntry_DoNotUse)}, - { 209, 216, sizeof(::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse)}, - { 218, 225, sizeof(::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse)}, - { 227, 234, sizeof(::api::EntityMessage_V2_OrdersEntry_DoNotUse)}, - { 236, 243, sizeof(::api::EntityMessage_V2_SystemParentsEntry_DoNotUse)}, - { 245, 252, sizeof(::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse)}, - { 254, -1, sizeof(::api::EntityMessage_V2)}, - { 290, -1, sizeof(::api::EntityMessageResponse)}, - { 295, -1, sizeof(::api::EntityList)}, - { 301, 308, sizeof(::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse)}, - { 310, -1, sizeof(::api::EntityHistoryMessage)}, - { 316, -1, sizeof(::api::EntitySearchMessage)}, - { 326, -1, sizeof(::api::ClaimInvitationMessage)}, - { 336, -1, sizeof(::api::ClaimInvitationMessageResponse)}, - { 341, -1, sizeof(::api::ClaimInvitationSearchMessage)}, - { 352, -1, sizeof(::api::ClaimInvitationList)}, - { 358, 365, sizeof(::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse)}, - { 367, -1, sizeof(::api::ClaimInvitationHistoryMessage)}, - { 373, -1, sizeof(::api::GetVersionEMAMessage)}, - { 378, -1, sizeof(::api::GetVersionEMAResponseMessage)}, - { 384, -1, sizeof(::api::GetEntitiesTailsMessage)}, - { 390, 397, sizeof(::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse)}, - { 399, -1, sizeof(::api::GetEntitiesTailsResponseMessage)}, - { 405, -1, sizeof(::api::GetEntitiesCountersMessage)}, - { 411, 418, sizeof(::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse)}, - { 420, -1, sizeof(::api::GetEntitiesCountersResponseMessage)}, - { 426, -1, sizeof(::api::EntityReplaceMessage)}, -}; - -static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_Claim_V1_ValueEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_Claim_V1_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_ClaimTagsMap_V1_TagsEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_ClaimTagsMap_V1_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_Order_V1_OperationUUIDSEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_Order_V1_DataEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_Order_V1_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V1_ClaimsEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V1_PassportsCountersEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V1_ContactStatusesEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V1_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_ClaimsEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_GuardedEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_GuardiansEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_MembersEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_MemberOfEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_ParentsEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_ChildrenEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_ViewedEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_ViewersEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_PassportsCountersEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_ContactStatusesEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_OrdersEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_SystemParentsEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_SystemChildrenEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessage_V2_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityMessageResponse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityList_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityHistoryMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntitySearchMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_ClaimInvitationMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_ClaimInvitationMessageResponse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_ClaimInvitationSearchMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_ClaimInvitationList_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_ClaimInvitationHistoryMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_GetVersionEMAMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_GetVersionEMAResponseMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_GetEntitiesTailsMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_GetEntitiesTailsResponseMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_GetEntitiesCountersMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_GetEntitiesCountersResponseMessage_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_EntityReplaceMessage_default_instance_), -}; - -const char descriptor_table_protodef_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\nGcode.vereign.com/code/viam-apis/entiti" - "es-management-agent/api/api.proto\022\003api\032\034" - "google/api/annotations.proto\0326code.verei" - "gn.com/code/viam-apis/versions/api/api.p" - "roto\"\375\002\n\010Claim_V1\022\'\n\005value\030\001 \003(\0132\030.api.C" - "laim_V1.ValueEntry\022\034\n\004type\030\002 \001(\0162\016.api.C" - "laimType\022#\n\nAccessType\030\004 \001(\0162\017.api.Acces" - "sType\022\027\n\017functionPointer\030\003 \001(\t\022\017\n\007symlin" - "k\030\005 \001(\t\022\024\n\014defaultClaim\030\006 \001(\010\022\027\n\017calcula" - "tedValue\030\007 \001(\t\022!\n\tvalueType\030\010 \001(\0162\016.api." - "ValueType\022\020\n\010verified\030\t \001(\010\022\017\n\007canEdit\030\n" - " \001(\010\022\023\n\013companyOnly\030\013 \001(\010\022\020\n\010required\030\014 " - "\001(\010\032,\n\nValueEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - "\002 \001(\t:\0028\001:\021\372\315\004\r\n\tapi.Claim\020\001\"\225\001\n\017ClaimTa" - "gsMap_V1\022,\n\004tags\030\001 \003(\0132\036.api.ClaimTagsMa" - "p_V1.TagsEntry\032:\n\tTagsEntry\022\013\n\003key\030\001 \001(\t" - "\022\034\n\005value\030\002 \001(\0132\r.api.Claim_V1:\0028\001:\030\372\315\004\024" - "\n\020api.ClaimTagsMap\020\001\"\347\002\n\010Order_V1\022\014\n\004uui" - "d\030\001 \001(\t\022\027\n\017invoiceFilename\030\002 \001(\t\0229\n\016oper" - "ationUUIDS\030\003 \003(\0132!.api.Order_V1.Operatio" - "nUUIDSEntry\022 \n\006status\030\004 \001(\0162\020.api.OrderS" - "tatus\022%\n\004data\030\005 \003(\0132\027.api.Order_V1.DataE" - "ntry\022\025\n\rinvoiceNumber\030\006 \001(\003\022\023\n\013orderNumb" - "er\030\007 \001(\003\022\r\n\005stamp\030\010 \001(\003\0325\n\023OperationUUID" - "SEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032+" - "\n\tDataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - "\0028\001:\021\372\315\004\r\n\tapi.Order\020\001\"\357\006\n\020EntityMessage" - "_V1\022\014\n\004uuid\030\001 \001(\t\022\035\n\004type\030\002 \001(\0162\017.api.En" - "tityType\0221\n\006claims\030\003 \003(\0132!.api.EntityMes" - "sage_V1.ClaimsEntry\022\017\n\007guarded\030\004 \003(\t\022\021\n\t" - "guardians\030\005 \003(\t\022\017\n\007members\030\006 \003(\t\022\020\n\010memb" - "erOf\030\007 \003(\t\022\017\n\007parents\030\010 \003(\t\022\020\n\010children\030" - "\t \003(\t\022\016\n\006viewed\030\014 \003(\t\022\017\n\007viewers\030\r \003(\t\022\r" - "\n\005stamp\030\013 \001(\003\022\021\n\totpSecret\030\016 \001(\t\022\021\n\tacti" - "vated\030\017 \001(\010\022\032\n\022authenticationKeys\030\020 \003(\t\022" - "\024\n\014certificates\030\021 \003(\t\022G\n\021passportsCounte" - "rs\030\025 \003(\0132,.api.EntityMessage_V1.Passport" - "sCountersEntry\022C\n\017contactStatuses\030\026 \003(\0132" - "*.api.EntityMessage_V1.ContactStatusesEn" - "try\022\031\n\021entityCertificate\030\022 \001(\t\022\025\n\rsymmet" - "ricKeys\030\023 \003(\t\022\017\n\007created\030\024 \001(\003\022\021\n\ttempor" - "ary\030\027 \001(\010\022\036\n\026pendingSharingRequests\030\030 \003(" - "\t\022\037\n\027rejectedSharingRequests\030\031 \003(\t\032C\n\013Cl" - "aimsEntry\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024." - "api.ClaimTagsMap_V1:\0028\001\0328\n\026PassportsCoun" - "tersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028" - "\001\032J\n\024ContactStatusesEntry\022\013\n\003key\030\001 \001(\t\022!" - "\n\005value\030\002 \001(\0162\022.api.ContactStatus:\0028\001:\031\372" - "\315\004\025\n\021api.EntityMessage\020\001\"\221\021\n\020EntityMessa" - "ge_V2\022\014\n\004uuid\030\001 \001(\t\022\035\n\004type\030\002 \001(\0162\017.api." - "EntityType\0221\n\006claims\030\003 \003(\0132!.api.EntityM" - "essage_V2.ClaimsEntry\0223\n\007guarded\030\004 \003(\0132\"" - ".api.EntityMessage_V2.GuardedEntry\0227\n\tgu" - "ardians\030\005 \003(\0132$.api.EntityMessage_V2.Gua" - "rdiansEntry\0223\n\007members\030\006 \003(\0132\".api.Entit" - "yMessage_V2.MembersEntry\0225\n\010memberOf\030\007 \003" - "(\0132#.api.EntityMessage_V2.MemberOfEntry\022" - "3\n\007parents\030\010 \003(\0132\".api.EntityMessage_V2." - "ParentsEntry\0225\n\010children\030\t \003(\0132#.api.Ent" - "ityMessage_V2.ChildrenEntry\0221\n\006viewed\030\014 " - "\003(\0132!.api.EntityMessage_V2.ViewedEntry\0223" - "\n\007viewers\030\r \003(\0132\".api.EntityMessage_V2.V" - "iewersEntry\022\r\n\005stamp\030\013 \001(\003\022\021\n\totpSecret\030" - "\016 \001(\t\022\021\n\tactivated\030\017 \001(\010\022\017\n\007blocked\030\037 \001(" - "\010\022\021\n\tlastLogin\030 \001(\003\022\032\n\022authenticationKe" - "ys\030\020 \003(\t\022\024\n\014certificates\030\021 \003(\t\022G\n\021passpo" - "rtsCounters\030\025 \003(\0132,.api.EntityMessage_V2" - ".PassportsCountersEntry\022C\n\017contactStatus" - "es\030\026 \003(\0132*.api.EntityMessage_V2.ContactS" - "tatusesEntry\022\031\n\021entityCertificate\030\022 \001(\t\022" - "\025\n\rsymmetricKeys\030\023 \003(\t\022\017\n\007created\030\024 \001(\003\022" - "\021\n\ttemporary\030\027 \001(\010\022\036\n\026pendingSharingRequ" - "ests\030\030 \003(\t\022\037\n\027rejectedSharingRequests\030\031 " - "\003(\t\022\017\n\007deleted\030\032 \001(\010\0221\n\006orders\030\033 \003(\0132!.a" - "pi.EntityMessage_V2.OrdersEntry\022\?\n\rsyste" - "mParents\030\034 \003(\0132(.api.EntityMessage_V2.Sy" - "stemParentsEntry\022A\n\016systemChildren\030\035 \003(\013" - "2).api.EntityMessage_V2.SystemChildrenEn" - "try\022\016\n\006shared\030\036 \001(\010\032C\n\013ClaimsEntry\022\013\n\003ke" - "y\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.api.ClaimTagsMa" - "p_V1:\0028\001\032C\n\014GuardedEntry\022\013\n\003key\030\001 \001(\t\022\"\n" - "\005value\030\002 \001(\0162\023.api.RelationStatus:\0028\001\032E\n" - "\016GuardiansEntry\022\013\n\003key\030\001 \001(\t\022\"\n\005value\030\002 " - "\001(\0162\023.api.RelationStatus:\0028\001\032C\n\014MembersE" - "ntry\022\013\n\003key\030\001 \001(\t\022\"\n\005value\030\002 \001(\0162\023.api.R" - "elationStatus:\0028\001\032D\n\rMemberOfEntry\022\013\n\003ke" - "y\030\001 \001(\t\022\"\n\005value\030\002 \001(\0162\023.api.RelationSta" - "tus:\0028\001\032C\n\014ParentsEntry\022\013\n\003key\030\001 \001(\t\022\"\n\005" - "value\030\002 \001(\0162\023.api.RelationStatus:\0028\001\032D\n\r" - "ChildrenEntry\022\013\n\003key\030\001 \001(\t\022\"\n\005value\030\002 \001(" - "\0162\023.api.RelationStatus:\0028\001\032B\n\013ViewedEntr" - "y\022\013\n\003key\030\001 \001(\t\022\"\n\005value\030\002 \001(\0162\023.api.Rela" - "tionStatus:\0028\001\032C\n\014ViewersEntry\022\013\n\003key\030\001 " - "\001(\t\022\"\n\005value\030\002 \001(\0162\023.api.RelationStatus:" - "\0028\001\0328\n\026PassportsCountersEntry\022\013\n\003key\030\001 \001" - "(\t\022\r\n\005value\030\002 \001(\003:\0028\001\032J\n\024ContactStatuses" - "Entry\022\013\n\003key\030\001 \001(\t\022!\n\005value\030\002 \001(\0162\022.api." - "ContactStatus:\0028\001\032\?\n\013OrdersEntry\022\013\n\003key\030" - "\001 \001(\t\022\037\n\005value\030\002 \001(\0162\020.api.OrderStatus:\002" - "8\001\032I\n\022SystemParentsEntry\022\013\n\003key\030\001 \001(\t\022\"\n" - "\005value\030\002 \001(\0162\023.api.RelationStatus:\0028\001\032J\n" - "\023SystemChildrenEntry\022\013\n\003key\030\001 \001(\t\022\"\n\005val" - "ue\030\002 \001(\0162\023.api.RelationStatus:\0028\001:\031\372\315\004\025\n" - "\021api.EntityMessage\020\002\"\027\n\025EntityMessageRes" - "ponse\"4\n\nEntityList\022&\n\007history\030\001 \003(\0132\025.a" - "pi.EntityMessage_V2\"\242\001\n\024EntityHistoryMes" - "sage\022C\n\rhistoryByUUID\030\001 \003(\0132,.api.Entity" - "HistoryMessage.HistoryByUUIDEntry\032E\n\022His" - "toryByUUIDEntry\022\013\n\003key\030\001 \001(\t\022\036\n\005value\030\002 " - "\001(\0132\017.api.EntityList:\0028\001\"\201\001\n\023EntitySearc" - "hMessage\022\014\n\004uuid\030\001 \001(\t\022\014\n\004from\030\002 \001(\t\022\n\n\002" - "to\030\003 \001(\t\022\035\n\004type\030\004 \001(\0162\017.api.EntityType\022" - "#\n\nsearchType\030\005 \001(\0162\017.api.SearchType\"\210\001\n" - "\026ClaimInvitationMessage\022\020\n\010fromUUID\030\001 \001(" - "\t\022\016\n\006toUUID\030\002 \001(\t\022\021\n\tclaimName\030\003 \001(\t\022*\n\006" - "status\030\004 \001(\0162\032.api.ClaimInvitationStatus" - "\022\r\n\005stamp\030\005 \001(\003\" \n\036ClaimInvitationMessag" - "eResponse\"\222\001\n\034ClaimInvitationSearchMessa" - "ge\022\020\n\010fromUUID\030\001 \001(\t\022\016\n\006toUUID\030\002 \001(\t\022\021\n\t" - "claimName\030\003 \001(\t\022\014\n\004from\030\004 \001(\t\022\n\n\002to\030\005 \001(" - "\t\022#\n\nsearchType\030\006 \001(\0162\017.api.SearchType\"C" - "\n\023ClaimInvitationList\022,\n\007history\030\001 \003(\0132\033" - ".api.ClaimInvitationMessage\"\336\001\n\035ClaimInv" - "itationHistoryMessage\022b\n\030historyByClaimI" - "nvitation\030\001 \003(\0132@.api.ClaimInvitationHis" - "toryMessage.HistoryByClaimInvitationEntr" - "y\032Y\n\035HistoryByClaimInvitationEntry\022\013\n\003ke" - "y\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.api.ClaimInvita" - "tionList:\0028\001\"\026\n\024GetVersionEMAMessage\"/\n\034" - "GetVersionEMAResponseMessage\022\017\n\007version\030" - "\001 \001(\t\"(\n\027GetEntitiesTailsMessage\022\r\n\005uuid" - "s\030\001 \003(\t\"\257\001\n\037GetEntitiesTailsResponseMess" - "age\022D\n\010entities\030\001 \003(\01322.api.GetEntitiesT" - "ailsResponseMessage.EntitiesEntry\032F\n\rEnt" - "itiesEntry\022\013\n\003key\030\001 \001(\t\022$\n\005value\030\002 \001(\0132\025" - ".api.EntityMessage_V2:\0028\001\"+\n\032GetEntities" - "CountersMessage\022\r\n\005uuids\030\001 \003(\t\"\236\001\n\"GetEn" - "titiesCountersResponseMessage\022G\n\010counter" - "s\030\001 \003(\01325.api.GetEntitiesCountersRespons" - "eMessage.CountersEntry\032/\n\rCountersEntry\022" - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\"L\n\024Entit" - "yReplaceMessage\022&\n\007history\030\001 \003(\0132\025.api.E" - "ntityMessage_V2\022\014\n\004uuid\030\002 \001(\t*e\n\tClaimTy" - "pe\022\023\n\017NONE_CLAIM_TYPE\020\000\022\014\n\010INTERNAL\020\001\022\r\n" - "\tUNIVERSAL\020\002\022\014\n\010EXTERNAL\020\003\022\016\n\nFUNCTIONAL" - "\020\004\022\010\n\004FILE\020\005*M\n\nAccessType\022\024\n\020NONE_ACCES" - "S_TYPE\020\000\022\013\n\007PRIVATE\020\001\022\020\n\014INVITATIONAL\020\002\022" - "\n\n\006PUBLIC\020\003*;\n\nSearchType\022\024\n\020NONE_SEARCH" - "_TYPE\020\000\022\n\n\006BYRANK\020\001\022\013\n\007BYSCORE\020\002*A\n\tValu" - "eType\022\022\n\016NONE_KEY_VALUE\020\000\022\021\n\rNON_COMPOSI" - "TE\020\001\022\r\n\tCOMPOSITE\020\002*\206\001\n\nEntityType\022\024\n\020NO" - "NE_ENTITY_TYPE\020\000\022\n\n\006PERSON\020\001\022\020\n\014ORGANIZA" - "TION\020\002\022\t\n\005ASSET\020\003\022\014\n\010PASSPORT\020\004\022\014\n\010DOCUM" - "ENT\020\005\022\020\n\014CONVERSATION\020\006\022\013\n\007CONTACT\020\007*6\n\r" - "ContactStatus\022\n\n\006ACTIVE\020\000\022\014\n\010ARCHIVED\020\001\022" - "\013\n\007BLOCKED\020\002*\203\002\n\013OrderStatus\022\023\n\017NO_ORDER" - "_STATUS\020\000\022\024\n\020ORDER_STATUS_NEW\020\001\022\034\n\030ORDER" - "_STATUS_IN_PROGRESS\020\002\022 \n\034ORDER_STATUS_WA" - "ITING_PAYMENT\020\003\022\037\n\033ORDER_STATUS_PAYMENT_" - "FAILED\020\004\022!\n\035ORDER_STATUS_PAYMENT_RECEIVE" - "D\020\005\022\"\n\036ORDER_STATUS_PAYMENT_COMPLETED\020\006\022" - "!\n\035ORDER_STATUS_PAYMENT_CANCELED\020\007*O\n\016Re" - "lationStatus\022\021\n\rLIVE_RELATION\020\000\022\024\n\020DELET" - "ED_RELATION\020\001\022\024\n\020BLOCKED_RELATION\020\002*s\n\025C" - "laimInvitationStatus\022 \n\034NONE_CLAIM_INVIT" - "ATION_STATUS\020\000\022\017\n\013NOTVERIFIED\020\001\022\014\n\010REJEC" - "TED\020\002\022\014\n\010VERIFIED\020\003\022\013\n\007REVOKED\020\0042\346\014\n\017Ent" - "itiesManager\022]\n\014createEntity\022\025.api.Entit" - "yMessage_V2\032\032.api.EntityMessageResponse\"" - "\032\202\323\344\223\002\024\"\017/1/createentity:\001*\022]\n\014updateEnt" - "ity\022\025.api.EntityMessage_V2\032\032.api.EntityM" - "essageResponse\"\032\202\323\344\223\002\024\"\017/1/updateentity:" - "\001*\022c\n\016retrieveEntity\022\030.api.EntitySearchM" - "essage\032\031.api.EntityHistoryMessage\"\034\202\323\344\223\002" - "\026\"\021/1/retrieveentity:\001*\022`\n\014deleteEntity\022" - "\030.api.EntitySearchMessage\032\032.api.EntityMe" - "ssageResponse\"\032\202\323\344\223\002\024\"\017/1/deleteentity:\001" - "*\022q\n\024replaceEntityHistory\022\031.api.EntityRe" - "placeMessage\032\032.api.EntityMessageResponse" - "\"\"\202\323\344\223\002\034\"\027/1/replaceentityhistory:\001*\022_\n\014" - "searchEntity\022\030.api.EntitySearchMessage\032\031" - ".api.EntityHistoryMessage\"\032\202\323\344\223\002\024\"\017/1/se" - "archentity:\001*\022~\n\025createClaimInvitation\022\033" - ".api.ClaimInvitationMessage\032#.api.ClaimI" - "nvitationMessageResponse\"#\202\323\344\223\002\035\"\030/1/cre" - "ateclaiminvitation:\001*\022~\n\025updateClaimInvi" - "tation\022\033.api.ClaimInvitationMessage\032#.ap" - "i.ClaimInvitationMessageResponse\"#\202\323\344\223\002\035" - "\"\030/1/updateclaiminvitation:\001*\022\207\001\n\027retrie" - "veClaimInvitation\022!.api.ClaimInvitationS" - "earchMessage\032\".api.ClaimInvitationHistor" - "yMessage\"%\202\323\344\223\002\037\"\032/1/retrieveclaiminvita" - "tion:\001*\022\204\001\n\025deleteClaimInvitation\022!.api." - "ClaimInvitationSearchMessage\032#.api.Claim" - "InvitationMessageResponse\"#\202\323\344\223\002\035\"\030/1/de" - "leteclaiminvitation:\001*\022\203\001\n\025searchClaimIn" - "vitation\022!.api.ClaimInvitationSearchMess" - "age\032\".api.ClaimInvitationHistoryMessage\"" - "#\202\323\344\223\002\035\"\030/1/searchclaiminvitation:\001*\022v\n\020" - "getEntitiesTails\022\034.api.GetEntitiesTailsM" - "essage\032$.api.GetEntitiesTailsResponseMes" - "sage\"\036\202\323\344\223\002\030\"\023/1/getentitiestails:\001*\022\201\001\n" - "\023getEntitiesCounters\022\037.api.GetEntitiesCo" - "untersMessage\032\'.api.GetEntitiesCountersR" - "esponseMessage\" \202\323\344\223\002\032\"\025/1/getentitiesco" - "unter:\001*\022g\n\rgetVersionEMA\022\031.api.GetVersi" - "onEMAMessage\032!.api.GetVersionEMAResponse" - "Message\"\030\202\323\344\223\002\022\"\r/1/getversion:\001*b\006proto" - "3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto_deps[2] = { - &::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto, - &::descriptor_table_google_2fapi_2fannotations_2eproto, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto_sccs[46] = { - &scc_info_ClaimInvitationHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_ClaimInvitationList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_ClaimInvitationMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_ClaimInvitationMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_ClaimInvitationSearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_ClaimTagsMap_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_ClaimTagsMap_V1_TagsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_Claim_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_Claim_V1_ValueEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V1_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V1_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V1_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ClaimsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ContactStatusesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_GuardedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_GuardiansEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_MemberOfEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_MembersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_OrdersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_PassportsCountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_SystemChildrenEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_SystemParentsEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ViewedEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityMessage_V2_ViewersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntityReplaceMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_EntitySearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_GetEntitiesCountersMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_GetEntitiesCountersResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_GetEntitiesTailsMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_GetEntitiesTailsResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_GetVersionEMAMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_GetVersionEMAResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_Order_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_Order_V1_DataEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, - &scc_info_Order_V1_OperationUUIDSEntry_DoNotUse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto_once; -static bool descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = { - &descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto_initialized, descriptor_table_protodef_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto, "code.vereign.com/code/viam-apis/entities-management-agent/api/api.proto", 8321, - &descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto_once, descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto_sccs, descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto_deps, 46, 2, - schemas, file_default_instances, TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto::offsets, - file_level_metadata_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto, 46, file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto, file_level_service_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto), true); -namespace api { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ClaimType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[0]; -} -bool ClaimType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AccessType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[1]; -} -bool AccessType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SearchType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[2]; -} -bool SearchType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ValueType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[3]; -} -bool ValueType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EntityType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[4]; -} -bool EntityType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContactStatus_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[5]; -} -bool ContactStatus_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OrderStatus_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[6]; -} -bool OrderStatus_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RelationStatus_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[7]; -} -bool RelationStatus_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ClaimInvitationStatus_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto[8]; -} -bool ClaimInvitationStatus_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - - -// =================================================================== - -Claim_V1_ValueEntry_DoNotUse::Claim_V1_ValueEntry_DoNotUse() {} -Claim_V1_ValueEntry_DoNotUse::Claim_V1_ValueEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void Claim_V1_ValueEntry_DoNotUse::MergeFrom(const Claim_V1_ValueEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata Claim_V1_ValueEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void Claim_V1_ValueEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -void Claim_V1::InitAsDefaultInstance() { -} -class Claim_V1::_Internal { - public: -}; - -Claim_V1::Claim_V1() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.Claim_V1) -} -Claim_V1::Claim_V1(const Claim_V1& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - value_.MergeFrom(from.value_); - functionpointer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_functionpointer().empty()) { - functionpointer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.functionpointer_); - } - symlink_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_symlink().empty()) { - symlink_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.symlink_); - } - calculatedvalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_calculatedvalue().empty()) { - calculatedvalue_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.calculatedvalue_); - } - ::memcpy(&type_, &from.type_, - static_cast<size_t>(reinterpret_cast<char*>(&required_) - - reinterpret_cast<char*>(&type_)) + sizeof(required_)); - // @@protoc_insertion_point(copy_constructor:api.Claim_V1) -} - -void Claim_V1::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Claim_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - functionpointer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - symlink_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - calculatedvalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&type_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&required_) - - reinterpret_cast<char*>(&type_)) + sizeof(required_)); -} - -Claim_V1::~Claim_V1() { - // @@protoc_insertion_point(destructor:api.Claim_V1) - SharedDtor(); -} - -void Claim_V1::SharedDtor() { - functionpointer_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - symlink_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - calculatedvalue_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void Claim_V1::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Claim_V1& Claim_V1::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Claim_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void Claim_V1::Clear() { -// @@protoc_insertion_point(message_clear_start:api.Claim_V1) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - value_.Clear(); - functionpointer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - symlink_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - calculatedvalue_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&type_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&required_) - - reinterpret_cast<char*>(&type_)) + sizeof(required_)); - _internal_metadata_.Clear(); -} - -const char* Claim_V1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // map<string, string> value = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&value_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - // .api.ClaimType type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_type(static_cast<::api::ClaimType>(val)); - } else goto handle_unusual; - continue; - // string functionPointer = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_functionpointer(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.Claim_V1.functionPointer")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // .api.AccessType AccessType = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_accesstype(static_cast<::api::AccessType>(val)); - } else goto handle_unusual; - continue; - // string symlink = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { - auto str = _internal_mutable_symlink(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.Claim_V1.symlink")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // bool defaultClaim = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { - defaultclaim_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string calculatedValue = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { - auto str = _internal_mutable_calculatedvalue(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.Claim_V1.calculatedValue")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // .api.ValueType valueType = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_valuetype(static_cast<::api::ValueType>(val)); - } else goto handle_unusual; - continue; - // bool verified = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { - verified_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // bool canEdit = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { - canedit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // bool companyOnly = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { - companyonly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // bool required = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) { - required_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* Claim_V1::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.Claim_V1) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map<string, string> value = 1; - if (!this->_internal_value().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Claim_V1.ValueEntry.key"); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast<int>(p->second.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Claim_V1.ValueEntry.value"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_value().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_value().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator - it = this->_internal_value().begin(); - it != this->_internal_value().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = Claim_V1_ValueEntry_DoNotUse::Funcs::InternalSerialize(1, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator - it = this->_internal_value().begin(); - it != this->_internal_value().end(); ++it) { - target = Claim_V1_ValueEntry_DoNotUse::Funcs::InternalSerialize(1, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // .api.ClaimType type = 2; - if (this->type() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 2, this->_internal_type(), target); - } - - // string functionPointer = 3; - if (this->functionpointer().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_functionpointer().data(), static_cast<int>(this->_internal_functionpointer().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Claim_V1.functionPointer"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_functionpointer(), target); - } - - // .api.AccessType AccessType = 4; - if (this->accesstype() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 4, this->_internal_accesstype(), target); - } - - // string symlink = 5; - if (this->symlink().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_symlink().data(), static_cast<int>(this->_internal_symlink().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Claim_V1.symlink"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_symlink(), target); - } - - // bool defaultClaim = 6; - if (this->defaultclaim() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_defaultclaim(), target); - } - - // string calculatedValue = 7; - if (this->calculatedvalue().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_calculatedvalue().data(), static_cast<int>(this->_internal_calculatedvalue().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Claim_V1.calculatedValue"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_calculatedvalue(), target); - } - - // .api.ValueType valueType = 8; - if (this->valuetype() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 8, this->_internal_valuetype(), target); - } - - // bool verified = 9; - if (this->verified() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_verified(), target); - } - - // bool canEdit = 10; - if (this->canedit() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(10, this->_internal_canedit(), target); - } - - // bool companyOnly = 11; - if (this->companyonly() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_companyonly(), target); - } - - // bool required = 12; - if (this->required() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_required(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.Claim_V1) - return target; -} - -size_t Claim_V1::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.Claim_V1) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map<string, string> value = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_value_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator - it = this->_internal_value().begin(); - it != this->_internal_value().end(); ++it) { - total_size += Claim_V1_ValueEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // string functionPointer = 3; - if (this->functionpointer().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_functionpointer()); - } - - // string symlink = 5; - if (this->symlink().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_symlink()); - } - - // string calculatedValue = 7; - if (this->calculatedvalue().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_calculatedvalue()); - } - - // .api.ClaimType type = 2; - if (this->type() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type()); - } - - // .api.AccessType AccessType = 4; - if (this->accesstype() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_accesstype()); - } - - // .api.ValueType valueType = 8; - if (this->valuetype() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_valuetype()); - } - - // bool defaultClaim = 6; - if (this->defaultclaim() != 0) { - total_size += 1 + 1; - } - - // bool verified = 9; - if (this->verified() != 0) { - total_size += 1 + 1; - } - - // bool canEdit = 10; - if (this->canedit() != 0) { - total_size += 1 + 1; - } - - // bool companyOnly = 11; - if (this->companyonly() != 0) { - total_size += 1 + 1; - } - - // bool required = 12; - if (this->required() != 0) { - total_size += 1 + 1; - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Claim_V1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.Claim_V1) - GOOGLE_DCHECK_NE(&from, this); - const Claim_V1* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Claim_V1>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.Claim_V1) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.Claim_V1) - MergeFrom(*source); - } -} - -void Claim_V1::MergeFrom(const Claim_V1& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.Claim_V1) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - value_.MergeFrom(from.value_); - if (from.functionpointer().size() > 0) { - - functionpointer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.functionpointer_); - } - if (from.symlink().size() > 0) { - - symlink_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.symlink_); - } - if (from.calculatedvalue().size() > 0) { - - calculatedvalue_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.calculatedvalue_); - } - if (from.type() != 0) { - _internal_set_type(from._internal_type()); - } - if (from.accesstype() != 0) { - _internal_set_accesstype(from._internal_accesstype()); - } - if (from.valuetype() != 0) { - _internal_set_valuetype(from._internal_valuetype()); - } - if (from.defaultclaim() != 0) { - _internal_set_defaultclaim(from._internal_defaultclaim()); - } - if (from.verified() != 0) { - _internal_set_verified(from._internal_verified()); - } - if (from.canedit() != 0) { - _internal_set_canedit(from._internal_canedit()); - } - if (from.companyonly() != 0) { - _internal_set_companyonly(from._internal_companyonly()); - } - if (from.required() != 0) { - _internal_set_required(from._internal_required()); - } -} - -void Claim_V1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.Claim_V1) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Claim_V1::CopyFrom(const Claim_V1& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.Claim_V1) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Claim_V1::IsInitialized() const { - return true; -} - -void Claim_V1::InternalSwap(Claim_V1* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - value_.Swap(&other->value_); - functionpointer_.Swap(&other->functionpointer_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - symlink_.Swap(&other->symlink_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - calculatedvalue_.Swap(&other->calculatedvalue_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(type_, other->type_); - swap(accesstype_, other->accesstype_); - swap(valuetype_, other->valuetype_); - swap(defaultclaim_, other->defaultclaim_); - swap(verified_, other->verified_); - swap(canedit_, other->canedit_); - swap(companyonly_, other->companyonly_); - swap(required_, other->required_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Claim_V1::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -ClaimTagsMap_V1_TagsEntry_DoNotUse::ClaimTagsMap_V1_TagsEntry_DoNotUse() {} -ClaimTagsMap_V1_TagsEntry_DoNotUse::ClaimTagsMap_V1_TagsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void ClaimTagsMap_V1_TagsEntry_DoNotUse::MergeFrom(const ClaimTagsMap_V1_TagsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata ClaimTagsMap_V1_TagsEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void ClaimTagsMap_V1_TagsEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -void ClaimTagsMap_V1::InitAsDefaultInstance() { -} -class ClaimTagsMap_V1::_Internal { - public: -}; - -ClaimTagsMap_V1::ClaimTagsMap_V1() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.ClaimTagsMap_V1) -} -ClaimTagsMap_V1::ClaimTagsMap_V1(const ClaimTagsMap_V1& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - tags_.MergeFrom(from.tags_); - // @@protoc_insertion_point(copy_constructor:api.ClaimTagsMap_V1) -} - -void ClaimTagsMap_V1::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ClaimTagsMap_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); -} - -ClaimTagsMap_V1::~ClaimTagsMap_V1() { - // @@protoc_insertion_point(destructor:api.ClaimTagsMap_V1) - SharedDtor(); -} - -void ClaimTagsMap_V1::SharedDtor() { -} - -void ClaimTagsMap_V1::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ClaimTagsMap_V1& ClaimTagsMap_V1::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ClaimTagsMap_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void ClaimTagsMap_V1::Clear() { -// @@protoc_insertion_point(message_clear_start:api.ClaimTagsMap_V1) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - tags_.Clear(); - _internal_metadata_.Clear(); -} - -const char* ClaimTagsMap_V1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // map<string, .api.Claim_V1> tags = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&tags_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ClaimTagsMap_V1::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.ClaimTagsMap_V1) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map<string, .api.Claim_V1> tags = 1; - if (!this->_internal_tags().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimTagsMap_V1.TagsEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_tags().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_tags().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >::const_iterator - it = this->_internal_tags().begin(); - it != this->_internal_tags().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = ClaimTagsMap_V1_TagsEntry_DoNotUse::Funcs::InternalSerialize(1, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >::const_iterator - it = this->_internal_tags().begin(); - it != this->_internal_tags().end(); ++it) { - target = ClaimTagsMap_V1_TagsEntry_DoNotUse::Funcs::InternalSerialize(1, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.ClaimTagsMap_V1) - return target; -} - -size_t ClaimTagsMap_V1::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.ClaimTagsMap_V1) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map<string, .api.Claim_V1> tags = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_tags_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >::const_iterator - it = this->_internal_tags().begin(); - it != this->_internal_tags().end(); ++it) { - total_size += ClaimTagsMap_V1_TagsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ClaimTagsMap_V1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.ClaimTagsMap_V1) - GOOGLE_DCHECK_NE(&from, this); - const ClaimTagsMap_V1* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ClaimTagsMap_V1>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.ClaimTagsMap_V1) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.ClaimTagsMap_V1) - MergeFrom(*source); - } -} - -void ClaimTagsMap_V1::MergeFrom(const ClaimTagsMap_V1& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.ClaimTagsMap_V1) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - tags_.MergeFrom(from.tags_); -} - -void ClaimTagsMap_V1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.ClaimTagsMap_V1) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ClaimTagsMap_V1::CopyFrom(const ClaimTagsMap_V1& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.ClaimTagsMap_V1) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ClaimTagsMap_V1::IsInitialized() const { - return true; -} - -void ClaimTagsMap_V1::InternalSwap(ClaimTagsMap_V1* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - tags_.Swap(&other->tags_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ClaimTagsMap_V1::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -Order_V1_OperationUUIDSEntry_DoNotUse::Order_V1_OperationUUIDSEntry_DoNotUse() {} -Order_V1_OperationUUIDSEntry_DoNotUse::Order_V1_OperationUUIDSEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void Order_V1_OperationUUIDSEntry_DoNotUse::MergeFrom(const Order_V1_OperationUUIDSEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata Order_V1_OperationUUIDSEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void Order_V1_OperationUUIDSEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -Order_V1_DataEntry_DoNotUse::Order_V1_DataEntry_DoNotUse() {} -Order_V1_DataEntry_DoNotUse::Order_V1_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void Order_V1_DataEntry_DoNotUse::MergeFrom(const Order_V1_DataEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata Order_V1_DataEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void Order_V1_DataEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -void Order_V1::InitAsDefaultInstance() { -} -class Order_V1::_Internal { - public: -}; - -Order_V1::Order_V1() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.Order_V1) -} -Order_V1::Order_V1(const Order_V1& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - operationuuids_.MergeFrom(from.operationuuids_); - data_.MergeFrom(from.data_); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_uuid().empty()) { - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - invoicefilename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_invoicefilename().empty()) { - invoicefilename_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.invoicefilename_); - } - ::memcpy(&invoicenumber_, &from.invoicenumber_, - static_cast<size_t>(reinterpret_cast<char*>(&status_) - - reinterpret_cast<char*>(&invoicenumber_)) + sizeof(status_)); - // @@protoc_insertion_point(copy_constructor:api.Order_V1) -} - -void Order_V1::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Order_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - invoicefilename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&invoicenumber_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&status_) - - reinterpret_cast<char*>(&invoicenumber_)) + sizeof(status_)); -} - -Order_V1::~Order_V1() { - // @@protoc_insertion_point(destructor:api.Order_V1) - SharedDtor(); -} - -void Order_V1::SharedDtor() { - uuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - invoicefilename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void Order_V1::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Order_V1& Order_V1::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Order_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void Order_V1::Clear() { -// @@protoc_insertion_point(message_clear_start:api.Order_V1) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - operationuuids_.Clear(); - data_.Clear(); - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - invoicefilename_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&invoicenumber_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&status_) - - reinterpret_cast<char*>(&invoicenumber_)) + sizeof(status_)); - _internal_metadata_.Clear(); -} - -const char* Order_V1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string uuid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_uuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.Order_V1.uuid")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string invoiceFilename = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_invoicefilename(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.Order_V1.invoiceFilename")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // map<string, string> operationUUIDS = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&operationuuids_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else goto handle_unusual; - continue; - // .api.OrderStatus status = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_status(static_cast<::api::OrderStatus>(val)); - } else goto handle_unusual; - continue; - // map<string, string> data = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&data_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else goto handle_unusual; - continue; - // int64 invoiceNumber = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { - invoicenumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // int64 orderNumber = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { - ordernumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // int64 stamp = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { - stamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* Order_V1::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.Order_V1) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uuid = 1; - if (this->uuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_uuid().data(), static_cast<int>(this->_internal_uuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Order_V1.uuid"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_uuid(), target); - } - - // string invoiceFilename = 2; - if (this->invoicefilename().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_invoicefilename().data(), static_cast<int>(this->_internal_invoicefilename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Order_V1.invoiceFilename"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_invoicefilename(), target); - } - - // map<string, string> operationUUIDS = 3; - if (!this->_internal_operationuuids().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Order_V1.OperationUUIDSEntry.key"); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast<int>(p->second.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Order_V1.OperationUUIDSEntry.value"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_operationuuids().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_operationuuids().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator - it = this->_internal_operationuuids().begin(); - it != this->_internal_operationuuids().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = Order_V1_OperationUUIDSEntry_DoNotUse::Funcs::InternalSerialize(3, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator - it = this->_internal_operationuuids().begin(); - it != this->_internal_operationuuids().end(); ++it) { - target = Order_V1_OperationUUIDSEntry_DoNotUse::Funcs::InternalSerialize(3, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // .api.OrderStatus status = 4; - if (this->status() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 4, this->_internal_status(), target); - } - - // map<string, string> data = 5; - if (!this->_internal_data().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Order_V1.DataEntry.key"); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast<int>(p->second.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.Order_V1.DataEntry.value"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_data().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_data().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator - it = this->_internal_data().begin(); - it != this->_internal_data().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = Order_V1_DataEntry_DoNotUse::Funcs::InternalSerialize(5, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator - it = this->_internal_data().begin(); - it != this->_internal_data().end(); ++it) { - target = Order_V1_DataEntry_DoNotUse::Funcs::InternalSerialize(5, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // int64 invoiceNumber = 6; - if (this->invoicenumber() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(6, this->_internal_invoicenumber(), target); - } - - // int64 orderNumber = 7; - if (this->ordernumber() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(7, this->_internal_ordernumber(), target); - } - - // int64 stamp = 8; - if (this->stamp() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(8, this->_internal_stamp(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.Order_V1) - return target; -} - -size_t Order_V1::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.Order_V1) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map<string, string> operationUUIDS = 3; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_operationuuids_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator - it = this->_internal_operationuuids().begin(); - it != this->_internal_operationuuids().end(); ++it) { - total_size += Order_V1_OperationUUIDSEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, string> data = 5; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_data_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator - it = this->_internal_data().begin(); - it != this->_internal_data().end(); ++it) { - total_size += Order_V1_DataEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // string uuid = 1; - if (this->uuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_uuid()); - } - - // string invoiceFilename = 2; - if (this->invoicefilename().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_invoicefilename()); - } - - // int64 invoiceNumber = 6; - if (this->invoicenumber() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_invoicenumber()); - } - - // int64 orderNumber = 7; - if (this->ordernumber() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_ordernumber()); - } - - // int64 stamp = 8; - if (this->stamp() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_stamp()); - } - - // .api.OrderStatus status = 4; - if (this->status() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Order_V1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.Order_V1) - GOOGLE_DCHECK_NE(&from, this); - const Order_V1* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Order_V1>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.Order_V1) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.Order_V1) - MergeFrom(*source); - } -} - -void Order_V1::MergeFrom(const Order_V1& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.Order_V1) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - operationuuids_.MergeFrom(from.operationuuids_); - data_.MergeFrom(from.data_); - if (from.uuid().size() > 0) { - - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - if (from.invoicefilename().size() > 0) { - - invoicefilename_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.invoicefilename_); - } - if (from.invoicenumber() != 0) { - _internal_set_invoicenumber(from._internal_invoicenumber()); - } - if (from.ordernumber() != 0) { - _internal_set_ordernumber(from._internal_ordernumber()); - } - if (from.stamp() != 0) { - _internal_set_stamp(from._internal_stamp()); - } - if (from.status() != 0) { - _internal_set_status(from._internal_status()); - } -} - -void Order_V1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.Order_V1) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Order_V1::CopyFrom(const Order_V1& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.Order_V1) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Order_V1::IsInitialized() const { - return true; -} - -void Order_V1::InternalSwap(Order_V1* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - operationuuids_.Swap(&other->operationuuids_); - data_.Swap(&other->data_); - uuid_.Swap(&other->uuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - invoicefilename_.Swap(&other->invoicefilename_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(invoicenumber_, other->invoicenumber_); - swap(ordernumber_, other->ordernumber_); - swap(stamp_, other->stamp_); - swap(status_, other->status_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Order_V1::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -EntityMessage_V1_ClaimsEntry_DoNotUse::EntityMessage_V1_ClaimsEntry_DoNotUse() {} -EntityMessage_V1_ClaimsEntry_DoNotUse::EntityMessage_V1_ClaimsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V1_ClaimsEntry_DoNotUse::MergeFrom(const EntityMessage_V1_ClaimsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V1_ClaimsEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V1_ClaimsEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V1_PassportsCountersEntry_DoNotUse::EntityMessage_V1_PassportsCountersEntry_DoNotUse() {} -EntityMessage_V1_PassportsCountersEntry_DoNotUse::EntityMessage_V1_PassportsCountersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V1_PassportsCountersEntry_DoNotUse::MergeFrom(const EntityMessage_V1_PassportsCountersEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V1_PassportsCountersEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V1_PassportsCountersEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V1_ContactStatusesEntry_DoNotUse::EntityMessage_V1_ContactStatusesEntry_DoNotUse() {} -EntityMessage_V1_ContactStatusesEntry_DoNotUse::EntityMessage_V1_ContactStatusesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V1_ContactStatusesEntry_DoNotUse::MergeFrom(const EntityMessage_V1_ContactStatusesEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V1_ContactStatusesEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V1_ContactStatusesEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -void EntityMessage_V1::InitAsDefaultInstance() { -} -class EntityMessage_V1::_Internal { - public: -}; - -EntityMessage_V1::EntityMessage_V1() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.EntityMessage_V1) -} -EntityMessage_V1::EntityMessage_V1(const EntityMessage_V1& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - guarded_(from.guarded_), - guardians_(from.guardians_), - members_(from.members_), - memberof_(from.memberof_), - parents_(from.parents_), - children_(from.children_), - viewed_(from.viewed_), - viewers_(from.viewers_), - authenticationkeys_(from.authenticationkeys_), - certificates_(from.certificates_), - symmetrickeys_(from.symmetrickeys_), - pendingsharingrequests_(from.pendingsharingrequests_), - rejectedsharingrequests_(from.rejectedsharingrequests_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - claims_.MergeFrom(from.claims_); - passportscounters_.MergeFrom(from.passportscounters_); - contactstatuses_.MergeFrom(from.contactstatuses_); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_uuid().empty()) { - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - otpsecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_otpsecret().empty()) { - otpsecret_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.otpsecret_); - } - entitycertificate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_entitycertificate().empty()) { - entitycertificate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.entitycertificate_); - } - ::memcpy(&stamp_, &from.stamp_, - static_cast<size_t>(reinterpret_cast<char*>(&created_) - - reinterpret_cast<char*>(&stamp_)) + sizeof(created_)); - // @@protoc_insertion_point(copy_constructor:api.EntityMessage_V1) -} - -void EntityMessage_V1::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EntityMessage_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - otpsecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - entitycertificate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&stamp_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&created_) - - reinterpret_cast<char*>(&stamp_)) + sizeof(created_)); -} - -EntityMessage_V1::~EntityMessage_V1() { - // @@protoc_insertion_point(destructor:api.EntityMessage_V1) - SharedDtor(); -} - -void EntityMessage_V1::SharedDtor() { - uuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - otpsecret_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - entitycertificate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void EntityMessage_V1::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EntityMessage_V1& EntityMessage_V1::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EntityMessage_V1_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void EntityMessage_V1::Clear() { -// @@protoc_insertion_point(message_clear_start:api.EntityMessage_V1) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - claims_.Clear(); - guarded_.Clear(); - guardians_.Clear(); - members_.Clear(); - memberof_.Clear(); - parents_.Clear(); - children_.Clear(); - viewed_.Clear(); - viewers_.Clear(); - authenticationkeys_.Clear(); - certificates_.Clear(); - symmetrickeys_.Clear(); - passportscounters_.Clear(); - contactstatuses_.Clear(); - pendingsharingrequests_.Clear(); - rejectedsharingrequests_.Clear(); - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - otpsecret_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - entitycertificate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&stamp_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&created_) - - reinterpret_cast<char*>(&stamp_)) + sizeof(created_)); - _internal_metadata_.Clear(); -} - -const char* EntityMessage_V1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string uuid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_uuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.uuid")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // .api.EntityType type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_type(static_cast<::api::EntityType>(val)); - } else goto handle_unusual; - continue; - // map<string, .api.ClaimTagsMap_V1> claims = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&claims_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else goto handle_unusual; - continue; - // repeated string guarded = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_guarded(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.guarded")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else goto handle_unusual; - continue; - // repeated string guardians = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_guardians(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.guardians")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else goto handle_unusual; - continue; - // repeated string members = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_members(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.members")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else goto handle_unusual; - continue; - // repeated string memberOf = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_memberof(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.memberOf")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); - } else goto handle_unusual; - continue; - // repeated string parents = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_parents(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.parents")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); - } else goto handle_unusual; - continue; - // repeated string children = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_children(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.children")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); - } else goto handle_unusual; - continue; - // int64 stamp = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { - stamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated string viewed = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_viewed(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.viewed")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); - } else goto handle_unusual; - continue; - // repeated string viewers = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_viewers(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.viewers")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else goto handle_unusual; - continue; - // string otpSecret = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) { - auto str = _internal_mutable_otpsecret(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.otpSecret")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // bool activated = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) { - activated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated string authenticationKeys = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_authenticationkeys(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.authenticationKeys")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<130>(ptr)); - } else goto handle_unusual; - continue; - // repeated string certificates = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_certificates(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.certificates")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<138>(ptr)); - } else goto handle_unusual; - continue; - // string entityCertificate = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) { - auto str = _internal_mutable_entitycertificate(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.entityCertificate")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated string symmetricKeys = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 154)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_symmetrickeys(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.symmetricKeys")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<154>(ptr)); - } else goto handle_unusual; - continue; - // int64 created = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) { - created_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // map<string, int64> passportsCounters = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 170)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(&passportscounters_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<170>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.ContactStatus> contactStatuses = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(&contactstatuses_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<178>(ptr)); - } else goto handle_unusual; - continue; - // bool temporary = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 184)) { - temporary_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated string pendingSharingRequests = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 194)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_pendingsharingrequests(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.pendingSharingRequests")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<194>(ptr)); - } else goto handle_unusual; - continue; - // repeated string rejectedSharingRequests = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 202)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_rejectedsharingrequests(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V1.rejectedSharingRequests")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<202>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* EntityMessage_V1::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.EntityMessage_V1) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uuid = 1; - if (this->uuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_uuid().data(), static_cast<int>(this->_internal_uuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.uuid"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_uuid(), target); - } - - // .api.EntityType type = 2; - if (this->type() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 2, this->_internal_type(), target); - } - - // map<string, .api.ClaimTagsMap_V1> claims = 3; - if (!this->_internal_claims().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.ClaimsEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_claims().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_claims().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::const_iterator - it = this->_internal_claims().begin(); - it != this->_internal_claims().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V1_ClaimsEntry_DoNotUse::Funcs::InternalSerialize(3, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::const_iterator - it = this->_internal_claims().begin(); - it != this->_internal_claims().end(); ++it) { - target = EntityMessage_V1_ClaimsEntry_DoNotUse::Funcs::InternalSerialize(3, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // repeated string guarded = 4; - for (int i = 0, n = this->_internal_guarded_size(); i < n; i++) { - const auto& s = this->_internal_guarded(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.guarded"); - target = stream->WriteString(4, s, target); - } - - // repeated string guardians = 5; - for (int i = 0, n = this->_internal_guardians_size(); i < n; i++) { - const auto& s = this->_internal_guardians(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.guardians"); - target = stream->WriteString(5, s, target); - } - - // repeated string members = 6; - for (int i = 0, n = this->_internal_members_size(); i < n; i++) { - const auto& s = this->_internal_members(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.members"); - target = stream->WriteString(6, s, target); - } - - // repeated string memberOf = 7; - for (int i = 0, n = this->_internal_memberof_size(); i < n; i++) { - const auto& s = this->_internal_memberof(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.memberOf"); - target = stream->WriteString(7, s, target); - } - - // repeated string parents = 8; - for (int i = 0, n = this->_internal_parents_size(); i < n; i++) { - const auto& s = this->_internal_parents(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.parents"); - target = stream->WriteString(8, s, target); - } - - // repeated string children = 9; - for (int i = 0, n = this->_internal_children_size(); i < n; i++) { - const auto& s = this->_internal_children(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.children"); - target = stream->WriteString(9, s, target); - } - - // int64 stamp = 11; - if (this->stamp() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(11, this->_internal_stamp(), target); - } - - // repeated string viewed = 12; - for (int i = 0, n = this->_internal_viewed_size(); i < n; i++) { - const auto& s = this->_internal_viewed(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.viewed"); - target = stream->WriteString(12, s, target); - } - - // repeated string viewers = 13; - for (int i = 0, n = this->_internal_viewers_size(); i < n; i++) { - const auto& s = this->_internal_viewers(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.viewers"); - target = stream->WriteString(13, s, target); - } - - // string otpSecret = 14; - if (this->otpsecret().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_otpsecret().data(), static_cast<int>(this->_internal_otpsecret().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.otpSecret"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_otpsecret(), target); - } - - // bool activated = 15; - if (this->activated() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(15, this->_internal_activated(), target); - } - - // repeated string authenticationKeys = 16; - for (int i = 0, n = this->_internal_authenticationkeys_size(); i < n; i++) { - const auto& s = this->_internal_authenticationkeys(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.authenticationKeys"); - target = stream->WriteString(16, s, target); - } - - // repeated string certificates = 17; - for (int i = 0, n = this->_internal_certificates_size(); i < n; i++) { - const auto& s = this->_internal_certificates(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.certificates"); - target = stream->WriteString(17, s, target); - } - - // string entityCertificate = 18; - if (this->entitycertificate().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_entitycertificate().data(), static_cast<int>(this->_internal_entitycertificate().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.entityCertificate"); - target = stream->WriteStringMaybeAliased( - 18, this->_internal_entitycertificate(), target); - } - - // repeated string symmetricKeys = 19; - for (int i = 0, n = this->_internal_symmetrickeys_size(); i < n; i++) { - const auto& s = this->_internal_symmetrickeys(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.symmetricKeys"); - target = stream->WriteString(19, s, target); - } - - // int64 created = 20; - if (this->created() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(20, this->_internal_created(), target); - } - - // map<string, int64> passportsCounters = 21; - if (!this->_internal_passportscounters().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.PassportsCountersEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_passportscounters().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_passportscounters().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator - it = this->_internal_passportscounters().begin(); - it != this->_internal_passportscounters().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V1_PassportsCountersEntry_DoNotUse::Funcs::InternalSerialize(21, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator - it = this->_internal_passportscounters().begin(); - it != this->_internal_passportscounters().end(); ++it) { - target = EntityMessage_V1_PassportsCountersEntry_DoNotUse::Funcs::InternalSerialize(21, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.ContactStatus> contactStatuses = 22; - if (!this->_internal_contactstatuses().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.ContactStatusesEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_contactstatuses().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_contactstatuses().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::const_iterator - it = this->_internal_contactstatuses().begin(); - it != this->_internal_contactstatuses().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V1_ContactStatusesEntry_DoNotUse::Funcs::InternalSerialize(22, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::const_iterator - it = this->_internal_contactstatuses().begin(); - it != this->_internal_contactstatuses().end(); ++it) { - target = EntityMessage_V1_ContactStatusesEntry_DoNotUse::Funcs::InternalSerialize(22, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // bool temporary = 23; - if (this->temporary() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(23, this->_internal_temporary(), target); - } - - // repeated string pendingSharingRequests = 24; - for (int i = 0, n = this->_internal_pendingsharingrequests_size(); i < n; i++) { - const auto& s = this->_internal_pendingsharingrequests(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.pendingSharingRequests"); - target = stream->WriteString(24, s, target); - } - - // repeated string rejectedSharingRequests = 25; - for (int i = 0, n = this->_internal_rejectedsharingrequests_size(); i < n; i++) { - const auto& s = this->_internal_rejectedsharingrequests(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V1.rejectedSharingRequests"); - target = stream->WriteString(25, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.EntityMessage_V1) - return target; -} - -size_t EntityMessage_V1::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.EntityMessage_V1) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map<string, .api.ClaimTagsMap_V1> claims = 3; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_claims_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::const_iterator - it = this->_internal_claims().begin(); - it != this->_internal_claims().end(); ++it) { - total_size += EntityMessage_V1_ClaimsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // repeated string guarded = 4; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(guarded_.size()); - for (int i = 0, n = guarded_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - guarded_.Get(i)); - } - - // repeated string guardians = 5; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(guardians_.size()); - for (int i = 0, n = guardians_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - guardians_.Get(i)); - } - - // repeated string members = 6; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(members_.size()); - for (int i = 0, n = members_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - members_.Get(i)); - } - - // repeated string memberOf = 7; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(memberof_.size()); - for (int i = 0, n = memberof_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - memberof_.Get(i)); - } - - // repeated string parents = 8; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(parents_.size()); - for (int i = 0, n = parents_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - parents_.Get(i)); - } - - // repeated string children = 9; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(children_.size()); - for (int i = 0, n = children_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - children_.Get(i)); - } - - // repeated string viewed = 12; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(viewed_.size()); - for (int i = 0, n = viewed_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - viewed_.Get(i)); - } - - // repeated string viewers = 13; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(viewers_.size()); - for (int i = 0, n = viewers_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - viewers_.Get(i)); - } - - // repeated string authenticationKeys = 16; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(authenticationkeys_.size()); - for (int i = 0, n = authenticationkeys_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - authenticationkeys_.Get(i)); - } - - // repeated string certificates = 17; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(certificates_.size()); - for (int i = 0, n = certificates_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - certificates_.Get(i)); - } - - // repeated string symmetricKeys = 19; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(symmetrickeys_.size()); - for (int i = 0, n = symmetrickeys_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - symmetrickeys_.Get(i)); - } - - // map<string, int64> passportsCounters = 21; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_passportscounters_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator - it = this->_internal_passportscounters().begin(); - it != this->_internal_passportscounters().end(); ++it) { - total_size += EntityMessage_V1_PassportsCountersEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.ContactStatus> contactStatuses = 22; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_contactstatuses_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::const_iterator - it = this->_internal_contactstatuses().begin(); - it != this->_internal_contactstatuses().end(); ++it) { - total_size += EntityMessage_V1_ContactStatusesEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // repeated string pendingSharingRequests = 24; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(pendingsharingrequests_.size()); - for (int i = 0, n = pendingsharingrequests_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - pendingsharingrequests_.Get(i)); - } - - // repeated string rejectedSharingRequests = 25; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(rejectedsharingrequests_.size()); - for (int i = 0, n = rejectedsharingrequests_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - rejectedsharingrequests_.Get(i)); - } - - // string uuid = 1; - if (this->uuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_uuid()); - } - - // string otpSecret = 14; - if (this->otpsecret().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_otpsecret()); - } - - // string entityCertificate = 18; - if (this->entitycertificate().size() > 0) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_entitycertificate()); - } - - // int64 stamp = 11; - if (this->stamp() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_stamp()); - } - - // .api.EntityType type = 2; - if (this->type() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type()); - } - - // bool activated = 15; - if (this->activated() != 0) { - total_size += 1 + 1; - } - - // bool temporary = 23; - if (this->temporary() != 0) { - total_size += 2 + 1; - } - - // int64 created = 20; - if (this->created() != 0) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_created()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EntityMessage_V1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.EntityMessage_V1) - GOOGLE_DCHECK_NE(&from, this); - const EntityMessage_V1* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EntityMessage_V1>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.EntityMessage_V1) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.EntityMessage_V1) - MergeFrom(*source); - } -} - -void EntityMessage_V1::MergeFrom(const EntityMessage_V1& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.EntityMessage_V1) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - claims_.MergeFrom(from.claims_); - guarded_.MergeFrom(from.guarded_); - guardians_.MergeFrom(from.guardians_); - members_.MergeFrom(from.members_); - memberof_.MergeFrom(from.memberof_); - parents_.MergeFrom(from.parents_); - children_.MergeFrom(from.children_); - viewed_.MergeFrom(from.viewed_); - viewers_.MergeFrom(from.viewers_); - authenticationkeys_.MergeFrom(from.authenticationkeys_); - certificates_.MergeFrom(from.certificates_); - symmetrickeys_.MergeFrom(from.symmetrickeys_); - passportscounters_.MergeFrom(from.passportscounters_); - contactstatuses_.MergeFrom(from.contactstatuses_); - pendingsharingrequests_.MergeFrom(from.pendingsharingrequests_); - rejectedsharingrequests_.MergeFrom(from.rejectedsharingrequests_); - if (from.uuid().size() > 0) { - - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - if (from.otpsecret().size() > 0) { - - otpsecret_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.otpsecret_); - } - if (from.entitycertificate().size() > 0) { - - entitycertificate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.entitycertificate_); - } - if (from.stamp() != 0) { - _internal_set_stamp(from._internal_stamp()); - } - if (from.type() != 0) { - _internal_set_type(from._internal_type()); - } - if (from.activated() != 0) { - _internal_set_activated(from._internal_activated()); - } - if (from.temporary() != 0) { - _internal_set_temporary(from._internal_temporary()); - } - if (from.created() != 0) { - _internal_set_created(from._internal_created()); - } -} - -void EntityMessage_V1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.EntityMessage_V1) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EntityMessage_V1::CopyFrom(const EntityMessage_V1& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.EntityMessage_V1) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EntityMessage_V1::IsInitialized() const { - return true; -} - -void EntityMessage_V1::InternalSwap(EntityMessage_V1* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - claims_.Swap(&other->claims_); - guarded_.InternalSwap(&other->guarded_); - guardians_.InternalSwap(&other->guardians_); - members_.InternalSwap(&other->members_); - memberof_.InternalSwap(&other->memberof_); - parents_.InternalSwap(&other->parents_); - children_.InternalSwap(&other->children_); - viewed_.InternalSwap(&other->viewed_); - viewers_.InternalSwap(&other->viewers_); - authenticationkeys_.InternalSwap(&other->authenticationkeys_); - certificates_.InternalSwap(&other->certificates_); - symmetrickeys_.InternalSwap(&other->symmetrickeys_); - passportscounters_.Swap(&other->passportscounters_); - contactstatuses_.Swap(&other->contactstatuses_); - pendingsharingrequests_.InternalSwap(&other->pendingsharingrequests_); - rejectedsharingrequests_.InternalSwap(&other->rejectedsharingrequests_); - uuid_.Swap(&other->uuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - otpsecret_.Swap(&other->otpsecret_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - entitycertificate_.Swap(&other->entitycertificate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(stamp_, other->stamp_); - swap(type_, other->type_); - swap(activated_, other->activated_); - swap(temporary_, other->temporary_); - swap(created_, other->created_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V1::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -EntityMessage_V2_ClaimsEntry_DoNotUse::EntityMessage_V2_ClaimsEntry_DoNotUse() {} -EntityMessage_V2_ClaimsEntry_DoNotUse::EntityMessage_V2_ClaimsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_ClaimsEntry_DoNotUse::MergeFrom(const EntityMessage_V2_ClaimsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_ClaimsEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_ClaimsEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_GuardedEntry_DoNotUse::EntityMessage_V2_GuardedEntry_DoNotUse() {} -EntityMessage_V2_GuardedEntry_DoNotUse::EntityMessage_V2_GuardedEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_GuardedEntry_DoNotUse::MergeFrom(const EntityMessage_V2_GuardedEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_GuardedEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_GuardedEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_GuardiansEntry_DoNotUse::EntityMessage_V2_GuardiansEntry_DoNotUse() {} -EntityMessage_V2_GuardiansEntry_DoNotUse::EntityMessage_V2_GuardiansEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_GuardiansEntry_DoNotUse::MergeFrom(const EntityMessage_V2_GuardiansEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_GuardiansEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_GuardiansEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_MembersEntry_DoNotUse::EntityMessage_V2_MembersEntry_DoNotUse() {} -EntityMessage_V2_MembersEntry_DoNotUse::EntityMessage_V2_MembersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_MembersEntry_DoNotUse::MergeFrom(const EntityMessage_V2_MembersEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_MembersEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_MembersEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_MemberOfEntry_DoNotUse::EntityMessage_V2_MemberOfEntry_DoNotUse() {} -EntityMessage_V2_MemberOfEntry_DoNotUse::EntityMessage_V2_MemberOfEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_MemberOfEntry_DoNotUse::MergeFrom(const EntityMessage_V2_MemberOfEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_MemberOfEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_MemberOfEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_ParentsEntry_DoNotUse::EntityMessage_V2_ParentsEntry_DoNotUse() {} -EntityMessage_V2_ParentsEntry_DoNotUse::EntityMessage_V2_ParentsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_ParentsEntry_DoNotUse::MergeFrom(const EntityMessage_V2_ParentsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_ParentsEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_ParentsEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_ChildrenEntry_DoNotUse::EntityMessage_V2_ChildrenEntry_DoNotUse() {} -EntityMessage_V2_ChildrenEntry_DoNotUse::EntityMessage_V2_ChildrenEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_ChildrenEntry_DoNotUse::MergeFrom(const EntityMessage_V2_ChildrenEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_ChildrenEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_ChildrenEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_ViewedEntry_DoNotUse::EntityMessage_V2_ViewedEntry_DoNotUse() {} -EntityMessage_V2_ViewedEntry_DoNotUse::EntityMessage_V2_ViewedEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_ViewedEntry_DoNotUse::MergeFrom(const EntityMessage_V2_ViewedEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_ViewedEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_ViewedEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_ViewersEntry_DoNotUse::EntityMessage_V2_ViewersEntry_DoNotUse() {} -EntityMessage_V2_ViewersEntry_DoNotUse::EntityMessage_V2_ViewersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_ViewersEntry_DoNotUse::MergeFrom(const EntityMessage_V2_ViewersEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_ViewersEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_ViewersEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_PassportsCountersEntry_DoNotUse::EntityMessage_V2_PassportsCountersEntry_DoNotUse() {} -EntityMessage_V2_PassportsCountersEntry_DoNotUse::EntityMessage_V2_PassportsCountersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_PassportsCountersEntry_DoNotUse::MergeFrom(const EntityMessage_V2_PassportsCountersEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_PassportsCountersEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_PassportsCountersEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_ContactStatusesEntry_DoNotUse::EntityMessage_V2_ContactStatusesEntry_DoNotUse() {} -EntityMessage_V2_ContactStatusesEntry_DoNotUse::EntityMessage_V2_ContactStatusesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_ContactStatusesEntry_DoNotUse::MergeFrom(const EntityMessage_V2_ContactStatusesEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_ContactStatusesEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_ContactStatusesEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_OrdersEntry_DoNotUse::EntityMessage_V2_OrdersEntry_DoNotUse() {} -EntityMessage_V2_OrdersEntry_DoNotUse::EntityMessage_V2_OrdersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_OrdersEntry_DoNotUse::MergeFrom(const EntityMessage_V2_OrdersEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_OrdersEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_OrdersEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_SystemParentsEntry_DoNotUse::EntityMessage_V2_SystemParentsEntry_DoNotUse() {} -EntityMessage_V2_SystemParentsEntry_DoNotUse::EntityMessage_V2_SystemParentsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_SystemParentsEntry_DoNotUse::MergeFrom(const EntityMessage_V2_SystemParentsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_SystemParentsEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_SystemParentsEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -EntityMessage_V2_SystemChildrenEntry_DoNotUse::EntityMessage_V2_SystemChildrenEntry_DoNotUse() {} -EntityMessage_V2_SystemChildrenEntry_DoNotUse::EntityMessage_V2_SystemChildrenEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityMessage_V2_SystemChildrenEntry_DoNotUse::MergeFrom(const EntityMessage_V2_SystemChildrenEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2_SystemChildrenEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityMessage_V2_SystemChildrenEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -void EntityMessage_V2::InitAsDefaultInstance() { -} -class EntityMessage_V2::_Internal { - public: -}; - -EntityMessage_V2::EntityMessage_V2() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.EntityMessage_V2) -} -EntityMessage_V2::EntityMessage_V2(const EntityMessage_V2& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - authenticationkeys_(from.authenticationkeys_), - certificates_(from.certificates_), - symmetrickeys_(from.symmetrickeys_), - pendingsharingrequests_(from.pendingsharingrequests_), - rejectedsharingrequests_(from.rejectedsharingrequests_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - claims_.MergeFrom(from.claims_); - guarded_.MergeFrom(from.guarded_); - guardians_.MergeFrom(from.guardians_); - members_.MergeFrom(from.members_); - memberof_.MergeFrom(from.memberof_); - parents_.MergeFrom(from.parents_); - children_.MergeFrom(from.children_); - viewed_.MergeFrom(from.viewed_); - viewers_.MergeFrom(from.viewers_); - passportscounters_.MergeFrom(from.passportscounters_); - contactstatuses_.MergeFrom(from.contactstatuses_); - orders_.MergeFrom(from.orders_); - systemparents_.MergeFrom(from.systemparents_); - systemchildren_.MergeFrom(from.systemchildren_); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_uuid().empty()) { - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - otpsecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_otpsecret().empty()) { - otpsecret_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.otpsecret_); - } - entitycertificate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_entitycertificate().empty()) { - entitycertificate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.entitycertificate_); - } - ::memcpy(&stamp_, &from.stamp_, - static_cast<size_t>(reinterpret_cast<char*>(&shared_) - - reinterpret_cast<char*>(&stamp_)) + sizeof(shared_)); - // @@protoc_insertion_point(copy_constructor:api.EntityMessage_V2) -} - -void EntityMessage_V2::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - otpsecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - entitycertificate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&stamp_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&shared_) - - reinterpret_cast<char*>(&stamp_)) + sizeof(shared_)); -} - -EntityMessage_V2::~EntityMessage_V2() { - // @@protoc_insertion_point(destructor:api.EntityMessage_V2) - SharedDtor(); -} - -void EntityMessage_V2::SharedDtor() { - uuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - otpsecret_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - entitycertificate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void EntityMessage_V2::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EntityMessage_V2& EntityMessage_V2::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void EntityMessage_V2::Clear() { -// @@protoc_insertion_point(message_clear_start:api.EntityMessage_V2) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - claims_.Clear(); - guarded_.Clear(); - guardians_.Clear(); - members_.Clear(); - memberof_.Clear(); - parents_.Clear(); - children_.Clear(); - viewed_.Clear(); - viewers_.Clear(); - authenticationkeys_.Clear(); - certificates_.Clear(); - symmetrickeys_.Clear(); - passportscounters_.Clear(); - contactstatuses_.Clear(); - pendingsharingrequests_.Clear(); - rejectedsharingrequests_.Clear(); - orders_.Clear(); - systemparents_.Clear(); - systemchildren_.Clear(); - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - otpsecret_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - entitycertificate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&stamp_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&shared_) - - reinterpret_cast<char*>(&stamp_)) + sizeof(shared_)); - _internal_metadata_.Clear(); -} - -const char* EntityMessage_V2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string uuid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_uuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V2.uuid")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // .api.EntityType type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_type(static_cast<::api::EntityType>(val)); - } else goto handle_unusual; - continue; - // map<string, .api.ClaimTagsMap_V1> claims = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&claims_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> guarded = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&guarded_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> guardians = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&guardians_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> members = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&members_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> memberOf = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&memberof_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> parents = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&parents_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> children = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&children_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); - } else goto handle_unusual; - continue; - // int64 stamp = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { - stamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> viewed = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&viewed_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> viewers = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&viewers_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else goto handle_unusual; - continue; - // string otpSecret = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) { - auto str = _internal_mutable_otpsecret(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V2.otpSecret")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // bool activated = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) { - activated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated string authenticationKeys = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_authenticationkeys(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V2.authenticationKeys")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<130>(ptr)); - } else goto handle_unusual; - continue; - // repeated string certificates = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_certificates(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V2.certificates")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<138>(ptr)); - } else goto handle_unusual; - continue; - // string entityCertificate = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) { - auto str = _internal_mutable_entitycertificate(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V2.entityCertificate")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated string symmetricKeys = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 154)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_symmetrickeys(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V2.symmetricKeys")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<154>(ptr)); - } else goto handle_unusual; - continue; - // int64 created = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) { - created_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // map<string, int64> passportsCounters = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 170)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(&passportscounters_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<170>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.ContactStatus> contactStatuses = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(&contactstatuses_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<178>(ptr)); - } else goto handle_unusual; - continue; - // bool temporary = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 184)) { - temporary_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated string pendingSharingRequests = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 194)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_pendingsharingrequests(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V2.pendingSharingRequests")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<194>(ptr)); - } else goto handle_unusual; - continue; - // repeated string rejectedSharingRequests = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 202)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_rejectedsharingrequests(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityMessage_V2.rejectedSharingRequests")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<202>(ptr)); - } else goto handle_unusual; - continue; - // bool deleted = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 208)) { - deleted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // map<string, .api.OrderStatus> orders = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 218)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(&orders_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<218>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> systemParents = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 226)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(&systemparents_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<226>(ptr)); - } else goto handle_unusual; - continue; - // map<string, .api.RelationStatus> systemChildren = 29; - case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 234)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(&systemchildren_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<234>(ptr)); - } else goto handle_unusual; - continue; - // bool shared = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 240)) { - shared_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // bool blocked = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 248)) { - blocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // int64 lastLogin = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 0)) { - lastlogin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* EntityMessage_V2::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.EntityMessage_V2) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uuid = 1; - if (this->uuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_uuid().data(), static_cast<int>(this->_internal_uuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.uuid"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_uuid(), target); - } - - // .api.EntityType type = 2; - if (this->type() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 2, this->_internal_type(), target); - } - - // map<string, .api.ClaimTagsMap_V1> claims = 3; - if (!this->_internal_claims().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.ClaimsEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_claims().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_claims().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::const_iterator - it = this->_internal_claims().begin(); - it != this->_internal_claims().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_ClaimsEntry_DoNotUse::Funcs::InternalSerialize(3, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::const_iterator - it = this->_internal_claims().begin(); - it != this->_internal_claims().end(); ++it) { - target = EntityMessage_V2_ClaimsEntry_DoNotUse::Funcs::InternalSerialize(3, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.RelationStatus> guarded = 4; - if (!this->_internal_guarded().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.GuardedEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_guarded().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_guarded().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_guarded().begin(); - it != this->_internal_guarded().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_GuardedEntry_DoNotUse::Funcs::InternalSerialize(4, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_guarded().begin(); - it != this->_internal_guarded().end(); ++it) { - target = EntityMessage_V2_GuardedEntry_DoNotUse::Funcs::InternalSerialize(4, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.RelationStatus> guardians = 5; - if (!this->_internal_guardians().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.GuardiansEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_guardians().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_guardians().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_guardians().begin(); - it != this->_internal_guardians().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_GuardiansEntry_DoNotUse::Funcs::InternalSerialize(5, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_guardians().begin(); - it != this->_internal_guardians().end(); ++it) { - target = EntityMessage_V2_GuardiansEntry_DoNotUse::Funcs::InternalSerialize(5, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.RelationStatus> members = 6; - if (!this->_internal_members().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.MembersEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_members().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_members().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_members().begin(); - it != this->_internal_members().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_MembersEntry_DoNotUse::Funcs::InternalSerialize(6, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_members().begin(); - it != this->_internal_members().end(); ++it) { - target = EntityMessage_V2_MembersEntry_DoNotUse::Funcs::InternalSerialize(6, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.RelationStatus> memberOf = 7; - if (!this->_internal_memberof().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.MemberOfEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_memberof().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_memberof().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_memberof().begin(); - it != this->_internal_memberof().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_MemberOfEntry_DoNotUse::Funcs::InternalSerialize(7, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_memberof().begin(); - it != this->_internal_memberof().end(); ++it) { - target = EntityMessage_V2_MemberOfEntry_DoNotUse::Funcs::InternalSerialize(7, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.RelationStatus> parents = 8; - if (!this->_internal_parents().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.ParentsEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_parents().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_parents().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_parents().begin(); - it != this->_internal_parents().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_ParentsEntry_DoNotUse::Funcs::InternalSerialize(8, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_parents().begin(); - it != this->_internal_parents().end(); ++it) { - target = EntityMessage_V2_ParentsEntry_DoNotUse::Funcs::InternalSerialize(8, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.RelationStatus> children = 9; - if (!this->_internal_children().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.ChildrenEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_children().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_children().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_children().begin(); - it != this->_internal_children().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_ChildrenEntry_DoNotUse::Funcs::InternalSerialize(9, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_children().begin(); - it != this->_internal_children().end(); ++it) { - target = EntityMessage_V2_ChildrenEntry_DoNotUse::Funcs::InternalSerialize(9, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // int64 stamp = 11; - if (this->stamp() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(11, this->_internal_stamp(), target); - } - - // map<string, .api.RelationStatus> viewed = 12; - if (!this->_internal_viewed().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.ViewedEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_viewed().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_viewed().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_viewed().begin(); - it != this->_internal_viewed().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_ViewedEntry_DoNotUse::Funcs::InternalSerialize(12, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_viewed().begin(); - it != this->_internal_viewed().end(); ++it) { - target = EntityMessage_V2_ViewedEntry_DoNotUse::Funcs::InternalSerialize(12, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.RelationStatus> viewers = 13; - if (!this->_internal_viewers().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.ViewersEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_viewers().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_viewers().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_viewers().begin(); - it != this->_internal_viewers().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_ViewersEntry_DoNotUse::Funcs::InternalSerialize(13, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_viewers().begin(); - it != this->_internal_viewers().end(); ++it) { - target = EntityMessage_V2_ViewersEntry_DoNotUse::Funcs::InternalSerialize(13, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // string otpSecret = 14; - if (this->otpsecret().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_otpsecret().data(), static_cast<int>(this->_internal_otpsecret().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.otpSecret"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_otpsecret(), target); - } - - // bool activated = 15; - if (this->activated() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(15, this->_internal_activated(), target); - } - - // repeated string authenticationKeys = 16; - for (int i = 0, n = this->_internal_authenticationkeys_size(); i < n; i++) { - const auto& s = this->_internal_authenticationkeys(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.authenticationKeys"); - target = stream->WriteString(16, s, target); - } - - // repeated string certificates = 17; - for (int i = 0, n = this->_internal_certificates_size(); i < n; i++) { - const auto& s = this->_internal_certificates(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.certificates"); - target = stream->WriteString(17, s, target); - } - - // string entityCertificate = 18; - if (this->entitycertificate().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_entitycertificate().data(), static_cast<int>(this->_internal_entitycertificate().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.entityCertificate"); - target = stream->WriteStringMaybeAliased( - 18, this->_internal_entitycertificate(), target); - } - - // repeated string symmetricKeys = 19; - for (int i = 0, n = this->_internal_symmetrickeys_size(); i < n; i++) { - const auto& s = this->_internal_symmetrickeys(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.symmetricKeys"); - target = stream->WriteString(19, s, target); - } - - // int64 created = 20; - if (this->created() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(20, this->_internal_created(), target); - } - - // map<string, int64> passportsCounters = 21; - if (!this->_internal_passportscounters().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.PassportsCountersEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_passportscounters().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_passportscounters().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator - it = this->_internal_passportscounters().begin(); - it != this->_internal_passportscounters().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_PassportsCountersEntry_DoNotUse::Funcs::InternalSerialize(21, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator - it = this->_internal_passportscounters().begin(); - it != this->_internal_passportscounters().end(); ++it) { - target = EntityMessage_V2_PassportsCountersEntry_DoNotUse::Funcs::InternalSerialize(21, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.ContactStatus> contactStatuses = 22; - if (!this->_internal_contactstatuses().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.ContactStatusesEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_contactstatuses().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_contactstatuses().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::const_iterator - it = this->_internal_contactstatuses().begin(); - it != this->_internal_contactstatuses().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_ContactStatusesEntry_DoNotUse::Funcs::InternalSerialize(22, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::const_iterator - it = this->_internal_contactstatuses().begin(); - it != this->_internal_contactstatuses().end(); ++it) { - target = EntityMessage_V2_ContactStatusesEntry_DoNotUse::Funcs::InternalSerialize(22, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // bool temporary = 23; - if (this->temporary() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(23, this->_internal_temporary(), target); - } - - // repeated string pendingSharingRequests = 24; - for (int i = 0, n = this->_internal_pendingsharingrequests_size(); i < n; i++) { - const auto& s = this->_internal_pendingsharingrequests(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.pendingSharingRequests"); - target = stream->WriteString(24, s, target); - } - - // repeated string rejectedSharingRequests = 25; - for (int i = 0, n = this->_internal_rejectedsharingrequests_size(); i < n; i++) { - const auto& s = this->_internal_rejectedsharingrequests(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.rejectedSharingRequests"); - target = stream->WriteString(25, s, target); - } - - // bool deleted = 26; - if (this->deleted() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(26, this->_internal_deleted(), target); - } - - // map<string, .api.OrderStatus> orders = 27; - if (!this->_internal_orders().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.OrdersEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_orders().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_orders().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >::const_iterator - it = this->_internal_orders().begin(); - it != this->_internal_orders().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_OrdersEntry_DoNotUse::Funcs::InternalSerialize(27, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >::const_iterator - it = this->_internal_orders().begin(); - it != this->_internal_orders().end(); ++it) { - target = EntityMessage_V2_OrdersEntry_DoNotUse::Funcs::InternalSerialize(27, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.RelationStatus> systemParents = 28; - if (!this->_internal_systemparents().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.SystemParentsEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_systemparents().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_systemparents().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_systemparents().begin(); - it != this->_internal_systemparents().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_SystemParentsEntry_DoNotUse::Funcs::InternalSerialize(28, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_systemparents().begin(); - it != this->_internal_systemparents().end(); ++it) { - target = EntityMessage_V2_SystemParentsEntry_DoNotUse::Funcs::InternalSerialize(28, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // map<string, .api.RelationStatus> systemChildren = 29; - if (!this->_internal_systemchildren().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityMessage_V2.SystemChildrenEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_systemchildren().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_systemchildren().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_systemchildren().begin(); - it != this->_internal_systemchildren().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityMessage_V2_SystemChildrenEntry_DoNotUse::Funcs::InternalSerialize(29, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_systemchildren().begin(); - it != this->_internal_systemchildren().end(); ++it) { - target = EntityMessage_V2_SystemChildrenEntry_DoNotUse::Funcs::InternalSerialize(29, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - // bool shared = 30; - if (this->shared() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(30, this->_internal_shared(), target); - } - - // bool blocked = 31; - if (this->blocked() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(31, this->_internal_blocked(), target); - } - - // int64 lastLogin = 32; - if (this->lastlogin() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(32, this->_internal_lastlogin(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.EntityMessage_V2) - return target; -} - -size_t EntityMessage_V2::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.EntityMessage_V2) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map<string, .api.ClaimTagsMap_V1> claims = 3; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_claims_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >::const_iterator - it = this->_internal_claims().begin(); - it != this->_internal_claims().end(); ++it) { - total_size += EntityMessage_V2_ClaimsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> guarded = 4; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_guarded_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_guarded().begin(); - it != this->_internal_guarded().end(); ++it) { - total_size += EntityMessage_V2_GuardedEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> guardians = 5; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_guardians_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_guardians().begin(); - it != this->_internal_guardians().end(); ++it) { - total_size += EntityMessage_V2_GuardiansEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> members = 6; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_members_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_members().begin(); - it != this->_internal_members().end(); ++it) { - total_size += EntityMessage_V2_MembersEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> memberOf = 7; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_memberof_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_memberof().begin(); - it != this->_internal_memberof().end(); ++it) { - total_size += EntityMessage_V2_MemberOfEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> parents = 8; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_parents_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_parents().begin(); - it != this->_internal_parents().end(); ++it) { - total_size += EntityMessage_V2_ParentsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> children = 9; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_children_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_children().begin(); - it != this->_internal_children().end(); ++it) { - total_size += EntityMessage_V2_ChildrenEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> viewed = 12; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_viewed_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_viewed().begin(); - it != this->_internal_viewed().end(); ++it) { - total_size += EntityMessage_V2_ViewedEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> viewers = 13; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_viewers_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_viewers().begin(); - it != this->_internal_viewers().end(); ++it) { - total_size += EntityMessage_V2_ViewersEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // repeated string authenticationKeys = 16; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(authenticationkeys_.size()); - for (int i = 0, n = authenticationkeys_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - authenticationkeys_.Get(i)); - } - - // repeated string certificates = 17; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(certificates_.size()); - for (int i = 0, n = certificates_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - certificates_.Get(i)); - } - - // repeated string symmetricKeys = 19; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(symmetrickeys_.size()); - for (int i = 0, n = symmetrickeys_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - symmetrickeys_.Get(i)); - } - - // map<string, int64> passportsCounters = 21; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_passportscounters_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator - it = this->_internal_passportscounters().begin(); - it != this->_internal_passportscounters().end(); ++it) { - total_size += EntityMessage_V2_PassportsCountersEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.ContactStatus> contactStatuses = 22; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_contactstatuses_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >::const_iterator - it = this->_internal_contactstatuses().begin(); - it != this->_internal_contactstatuses().end(); ++it) { - total_size += EntityMessage_V2_ContactStatusesEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // repeated string pendingSharingRequests = 24; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(pendingsharingrequests_.size()); - for (int i = 0, n = pendingsharingrequests_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - pendingsharingrequests_.Get(i)); - } - - // repeated string rejectedSharingRequests = 25; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(rejectedsharingrequests_.size()); - for (int i = 0, n = rejectedsharingrequests_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - rejectedsharingrequests_.Get(i)); - } - - // map<string, .api.OrderStatus> orders = 27; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_orders_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >::const_iterator - it = this->_internal_orders().begin(); - it != this->_internal_orders().end(); ++it) { - total_size += EntityMessage_V2_OrdersEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> systemParents = 28; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_systemparents_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_systemparents().begin(); - it != this->_internal_systemparents().end(); ++it) { - total_size += EntityMessage_V2_SystemParentsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // map<string, .api.RelationStatus> systemChildren = 29; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_systemchildren_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >::const_iterator - it = this->_internal_systemchildren().begin(); - it != this->_internal_systemchildren().end(); ++it) { - total_size += EntityMessage_V2_SystemChildrenEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - // string uuid = 1; - if (this->uuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_uuid()); - } - - // string otpSecret = 14; - if (this->otpsecret().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_otpsecret()); - } - - // string entityCertificate = 18; - if (this->entitycertificate().size() > 0) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_entitycertificate()); - } - - // int64 stamp = 11; - if (this->stamp() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_stamp()); - } - - // .api.EntityType type = 2; - if (this->type() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type()); - } - - // bool activated = 15; - if (this->activated() != 0) { - total_size += 1 + 1; - } - - // bool blocked = 31; - if (this->blocked() != 0) { - total_size += 2 + 1; - } - - // bool temporary = 23; - if (this->temporary() != 0) { - total_size += 2 + 1; - } - - // bool deleted = 26; - if (this->deleted() != 0) { - total_size += 2 + 1; - } - - // int64 created = 20; - if (this->created() != 0) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_created()); - } - - // int64 lastLogin = 32; - if (this->lastlogin() != 0) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_lastlogin()); - } - - // bool shared = 30; - if (this->shared() != 0) { - total_size += 2 + 1; - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EntityMessage_V2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.EntityMessage_V2) - GOOGLE_DCHECK_NE(&from, this); - const EntityMessage_V2* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EntityMessage_V2>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.EntityMessage_V2) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.EntityMessage_V2) - MergeFrom(*source); - } -} - -void EntityMessage_V2::MergeFrom(const EntityMessage_V2& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.EntityMessage_V2) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - claims_.MergeFrom(from.claims_); - guarded_.MergeFrom(from.guarded_); - guardians_.MergeFrom(from.guardians_); - members_.MergeFrom(from.members_); - memberof_.MergeFrom(from.memberof_); - parents_.MergeFrom(from.parents_); - children_.MergeFrom(from.children_); - viewed_.MergeFrom(from.viewed_); - viewers_.MergeFrom(from.viewers_); - authenticationkeys_.MergeFrom(from.authenticationkeys_); - certificates_.MergeFrom(from.certificates_); - symmetrickeys_.MergeFrom(from.symmetrickeys_); - passportscounters_.MergeFrom(from.passportscounters_); - contactstatuses_.MergeFrom(from.contactstatuses_); - pendingsharingrequests_.MergeFrom(from.pendingsharingrequests_); - rejectedsharingrequests_.MergeFrom(from.rejectedsharingrequests_); - orders_.MergeFrom(from.orders_); - systemparents_.MergeFrom(from.systemparents_); - systemchildren_.MergeFrom(from.systemchildren_); - if (from.uuid().size() > 0) { - - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - if (from.otpsecret().size() > 0) { - - otpsecret_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.otpsecret_); - } - if (from.entitycertificate().size() > 0) { - - entitycertificate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.entitycertificate_); - } - if (from.stamp() != 0) { - _internal_set_stamp(from._internal_stamp()); - } - if (from.type() != 0) { - _internal_set_type(from._internal_type()); - } - if (from.activated() != 0) { - _internal_set_activated(from._internal_activated()); - } - if (from.blocked() != 0) { - _internal_set_blocked(from._internal_blocked()); - } - if (from.temporary() != 0) { - _internal_set_temporary(from._internal_temporary()); - } - if (from.deleted() != 0) { - _internal_set_deleted(from._internal_deleted()); - } - if (from.created() != 0) { - _internal_set_created(from._internal_created()); - } - if (from.lastlogin() != 0) { - _internal_set_lastlogin(from._internal_lastlogin()); - } - if (from.shared() != 0) { - _internal_set_shared(from._internal_shared()); - } -} - -void EntityMessage_V2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.EntityMessage_V2) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EntityMessage_V2::CopyFrom(const EntityMessage_V2& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.EntityMessage_V2) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EntityMessage_V2::IsInitialized() const { - return true; -} - -void EntityMessage_V2::InternalSwap(EntityMessage_V2* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - claims_.Swap(&other->claims_); - guarded_.Swap(&other->guarded_); - guardians_.Swap(&other->guardians_); - members_.Swap(&other->members_); - memberof_.Swap(&other->memberof_); - parents_.Swap(&other->parents_); - children_.Swap(&other->children_); - viewed_.Swap(&other->viewed_); - viewers_.Swap(&other->viewers_); - authenticationkeys_.InternalSwap(&other->authenticationkeys_); - certificates_.InternalSwap(&other->certificates_); - symmetrickeys_.InternalSwap(&other->symmetrickeys_); - passportscounters_.Swap(&other->passportscounters_); - contactstatuses_.Swap(&other->contactstatuses_); - pendingsharingrequests_.InternalSwap(&other->pendingsharingrequests_); - rejectedsharingrequests_.InternalSwap(&other->rejectedsharingrequests_); - orders_.Swap(&other->orders_); - systemparents_.Swap(&other->systemparents_); - systemchildren_.Swap(&other->systemchildren_); - uuid_.Swap(&other->uuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - otpsecret_.Swap(&other->otpsecret_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - entitycertificate_.Swap(&other->entitycertificate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(stamp_, other->stamp_); - swap(type_, other->type_); - swap(activated_, other->activated_); - swap(blocked_, other->blocked_); - swap(temporary_, other->temporary_); - swap(deleted_, other->deleted_); - swap(created_, other->created_); - swap(lastlogin_, other->lastlogin_); - swap(shared_, other->shared_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessage_V2::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void EntityMessageResponse::InitAsDefaultInstance() { -} -class EntityMessageResponse::_Internal { - public: -}; - -EntityMessageResponse::EntityMessageResponse() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.EntityMessageResponse) -} -EntityMessageResponse::EntityMessageResponse(const EntityMessageResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:api.EntityMessageResponse) -} - -void EntityMessageResponse::SharedCtor() { -} - -EntityMessageResponse::~EntityMessageResponse() { - // @@protoc_insertion_point(destructor:api.EntityMessageResponse) - SharedDtor(); -} - -void EntityMessageResponse::SharedDtor() { -} - -void EntityMessageResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EntityMessageResponse& EntityMessageResponse::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EntityMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void EntityMessageResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:api.EntityMessageResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -const char* EntityMessageResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* EntityMessageResponse::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.EntityMessageResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.EntityMessageResponse) - return target; -} - -size_t EntityMessageResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.EntityMessageResponse) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EntityMessageResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.EntityMessageResponse) - GOOGLE_DCHECK_NE(&from, this); - const EntityMessageResponse* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EntityMessageResponse>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.EntityMessageResponse) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.EntityMessageResponse) - MergeFrom(*source); - } -} - -void EntityMessageResponse::MergeFrom(const EntityMessageResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.EntityMessageResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void EntityMessageResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.EntityMessageResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EntityMessageResponse::CopyFrom(const EntityMessageResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.EntityMessageResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EntityMessageResponse::IsInitialized() const { - return true; -} - -void EntityMessageResponse::InternalSwap(EntityMessageResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EntityMessageResponse::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void EntityList::InitAsDefaultInstance() { -} -class EntityList::_Internal { - public: -}; - -EntityList::EntityList() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.EntityList) -} -EntityList::EntityList(const EntityList& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - history_(from.history_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:api.EntityList) -} - -void EntityList::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EntityList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); -} - -EntityList::~EntityList() { - // @@protoc_insertion_point(destructor:api.EntityList) - SharedDtor(); -} - -void EntityList::SharedDtor() { -} - -void EntityList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EntityList& EntityList::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EntityList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void EntityList::Clear() { -// @@protoc_insertion_point(message_clear_start:api.EntityList) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - history_.Clear(); - _internal_metadata_.Clear(); -} - -const char* EntityList::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // repeated .api.EntityMessage_V2 history = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_history(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* EntityList::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.EntityList) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .api.EntityMessage_V2 history = 1; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_history_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, this->_internal_history(i), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.EntityList) - return target; -} - -size_t EntityList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.EntityList) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .api.EntityMessage_V2 history = 1; - total_size += 1UL * this->_internal_history_size(); - for (const auto& msg : this->history_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EntityList::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.EntityList) - GOOGLE_DCHECK_NE(&from, this); - const EntityList* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EntityList>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.EntityList) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.EntityList) - MergeFrom(*source); - } -} - -void EntityList::MergeFrom(const EntityList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.EntityList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - history_.MergeFrom(from.history_); -} - -void EntityList::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.EntityList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EntityList::CopyFrom(const EntityList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.EntityList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EntityList::IsInitialized() const { - return true; -} - -void EntityList::InternalSwap(EntityList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - history_.InternalSwap(&other->history_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EntityList::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse() {} -EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse::MergeFrom(const EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -void EntityHistoryMessage::InitAsDefaultInstance() { -} -class EntityHistoryMessage::_Internal { - public: -}; - -EntityHistoryMessage::EntityHistoryMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.EntityHistoryMessage) -} -EntityHistoryMessage::EntityHistoryMessage(const EntityHistoryMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - historybyuuid_.MergeFrom(from.historybyuuid_); - // @@protoc_insertion_point(copy_constructor:api.EntityHistoryMessage) -} - -void EntityHistoryMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EntityHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); -} - -EntityHistoryMessage::~EntityHistoryMessage() { - // @@protoc_insertion_point(destructor:api.EntityHistoryMessage) - SharedDtor(); -} - -void EntityHistoryMessage::SharedDtor() { -} - -void EntityHistoryMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EntityHistoryMessage& EntityHistoryMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EntityHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void EntityHistoryMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.EntityHistoryMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - historybyuuid_.Clear(); - _internal_metadata_.Clear(); -} - -const char* EntityHistoryMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // map<string, .api.EntityList> historyByUUID = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&historybyuuid_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* EntityHistoryMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.EntityHistoryMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map<string, .api.EntityList> historyByUUID = 1; - if (!this->_internal_historybyuuid().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityHistoryMessage.HistoryByUUIDEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_historybyuuid().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_historybyuuid().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >::const_iterator - it = this->_internal_historybyuuid().begin(); - it != this->_internal_historybyuuid().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse::Funcs::InternalSerialize(1, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >::const_iterator - it = this->_internal_historybyuuid().begin(); - it != this->_internal_historybyuuid().end(); ++it) { - target = EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse::Funcs::InternalSerialize(1, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.EntityHistoryMessage) - return target; -} - -size_t EntityHistoryMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.EntityHistoryMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map<string, .api.EntityList> historyByUUID = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_historybyuuid_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >::const_iterator - it = this->_internal_historybyuuid().begin(); - it != this->_internal_historybyuuid().end(); ++it) { - total_size += EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EntityHistoryMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.EntityHistoryMessage) - GOOGLE_DCHECK_NE(&from, this); - const EntityHistoryMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EntityHistoryMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.EntityHistoryMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.EntityHistoryMessage) - MergeFrom(*source); - } -} - -void EntityHistoryMessage::MergeFrom(const EntityHistoryMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.EntityHistoryMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - historybyuuid_.MergeFrom(from.historybyuuid_); -} - -void EntityHistoryMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.EntityHistoryMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EntityHistoryMessage::CopyFrom(const EntityHistoryMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.EntityHistoryMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EntityHistoryMessage::IsInitialized() const { - return true; -} - -void EntityHistoryMessage::InternalSwap(EntityHistoryMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - historybyuuid_.Swap(&other->historybyuuid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EntityHistoryMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void EntitySearchMessage::InitAsDefaultInstance() { -} -class EntitySearchMessage::_Internal { - public: -}; - -EntitySearchMessage::EntitySearchMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.EntitySearchMessage) -} -EntitySearchMessage::EntitySearchMessage(const EntitySearchMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_uuid().empty()) { - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - from_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_from().empty()) { - from_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.from_); - } - to_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_to().empty()) { - to_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.to_); - } - ::memcpy(&type_, &from.type_, - static_cast<size_t>(reinterpret_cast<char*>(&searchtype_) - - reinterpret_cast<char*>(&type_)) + sizeof(searchtype_)); - // @@protoc_insertion_point(copy_constructor:api.EntitySearchMessage) -} - -void EntitySearchMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EntitySearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - from_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - to_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&type_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&searchtype_) - - reinterpret_cast<char*>(&type_)) + sizeof(searchtype_)); -} - -EntitySearchMessage::~EntitySearchMessage() { - // @@protoc_insertion_point(destructor:api.EntitySearchMessage) - SharedDtor(); -} - -void EntitySearchMessage::SharedDtor() { - uuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - from_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - to_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void EntitySearchMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EntitySearchMessage& EntitySearchMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EntitySearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void EntitySearchMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.EntitySearchMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - from_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - to_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&type_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&searchtype_) - - reinterpret_cast<char*>(&type_)) + sizeof(searchtype_)); - _internal_metadata_.Clear(); -} - -const char* EntitySearchMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string uuid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_uuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntitySearchMessage.uuid")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string from = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_from(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntitySearchMessage.from")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string to = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_to(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntitySearchMessage.to")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // .api.EntityType type = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_type(static_cast<::api::EntityType>(val)); - } else goto handle_unusual; - continue; - // .api.SearchType searchType = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_searchtype(static_cast<::api::SearchType>(val)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* EntitySearchMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.EntitySearchMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uuid = 1; - if (this->uuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_uuid().data(), static_cast<int>(this->_internal_uuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntitySearchMessage.uuid"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_uuid(), target); - } - - // string from = 2; - if (this->from().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_from().data(), static_cast<int>(this->_internal_from().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntitySearchMessage.from"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_from(), target); - } - - // string to = 3; - if (this->to().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_to().data(), static_cast<int>(this->_internal_to().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntitySearchMessage.to"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_to(), target); - } - - // .api.EntityType type = 4; - if (this->type() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 4, this->_internal_type(), target); - } - - // .api.SearchType searchType = 5; - if (this->searchtype() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 5, this->_internal_searchtype(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.EntitySearchMessage) - return target; -} - -size_t EntitySearchMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.EntitySearchMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string uuid = 1; - if (this->uuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_uuid()); - } - - // string from = 2; - if (this->from().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_from()); - } - - // string to = 3; - if (this->to().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_to()); - } - - // .api.EntityType type = 4; - if (this->type() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type()); - } - - // .api.SearchType searchType = 5; - if (this->searchtype() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_searchtype()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EntitySearchMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.EntitySearchMessage) - GOOGLE_DCHECK_NE(&from, this); - const EntitySearchMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EntitySearchMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.EntitySearchMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.EntitySearchMessage) - MergeFrom(*source); - } -} - -void EntitySearchMessage::MergeFrom(const EntitySearchMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.EntitySearchMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.uuid().size() > 0) { - - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - if (from.from().size() > 0) { - - from_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.from_); - } - if (from.to().size() > 0) { - - to_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.to_); - } - if (from.type() != 0) { - _internal_set_type(from._internal_type()); - } - if (from.searchtype() != 0) { - _internal_set_searchtype(from._internal_searchtype()); - } -} - -void EntitySearchMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.EntitySearchMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EntitySearchMessage::CopyFrom(const EntitySearchMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.EntitySearchMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EntitySearchMessage::IsInitialized() const { - return true; -} - -void EntitySearchMessage::InternalSwap(EntitySearchMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - uuid_.Swap(&other->uuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - from_.Swap(&other->from_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - to_.Swap(&other->to_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(type_, other->type_); - swap(searchtype_, other->searchtype_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EntitySearchMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void ClaimInvitationMessage::InitAsDefaultInstance() { -} -class ClaimInvitationMessage::_Internal { - public: -}; - -ClaimInvitationMessage::ClaimInvitationMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.ClaimInvitationMessage) -} -ClaimInvitationMessage::ClaimInvitationMessage(const ClaimInvitationMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - fromuuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_fromuuid().empty()) { - fromuuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fromuuid_); - } - touuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_touuid().empty()) { - touuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.touuid_); - } - claimname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_claimname().empty()) { - claimname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.claimname_); - } - ::memcpy(&stamp_, &from.stamp_, - static_cast<size_t>(reinterpret_cast<char*>(&status_) - - reinterpret_cast<char*>(&stamp_)) + sizeof(status_)); - // @@protoc_insertion_point(copy_constructor:api.ClaimInvitationMessage) -} - -void ClaimInvitationMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ClaimInvitationMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - fromuuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - touuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - claimname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&stamp_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&status_) - - reinterpret_cast<char*>(&stamp_)) + sizeof(status_)); -} - -ClaimInvitationMessage::~ClaimInvitationMessage() { - // @@protoc_insertion_point(destructor:api.ClaimInvitationMessage) - SharedDtor(); -} - -void ClaimInvitationMessage::SharedDtor() { - fromuuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - touuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - claimname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void ClaimInvitationMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ClaimInvitationMessage& ClaimInvitationMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ClaimInvitationMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void ClaimInvitationMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.ClaimInvitationMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - fromuuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - touuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - claimname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&stamp_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&status_) - - reinterpret_cast<char*>(&stamp_)) + sizeof(status_)); - _internal_metadata_.Clear(); -} - -const char* ClaimInvitationMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string fromUUID = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_fromuuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.ClaimInvitationMessage.fromUUID")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string toUUID = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_touuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.ClaimInvitationMessage.toUUID")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string claimName = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_claimname(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.ClaimInvitationMessage.claimName")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // .api.ClaimInvitationStatus status = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_status(static_cast<::api::ClaimInvitationStatus>(val)); - } else goto handle_unusual; - continue; - // int64 stamp = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - stamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ClaimInvitationMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.ClaimInvitationMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string fromUUID = 1; - if (this->fromuuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_fromuuid().data(), static_cast<int>(this->_internal_fromuuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimInvitationMessage.fromUUID"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_fromuuid(), target); - } - - // string toUUID = 2; - if (this->touuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_touuid().data(), static_cast<int>(this->_internal_touuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimInvitationMessage.toUUID"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_touuid(), target); - } - - // string claimName = 3; - if (this->claimname().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_claimname().data(), static_cast<int>(this->_internal_claimname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimInvitationMessage.claimName"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_claimname(), target); - } - - // .api.ClaimInvitationStatus status = 4; - if (this->status() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 4, this->_internal_status(), target); - } - - // int64 stamp = 5; - if (this->stamp() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_stamp(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.ClaimInvitationMessage) - return target; -} - -size_t ClaimInvitationMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.ClaimInvitationMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string fromUUID = 1; - if (this->fromuuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_fromuuid()); - } - - // string toUUID = 2; - if (this->touuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_touuid()); - } - - // string claimName = 3; - if (this->claimname().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_claimname()); - } - - // int64 stamp = 5; - if (this->stamp() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_stamp()); - } - - // .api.ClaimInvitationStatus status = 4; - if (this->status() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ClaimInvitationMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.ClaimInvitationMessage) - GOOGLE_DCHECK_NE(&from, this); - const ClaimInvitationMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ClaimInvitationMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.ClaimInvitationMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.ClaimInvitationMessage) - MergeFrom(*source); - } -} - -void ClaimInvitationMessage::MergeFrom(const ClaimInvitationMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.ClaimInvitationMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.fromuuid().size() > 0) { - - fromuuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fromuuid_); - } - if (from.touuid().size() > 0) { - - touuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.touuid_); - } - if (from.claimname().size() > 0) { - - claimname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.claimname_); - } - if (from.stamp() != 0) { - _internal_set_stamp(from._internal_stamp()); - } - if (from.status() != 0) { - _internal_set_status(from._internal_status()); - } -} - -void ClaimInvitationMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.ClaimInvitationMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ClaimInvitationMessage::CopyFrom(const ClaimInvitationMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.ClaimInvitationMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ClaimInvitationMessage::IsInitialized() const { - return true; -} - -void ClaimInvitationMessage::InternalSwap(ClaimInvitationMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - fromuuid_.Swap(&other->fromuuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - touuid_.Swap(&other->touuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - claimname_.Swap(&other->claimname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(stamp_, other->stamp_); - swap(status_, other->status_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ClaimInvitationMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void ClaimInvitationMessageResponse::InitAsDefaultInstance() { -} -class ClaimInvitationMessageResponse::_Internal { - public: -}; - -ClaimInvitationMessageResponse::ClaimInvitationMessageResponse() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.ClaimInvitationMessageResponse) -} -ClaimInvitationMessageResponse::ClaimInvitationMessageResponse(const ClaimInvitationMessageResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:api.ClaimInvitationMessageResponse) -} - -void ClaimInvitationMessageResponse::SharedCtor() { -} - -ClaimInvitationMessageResponse::~ClaimInvitationMessageResponse() { - // @@protoc_insertion_point(destructor:api.ClaimInvitationMessageResponse) - SharedDtor(); -} - -void ClaimInvitationMessageResponse::SharedDtor() { -} - -void ClaimInvitationMessageResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ClaimInvitationMessageResponse& ClaimInvitationMessageResponse::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ClaimInvitationMessageResponse_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void ClaimInvitationMessageResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:api.ClaimInvitationMessageResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -const char* ClaimInvitationMessageResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ClaimInvitationMessageResponse::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.ClaimInvitationMessageResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.ClaimInvitationMessageResponse) - return target; -} - -size_t ClaimInvitationMessageResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.ClaimInvitationMessageResponse) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ClaimInvitationMessageResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.ClaimInvitationMessageResponse) - GOOGLE_DCHECK_NE(&from, this); - const ClaimInvitationMessageResponse* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ClaimInvitationMessageResponse>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.ClaimInvitationMessageResponse) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.ClaimInvitationMessageResponse) - MergeFrom(*source); - } -} - -void ClaimInvitationMessageResponse::MergeFrom(const ClaimInvitationMessageResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.ClaimInvitationMessageResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ClaimInvitationMessageResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.ClaimInvitationMessageResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ClaimInvitationMessageResponse::CopyFrom(const ClaimInvitationMessageResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.ClaimInvitationMessageResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ClaimInvitationMessageResponse::IsInitialized() const { - return true; -} - -void ClaimInvitationMessageResponse::InternalSwap(ClaimInvitationMessageResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ClaimInvitationMessageResponse::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void ClaimInvitationSearchMessage::InitAsDefaultInstance() { -} -class ClaimInvitationSearchMessage::_Internal { - public: -}; - -ClaimInvitationSearchMessage::ClaimInvitationSearchMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.ClaimInvitationSearchMessage) -} -ClaimInvitationSearchMessage::ClaimInvitationSearchMessage(const ClaimInvitationSearchMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - fromuuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_fromuuid().empty()) { - fromuuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fromuuid_); - } - touuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_touuid().empty()) { - touuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.touuid_); - } - claimname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_claimname().empty()) { - claimname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.claimname_); - } - from_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_from().empty()) { - from_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.from_); - } - to_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_to().empty()) { - to_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.to_); - } - searchtype_ = from.searchtype_; - // @@protoc_insertion_point(copy_constructor:api.ClaimInvitationSearchMessage) -} - -void ClaimInvitationSearchMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ClaimInvitationSearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - fromuuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - touuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - claimname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - from_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - to_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - searchtype_ = 0; -} - -ClaimInvitationSearchMessage::~ClaimInvitationSearchMessage() { - // @@protoc_insertion_point(destructor:api.ClaimInvitationSearchMessage) - SharedDtor(); -} - -void ClaimInvitationSearchMessage::SharedDtor() { - fromuuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - touuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - claimname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - from_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - to_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void ClaimInvitationSearchMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ClaimInvitationSearchMessage& ClaimInvitationSearchMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ClaimInvitationSearchMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void ClaimInvitationSearchMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.ClaimInvitationSearchMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - fromuuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - touuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - claimname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - from_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - to_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - searchtype_ = 0; - _internal_metadata_.Clear(); -} - -const char* ClaimInvitationSearchMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string fromUUID = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_fromuuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.ClaimInvitationSearchMessage.fromUUID")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string toUUID = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_touuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.ClaimInvitationSearchMessage.toUUID")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string claimName = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_claimname(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.ClaimInvitationSearchMessage.claimName")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string from = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - auto str = _internal_mutable_from(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.ClaimInvitationSearchMessage.from")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string to = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { - auto str = _internal_mutable_to(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.ClaimInvitationSearchMessage.to")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // .api.SearchType searchType = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - _internal_set_searchtype(static_cast<::api::SearchType>(val)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ClaimInvitationSearchMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.ClaimInvitationSearchMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string fromUUID = 1; - if (this->fromuuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_fromuuid().data(), static_cast<int>(this->_internal_fromuuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimInvitationSearchMessage.fromUUID"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_fromuuid(), target); - } - - // string toUUID = 2; - if (this->touuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_touuid().data(), static_cast<int>(this->_internal_touuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimInvitationSearchMessage.toUUID"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_touuid(), target); - } - - // string claimName = 3; - if (this->claimname().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_claimname().data(), static_cast<int>(this->_internal_claimname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimInvitationSearchMessage.claimName"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_claimname(), target); - } - - // string from = 4; - if (this->from().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_from().data(), static_cast<int>(this->_internal_from().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimInvitationSearchMessage.from"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_from(), target); - } - - // string to = 5; - if (this->to().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_to().data(), static_cast<int>(this->_internal_to().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimInvitationSearchMessage.to"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_to(), target); - } - - // .api.SearchType searchType = 6; - if (this->searchtype() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 6, this->_internal_searchtype(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.ClaimInvitationSearchMessage) - return target; -} - -size_t ClaimInvitationSearchMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.ClaimInvitationSearchMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string fromUUID = 1; - if (this->fromuuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_fromuuid()); - } - - // string toUUID = 2; - if (this->touuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_touuid()); - } - - // string claimName = 3; - if (this->claimname().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_claimname()); - } - - // string from = 4; - if (this->from().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_from()); - } - - // string to = 5; - if (this->to().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_to()); - } - - // .api.SearchType searchType = 6; - if (this->searchtype() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_searchtype()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ClaimInvitationSearchMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.ClaimInvitationSearchMessage) - GOOGLE_DCHECK_NE(&from, this); - const ClaimInvitationSearchMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ClaimInvitationSearchMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.ClaimInvitationSearchMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.ClaimInvitationSearchMessage) - MergeFrom(*source); - } -} - -void ClaimInvitationSearchMessage::MergeFrom(const ClaimInvitationSearchMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.ClaimInvitationSearchMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.fromuuid().size() > 0) { - - fromuuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fromuuid_); - } - if (from.touuid().size() > 0) { - - touuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.touuid_); - } - if (from.claimname().size() > 0) { - - claimname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.claimname_); - } - if (from.from().size() > 0) { - - from_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.from_); - } - if (from.to().size() > 0) { - - to_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.to_); - } - if (from.searchtype() != 0) { - _internal_set_searchtype(from._internal_searchtype()); - } -} - -void ClaimInvitationSearchMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.ClaimInvitationSearchMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ClaimInvitationSearchMessage::CopyFrom(const ClaimInvitationSearchMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.ClaimInvitationSearchMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ClaimInvitationSearchMessage::IsInitialized() const { - return true; -} - -void ClaimInvitationSearchMessage::InternalSwap(ClaimInvitationSearchMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - fromuuid_.Swap(&other->fromuuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - touuid_.Swap(&other->touuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - claimname_.Swap(&other->claimname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - from_.Swap(&other->from_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - to_.Swap(&other->to_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(searchtype_, other->searchtype_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ClaimInvitationSearchMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void ClaimInvitationList::InitAsDefaultInstance() { -} -class ClaimInvitationList::_Internal { - public: -}; - -ClaimInvitationList::ClaimInvitationList() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.ClaimInvitationList) -} -ClaimInvitationList::ClaimInvitationList(const ClaimInvitationList& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - history_(from.history_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:api.ClaimInvitationList) -} - -void ClaimInvitationList::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ClaimInvitationList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); -} - -ClaimInvitationList::~ClaimInvitationList() { - // @@protoc_insertion_point(destructor:api.ClaimInvitationList) - SharedDtor(); -} - -void ClaimInvitationList::SharedDtor() { -} - -void ClaimInvitationList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ClaimInvitationList& ClaimInvitationList::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ClaimInvitationList_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void ClaimInvitationList::Clear() { -// @@protoc_insertion_point(message_clear_start:api.ClaimInvitationList) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - history_.Clear(); - _internal_metadata_.Clear(); -} - -const char* ClaimInvitationList::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // repeated .api.ClaimInvitationMessage history = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_history(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ClaimInvitationList::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.ClaimInvitationList) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .api.ClaimInvitationMessage history = 1; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_history_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, this->_internal_history(i), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.ClaimInvitationList) - return target; -} - -size_t ClaimInvitationList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.ClaimInvitationList) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .api.ClaimInvitationMessage history = 1; - total_size += 1UL * this->_internal_history_size(); - for (const auto& msg : this->history_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ClaimInvitationList::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.ClaimInvitationList) - GOOGLE_DCHECK_NE(&from, this); - const ClaimInvitationList* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ClaimInvitationList>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.ClaimInvitationList) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.ClaimInvitationList) - MergeFrom(*source); - } -} - -void ClaimInvitationList::MergeFrom(const ClaimInvitationList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.ClaimInvitationList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - history_.MergeFrom(from.history_); -} - -void ClaimInvitationList::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.ClaimInvitationList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ClaimInvitationList::CopyFrom(const ClaimInvitationList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.ClaimInvitationList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ClaimInvitationList::IsInitialized() const { - return true; -} - -void ClaimInvitationList::InternalSwap(ClaimInvitationList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - history_.InternalSwap(&other->history_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ClaimInvitationList::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse() {} -ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse::MergeFrom(const ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -void ClaimInvitationHistoryMessage::InitAsDefaultInstance() { -} -class ClaimInvitationHistoryMessage::_Internal { - public: -}; - -ClaimInvitationHistoryMessage::ClaimInvitationHistoryMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.ClaimInvitationHistoryMessage) -} -ClaimInvitationHistoryMessage::ClaimInvitationHistoryMessage(const ClaimInvitationHistoryMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - historybyclaiminvitation_.MergeFrom(from.historybyclaiminvitation_); - // @@protoc_insertion_point(copy_constructor:api.ClaimInvitationHistoryMessage) -} - -void ClaimInvitationHistoryMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ClaimInvitationHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); -} - -ClaimInvitationHistoryMessage::~ClaimInvitationHistoryMessage() { - // @@protoc_insertion_point(destructor:api.ClaimInvitationHistoryMessage) - SharedDtor(); -} - -void ClaimInvitationHistoryMessage::SharedDtor() { -} - -void ClaimInvitationHistoryMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ClaimInvitationHistoryMessage& ClaimInvitationHistoryMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ClaimInvitationHistoryMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void ClaimInvitationHistoryMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.ClaimInvitationHistoryMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - historybyclaiminvitation_.Clear(); - _internal_metadata_.Clear(); -} - -const char* ClaimInvitationHistoryMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // map<string, .api.ClaimInvitationList> historyByClaimInvitation = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&historybyclaiminvitation_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ClaimInvitationHistoryMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.ClaimInvitationHistoryMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map<string, .api.ClaimInvitationList> historyByClaimInvitation = 1; - if (!this->_internal_historybyclaiminvitation().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.ClaimInvitationHistoryMessage.HistoryByClaimInvitationEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_historybyclaiminvitation().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_historybyclaiminvitation().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >::const_iterator - it = this->_internal_historybyclaiminvitation().begin(); - it != this->_internal_historybyclaiminvitation().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse::Funcs::InternalSerialize(1, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >::const_iterator - it = this->_internal_historybyclaiminvitation().begin(); - it != this->_internal_historybyclaiminvitation().end(); ++it) { - target = ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse::Funcs::InternalSerialize(1, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.ClaimInvitationHistoryMessage) - return target; -} - -size_t ClaimInvitationHistoryMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.ClaimInvitationHistoryMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map<string, .api.ClaimInvitationList> historyByClaimInvitation = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_historybyclaiminvitation_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >::const_iterator - it = this->_internal_historybyclaiminvitation().begin(); - it != this->_internal_historybyclaiminvitation().end(); ++it) { - total_size += ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ClaimInvitationHistoryMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.ClaimInvitationHistoryMessage) - GOOGLE_DCHECK_NE(&from, this); - const ClaimInvitationHistoryMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ClaimInvitationHistoryMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.ClaimInvitationHistoryMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.ClaimInvitationHistoryMessage) - MergeFrom(*source); - } -} - -void ClaimInvitationHistoryMessage::MergeFrom(const ClaimInvitationHistoryMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.ClaimInvitationHistoryMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - historybyclaiminvitation_.MergeFrom(from.historybyclaiminvitation_); -} - -void ClaimInvitationHistoryMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.ClaimInvitationHistoryMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ClaimInvitationHistoryMessage::CopyFrom(const ClaimInvitationHistoryMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.ClaimInvitationHistoryMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ClaimInvitationHistoryMessage::IsInitialized() const { - return true; -} - -void ClaimInvitationHistoryMessage::InternalSwap(ClaimInvitationHistoryMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - historybyclaiminvitation_.Swap(&other->historybyclaiminvitation_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ClaimInvitationHistoryMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void GetVersionEMAMessage::InitAsDefaultInstance() { -} -class GetVersionEMAMessage::_Internal { - public: -}; - -GetVersionEMAMessage::GetVersionEMAMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.GetVersionEMAMessage) -} -GetVersionEMAMessage::GetVersionEMAMessage(const GetVersionEMAMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:api.GetVersionEMAMessage) -} - -void GetVersionEMAMessage::SharedCtor() { -} - -GetVersionEMAMessage::~GetVersionEMAMessage() { - // @@protoc_insertion_point(destructor:api.GetVersionEMAMessage) - SharedDtor(); -} - -void GetVersionEMAMessage::SharedDtor() { -} - -void GetVersionEMAMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetVersionEMAMessage& GetVersionEMAMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetVersionEMAMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void GetVersionEMAMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.GetVersionEMAMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -const char* GetVersionEMAMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* GetVersionEMAMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.GetVersionEMAMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.GetVersionEMAMessage) - return target; -} - -size_t GetVersionEMAMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.GetVersionEMAMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetVersionEMAMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.GetVersionEMAMessage) - GOOGLE_DCHECK_NE(&from, this); - const GetVersionEMAMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GetVersionEMAMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.GetVersionEMAMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.GetVersionEMAMessage) - MergeFrom(*source); - } -} - -void GetVersionEMAMessage::MergeFrom(const GetVersionEMAMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.GetVersionEMAMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void GetVersionEMAMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.GetVersionEMAMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVersionEMAMessage::CopyFrom(const GetVersionEMAMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.GetVersionEMAMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVersionEMAMessage::IsInitialized() const { - return true; -} - -void GetVersionEMAMessage::InternalSwap(GetVersionEMAMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata GetVersionEMAMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void GetVersionEMAResponseMessage::InitAsDefaultInstance() { -} -class GetVersionEMAResponseMessage::_Internal { - public: -}; - -GetVersionEMAResponseMessage::GetVersionEMAResponseMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.GetVersionEMAResponseMessage) -} -GetVersionEMAResponseMessage::GetVersionEMAResponseMessage(const GetVersionEMAResponseMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_version().empty()) { - version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.version_); - } - // @@protoc_insertion_point(copy_constructor:api.GetVersionEMAResponseMessage) -} - -void GetVersionEMAResponseMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GetVersionEMAResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -GetVersionEMAResponseMessage::~GetVersionEMAResponseMessage() { - // @@protoc_insertion_point(destructor:api.GetVersionEMAResponseMessage) - SharedDtor(); -} - -void GetVersionEMAResponseMessage::SharedDtor() { - version_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void GetVersionEMAResponseMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetVersionEMAResponseMessage& GetVersionEMAResponseMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetVersionEMAResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void GetVersionEMAResponseMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.GetVersionEMAResponseMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -const char* GetVersionEMAResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_version(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.GetVersionEMAResponseMessage.version")); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* GetVersionEMAResponseMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.GetVersionEMAResponseMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string version = 1; - if (this->version().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_version().data(), static_cast<int>(this->_internal_version().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.GetVersionEMAResponseMessage.version"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.GetVersionEMAResponseMessage) - return target; -} - -size_t GetVersionEMAResponseMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.GetVersionEMAResponseMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string version = 1; - if (this->version().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_version()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetVersionEMAResponseMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.GetVersionEMAResponseMessage) - GOOGLE_DCHECK_NE(&from, this); - const GetVersionEMAResponseMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GetVersionEMAResponseMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.GetVersionEMAResponseMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.GetVersionEMAResponseMessage) - MergeFrom(*source); - } -} - -void GetVersionEMAResponseMessage::MergeFrom(const GetVersionEMAResponseMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.GetVersionEMAResponseMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.version().size() > 0) { - - version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.version_); - } -} - -void GetVersionEMAResponseMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.GetVersionEMAResponseMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVersionEMAResponseMessage::CopyFrom(const GetVersionEMAResponseMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.GetVersionEMAResponseMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVersionEMAResponseMessage::IsInitialized() const { - return true; -} - -void GetVersionEMAResponseMessage::InternalSwap(GetVersionEMAResponseMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - version_.Swap(&other->version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata GetVersionEMAResponseMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void GetEntitiesTailsMessage::InitAsDefaultInstance() { -} -class GetEntitiesTailsMessage::_Internal { - public: -}; - -GetEntitiesTailsMessage::GetEntitiesTailsMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.GetEntitiesTailsMessage) -} -GetEntitiesTailsMessage::GetEntitiesTailsMessage(const GetEntitiesTailsMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - uuids_(from.uuids_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:api.GetEntitiesTailsMessage) -} - -void GetEntitiesTailsMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GetEntitiesTailsMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); -} - -GetEntitiesTailsMessage::~GetEntitiesTailsMessage() { - // @@protoc_insertion_point(destructor:api.GetEntitiesTailsMessage) - SharedDtor(); -} - -void GetEntitiesTailsMessage::SharedDtor() { -} - -void GetEntitiesTailsMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetEntitiesTailsMessage& GetEntitiesTailsMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetEntitiesTailsMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void GetEntitiesTailsMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.GetEntitiesTailsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - uuids_.Clear(); - _internal_metadata_.Clear(); -} - -const char* GetEntitiesTailsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // repeated string uuids = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_uuids(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.GetEntitiesTailsMessage.uuids")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* GetEntitiesTailsMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.GetEntitiesTailsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string uuids = 1; - for (int i = 0, n = this->_internal_uuids_size(); i < n; i++) { - const auto& s = this->_internal_uuids(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.GetEntitiesTailsMessage.uuids"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.GetEntitiesTailsMessage) - return target; -} - -size_t GetEntitiesTailsMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.GetEntitiesTailsMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string uuids = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(uuids_.size()); - for (int i = 0, n = uuids_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - uuids_.Get(i)); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetEntitiesTailsMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.GetEntitiesTailsMessage) - GOOGLE_DCHECK_NE(&from, this); - const GetEntitiesTailsMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GetEntitiesTailsMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.GetEntitiesTailsMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.GetEntitiesTailsMessage) - MergeFrom(*source); - } -} - -void GetEntitiesTailsMessage::MergeFrom(const GetEntitiesTailsMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.GetEntitiesTailsMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - uuids_.MergeFrom(from.uuids_); -} - -void GetEntitiesTailsMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.GetEntitiesTailsMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetEntitiesTailsMessage::CopyFrom(const GetEntitiesTailsMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.GetEntitiesTailsMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetEntitiesTailsMessage::IsInitialized() const { - return true; -} - -void GetEntitiesTailsMessage::InternalSwap(GetEntitiesTailsMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - uuids_.InternalSwap(&other->uuids_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata GetEntitiesTailsMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse() {} -GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse::MergeFrom(const GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -void GetEntitiesTailsResponseMessage::InitAsDefaultInstance() { -} -class GetEntitiesTailsResponseMessage::_Internal { - public: -}; - -GetEntitiesTailsResponseMessage::GetEntitiesTailsResponseMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.GetEntitiesTailsResponseMessage) -} -GetEntitiesTailsResponseMessage::GetEntitiesTailsResponseMessage(const GetEntitiesTailsResponseMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - entities_.MergeFrom(from.entities_); - // @@protoc_insertion_point(copy_constructor:api.GetEntitiesTailsResponseMessage) -} - -void GetEntitiesTailsResponseMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GetEntitiesTailsResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); -} - -GetEntitiesTailsResponseMessage::~GetEntitiesTailsResponseMessage() { - // @@protoc_insertion_point(destructor:api.GetEntitiesTailsResponseMessage) - SharedDtor(); -} - -void GetEntitiesTailsResponseMessage::SharedDtor() { -} - -void GetEntitiesTailsResponseMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetEntitiesTailsResponseMessage& GetEntitiesTailsResponseMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetEntitiesTailsResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void GetEntitiesTailsResponseMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.GetEntitiesTailsResponseMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - entities_.Clear(); - _internal_metadata_.Clear(); -} - -const char* GetEntitiesTailsResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // map<string, .api.EntityMessage_V2> entities = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&entities_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* GetEntitiesTailsResponseMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.GetEntitiesTailsResponseMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map<string, .api.EntityMessage_V2> entities = 1; - if (!this->_internal_entities().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.GetEntitiesTailsResponseMessage.EntitiesEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_entities().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_entities().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >::const_iterator - it = this->_internal_entities().begin(); - it != this->_internal_entities().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse::Funcs::InternalSerialize(1, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >::const_iterator - it = this->_internal_entities().begin(); - it != this->_internal_entities().end(); ++it) { - target = GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse::Funcs::InternalSerialize(1, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.GetEntitiesTailsResponseMessage) - return target; -} - -size_t GetEntitiesTailsResponseMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.GetEntitiesTailsResponseMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map<string, .api.EntityMessage_V2> entities = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_entities_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >::const_iterator - it = this->_internal_entities().begin(); - it != this->_internal_entities().end(); ++it) { - total_size += GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetEntitiesTailsResponseMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.GetEntitiesTailsResponseMessage) - GOOGLE_DCHECK_NE(&from, this); - const GetEntitiesTailsResponseMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GetEntitiesTailsResponseMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.GetEntitiesTailsResponseMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.GetEntitiesTailsResponseMessage) - MergeFrom(*source); - } -} - -void GetEntitiesTailsResponseMessage::MergeFrom(const GetEntitiesTailsResponseMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.GetEntitiesTailsResponseMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - entities_.MergeFrom(from.entities_); -} - -void GetEntitiesTailsResponseMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.GetEntitiesTailsResponseMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetEntitiesTailsResponseMessage::CopyFrom(const GetEntitiesTailsResponseMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.GetEntitiesTailsResponseMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetEntitiesTailsResponseMessage::IsInitialized() const { - return true; -} - -void GetEntitiesTailsResponseMessage::InternalSwap(GetEntitiesTailsResponseMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - entities_.Swap(&other->entities_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata GetEntitiesTailsResponseMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void GetEntitiesCountersMessage::InitAsDefaultInstance() { -} -class GetEntitiesCountersMessage::_Internal { - public: -}; - -GetEntitiesCountersMessage::GetEntitiesCountersMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.GetEntitiesCountersMessage) -} -GetEntitiesCountersMessage::GetEntitiesCountersMessage(const GetEntitiesCountersMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - uuids_(from.uuids_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:api.GetEntitiesCountersMessage) -} - -void GetEntitiesCountersMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GetEntitiesCountersMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); -} - -GetEntitiesCountersMessage::~GetEntitiesCountersMessage() { - // @@protoc_insertion_point(destructor:api.GetEntitiesCountersMessage) - SharedDtor(); -} - -void GetEntitiesCountersMessage::SharedDtor() { -} - -void GetEntitiesCountersMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetEntitiesCountersMessage& GetEntitiesCountersMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetEntitiesCountersMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void GetEntitiesCountersMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.GetEntitiesCountersMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - uuids_.Clear(); - _internal_metadata_.Clear(); -} - -const char* GetEntitiesCountersMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // repeated string uuids = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_uuids(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.GetEntitiesCountersMessage.uuids")); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* GetEntitiesCountersMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.GetEntitiesCountersMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string uuids = 1; - for (int i = 0, n = this->_internal_uuids_size(); i < n; i++) { - const auto& s = this->_internal_uuids(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast<int>(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.GetEntitiesCountersMessage.uuids"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.GetEntitiesCountersMessage) - return target; -} - -size_t GetEntitiesCountersMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.GetEntitiesCountersMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string uuids = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(uuids_.size()); - for (int i = 0, n = uuids_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - uuids_.Get(i)); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetEntitiesCountersMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.GetEntitiesCountersMessage) - GOOGLE_DCHECK_NE(&from, this); - const GetEntitiesCountersMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GetEntitiesCountersMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.GetEntitiesCountersMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.GetEntitiesCountersMessage) - MergeFrom(*source); - } -} - -void GetEntitiesCountersMessage::MergeFrom(const GetEntitiesCountersMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.GetEntitiesCountersMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - uuids_.MergeFrom(from.uuids_); -} - -void GetEntitiesCountersMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.GetEntitiesCountersMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetEntitiesCountersMessage::CopyFrom(const GetEntitiesCountersMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.GetEntitiesCountersMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetEntitiesCountersMessage::IsInitialized() const { - return true; -} - -void GetEntitiesCountersMessage::InternalSwap(GetEntitiesCountersMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - uuids_.InternalSwap(&other->uuids_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata GetEntitiesCountersMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse() {} -GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : SuperType(arena) {} -void GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse::MergeFrom(const GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::PROTOBUF_NAMESPACE_ID::Metadata GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse::GetMetadata() const { - return GetMetadataStatic(); -} -void GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse::MergeFrom( - const ::PROTOBUF_NAMESPACE_ID::Message& other) { - ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other); -} - - -// =================================================================== - -void GetEntitiesCountersResponseMessage::InitAsDefaultInstance() { -} -class GetEntitiesCountersResponseMessage::_Internal { - public: -}; - -GetEntitiesCountersResponseMessage::GetEntitiesCountersResponseMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.GetEntitiesCountersResponseMessage) -} -GetEntitiesCountersResponseMessage::GetEntitiesCountersResponseMessage(const GetEntitiesCountersResponseMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - counters_.MergeFrom(from.counters_); - // @@protoc_insertion_point(copy_constructor:api.GetEntitiesCountersResponseMessage) -} - -void GetEntitiesCountersResponseMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GetEntitiesCountersResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); -} - -GetEntitiesCountersResponseMessage::~GetEntitiesCountersResponseMessage() { - // @@protoc_insertion_point(destructor:api.GetEntitiesCountersResponseMessage) - SharedDtor(); -} - -void GetEntitiesCountersResponseMessage::SharedDtor() { -} - -void GetEntitiesCountersResponseMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetEntitiesCountersResponseMessage& GetEntitiesCountersResponseMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetEntitiesCountersResponseMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void GetEntitiesCountersResponseMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.GetEntitiesCountersResponseMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - counters_.Clear(); - _internal_metadata_.Clear(); -} - -const char* GetEntitiesCountersResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // map<string, int64> counters = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(&counters_, ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* GetEntitiesCountersResponseMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.GetEntitiesCountersResponseMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map<string, int64> counters = 1; - if (!this->_internal_counters().empty()) { - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast<int>(p->first.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.GetEntitiesCountersResponseMessage.CountersEntry.key"); - } - }; - - if (stream->IsSerializationDeterministic() && - this->_internal_counters().size() > 1) { - ::std::unique_ptr<SortItem[]> items( - new SortItem[this->_internal_counters().size()]); - typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::size_type size_type; - size_type n = 0; - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator - it = this->_internal_counters().begin(); - it != this->_internal_counters().end(); ++it, ++n) { - items[static_cast<ptrdiff_t>(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less()); - for (size_type i = 0; i < n; i++) { - target = GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse::Funcs::InternalSerialize(1, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); - Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)])); - } - } else { - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator - it = this->_internal_counters().begin(); - it != this->_internal_counters().end(); ++it) { - target = GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse::Funcs::InternalSerialize(1, it->first, it->second, target, stream); - Utf8Check::Check(&(*it)); - } - } - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.GetEntitiesCountersResponseMessage) - return target; -} - -size_t GetEntitiesCountersResponseMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.GetEntitiesCountersResponseMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map<string, int64> counters = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_counters_size()); - for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator - it = this->_internal_counters().begin(); - it != this->_internal_counters().end(); ++it) { - total_size += GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetEntitiesCountersResponseMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.GetEntitiesCountersResponseMessage) - GOOGLE_DCHECK_NE(&from, this); - const GetEntitiesCountersResponseMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GetEntitiesCountersResponseMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.GetEntitiesCountersResponseMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.GetEntitiesCountersResponseMessage) - MergeFrom(*source); - } -} - -void GetEntitiesCountersResponseMessage::MergeFrom(const GetEntitiesCountersResponseMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.GetEntitiesCountersResponseMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - counters_.MergeFrom(from.counters_); -} - -void GetEntitiesCountersResponseMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.GetEntitiesCountersResponseMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetEntitiesCountersResponseMessage::CopyFrom(const GetEntitiesCountersResponseMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.GetEntitiesCountersResponseMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetEntitiesCountersResponseMessage::IsInitialized() const { - return true; -} - -void GetEntitiesCountersResponseMessage::InternalSwap(GetEntitiesCountersResponseMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - counters_.Swap(&other->counters_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata GetEntitiesCountersResponseMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void EntityReplaceMessage::InitAsDefaultInstance() { -} -class EntityReplaceMessage::_Internal { - public: -}; - -EntityReplaceMessage::EntityReplaceMessage() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.EntityReplaceMessage) -} -EntityReplaceMessage::EntityReplaceMessage(const EntityReplaceMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - history_(from.history_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_uuid().empty()) { - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - // @@protoc_insertion_point(copy_constructor:api.EntityReplaceMessage) -} - -void EntityReplaceMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EntityReplaceMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -EntityReplaceMessage::~EntityReplaceMessage() { - // @@protoc_insertion_point(destructor:api.EntityReplaceMessage) - SharedDtor(); -} - -void EntityReplaceMessage::SharedDtor() { - uuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void EntityReplaceMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EntityReplaceMessage& EntityReplaceMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EntityReplaceMessage_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void EntityReplaceMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.EntityReplaceMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - history_.Clear(); - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -const char* EntityReplaceMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // repeated .api.EntityMessage_V2 history = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_history(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - // string uuid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_uuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.EntityReplaceMessage.uuid")); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* EntityReplaceMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.EntityReplaceMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .api.EntityMessage_V2 history = 1; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_history_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, this->_internal_history(i), target, stream); - } - - // string uuid = 2; - if (this->uuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_uuid().data(), static_cast<int>(this->_internal_uuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.EntityReplaceMessage.uuid"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_uuid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.EntityReplaceMessage) - return target; -} - -size_t EntityReplaceMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.EntityReplaceMessage) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .api.EntityMessage_V2 history = 1; - total_size += 1UL * this->_internal_history_size(); - for (const auto& msg : this->history_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // string uuid = 2; - if (this->uuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_uuid()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EntityReplaceMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.EntityReplaceMessage) - GOOGLE_DCHECK_NE(&from, this); - const EntityReplaceMessage* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EntityReplaceMessage>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.EntityReplaceMessage) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.EntityReplaceMessage) - MergeFrom(*source); - } -} - -void EntityReplaceMessage::MergeFrom(const EntityReplaceMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.EntityReplaceMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - history_.MergeFrom(from.history_); - if (from.uuid().size() > 0) { - - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } -} - -void EntityReplaceMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.EntityReplaceMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EntityReplaceMessage::CopyFrom(const EntityReplaceMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.EntityReplaceMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EntityReplaceMessage::IsInitialized() const { - return true; -} - -void EntityReplaceMessage::InternalSwap(EntityReplaceMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - history_.InternalSwap(&other->history_); - uuid_.Swap(&other->uuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EntityReplaceMessage::GetMetadata() const { - return GetMetadataStatic(); -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace api -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::api::Claim_V1_ValueEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::Claim_V1_ValueEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::Claim_V1_ValueEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::Claim_V1* Arena::CreateMaybeMessage< ::api::Claim_V1 >(Arena* arena) { - return Arena::CreateInternal< ::api::Claim_V1 >(arena); -} -template<> PROTOBUF_NOINLINE ::api::ClaimTagsMap_V1_TagsEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::ClaimTagsMap_V1_TagsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::ClaimTagsMap_V1_TagsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::ClaimTagsMap_V1* Arena::CreateMaybeMessage< ::api::ClaimTagsMap_V1 >(Arena* arena) { - return Arena::CreateInternal< ::api::ClaimTagsMap_V1 >(arena); -} -template<> PROTOBUF_NOINLINE ::api::Order_V1_OperationUUIDSEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::Order_V1_OperationUUIDSEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::Order_V1_OperationUUIDSEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::Order_V1_DataEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::Order_V1_DataEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::Order_V1_DataEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::Order_V1* Arena::CreateMaybeMessage< ::api::Order_V1 >(Arena* arena) { - return Arena::CreateInternal< ::api::Order_V1 >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V1_ClaimsEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V1_ClaimsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V1_ClaimsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V1* Arena::CreateMaybeMessage< ::api::EntityMessage_V1 >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V1 >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_ClaimsEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_ClaimsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_ClaimsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_GuardedEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_GuardedEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_GuardedEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_GuardiansEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_GuardiansEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_GuardiansEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_MembersEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_MembersEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_MembersEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_MemberOfEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_MemberOfEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_MemberOfEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_ParentsEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_ParentsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_ParentsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_ChildrenEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_ChildrenEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_ChildrenEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_ViewedEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_ViewedEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_ViewedEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_ViewersEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_ViewersEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_ViewersEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_OrdersEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_OrdersEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_OrdersEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_SystemParentsEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_SystemParentsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_SystemParentsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessage_V2* Arena::CreateMaybeMessage< ::api::EntityMessage_V2 >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessage_V2 >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityMessageResponse* Arena::CreateMaybeMessage< ::api::EntityMessageResponse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityMessageResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityList* Arena::CreateMaybeMessage< ::api::EntityList >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityList >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityHistoryMessage* Arena::CreateMaybeMessage< ::api::EntityHistoryMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityHistoryMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntitySearchMessage* Arena::CreateMaybeMessage< ::api::EntitySearchMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::EntitySearchMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::ClaimInvitationMessage* Arena::CreateMaybeMessage< ::api::ClaimInvitationMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::ClaimInvitationMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::ClaimInvitationMessageResponse* Arena::CreateMaybeMessage< ::api::ClaimInvitationMessageResponse >(Arena* arena) { - return Arena::CreateInternal< ::api::ClaimInvitationMessageResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::ClaimInvitationSearchMessage* Arena::CreateMaybeMessage< ::api::ClaimInvitationSearchMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::ClaimInvitationSearchMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::ClaimInvitationList* Arena::CreateMaybeMessage< ::api::ClaimInvitationList >(Arena* arena) { - return Arena::CreateInternal< ::api::ClaimInvitationList >(arena); -} -template<> PROTOBUF_NOINLINE ::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::ClaimInvitationHistoryMessage* Arena::CreateMaybeMessage< ::api::ClaimInvitationHistoryMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::ClaimInvitationHistoryMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::GetVersionEMAMessage* Arena::CreateMaybeMessage< ::api::GetVersionEMAMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::GetVersionEMAMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::GetVersionEMAResponseMessage* Arena::CreateMaybeMessage< ::api::GetVersionEMAResponseMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::GetVersionEMAResponseMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::GetEntitiesTailsMessage* Arena::CreateMaybeMessage< ::api::GetEntitiesTailsMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::GetEntitiesTailsMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::GetEntitiesTailsResponseMessage* Arena::CreateMaybeMessage< ::api::GetEntitiesTailsResponseMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::GetEntitiesTailsResponseMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::GetEntitiesCountersMessage* Arena::CreateMaybeMessage< ::api::GetEntitiesCountersMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::GetEntitiesCountersMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse* Arena::CreateMaybeMessage< ::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::api::GetEntitiesCountersResponseMessage* Arena::CreateMaybeMessage< ::api::GetEntitiesCountersResponseMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::GetEntitiesCountersResponseMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::api::EntityReplaceMessage* Arena::CreateMaybeMessage< ::api::EntityReplaceMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::EntityReplaceMessage >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/entities-management-agent/api/api.pb.h b/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/entities-management-agent/api/api.pb.h deleted file mode 100644 index a29ffc8a5c3fb9bc6dd59710f30077eb225243d4..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/entities-management-agent/api/api.pb.h +++ /dev/null @@ -1,10396 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: code.vereign.com/code/viam-apis/entities-management-agent/api/api.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.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/map.h> // IWYU pragma: export -#include <google/protobuf/map_entry.h> -#include <google/protobuf/map_field_inl.h> -#include <google/protobuf/generated_enum_reflection.h> -#include <google/protobuf/unknown_field_set.h> -#include "google/api/annotations.pb.h" -#include "code.vereign.com/code/viam-apis/versions/api/api.pb.h" -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[46] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -namespace api { -class ClaimInvitationHistoryMessage; -class ClaimInvitationHistoryMessageDefaultTypeInternal; -extern ClaimInvitationHistoryMessageDefaultTypeInternal _ClaimInvitationHistoryMessage_default_instance_; -class ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse; -class ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUseDefaultTypeInternal; -extern ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUseDefaultTypeInternal _ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_default_instance_; -class ClaimInvitationList; -class ClaimInvitationListDefaultTypeInternal; -extern ClaimInvitationListDefaultTypeInternal _ClaimInvitationList_default_instance_; -class ClaimInvitationMessage; -class ClaimInvitationMessageDefaultTypeInternal; -extern ClaimInvitationMessageDefaultTypeInternal _ClaimInvitationMessage_default_instance_; -class ClaimInvitationMessageResponse; -class ClaimInvitationMessageResponseDefaultTypeInternal; -extern ClaimInvitationMessageResponseDefaultTypeInternal _ClaimInvitationMessageResponse_default_instance_; -class ClaimInvitationSearchMessage; -class ClaimInvitationSearchMessageDefaultTypeInternal; -extern ClaimInvitationSearchMessageDefaultTypeInternal _ClaimInvitationSearchMessage_default_instance_; -class ClaimTagsMap_V1; -class ClaimTagsMap_V1DefaultTypeInternal; -extern ClaimTagsMap_V1DefaultTypeInternal _ClaimTagsMap_V1_default_instance_; -class ClaimTagsMap_V1_TagsEntry_DoNotUse; -class ClaimTagsMap_V1_TagsEntry_DoNotUseDefaultTypeInternal; -extern ClaimTagsMap_V1_TagsEntry_DoNotUseDefaultTypeInternal _ClaimTagsMap_V1_TagsEntry_DoNotUse_default_instance_; -class Claim_V1; -class Claim_V1DefaultTypeInternal; -extern Claim_V1DefaultTypeInternal _Claim_V1_default_instance_; -class Claim_V1_ValueEntry_DoNotUse; -class Claim_V1_ValueEntry_DoNotUseDefaultTypeInternal; -extern Claim_V1_ValueEntry_DoNotUseDefaultTypeInternal _Claim_V1_ValueEntry_DoNotUse_default_instance_; -class EntityHistoryMessage; -class EntityHistoryMessageDefaultTypeInternal; -extern EntityHistoryMessageDefaultTypeInternal _EntityHistoryMessage_default_instance_; -class EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse; -class EntityHistoryMessage_HistoryByUUIDEntry_DoNotUseDefaultTypeInternal; -extern EntityHistoryMessage_HistoryByUUIDEntry_DoNotUseDefaultTypeInternal _EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_default_instance_; -class EntityList; -class EntityListDefaultTypeInternal; -extern EntityListDefaultTypeInternal _EntityList_default_instance_; -class EntityMessageResponse; -class EntityMessageResponseDefaultTypeInternal; -extern EntityMessageResponseDefaultTypeInternal _EntityMessageResponse_default_instance_; -class EntityMessage_V1; -class EntityMessage_V1DefaultTypeInternal; -extern EntityMessage_V1DefaultTypeInternal _EntityMessage_V1_default_instance_; -class EntityMessage_V1_ClaimsEntry_DoNotUse; -class EntityMessage_V1_ClaimsEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V1_ClaimsEntry_DoNotUseDefaultTypeInternal _EntityMessage_V1_ClaimsEntry_DoNotUse_default_instance_; -class EntityMessage_V1_ContactStatusesEntry_DoNotUse; -class EntityMessage_V1_ContactStatusesEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V1_ContactStatusesEntry_DoNotUseDefaultTypeInternal _EntityMessage_V1_ContactStatusesEntry_DoNotUse_default_instance_; -class EntityMessage_V1_PassportsCountersEntry_DoNotUse; -class EntityMessage_V1_PassportsCountersEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V1_PassportsCountersEntry_DoNotUseDefaultTypeInternal _EntityMessage_V1_PassportsCountersEntry_DoNotUse_default_instance_; -class EntityMessage_V2; -class EntityMessage_V2DefaultTypeInternal; -extern EntityMessage_V2DefaultTypeInternal _EntityMessage_V2_default_instance_; -class EntityMessage_V2_ChildrenEntry_DoNotUse; -class EntityMessage_V2_ChildrenEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_ChildrenEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_ChildrenEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ClaimsEntry_DoNotUse; -class EntityMessage_V2_ClaimsEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_ClaimsEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_ClaimsEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ContactStatusesEntry_DoNotUse; -class EntityMessage_V2_ContactStatusesEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_ContactStatusesEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_ContactStatusesEntry_DoNotUse_default_instance_; -class EntityMessage_V2_GuardedEntry_DoNotUse; -class EntityMessage_V2_GuardedEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_GuardedEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_GuardedEntry_DoNotUse_default_instance_; -class EntityMessage_V2_GuardiansEntry_DoNotUse; -class EntityMessage_V2_GuardiansEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_GuardiansEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_GuardiansEntry_DoNotUse_default_instance_; -class EntityMessage_V2_MemberOfEntry_DoNotUse; -class EntityMessage_V2_MemberOfEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_MemberOfEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_MemberOfEntry_DoNotUse_default_instance_; -class EntityMessage_V2_MembersEntry_DoNotUse; -class EntityMessage_V2_MembersEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_MembersEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_MembersEntry_DoNotUse_default_instance_; -class EntityMessage_V2_OrdersEntry_DoNotUse; -class EntityMessage_V2_OrdersEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_OrdersEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_OrdersEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ParentsEntry_DoNotUse; -class EntityMessage_V2_ParentsEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_ParentsEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_ParentsEntry_DoNotUse_default_instance_; -class EntityMessage_V2_PassportsCountersEntry_DoNotUse; -class EntityMessage_V2_PassportsCountersEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_PassportsCountersEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_PassportsCountersEntry_DoNotUse_default_instance_; -class EntityMessage_V2_SystemChildrenEntry_DoNotUse; -class EntityMessage_V2_SystemChildrenEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_SystemChildrenEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_SystemChildrenEntry_DoNotUse_default_instance_; -class EntityMessage_V2_SystemParentsEntry_DoNotUse; -class EntityMessage_V2_SystemParentsEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_SystemParentsEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_SystemParentsEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ViewedEntry_DoNotUse; -class EntityMessage_V2_ViewedEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_ViewedEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_ViewedEntry_DoNotUse_default_instance_; -class EntityMessage_V2_ViewersEntry_DoNotUse; -class EntityMessage_V2_ViewersEntry_DoNotUseDefaultTypeInternal; -extern EntityMessage_V2_ViewersEntry_DoNotUseDefaultTypeInternal _EntityMessage_V2_ViewersEntry_DoNotUse_default_instance_; -class EntityReplaceMessage; -class EntityReplaceMessageDefaultTypeInternal; -extern EntityReplaceMessageDefaultTypeInternal _EntityReplaceMessage_default_instance_; -class EntitySearchMessage; -class EntitySearchMessageDefaultTypeInternal; -extern EntitySearchMessageDefaultTypeInternal _EntitySearchMessage_default_instance_; -class GetEntitiesCountersMessage; -class GetEntitiesCountersMessageDefaultTypeInternal; -extern GetEntitiesCountersMessageDefaultTypeInternal _GetEntitiesCountersMessage_default_instance_; -class GetEntitiesCountersResponseMessage; -class GetEntitiesCountersResponseMessageDefaultTypeInternal; -extern GetEntitiesCountersResponseMessageDefaultTypeInternal _GetEntitiesCountersResponseMessage_default_instance_; -class GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse; -class GetEntitiesCountersResponseMessage_CountersEntry_DoNotUseDefaultTypeInternal; -extern GetEntitiesCountersResponseMessage_CountersEntry_DoNotUseDefaultTypeInternal _GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_default_instance_; -class GetEntitiesTailsMessage; -class GetEntitiesTailsMessageDefaultTypeInternal; -extern GetEntitiesTailsMessageDefaultTypeInternal _GetEntitiesTailsMessage_default_instance_; -class GetEntitiesTailsResponseMessage; -class GetEntitiesTailsResponseMessageDefaultTypeInternal; -extern GetEntitiesTailsResponseMessageDefaultTypeInternal _GetEntitiesTailsResponseMessage_default_instance_; -class GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse; -class GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUseDefaultTypeInternal; -extern GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUseDefaultTypeInternal _GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_default_instance_; -class GetVersionEMAMessage; -class GetVersionEMAMessageDefaultTypeInternal; -extern GetVersionEMAMessageDefaultTypeInternal _GetVersionEMAMessage_default_instance_; -class GetVersionEMAResponseMessage; -class GetVersionEMAResponseMessageDefaultTypeInternal; -extern GetVersionEMAResponseMessageDefaultTypeInternal _GetVersionEMAResponseMessage_default_instance_; -class Order_V1; -class Order_V1DefaultTypeInternal; -extern Order_V1DefaultTypeInternal _Order_V1_default_instance_; -class Order_V1_DataEntry_DoNotUse; -class Order_V1_DataEntry_DoNotUseDefaultTypeInternal; -extern Order_V1_DataEntry_DoNotUseDefaultTypeInternal _Order_V1_DataEntry_DoNotUse_default_instance_; -class Order_V1_OperationUUIDSEntry_DoNotUse; -class Order_V1_OperationUUIDSEntry_DoNotUseDefaultTypeInternal; -extern Order_V1_OperationUUIDSEntry_DoNotUseDefaultTypeInternal _Order_V1_OperationUUIDSEntry_DoNotUse_default_instance_; -} // namespace api -PROTOBUF_NAMESPACE_OPEN -template<> ::api::ClaimInvitationHistoryMessage* Arena::CreateMaybeMessage<::api::ClaimInvitationHistoryMessage>(Arena*); -template<> ::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse* Arena::CreateMaybeMessage<::api::ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse>(Arena*); -template<> ::api::ClaimInvitationList* Arena::CreateMaybeMessage<::api::ClaimInvitationList>(Arena*); -template<> ::api::ClaimInvitationMessage* Arena::CreateMaybeMessage<::api::ClaimInvitationMessage>(Arena*); -template<> ::api::ClaimInvitationMessageResponse* Arena::CreateMaybeMessage<::api::ClaimInvitationMessageResponse>(Arena*); -template<> ::api::ClaimInvitationSearchMessage* Arena::CreateMaybeMessage<::api::ClaimInvitationSearchMessage>(Arena*); -template<> ::api::ClaimTagsMap_V1* Arena::CreateMaybeMessage<::api::ClaimTagsMap_V1>(Arena*); -template<> ::api::ClaimTagsMap_V1_TagsEntry_DoNotUse* Arena::CreateMaybeMessage<::api::ClaimTagsMap_V1_TagsEntry_DoNotUse>(Arena*); -template<> ::api::Claim_V1* Arena::CreateMaybeMessage<::api::Claim_V1>(Arena*); -template<> ::api::Claim_V1_ValueEntry_DoNotUse* Arena::CreateMaybeMessage<::api::Claim_V1_ValueEntry_DoNotUse>(Arena*); -template<> ::api::EntityHistoryMessage* Arena::CreateMaybeMessage<::api::EntityHistoryMessage>(Arena*); -template<> ::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse>(Arena*); -template<> ::api::EntityList* Arena::CreateMaybeMessage<::api::EntityList>(Arena*); -template<> ::api::EntityMessageResponse* Arena::CreateMaybeMessage<::api::EntityMessageResponse>(Arena*); -template<> ::api::EntityMessage_V1* Arena::CreateMaybeMessage<::api::EntityMessage_V1>(Arena*); -template<> ::api::EntityMessage_V1_ClaimsEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V1_ClaimsEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V1_ContactStatusesEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V1_PassportsCountersEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2* Arena::CreateMaybeMessage<::api::EntityMessage_V2>(Arena*); -template<> ::api::EntityMessage_V2_ChildrenEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_ChildrenEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_ClaimsEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_ClaimsEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_ContactStatusesEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_GuardedEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_GuardedEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_GuardiansEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_GuardiansEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_MemberOfEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_MemberOfEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_MembersEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_MembersEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_OrdersEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_OrdersEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_ParentsEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_ParentsEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_PassportsCountersEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_SystemChildrenEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_SystemParentsEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_SystemParentsEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_ViewedEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_ViewedEntry_DoNotUse>(Arena*); -template<> ::api::EntityMessage_V2_ViewersEntry_DoNotUse* Arena::CreateMaybeMessage<::api::EntityMessage_V2_ViewersEntry_DoNotUse>(Arena*); -template<> ::api::EntityReplaceMessage* Arena::CreateMaybeMessage<::api::EntityReplaceMessage>(Arena*); -template<> ::api::EntitySearchMessage* Arena::CreateMaybeMessage<::api::EntitySearchMessage>(Arena*); -template<> ::api::GetEntitiesCountersMessage* Arena::CreateMaybeMessage<::api::GetEntitiesCountersMessage>(Arena*); -template<> ::api::GetEntitiesCountersResponseMessage* Arena::CreateMaybeMessage<::api::GetEntitiesCountersResponseMessage>(Arena*); -template<> ::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse* Arena::CreateMaybeMessage<::api::GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse>(Arena*); -template<> ::api::GetEntitiesTailsMessage* Arena::CreateMaybeMessage<::api::GetEntitiesTailsMessage>(Arena*); -template<> ::api::GetEntitiesTailsResponseMessage* Arena::CreateMaybeMessage<::api::GetEntitiesTailsResponseMessage>(Arena*); -template<> ::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse* Arena::CreateMaybeMessage<::api::GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse>(Arena*); -template<> ::api::GetVersionEMAMessage* Arena::CreateMaybeMessage<::api::GetVersionEMAMessage>(Arena*); -template<> ::api::GetVersionEMAResponseMessage* Arena::CreateMaybeMessage<::api::GetVersionEMAResponseMessage>(Arena*); -template<> ::api::Order_V1* Arena::CreateMaybeMessage<::api::Order_V1>(Arena*); -template<> ::api::Order_V1_DataEntry_DoNotUse* Arena::CreateMaybeMessage<::api::Order_V1_DataEntry_DoNotUse>(Arena*); -template<> ::api::Order_V1_OperationUUIDSEntry_DoNotUse* Arena::CreateMaybeMessage<::api::Order_V1_OperationUUIDSEntry_DoNotUse>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace api { - -enum ClaimType : int { - NONE_CLAIM_TYPE = 0, - INTERNAL = 1, - UNIVERSAL = 2, - EXTERNAL = 3, - FUNCTIONAL = 4, - FILE = 5, - ClaimType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), - ClaimType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() -}; -bool ClaimType_IsValid(int value); -constexpr ClaimType ClaimType_MIN = NONE_CLAIM_TYPE; -constexpr ClaimType ClaimType_MAX = FILE; -constexpr int ClaimType_ARRAYSIZE = ClaimType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ClaimType_descriptor(); -template<typename T> -inline const std::string& ClaimType_Name(T enum_t_value) { - static_assert(::std::is_same<T, ClaimType>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function ClaimType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ClaimType_descriptor(), enum_t_value); -} -inline bool ClaimType_Parse( - const std::string& name, ClaimType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ClaimType>( - ClaimType_descriptor(), name, value); -} -enum AccessType : int { - NONE_ACCESS_TYPE = 0, - PRIVATE = 1, - INVITATIONAL = 2, - PUBLIC = 3, - AccessType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), - AccessType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() -}; -bool AccessType_IsValid(int value); -constexpr AccessType AccessType_MIN = NONE_ACCESS_TYPE; -constexpr AccessType AccessType_MAX = PUBLIC; -constexpr int AccessType_ARRAYSIZE = AccessType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AccessType_descriptor(); -template<typename T> -inline const std::string& AccessType_Name(T enum_t_value) { - static_assert(::std::is_same<T, AccessType>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function AccessType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - AccessType_descriptor(), enum_t_value); -} -inline bool AccessType_Parse( - const std::string& name, AccessType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<AccessType>( - AccessType_descriptor(), name, value); -} -enum SearchType : int { - NONE_SEARCH_TYPE = 0, - BYRANK = 1, - BYSCORE = 2, - SearchType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), - SearchType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() -}; -bool SearchType_IsValid(int value); -constexpr SearchType SearchType_MIN = NONE_SEARCH_TYPE; -constexpr SearchType SearchType_MAX = BYSCORE; -constexpr int SearchType_ARRAYSIZE = SearchType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SearchType_descriptor(); -template<typename T> -inline const std::string& SearchType_Name(T enum_t_value) { - static_assert(::std::is_same<T, SearchType>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function SearchType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - SearchType_descriptor(), enum_t_value); -} -inline bool SearchType_Parse( - const std::string& name, SearchType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SearchType>( - SearchType_descriptor(), name, value); -} -enum ValueType : int { - NONE_KEY_VALUE = 0, - NON_COMPOSITE = 1, - COMPOSITE = 2, - ValueType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), - ValueType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() -}; -bool ValueType_IsValid(int value); -constexpr ValueType ValueType_MIN = NONE_KEY_VALUE; -constexpr ValueType ValueType_MAX = COMPOSITE; -constexpr int ValueType_ARRAYSIZE = ValueType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ValueType_descriptor(); -template<typename T> -inline const std::string& ValueType_Name(T enum_t_value) { - static_assert(::std::is_same<T, ValueType>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function ValueType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ValueType_descriptor(), enum_t_value); -} -inline bool ValueType_Parse( - const std::string& name, ValueType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ValueType>( - ValueType_descriptor(), name, value); -} -enum EntityType : int { - NONE_ENTITY_TYPE = 0, - PERSON = 1, - ORGANIZATION = 2, - ASSET = 3, - PASSPORT = 4, - DOCUMENT = 5, - CONVERSATION = 6, - CONTACT = 7, - EntityType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), - EntityType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() -}; -bool EntityType_IsValid(int value); -constexpr EntityType EntityType_MIN = NONE_ENTITY_TYPE; -constexpr EntityType EntityType_MAX = CONTACT; -constexpr int EntityType_ARRAYSIZE = EntityType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EntityType_descriptor(); -template<typename T> -inline const std::string& EntityType_Name(T enum_t_value) { - static_assert(::std::is_same<T, EntityType>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function EntityType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EntityType_descriptor(), enum_t_value); -} -inline bool EntityType_Parse( - const std::string& name, EntityType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<EntityType>( - EntityType_descriptor(), name, value); -} -enum ContactStatus : int { - ACTIVE = 0, - ARCHIVED = 1, - BLOCKED = 2, - ContactStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), - ContactStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() -}; -bool ContactStatus_IsValid(int value); -constexpr ContactStatus ContactStatus_MIN = ACTIVE; -constexpr ContactStatus ContactStatus_MAX = BLOCKED; -constexpr int ContactStatus_ARRAYSIZE = ContactStatus_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContactStatus_descriptor(); -template<typename T> -inline const std::string& ContactStatus_Name(T enum_t_value) { - static_assert(::std::is_same<T, ContactStatus>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function ContactStatus_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ContactStatus_descriptor(), enum_t_value); -} -inline bool ContactStatus_Parse( - const std::string& name, ContactStatus* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ContactStatus>( - ContactStatus_descriptor(), name, value); -} -enum OrderStatus : int { - NO_ORDER_STATUS = 0, - ORDER_STATUS_NEW = 1, - ORDER_STATUS_IN_PROGRESS = 2, - ORDER_STATUS_WAITING_PAYMENT = 3, - ORDER_STATUS_PAYMENT_FAILED = 4, - ORDER_STATUS_PAYMENT_RECEIVED = 5, - ORDER_STATUS_PAYMENT_COMPLETED = 6, - ORDER_STATUS_PAYMENT_CANCELED = 7, - OrderStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), - OrderStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() -}; -bool OrderStatus_IsValid(int value); -constexpr OrderStatus OrderStatus_MIN = NO_ORDER_STATUS; -constexpr OrderStatus OrderStatus_MAX = ORDER_STATUS_PAYMENT_CANCELED; -constexpr int OrderStatus_ARRAYSIZE = OrderStatus_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OrderStatus_descriptor(); -template<typename T> -inline const std::string& OrderStatus_Name(T enum_t_value) { - static_assert(::std::is_same<T, OrderStatus>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function OrderStatus_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - OrderStatus_descriptor(), enum_t_value); -} -inline bool OrderStatus_Parse( - const std::string& name, OrderStatus* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<OrderStatus>( - OrderStatus_descriptor(), name, value); -} -enum RelationStatus : int { - LIVE_RELATION = 0, - DELETED_RELATION = 1, - BLOCKED_RELATION = 2, - RelationStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), - RelationStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() -}; -bool RelationStatus_IsValid(int value); -constexpr RelationStatus RelationStatus_MIN = LIVE_RELATION; -constexpr RelationStatus RelationStatus_MAX = BLOCKED_RELATION; -constexpr int RelationStatus_ARRAYSIZE = RelationStatus_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RelationStatus_descriptor(); -template<typename T> -inline const std::string& RelationStatus_Name(T enum_t_value) { - static_assert(::std::is_same<T, RelationStatus>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function RelationStatus_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - RelationStatus_descriptor(), enum_t_value); -} -inline bool RelationStatus_Parse( - const std::string& name, RelationStatus* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<RelationStatus>( - RelationStatus_descriptor(), name, value); -} -enum ClaimInvitationStatus : int { - NONE_CLAIM_INVITATION_STATUS = 0, - NOTVERIFIED = 1, - REJECTED = 2, - VERIFIED = 3, - REVOKED = 4, - ClaimInvitationStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), - ClaimInvitationStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() -}; -bool ClaimInvitationStatus_IsValid(int value); -constexpr ClaimInvitationStatus ClaimInvitationStatus_MIN = NONE_CLAIM_INVITATION_STATUS; -constexpr ClaimInvitationStatus ClaimInvitationStatus_MAX = REVOKED; -constexpr int ClaimInvitationStatus_ARRAYSIZE = ClaimInvitationStatus_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ClaimInvitationStatus_descriptor(); -template<typename T> -inline const std::string& ClaimInvitationStatus_Name(T enum_t_value) { - static_assert(::std::is_same<T, ClaimInvitationStatus>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function ClaimInvitationStatus_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ClaimInvitationStatus_descriptor(), enum_t_value); -} -inline bool ClaimInvitationStatus_Parse( - const std::string& name, ClaimInvitationStatus* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ClaimInvitationStatus>( - ClaimInvitationStatus_descriptor(), name, value); -} -// =================================================================== - -class Claim_V1_ValueEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Claim_V1_ValueEntry_DoNotUse, - std::string, std::string, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Claim_V1_ValueEntry_DoNotUse, - std::string, std::string, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - 0 > SuperType; - Claim_V1_ValueEntry_DoNotUse(); - Claim_V1_ValueEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const Claim_V1_ValueEntry_DoNotUse& other); - static const Claim_V1_ValueEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const Claim_V1_ValueEntry_DoNotUse*>(&_Claim_V1_ValueEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.Claim_V1.ValueEntry.key"); - } - static bool ValidateValue(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.Claim_V1.ValueEntry.value"); - } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[0]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class Claim_V1 : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.Claim_V1) */ { - public: - Claim_V1(); - virtual ~Claim_V1(); - - Claim_V1(const Claim_V1& from); - Claim_V1(Claim_V1&& from) noexcept - : Claim_V1() { - *this = ::std::move(from); - } - - inline Claim_V1& operator=(const Claim_V1& from) { - CopyFrom(from); - return *this; - } - inline Claim_V1& operator=(Claim_V1&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const Claim_V1& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Claim_V1* internal_default_instance() { - return reinterpret_cast<const Claim_V1*>( - &_Claim_V1_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(Claim_V1& a, Claim_V1& b) { - a.Swap(&b); - } - inline void Swap(Claim_V1* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline Claim_V1* New() const final { - return CreateMaybeMessage<Claim_V1>(nullptr); - } - - Claim_V1* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Claim_V1>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const Claim_V1& from); - void MergeFrom(const Claim_V1& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Claim_V1* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.Claim_V1"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - enum : int { - kValueFieldNumber = 1, - kFunctionPointerFieldNumber = 3, - kSymlinkFieldNumber = 5, - kCalculatedValueFieldNumber = 7, - kTypeFieldNumber = 2, - kAccessTypeFieldNumber = 4, - kValueTypeFieldNumber = 8, - kDefaultClaimFieldNumber = 6, - kVerifiedFieldNumber = 9, - kCanEditFieldNumber = 10, - kCompanyOnlyFieldNumber = 11, - kRequiredFieldNumber = 12, - }; - // map<string, string> value = 1; - int value_size() const; - private: - int _internal_value_size() const; - public: - void clear_value(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& - _internal_value() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* - _internal_mutable_value(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& - value() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* - mutable_value(); - - // string functionPointer = 3; - void clear_functionpointer(); - const std::string& functionpointer() const; - void set_functionpointer(const std::string& value); - void set_functionpointer(std::string&& value); - void set_functionpointer(const char* value); - void set_functionpointer(const char* value, size_t size); - std::string* mutable_functionpointer(); - std::string* release_functionpointer(); - void set_allocated_functionpointer(std::string* functionpointer); - private: - const std::string& _internal_functionpointer() const; - void _internal_set_functionpointer(const std::string& value); - std::string* _internal_mutable_functionpointer(); - public: - - // string symlink = 5; - void clear_symlink(); - const std::string& symlink() const; - void set_symlink(const std::string& value); - void set_symlink(std::string&& value); - void set_symlink(const char* value); - void set_symlink(const char* value, size_t size); - std::string* mutable_symlink(); - std::string* release_symlink(); - void set_allocated_symlink(std::string* symlink); - private: - const std::string& _internal_symlink() const; - void _internal_set_symlink(const std::string& value); - std::string* _internal_mutable_symlink(); - public: - - // string calculatedValue = 7; - void clear_calculatedvalue(); - const std::string& calculatedvalue() const; - void set_calculatedvalue(const std::string& value); - void set_calculatedvalue(std::string&& value); - void set_calculatedvalue(const char* value); - void set_calculatedvalue(const char* value, size_t size); - std::string* mutable_calculatedvalue(); - std::string* release_calculatedvalue(); - void set_allocated_calculatedvalue(std::string* calculatedvalue); - private: - const std::string& _internal_calculatedvalue() const; - void _internal_set_calculatedvalue(const std::string& value); - std::string* _internal_mutable_calculatedvalue(); - public: - - // .api.ClaimType type = 2; - void clear_type(); - ::api::ClaimType type() const; - void set_type(::api::ClaimType value); - private: - ::api::ClaimType _internal_type() const; - void _internal_set_type(::api::ClaimType value); - public: - - // .api.AccessType AccessType = 4; - void clear_accesstype(); - ::api::AccessType accesstype() const; - void set_accesstype(::api::AccessType value); - private: - ::api::AccessType _internal_accesstype() const; - void _internal_set_accesstype(::api::AccessType value); - public: - - // .api.ValueType valueType = 8; - void clear_valuetype(); - ::api::ValueType valuetype() const; - void set_valuetype(::api::ValueType value); - private: - ::api::ValueType _internal_valuetype() const; - void _internal_set_valuetype(::api::ValueType value); - public: - - // bool defaultClaim = 6; - void clear_defaultclaim(); - bool defaultclaim() const; - void set_defaultclaim(bool value); - private: - bool _internal_defaultclaim() const; - void _internal_set_defaultclaim(bool value); - public: - - // bool verified = 9; - void clear_verified(); - bool verified() const; - void set_verified(bool value); - private: - bool _internal_verified() const; - void _internal_set_verified(bool value); - public: - - // bool canEdit = 10; - void clear_canedit(); - bool canedit() const; - void set_canedit(bool value); - private: - bool _internal_canedit() const; - void _internal_set_canedit(bool value); - public: - - // bool companyOnly = 11; - void clear_companyonly(); - bool companyonly() const; - void set_companyonly(bool value); - private: - bool _internal_companyonly() const; - void _internal_set_companyonly(bool value); - public: - - // bool required = 12; - void clear_required(); - bool required() const; - void set_required(bool value); - private: - bool _internal_required() const; - void _internal_set_required(bool value); - public: - - // @@protoc_insertion_point(class_scope:api.Claim_V1) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - Claim_V1_ValueEntry_DoNotUse, - std::string, std::string, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - 0 > value_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr functionpointer_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr symlink_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr calculatedvalue_; - int type_; - int accesstype_; - int valuetype_; - bool defaultclaim_; - bool verified_; - bool canedit_; - bool companyonly_; - bool required_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class ClaimTagsMap_V1_TagsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ClaimTagsMap_V1_TagsEntry_DoNotUse, - std::string, ::api::Claim_V1, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ClaimTagsMap_V1_TagsEntry_DoNotUse, - std::string, ::api::Claim_V1, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > SuperType; - ClaimTagsMap_V1_TagsEntry_DoNotUse(); - ClaimTagsMap_V1_TagsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const ClaimTagsMap_V1_TagsEntry_DoNotUse& other); - static const ClaimTagsMap_V1_TagsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ClaimTagsMap_V1_TagsEntry_DoNotUse*>(&_ClaimTagsMap_V1_TagsEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.ClaimTagsMap_V1.TagsEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[2]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class ClaimTagsMap_V1 : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.ClaimTagsMap_V1) */ { - public: - ClaimTagsMap_V1(); - virtual ~ClaimTagsMap_V1(); - - ClaimTagsMap_V1(const ClaimTagsMap_V1& from); - ClaimTagsMap_V1(ClaimTagsMap_V1&& from) noexcept - : ClaimTagsMap_V1() { - *this = ::std::move(from); - } - - inline ClaimTagsMap_V1& operator=(const ClaimTagsMap_V1& from) { - CopyFrom(from); - return *this; - } - inline ClaimTagsMap_V1& operator=(ClaimTagsMap_V1&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ClaimTagsMap_V1& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ClaimTagsMap_V1* internal_default_instance() { - return reinterpret_cast<const ClaimTagsMap_V1*>( - &_ClaimTagsMap_V1_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(ClaimTagsMap_V1& a, ClaimTagsMap_V1& b) { - a.Swap(&b); - } - inline void Swap(ClaimTagsMap_V1* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ClaimTagsMap_V1* New() const final { - return CreateMaybeMessage<ClaimTagsMap_V1>(nullptr); - } - - ClaimTagsMap_V1* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ClaimTagsMap_V1>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ClaimTagsMap_V1& from); - void MergeFrom(const ClaimTagsMap_V1& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ClaimTagsMap_V1* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.ClaimTagsMap_V1"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - enum : int { - kTagsFieldNumber = 1, - }; - // map<string, .api.Claim_V1> tags = 1; - int tags_size() const; - private: - int _internal_tags_size() const; - public: - void clear_tags(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >& - _internal_tags() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >* - _internal_mutable_tags(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >& - tags() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >* - mutable_tags(); - - // @@protoc_insertion_point(class_scope:api.ClaimTagsMap_V1) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - ClaimTagsMap_V1_TagsEntry_DoNotUse, - std::string, ::api::Claim_V1, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > tags_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class Order_V1_OperationUUIDSEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Order_V1_OperationUUIDSEntry_DoNotUse, - std::string, std::string, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Order_V1_OperationUUIDSEntry_DoNotUse, - std::string, std::string, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - 0 > SuperType; - Order_V1_OperationUUIDSEntry_DoNotUse(); - Order_V1_OperationUUIDSEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const Order_V1_OperationUUIDSEntry_DoNotUse& other); - static const Order_V1_OperationUUIDSEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const Order_V1_OperationUUIDSEntry_DoNotUse*>(&_Order_V1_OperationUUIDSEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.Order_V1.OperationUUIDSEntry.key"); - } - static bool ValidateValue(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.Order_V1.OperationUUIDSEntry.value"); - } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[4]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class Order_V1_DataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Order_V1_DataEntry_DoNotUse, - std::string, std::string, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Order_V1_DataEntry_DoNotUse, - std::string, std::string, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - 0 > SuperType; - Order_V1_DataEntry_DoNotUse(); - Order_V1_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const Order_V1_DataEntry_DoNotUse& other); - static const Order_V1_DataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const Order_V1_DataEntry_DoNotUse*>(&_Order_V1_DataEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.Order_V1.DataEntry.key"); - } - static bool ValidateValue(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.Order_V1.DataEntry.value"); - } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[5]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class Order_V1 : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.Order_V1) */ { - public: - Order_V1(); - virtual ~Order_V1(); - - Order_V1(const Order_V1& from); - Order_V1(Order_V1&& from) noexcept - : Order_V1() { - *this = ::std::move(from); - } - - inline Order_V1& operator=(const Order_V1& from) { - CopyFrom(from); - return *this; - } - inline Order_V1& operator=(Order_V1&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const Order_V1& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Order_V1* internal_default_instance() { - return reinterpret_cast<const Order_V1*>( - &_Order_V1_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(Order_V1& a, Order_V1& b) { - a.Swap(&b); - } - inline void Swap(Order_V1* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline Order_V1* New() const final { - return CreateMaybeMessage<Order_V1>(nullptr); - } - - Order_V1* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Order_V1>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const Order_V1& from); - void MergeFrom(const Order_V1& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Order_V1* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.Order_V1"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - enum : int { - kOperationUUIDSFieldNumber = 3, - kDataFieldNumber = 5, - kUuidFieldNumber = 1, - kInvoiceFilenameFieldNumber = 2, - kInvoiceNumberFieldNumber = 6, - kOrderNumberFieldNumber = 7, - kStampFieldNumber = 8, - kStatusFieldNumber = 4, - }; - // map<string, string> operationUUIDS = 3; - int operationuuids_size() const; - private: - int _internal_operationuuids_size() const; - public: - void clear_operationuuids(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& - _internal_operationuuids() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* - _internal_mutable_operationuuids(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& - operationuuids() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* - mutable_operationuuids(); - - // map<string, string> data = 5; - int data_size() const; - private: - int _internal_data_size() const; - public: - void clear_data(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& - _internal_data() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* - _internal_mutable_data(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& - data() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* - mutable_data(); - - // string uuid = 1; - void clear_uuid(); - const std::string& uuid() const; - void set_uuid(const std::string& value); - void set_uuid(std::string&& value); - void set_uuid(const char* value); - void set_uuid(const char* value, size_t size); - std::string* mutable_uuid(); - std::string* release_uuid(); - void set_allocated_uuid(std::string* uuid); - private: - const std::string& _internal_uuid() const; - void _internal_set_uuid(const std::string& value); - std::string* _internal_mutable_uuid(); - public: - - // string invoiceFilename = 2; - void clear_invoicefilename(); - const std::string& invoicefilename() const; - void set_invoicefilename(const std::string& value); - void set_invoicefilename(std::string&& value); - void set_invoicefilename(const char* value); - void set_invoicefilename(const char* value, size_t size); - std::string* mutable_invoicefilename(); - std::string* release_invoicefilename(); - void set_allocated_invoicefilename(std::string* invoicefilename); - private: - const std::string& _internal_invoicefilename() const; - void _internal_set_invoicefilename(const std::string& value); - std::string* _internal_mutable_invoicefilename(); - public: - - // int64 invoiceNumber = 6; - void clear_invoicenumber(); - ::PROTOBUF_NAMESPACE_ID::int64 invoicenumber() const; - void set_invoicenumber(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_invoicenumber() const; - void _internal_set_invoicenumber(::PROTOBUF_NAMESPACE_ID::int64 value); - public: - - // int64 orderNumber = 7; - void clear_ordernumber(); - ::PROTOBUF_NAMESPACE_ID::int64 ordernumber() const; - void set_ordernumber(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_ordernumber() const; - void _internal_set_ordernumber(::PROTOBUF_NAMESPACE_ID::int64 value); - public: - - // int64 stamp = 8; - void clear_stamp(); - ::PROTOBUF_NAMESPACE_ID::int64 stamp() const; - void set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_stamp() const; - void _internal_set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value); - public: - - // .api.OrderStatus status = 4; - void clear_status(); - ::api::OrderStatus status() const; - void set_status(::api::OrderStatus value); - private: - ::api::OrderStatus _internal_status() const; - void _internal_set_status(::api::OrderStatus value); - public: - - // @@protoc_insertion_point(class_scope:api.Order_V1) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - Order_V1_OperationUUIDSEntry_DoNotUse, - std::string, std::string, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - 0 > operationuuids_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - Order_V1_DataEntry_DoNotUse, - std::string, std::string, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - 0 > data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uuid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr invoicefilename_; - ::PROTOBUF_NAMESPACE_ID::int64 invoicenumber_; - ::PROTOBUF_NAMESPACE_ID::int64 ordernumber_; - ::PROTOBUF_NAMESPACE_ID::int64 stamp_; - int status_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class EntityMessage_V1_ClaimsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V1_ClaimsEntry_DoNotUse, - std::string, ::api::ClaimTagsMap_V1, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V1_ClaimsEntry_DoNotUse, - std::string, ::api::ClaimTagsMap_V1, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > SuperType; - EntityMessage_V1_ClaimsEntry_DoNotUse(); - EntityMessage_V1_ClaimsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V1_ClaimsEntry_DoNotUse& other); - static const EntityMessage_V1_ClaimsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V1_ClaimsEntry_DoNotUse*>(&_EntityMessage_V1_ClaimsEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V1.ClaimsEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[7]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V1_PassportsCountersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V1_PassportsCountersEntry_DoNotUse, - std::string, ::PROTOBUF_NAMESPACE_ID::int64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V1_PassportsCountersEntry_DoNotUse, - std::string, ::PROTOBUF_NAMESPACE_ID::int64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - 0 > SuperType; - EntityMessage_V1_PassportsCountersEntry_DoNotUse(); - EntityMessage_V1_PassportsCountersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V1_PassportsCountersEntry_DoNotUse& other); - static const EntityMessage_V1_PassportsCountersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V1_PassportsCountersEntry_DoNotUse*>(&_EntityMessage_V1_PassportsCountersEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V1.PassportsCountersEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[8]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V1_ContactStatusesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V1_ContactStatusesEntry_DoNotUse, - std::string, ::api::ContactStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V1_ContactStatusesEntry_DoNotUse, - std::string, ::api::ContactStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V1_ContactStatusesEntry_DoNotUse(); - EntityMessage_V1_ContactStatusesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V1_ContactStatusesEntry_DoNotUse& other); - static const EntityMessage_V1_ContactStatusesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V1_ContactStatusesEntry_DoNotUse*>(&_EntityMessage_V1_ContactStatusesEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V1.ContactStatusesEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[9]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V1 : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.EntityMessage_V1) */ { - public: - EntityMessage_V1(); - virtual ~EntityMessage_V1(); - - EntityMessage_V1(const EntityMessage_V1& from); - EntityMessage_V1(EntityMessage_V1&& from) noexcept - : EntityMessage_V1() { - *this = ::std::move(from); - } - - inline EntityMessage_V1& operator=(const EntityMessage_V1& from) { - CopyFrom(from); - return *this; - } - inline EntityMessage_V1& operator=(EntityMessage_V1&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const EntityMessage_V1& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EntityMessage_V1* internal_default_instance() { - return reinterpret_cast<const EntityMessage_V1*>( - &_EntityMessage_V1_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(EntityMessage_V1& a, EntityMessage_V1& b) { - a.Swap(&b); - } - inline void Swap(EntityMessage_V1* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline EntityMessage_V1* New() const final { - return CreateMaybeMessage<EntityMessage_V1>(nullptr); - } - - EntityMessage_V1* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<EntityMessage_V1>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const EntityMessage_V1& from); - void MergeFrom(const EntityMessage_V1& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EntityMessage_V1* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.EntityMessage_V1"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - enum : int { - kClaimsFieldNumber = 3, - kGuardedFieldNumber = 4, - kGuardiansFieldNumber = 5, - kMembersFieldNumber = 6, - kMemberOfFieldNumber = 7, - kParentsFieldNumber = 8, - kChildrenFieldNumber = 9, - kViewedFieldNumber = 12, - kViewersFieldNumber = 13, - kAuthenticationKeysFieldNumber = 16, - kCertificatesFieldNumber = 17, - kSymmetricKeysFieldNumber = 19, - kPassportsCountersFieldNumber = 21, - kContactStatusesFieldNumber = 22, - kPendingSharingRequestsFieldNumber = 24, - kRejectedSharingRequestsFieldNumber = 25, - kUuidFieldNumber = 1, - kOtpSecretFieldNumber = 14, - kEntityCertificateFieldNumber = 18, - kStampFieldNumber = 11, - kTypeFieldNumber = 2, - kActivatedFieldNumber = 15, - kTemporaryFieldNumber = 23, - kCreatedFieldNumber = 20, - }; - // map<string, .api.ClaimTagsMap_V1> claims = 3; - int claims_size() const; - private: - int _internal_claims_size() const; - public: - void clear_claims(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >& - _internal_claims() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >* - _internal_mutable_claims(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >& - claims() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >* - mutable_claims(); - - // repeated string guarded = 4; - int guarded_size() const; - private: - int _internal_guarded_size() const; - public: - void clear_guarded(); - const std::string& guarded(int index) const; - std::string* mutable_guarded(int index); - void set_guarded(int index, const std::string& value); - void set_guarded(int index, std::string&& value); - void set_guarded(int index, const char* value); - void set_guarded(int index, const char* value, size_t size); - std::string* add_guarded(); - void add_guarded(const std::string& value); - void add_guarded(std::string&& value); - void add_guarded(const char* value); - void add_guarded(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& guarded() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_guarded(); - private: - const std::string& _internal_guarded(int index) const; - std::string* _internal_add_guarded(); - public: - - // repeated string guardians = 5; - int guardians_size() const; - private: - int _internal_guardians_size() const; - public: - void clear_guardians(); - const std::string& guardians(int index) const; - std::string* mutable_guardians(int index); - void set_guardians(int index, const std::string& value); - void set_guardians(int index, std::string&& value); - void set_guardians(int index, const char* value); - void set_guardians(int index, const char* value, size_t size); - std::string* add_guardians(); - void add_guardians(const std::string& value); - void add_guardians(std::string&& value); - void add_guardians(const char* value); - void add_guardians(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& guardians() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_guardians(); - private: - const std::string& _internal_guardians(int index) const; - std::string* _internal_add_guardians(); - public: - - // repeated string members = 6; - int members_size() const; - private: - int _internal_members_size() const; - public: - void clear_members(); - const std::string& members(int index) const; - std::string* mutable_members(int index); - void set_members(int index, const std::string& value); - void set_members(int index, std::string&& value); - void set_members(int index, const char* value); - void set_members(int index, const char* value, size_t size); - std::string* add_members(); - void add_members(const std::string& value); - void add_members(std::string&& value); - void add_members(const char* value); - void add_members(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& members() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_members(); - private: - const std::string& _internal_members(int index) const; - std::string* _internal_add_members(); - public: - - // repeated string memberOf = 7; - int memberof_size() const; - private: - int _internal_memberof_size() const; - public: - void clear_memberof(); - const std::string& memberof(int index) const; - std::string* mutable_memberof(int index); - void set_memberof(int index, const std::string& value); - void set_memberof(int index, std::string&& value); - void set_memberof(int index, const char* value); - void set_memberof(int index, const char* value, size_t size); - std::string* add_memberof(); - void add_memberof(const std::string& value); - void add_memberof(std::string&& value); - void add_memberof(const char* value); - void add_memberof(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& memberof() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_memberof(); - private: - const std::string& _internal_memberof(int index) const; - std::string* _internal_add_memberof(); - public: - - // repeated string parents = 8; - int parents_size() const; - private: - int _internal_parents_size() const; - public: - void clear_parents(); - const std::string& parents(int index) const; - std::string* mutable_parents(int index); - void set_parents(int index, const std::string& value); - void set_parents(int index, std::string&& value); - void set_parents(int index, const char* value); - void set_parents(int index, const char* value, size_t size); - std::string* add_parents(); - void add_parents(const std::string& value); - void add_parents(std::string&& value); - void add_parents(const char* value); - void add_parents(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& parents() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_parents(); - private: - const std::string& _internal_parents(int index) const; - std::string* _internal_add_parents(); - public: - - // repeated string children = 9; - int children_size() const; - private: - int _internal_children_size() const; - public: - void clear_children(); - const std::string& children(int index) const; - std::string* mutable_children(int index); - void set_children(int index, const std::string& value); - void set_children(int index, std::string&& value); - void set_children(int index, const char* value); - void set_children(int index, const char* value, size_t size); - std::string* add_children(); - void add_children(const std::string& value); - void add_children(std::string&& value); - void add_children(const char* value); - void add_children(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& children() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_children(); - private: - const std::string& _internal_children(int index) const; - std::string* _internal_add_children(); - public: - - // repeated string viewed = 12; - int viewed_size() const; - private: - int _internal_viewed_size() const; - public: - void clear_viewed(); - const std::string& viewed(int index) const; - std::string* mutable_viewed(int index); - void set_viewed(int index, const std::string& value); - void set_viewed(int index, std::string&& value); - void set_viewed(int index, const char* value); - void set_viewed(int index, const char* value, size_t size); - std::string* add_viewed(); - void add_viewed(const std::string& value); - void add_viewed(std::string&& value); - void add_viewed(const char* value); - void add_viewed(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& viewed() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_viewed(); - private: - const std::string& _internal_viewed(int index) const; - std::string* _internal_add_viewed(); - public: - - // repeated string viewers = 13; - int viewers_size() const; - private: - int _internal_viewers_size() const; - public: - void clear_viewers(); - const std::string& viewers(int index) const; - std::string* mutable_viewers(int index); - void set_viewers(int index, const std::string& value); - void set_viewers(int index, std::string&& value); - void set_viewers(int index, const char* value); - void set_viewers(int index, const char* value, size_t size); - std::string* add_viewers(); - void add_viewers(const std::string& value); - void add_viewers(std::string&& value); - void add_viewers(const char* value); - void add_viewers(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& viewers() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_viewers(); - private: - const std::string& _internal_viewers(int index) const; - std::string* _internal_add_viewers(); - public: - - // repeated string authenticationKeys = 16; - int authenticationkeys_size() const; - private: - int _internal_authenticationkeys_size() const; - public: - void clear_authenticationkeys(); - const std::string& authenticationkeys(int index) const; - std::string* mutable_authenticationkeys(int index); - void set_authenticationkeys(int index, const std::string& value); - void set_authenticationkeys(int index, std::string&& value); - void set_authenticationkeys(int index, const char* value); - void set_authenticationkeys(int index, const char* value, size_t size); - std::string* add_authenticationkeys(); - void add_authenticationkeys(const std::string& value); - void add_authenticationkeys(std::string&& value); - void add_authenticationkeys(const char* value); - void add_authenticationkeys(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& authenticationkeys() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_authenticationkeys(); - private: - const std::string& _internal_authenticationkeys(int index) const; - std::string* _internal_add_authenticationkeys(); - public: - - // repeated string certificates = 17; - int certificates_size() const; - private: - int _internal_certificates_size() const; - public: - void clear_certificates(); - const std::string& certificates(int index) const; - std::string* mutable_certificates(int index); - void set_certificates(int index, const std::string& value); - void set_certificates(int index, std::string&& value); - void set_certificates(int index, const char* value); - void set_certificates(int index, const char* value, size_t size); - std::string* add_certificates(); - void add_certificates(const std::string& value); - void add_certificates(std::string&& value); - void add_certificates(const char* value); - void add_certificates(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& certificates() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_certificates(); - private: - const std::string& _internal_certificates(int index) const; - std::string* _internal_add_certificates(); - public: - - // repeated string symmetricKeys = 19; - int symmetrickeys_size() const; - private: - int _internal_symmetrickeys_size() const; - public: - void clear_symmetrickeys(); - const std::string& symmetrickeys(int index) const; - std::string* mutable_symmetrickeys(int index); - void set_symmetrickeys(int index, const std::string& value); - void set_symmetrickeys(int index, std::string&& value); - void set_symmetrickeys(int index, const char* value); - void set_symmetrickeys(int index, const char* value, size_t size); - std::string* add_symmetrickeys(); - void add_symmetrickeys(const std::string& value); - void add_symmetrickeys(std::string&& value); - void add_symmetrickeys(const char* value); - void add_symmetrickeys(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& symmetrickeys() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_symmetrickeys(); - private: - const std::string& _internal_symmetrickeys(int index) const; - std::string* _internal_add_symmetrickeys(); - public: - - // map<string, int64> passportsCounters = 21; - int passportscounters_size() const; - private: - int _internal_passportscounters_size() const; - public: - void clear_passportscounters(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& - _internal_passportscounters() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* - _internal_mutable_passportscounters(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& - passportscounters() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* - mutable_passportscounters(); - - // map<string, .api.ContactStatus> contactStatuses = 22; - int contactstatuses_size() const; - private: - int _internal_contactstatuses_size() const; - public: - void clear_contactstatuses(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >& - _internal_contactstatuses() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >* - _internal_mutable_contactstatuses(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >& - contactstatuses() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >* - mutable_contactstatuses(); - - // repeated string pendingSharingRequests = 24; - int pendingsharingrequests_size() const; - private: - int _internal_pendingsharingrequests_size() const; - public: - void clear_pendingsharingrequests(); - const std::string& pendingsharingrequests(int index) const; - std::string* mutable_pendingsharingrequests(int index); - void set_pendingsharingrequests(int index, const std::string& value); - void set_pendingsharingrequests(int index, std::string&& value); - void set_pendingsharingrequests(int index, const char* value); - void set_pendingsharingrequests(int index, const char* value, size_t size); - std::string* add_pendingsharingrequests(); - void add_pendingsharingrequests(const std::string& value); - void add_pendingsharingrequests(std::string&& value); - void add_pendingsharingrequests(const char* value); - void add_pendingsharingrequests(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& pendingsharingrequests() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_pendingsharingrequests(); - private: - const std::string& _internal_pendingsharingrequests(int index) const; - std::string* _internal_add_pendingsharingrequests(); - public: - - // repeated string rejectedSharingRequests = 25; - int rejectedsharingrequests_size() const; - private: - int _internal_rejectedsharingrequests_size() const; - public: - void clear_rejectedsharingrequests(); - const std::string& rejectedsharingrequests(int index) const; - std::string* mutable_rejectedsharingrequests(int index); - void set_rejectedsharingrequests(int index, const std::string& value); - void set_rejectedsharingrequests(int index, std::string&& value); - void set_rejectedsharingrequests(int index, const char* value); - void set_rejectedsharingrequests(int index, const char* value, size_t size); - std::string* add_rejectedsharingrequests(); - void add_rejectedsharingrequests(const std::string& value); - void add_rejectedsharingrequests(std::string&& value); - void add_rejectedsharingrequests(const char* value); - void add_rejectedsharingrequests(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& rejectedsharingrequests() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_rejectedsharingrequests(); - private: - const std::string& _internal_rejectedsharingrequests(int index) const; - std::string* _internal_add_rejectedsharingrequests(); - public: - - // string uuid = 1; - void clear_uuid(); - const std::string& uuid() const; - void set_uuid(const std::string& value); - void set_uuid(std::string&& value); - void set_uuid(const char* value); - void set_uuid(const char* value, size_t size); - std::string* mutable_uuid(); - std::string* release_uuid(); - void set_allocated_uuid(std::string* uuid); - private: - const std::string& _internal_uuid() const; - void _internal_set_uuid(const std::string& value); - std::string* _internal_mutable_uuid(); - public: - - // string otpSecret = 14; - void clear_otpsecret(); - const std::string& otpsecret() const; - void set_otpsecret(const std::string& value); - void set_otpsecret(std::string&& value); - void set_otpsecret(const char* value); - void set_otpsecret(const char* value, size_t size); - std::string* mutable_otpsecret(); - std::string* release_otpsecret(); - void set_allocated_otpsecret(std::string* otpsecret); - private: - const std::string& _internal_otpsecret() const; - void _internal_set_otpsecret(const std::string& value); - std::string* _internal_mutable_otpsecret(); - public: - - // string entityCertificate = 18; - void clear_entitycertificate(); - const std::string& entitycertificate() const; - void set_entitycertificate(const std::string& value); - void set_entitycertificate(std::string&& value); - void set_entitycertificate(const char* value); - void set_entitycertificate(const char* value, size_t size); - std::string* mutable_entitycertificate(); - std::string* release_entitycertificate(); - void set_allocated_entitycertificate(std::string* entitycertificate); - private: - const std::string& _internal_entitycertificate() const; - void _internal_set_entitycertificate(const std::string& value); - std::string* _internal_mutable_entitycertificate(); - public: - - // int64 stamp = 11; - void clear_stamp(); - ::PROTOBUF_NAMESPACE_ID::int64 stamp() const; - void set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_stamp() const; - void _internal_set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value); - public: - - // .api.EntityType type = 2; - void clear_type(); - ::api::EntityType type() const; - void set_type(::api::EntityType value); - private: - ::api::EntityType _internal_type() const; - void _internal_set_type(::api::EntityType value); - public: - - // bool activated = 15; - void clear_activated(); - bool activated() const; - void set_activated(bool value); - private: - bool _internal_activated() const; - void _internal_set_activated(bool value); - public: - - // bool temporary = 23; - void clear_temporary(); - bool temporary() const; - void set_temporary(bool value); - private: - bool _internal_temporary() const; - void _internal_set_temporary(bool value); - public: - - // int64 created = 20; - void clear_created(); - ::PROTOBUF_NAMESPACE_ID::int64 created() const; - void set_created(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_created() const; - void _internal_set_created(::PROTOBUF_NAMESPACE_ID::int64 value); - public: - - // @@protoc_insertion_point(class_scope:api.EntityMessage_V1) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V1_ClaimsEntry_DoNotUse, - std::string, ::api::ClaimTagsMap_V1, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > claims_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> guarded_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> guardians_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> members_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> memberof_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> parents_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> children_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> viewed_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> viewers_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> authenticationkeys_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> certificates_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> symmetrickeys_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V1_PassportsCountersEntry_DoNotUse, - std::string, ::PROTOBUF_NAMESPACE_ID::int64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - 0 > passportscounters_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V1_ContactStatusesEntry_DoNotUse, - std::string, ::api::ContactStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > contactstatuses_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> pendingsharingrequests_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> rejectedsharingrequests_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uuid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr otpsecret_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entitycertificate_; - ::PROTOBUF_NAMESPACE_ID::int64 stamp_; - int type_; - bool activated_; - bool temporary_; - ::PROTOBUF_NAMESPACE_ID::int64 created_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class EntityMessage_V2_ClaimsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ClaimsEntry_DoNotUse, - std::string, ::api::ClaimTagsMap_V1, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ClaimsEntry_DoNotUse, - std::string, ::api::ClaimTagsMap_V1, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > SuperType; - EntityMessage_V2_ClaimsEntry_DoNotUse(); - EntityMessage_V2_ClaimsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_ClaimsEntry_DoNotUse& other); - static const EntityMessage_V2_ClaimsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_ClaimsEntry_DoNotUse*>(&_EntityMessage_V2_ClaimsEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.ClaimsEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[11]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_GuardedEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_GuardedEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_GuardedEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_GuardedEntry_DoNotUse(); - EntityMessage_V2_GuardedEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_GuardedEntry_DoNotUse& other); - static const EntityMessage_V2_GuardedEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_GuardedEntry_DoNotUse*>(&_EntityMessage_V2_GuardedEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.GuardedEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[12]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_GuardiansEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_GuardiansEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_GuardiansEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_GuardiansEntry_DoNotUse(); - EntityMessage_V2_GuardiansEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_GuardiansEntry_DoNotUse& other); - static const EntityMessage_V2_GuardiansEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_GuardiansEntry_DoNotUse*>(&_EntityMessage_V2_GuardiansEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.GuardiansEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[13]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_MembersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_MembersEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_MembersEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_MembersEntry_DoNotUse(); - EntityMessage_V2_MembersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_MembersEntry_DoNotUse& other); - static const EntityMessage_V2_MembersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_MembersEntry_DoNotUse*>(&_EntityMessage_V2_MembersEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.MembersEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[14]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_MemberOfEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_MemberOfEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_MemberOfEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_MemberOfEntry_DoNotUse(); - EntityMessage_V2_MemberOfEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_MemberOfEntry_DoNotUse& other); - static const EntityMessage_V2_MemberOfEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_MemberOfEntry_DoNotUse*>(&_EntityMessage_V2_MemberOfEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.MemberOfEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[15]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_ParentsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ParentsEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ParentsEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_ParentsEntry_DoNotUse(); - EntityMessage_V2_ParentsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_ParentsEntry_DoNotUse& other); - static const EntityMessage_V2_ParentsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_ParentsEntry_DoNotUse*>(&_EntityMessage_V2_ParentsEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.ParentsEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[16]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_ChildrenEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ChildrenEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ChildrenEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_ChildrenEntry_DoNotUse(); - EntityMessage_V2_ChildrenEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_ChildrenEntry_DoNotUse& other); - static const EntityMessage_V2_ChildrenEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_ChildrenEntry_DoNotUse*>(&_EntityMessage_V2_ChildrenEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.ChildrenEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[17]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_ViewedEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ViewedEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ViewedEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_ViewedEntry_DoNotUse(); - EntityMessage_V2_ViewedEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_ViewedEntry_DoNotUse& other); - static const EntityMessage_V2_ViewedEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_ViewedEntry_DoNotUse*>(&_EntityMessage_V2_ViewedEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.ViewedEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[18]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_ViewersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ViewersEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ViewersEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_ViewersEntry_DoNotUse(); - EntityMessage_V2_ViewersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_ViewersEntry_DoNotUse& other); - static const EntityMessage_V2_ViewersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_ViewersEntry_DoNotUse*>(&_EntityMessage_V2_ViewersEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.ViewersEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[19]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_PassportsCountersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_PassportsCountersEntry_DoNotUse, - std::string, ::PROTOBUF_NAMESPACE_ID::int64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_PassportsCountersEntry_DoNotUse, - std::string, ::PROTOBUF_NAMESPACE_ID::int64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - 0 > SuperType; - EntityMessage_V2_PassportsCountersEntry_DoNotUse(); - EntityMessage_V2_PassportsCountersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_PassportsCountersEntry_DoNotUse& other); - static const EntityMessage_V2_PassportsCountersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_PassportsCountersEntry_DoNotUse*>(&_EntityMessage_V2_PassportsCountersEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.PassportsCountersEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[20]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_ContactStatusesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ContactStatusesEntry_DoNotUse, - std::string, ::api::ContactStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_ContactStatusesEntry_DoNotUse, - std::string, ::api::ContactStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_ContactStatusesEntry_DoNotUse(); - EntityMessage_V2_ContactStatusesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_ContactStatusesEntry_DoNotUse& other); - static const EntityMessage_V2_ContactStatusesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_ContactStatusesEntry_DoNotUse*>(&_EntityMessage_V2_ContactStatusesEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.ContactStatusesEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[21]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_OrdersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_OrdersEntry_DoNotUse, - std::string, ::api::OrderStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_OrdersEntry_DoNotUse, - std::string, ::api::OrderStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_OrdersEntry_DoNotUse(); - EntityMessage_V2_OrdersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_OrdersEntry_DoNotUse& other); - static const EntityMessage_V2_OrdersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_OrdersEntry_DoNotUse*>(&_EntityMessage_V2_OrdersEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.OrdersEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[22]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_SystemParentsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_SystemParentsEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_SystemParentsEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_SystemParentsEntry_DoNotUse(); - EntityMessage_V2_SystemParentsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_SystemParentsEntry_DoNotUse& other); - static const EntityMessage_V2_SystemParentsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_SystemParentsEntry_DoNotUse*>(&_EntityMessage_V2_SystemParentsEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.SystemParentsEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[23]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2_SystemChildrenEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_SystemChildrenEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityMessage_V2_SystemChildrenEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > SuperType; - EntityMessage_V2_SystemChildrenEntry_DoNotUse(); - EntityMessage_V2_SystemChildrenEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityMessage_V2_SystemChildrenEntry_DoNotUse& other); - static const EntityMessage_V2_SystemChildrenEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityMessage_V2_SystemChildrenEntry_DoNotUse*>(&_EntityMessage_V2_SystemChildrenEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityMessage_V2.SystemChildrenEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[24]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityMessage_V2 : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.EntityMessage_V2) */ { - public: - EntityMessage_V2(); - virtual ~EntityMessage_V2(); - - EntityMessage_V2(const EntityMessage_V2& from); - EntityMessage_V2(EntityMessage_V2&& from) noexcept - : EntityMessage_V2() { - *this = ::std::move(from); - } - - inline EntityMessage_V2& operator=(const EntityMessage_V2& from) { - CopyFrom(from); - return *this; - } - inline EntityMessage_V2& operator=(EntityMessage_V2&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const EntityMessage_V2& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EntityMessage_V2* internal_default_instance() { - return reinterpret_cast<const EntityMessage_V2*>( - &_EntityMessage_V2_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(EntityMessage_V2& a, EntityMessage_V2& b) { - a.Swap(&b); - } - inline void Swap(EntityMessage_V2* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline EntityMessage_V2* New() const final { - return CreateMaybeMessage<EntityMessage_V2>(nullptr); - } - - EntityMessage_V2* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<EntityMessage_V2>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const EntityMessage_V2& from); - void MergeFrom(const EntityMessage_V2& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EntityMessage_V2* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.EntityMessage_V2"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - enum : int { - kClaimsFieldNumber = 3, - kGuardedFieldNumber = 4, - kGuardiansFieldNumber = 5, - kMembersFieldNumber = 6, - kMemberOfFieldNumber = 7, - kParentsFieldNumber = 8, - kChildrenFieldNumber = 9, - kViewedFieldNumber = 12, - kViewersFieldNumber = 13, - kAuthenticationKeysFieldNumber = 16, - kCertificatesFieldNumber = 17, - kSymmetricKeysFieldNumber = 19, - kPassportsCountersFieldNumber = 21, - kContactStatusesFieldNumber = 22, - kPendingSharingRequestsFieldNumber = 24, - kRejectedSharingRequestsFieldNumber = 25, - kOrdersFieldNumber = 27, - kSystemParentsFieldNumber = 28, - kSystemChildrenFieldNumber = 29, - kUuidFieldNumber = 1, - kOtpSecretFieldNumber = 14, - kEntityCertificateFieldNumber = 18, - kStampFieldNumber = 11, - kTypeFieldNumber = 2, - kActivatedFieldNumber = 15, - kBlockedFieldNumber = 31, - kTemporaryFieldNumber = 23, - kDeletedFieldNumber = 26, - kCreatedFieldNumber = 20, - kLastLoginFieldNumber = 32, - kSharedFieldNumber = 30, - }; - // map<string, .api.ClaimTagsMap_V1> claims = 3; - int claims_size() const; - private: - int _internal_claims_size() const; - public: - void clear_claims(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >& - _internal_claims() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >* - _internal_mutable_claims(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >& - claims() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >* - mutable_claims(); - - // map<string, .api.RelationStatus> guarded = 4; - int guarded_size() const; - private: - int _internal_guarded_size() const; - public: - void clear_guarded(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_guarded() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_guarded(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - guarded() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_guarded(); - - // map<string, .api.RelationStatus> guardians = 5; - int guardians_size() const; - private: - int _internal_guardians_size() const; - public: - void clear_guardians(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_guardians() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_guardians(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - guardians() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_guardians(); - - // map<string, .api.RelationStatus> members = 6; - int members_size() const; - private: - int _internal_members_size() const; - public: - void clear_members(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_members() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_members(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - members() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_members(); - - // map<string, .api.RelationStatus> memberOf = 7; - int memberof_size() const; - private: - int _internal_memberof_size() const; - public: - void clear_memberof(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_memberof() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_memberof(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - memberof() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_memberof(); - - // map<string, .api.RelationStatus> parents = 8; - int parents_size() const; - private: - int _internal_parents_size() const; - public: - void clear_parents(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_parents() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_parents(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - parents() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_parents(); - - // map<string, .api.RelationStatus> children = 9; - int children_size() const; - private: - int _internal_children_size() const; - public: - void clear_children(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_children() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_children(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - children() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_children(); - - // map<string, .api.RelationStatus> viewed = 12; - int viewed_size() const; - private: - int _internal_viewed_size() const; - public: - void clear_viewed(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_viewed() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_viewed(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - viewed() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_viewed(); - - // map<string, .api.RelationStatus> viewers = 13; - int viewers_size() const; - private: - int _internal_viewers_size() const; - public: - void clear_viewers(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_viewers() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_viewers(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - viewers() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_viewers(); - - // repeated string authenticationKeys = 16; - int authenticationkeys_size() const; - private: - int _internal_authenticationkeys_size() const; - public: - void clear_authenticationkeys(); - const std::string& authenticationkeys(int index) const; - std::string* mutable_authenticationkeys(int index); - void set_authenticationkeys(int index, const std::string& value); - void set_authenticationkeys(int index, std::string&& value); - void set_authenticationkeys(int index, const char* value); - void set_authenticationkeys(int index, const char* value, size_t size); - std::string* add_authenticationkeys(); - void add_authenticationkeys(const std::string& value); - void add_authenticationkeys(std::string&& value); - void add_authenticationkeys(const char* value); - void add_authenticationkeys(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& authenticationkeys() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_authenticationkeys(); - private: - const std::string& _internal_authenticationkeys(int index) const; - std::string* _internal_add_authenticationkeys(); - public: - - // repeated string certificates = 17; - int certificates_size() const; - private: - int _internal_certificates_size() const; - public: - void clear_certificates(); - const std::string& certificates(int index) const; - std::string* mutable_certificates(int index); - void set_certificates(int index, const std::string& value); - void set_certificates(int index, std::string&& value); - void set_certificates(int index, const char* value); - void set_certificates(int index, const char* value, size_t size); - std::string* add_certificates(); - void add_certificates(const std::string& value); - void add_certificates(std::string&& value); - void add_certificates(const char* value); - void add_certificates(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& certificates() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_certificates(); - private: - const std::string& _internal_certificates(int index) const; - std::string* _internal_add_certificates(); - public: - - // repeated string symmetricKeys = 19; - int symmetrickeys_size() const; - private: - int _internal_symmetrickeys_size() const; - public: - void clear_symmetrickeys(); - const std::string& symmetrickeys(int index) const; - std::string* mutable_symmetrickeys(int index); - void set_symmetrickeys(int index, const std::string& value); - void set_symmetrickeys(int index, std::string&& value); - void set_symmetrickeys(int index, const char* value); - void set_symmetrickeys(int index, const char* value, size_t size); - std::string* add_symmetrickeys(); - void add_symmetrickeys(const std::string& value); - void add_symmetrickeys(std::string&& value); - void add_symmetrickeys(const char* value); - void add_symmetrickeys(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& symmetrickeys() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_symmetrickeys(); - private: - const std::string& _internal_symmetrickeys(int index) const; - std::string* _internal_add_symmetrickeys(); - public: - - // map<string, int64> passportsCounters = 21; - int passportscounters_size() const; - private: - int _internal_passportscounters_size() const; - public: - void clear_passportscounters(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& - _internal_passportscounters() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* - _internal_mutable_passportscounters(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& - passportscounters() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* - mutable_passportscounters(); - - // map<string, .api.ContactStatus> contactStatuses = 22; - int contactstatuses_size() const; - private: - int _internal_contactstatuses_size() const; - public: - void clear_contactstatuses(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >& - _internal_contactstatuses() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >* - _internal_mutable_contactstatuses(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >& - contactstatuses() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >* - mutable_contactstatuses(); - - // repeated string pendingSharingRequests = 24; - int pendingsharingrequests_size() const; - private: - int _internal_pendingsharingrequests_size() const; - public: - void clear_pendingsharingrequests(); - const std::string& pendingsharingrequests(int index) const; - std::string* mutable_pendingsharingrequests(int index); - void set_pendingsharingrequests(int index, const std::string& value); - void set_pendingsharingrequests(int index, std::string&& value); - void set_pendingsharingrequests(int index, const char* value); - void set_pendingsharingrequests(int index, const char* value, size_t size); - std::string* add_pendingsharingrequests(); - void add_pendingsharingrequests(const std::string& value); - void add_pendingsharingrequests(std::string&& value); - void add_pendingsharingrequests(const char* value); - void add_pendingsharingrequests(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& pendingsharingrequests() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_pendingsharingrequests(); - private: - const std::string& _internal_pendingsharingrequests(int index) const; - std::string* _internal_add_pendingsharingrequests(); - public: - - // repeated string rejectedSharingRequests = 25; - int rejectedsharingrequests_size() const; - private: - int _internal_rejectedsharingrequests_size() const; - public: - void clear_rejectedsharingrequests(); - const std::string& rejectedsharingrequests(int index) const; - std::string* mutable_rejectedsharingrequests(int index); - void set_rejectedsharingrequests(int index, const std::string& value); - void set_rejectedsharingrequests(int index, std::string&& value); - void set_rejectedsharingrequests(int index, const char* value); - void set_rejectedsharingrequests(int index, const char* value, size_t size); - std::string* add_rejectedsharingrequests(); - void add_rejectedsharingrequests(const std::string& value); - void add_rejectedsharingrequests(std::string&& value); - void add_rejectedsharingrequests(const char* value); - void add_rejectedsharingrequests(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& rejectedsharingrequests() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_rejectedsharingrequests(); - private: - const std::string& _internal_rejectedsharingrequests(int index) const; - std::string* _internal_add_rejectedsharingrequests(); - public: - - // map<string, .api.OrderStatus> orders = 27; - int orders_size() const; - private: - int _internal_orders_size() const; - public: - void clear_orders(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >& - _internal_orders() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >* - _internal_mutable_orders(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >& - orders() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >* - mutable_orders(); - - // map<string, .api.RelationStatus> systemParents = 28; - int systemparents_size() const; - private: - int _internal_systemparents_size() const; - public: - void clear_systemparents(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_systemparents() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_systemparents(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - systemparents() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_systemparents(); - - // map<string, .api.RelationStatus> systemChildren = 29; - int systemchildren_size() const; - private: - int _internal_systemchildren_size() const; - public: - void clear_systemchildren(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - _internal_systemchildren() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - _internal_mutable_systemchildren(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& - systemchildren() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* - mutable_systemchildren(); - - // string uuid = 1; - void clear_uuid(); - const std::string& uuid() const; - void set_uuid(const std::string& value); - void set_uuid(std::string&& value); - void set_uuid(const char* value); - void set_uuid(const char* value, size_t size); - std::string* mutable_uuid(); - std::string* release_uuid(); - void set_allocated_uuid(std::string* uuid); - private: - const std::string& _internal_uuid() const; - void _internal_set_uuid(const std::string& value); - std::string* _internal_mutable_uuid(); - public: - - // string otpSecret = 14; - void clear_otpsecret(); - const std::string& otpsecret() const; - void set_otpsecret(const std::string& value); - void set_otpsecret(std::string&& value); - void set_otpsecret(const char* value); - void set_otpsecret(const char* value, size_t size); - std::string* mutable_otpsecret(); - std::string* release_otpsecret(); - void set_allocated_otpsecret(std::string* otpsecret); - private: - const std::string& _internal_otpsecret() const; - void _internal_set_otpsecret(const std::string& value); - std::string* _internal_mutable_otpsecret(); - public: - - // string entityCertificate = 18; - void clear_entitycertificate(); - const std::string& entitycertificate() const; - void set_entitycertificate(const std::string& value); - void set_entitycertificate(std::string&& value); - void set_entitycertificate(const char* value); - void set_entitycertificate(const char* value, size_t size); - std::string* mutable_entitycertificate(); - std::string* release_entitycertificate(); - void set_allocated_entitycertificate(std::string* entitycertificate); - private: - const std::string& _internal_entitycertificate() const; - void _internal_set_entitycertificate(const std::string& value); - std::string* _internal_mutable_entitycertificate(); - public: - - // int64 stamp = 11; - void clear_stamp(); - ::PROTOBUF_NAMESPACE_ID::int64 stamp() const; - void set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_stamp() const; - void _internal_set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value); - public: - - // .api.EntityType type = 2; - void clear_type(); - ::api::EntityType type() const; - void set_type(::api::EntityType value); - private: - ::api::EntityType _internal_type() const; - void _internal_set_type(::api::EntityType value); - public: - - // bool activated = 15; - void clear_activated(); - bool activated() const; - void set_activated(bool value); - private: - bool _internal_activated() const; - void _internal_set_activated(bool value); - public: - - // bool blocked = 31; - void clear_blocked(); - bool blocked() const; - void set_blocked(bool value); - private: - bool _internal_blocked() const; - void _internal_set_blocked(bool value); - public: - - // bool temporary = 23; - void clear_temporary(); - bool temporary() const; - void set_temporary(bool value); - private: - bool _internal_temporary() const; - void _internal_set_temporary(bool value); - public: - - // bool deleted = 26; - void clear_deleted(); - bool deleted() const; - void set_deleted(bool value); - private: - bool _internal_deleted() const; - void _internal_set_deleted(bool value); - public: - - // int64 created = 20; - void clear_created(); - ::PROTOBUF_NAMESPACE_ID::int64 created() const; - void set_created(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_created() const; - void _internal_set_created(::PROTOBUF_NAMESPACE_ID::int64 value); - public: - - // int64 lastLogin = 32; - void clear_lastlogin(); - ::PROTOBUF_NAMESPACE_ID::int64 lastlogin() const; - void set_lastlogin(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_lastlogin() const; - void _internal_set_lastlogin(::PROTOBUF_NAMESPACE_ID::int64 value); - public: - - // bool shared = 30; - void clear_shared(); - bool shared() const; - void set_shared(bool value); - private: - bool _internal_shared() const; - void _internal_set_shared(bool value); - public: - - // @@protoc_insertion_point(class_scope:api.EntityMessage_V2) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_ClaimsEntry_DoNotUse, - std::string, ::api::ClaimTagsMap_V1, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > claims_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_GuardedEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > guarded_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_GuardiansEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > guardians_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_MembersEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > members_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_MemberOfEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > memberof_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_ParentsEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > parents_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_ChildrenEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > children_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_ViewedEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > viewed_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_ViewersEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > viewers_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> authenticationkeys_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> certificates_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> symmetrickeys_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_PassportsCountersEntry_DoNotUse, - std::string, ::PROTOBUF_NAMESPACE_ID::int64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - 0 > passportscounters_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_ContactStatusesEntry_DoNotUse, - std::string, ::api::ContactStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > contactstatuses_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> pendingsharingrequests_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> rejectedsharingrequests_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_OrdersEntry_DoNotUse, - std::string, ::api::OrderStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > orders_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_SystemParentsEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > systemparents_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityMessage_V2_SystemChildrenEntry_DoNotUse, - std::string, ::api::RelationStatus, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM, - 0 > systemchildren_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uuid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr otpsecret_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entitycertificate_; - ::PROTOBUF_NAMESPACE_ID::int64 stamp_; - int type_; - bool activated_; - bool blocked_; - bool temporary_; - bool deleted_; - ::PROTOBUF_NAMESPACE_ID::int64 created_; - ::PROTOBUF_NAMESPACE_ID::int64 lastlogin_; - bool shared_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class EntityMessageResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.EntityMessageResponse) */ { - public: - EntityMessageResponse(); - virtual ~EntityMessageResponse(); - - EntityMessageResponse(const EntityMessageResponse& from); - EntityMessageResponse(EntityMessageResponse&& from) noexcept - : EntityMessageResponse() { - *this = ::std::move(from); - } - - inline EntityMessageResponse& operator=(const EntityMessageResponse& from) { - CopyFrom(from); - return *this; - } - inline EntityMessageResponse& operator=(EntityMessageResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const EntityMessageResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EntityMessageResponse* internal_default_instance() { - return reinterpret_cast<const EntityMessageResponse*>( - &_EntityMessageResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(EntityMessageResponse& a, EntityMessageResponse& b) { - a.Swap(&b); - } - inline void Swap(EntityMessageResponse* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline EntityMessageResponse* New() const final { - return CreateMaybeMessage<EntityMessageResponse>(nullptr); - } - - EntityMessageResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<EntityMessageResponse>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const EntityMessageResponse& from); - void MergeFrom(const EntityMessageResponse& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EntityMessageResponse* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.EntityMessageResponse"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:api.EntityMessageResponse) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class EntityList : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.EntityList) */ { - public: - EntityList(); - virtual ~EntityList(); - - EntityList(const EntityList& from); - EntityList(EntityList&& from) noexcept - : EntityList() { - *this = ::std::move(from); - } - - inline EntityList& operator=(const EntityList& from) { - CopyFrom(from); - return *this; - } - inline EntityList& operator=(EntityList&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const EntityList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EntityList* internal_default_instance() { - return reinterpret_cast<const EntityList*>( - &_EntityList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(EntityList& a, EntityList& b) { - a.Swap(&b); - } - inline void Swap(EntityList* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline EntityList* New() const final { - return CreateMaybeMessage<EntityList>(nullptr); - } - - EntityList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<EntityList>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const EntityList& from); - void MergeFrom(const EntityList& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EntityList* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.EntityList"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHistoryFieldNumber = 1, - }; - // repeated .api.EntityMessage_V2 history = 1; - int history_size() const; - private: - int _internal_history_size() const; - public: - void clear_history(); - ::api::EntityMessage_V2* mutable_history(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >* - mutable_history(); - private: - const ::api::EntityMessage_V2& _internal_history(int index) const; - ::api::EntityMessage_V2* _internal_add_history(); - public: - const ::api::EntityMessage_V2& history(int index) const; - ::api::EntityMessage_V2* add_history(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >& - history() const; - - // @@protoc_insertion_point(class_scope:api.EntityList) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 > history_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse, - std::string, ::api::EntityList, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse, - std::string, ::api::EntityList, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > SuperType; - EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse(); - EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse& other); - static const EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse*>(&_EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.EntityHistoryMessage.HistoryByUUIDEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[28]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class EntityHistoryMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.EntityHistoryMessage) */ { - public: - EntityHistoryMessage(); - virtual ~EntityHistoryMessage(); - - EntityHistoryMessage(const EntityHistoryMessage& from); - EntityHistoryMessage(EntityHistoryMessage&& from) noexcept - : EntityHistoryMessage() { - *this = ::std::move(from); - } - - inline EntityHistoryMessage& operator=(const EntityHistoryMessage& from) { - CopyFrom(from); - return *this; - } - inline EntityHistoryMessage& operator=(EntityHistoryMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const EntityHistoryMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EntityHistoryMessage* internal_default_instance() { - return reinterpret_cast<const EntityHistoryMessage*>( - &_EntityHistoryMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(EntityHistoryMessage& a, EntityHistoryMessage& b) { - a.Swap(&b); - } - inline void Swap(EntityHistoryMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline EntityHistoryMessage* New() const final { - return CreateMaybeMessage<EntityHistoryMessage>(nullptr); - } - - EntityHistoryMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<EntityHistoryMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const EntityHistoryMessage& from); - void MergeFrom(const EntityHistoryMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EntityHistoryMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.EntityHistoryMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - enum : int { - kHistoryByUUIDFieldNumber = 1, - }; - // map<string, .api.EntityList> historyByUUID = 1; - int historybyuuid_size() const; - private: - int _internal_historybyuuid_size() const; - public: - void clear_historybyuuid(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >& - _internal_historybyuuid() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >* - _internal_mutable_historybyuuid(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >& - historybyuuid() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >* - mutable_historybyuuid(); - - // @@protoc_insertion_point(class_scope:api.EntityHistoryMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - EntityHistoryMessage_HistoryByUUIDEntry_DoNotUse, - std::string, ::api::EntityList, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > historybyuuid_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class EntitySearchMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.EntitySearchMessage) */ { - public: - EntitySearchMessage(); - virtual ~EntitySearchMessage(); - - EntitySearchMessage(const EntitySearchMessage& from); - EntitySearchMessage(EntitySearchMessage&& from) noexcept - : EntitySearchMessage() { - *this = ::std::move(from); - } - - inline EntitySearchMessage& operator=(const EntitySearchMessage& from) { - CopyFrom(from); - return *this; - } - inline EntitySearchMessage& operator=(EntitySearchMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const EntitySearchMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EntitySearchMessage* internal_default_instance() { - return reinterpret_cast<const EntitySearchMessage*>( - &_EntitySearchMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(EntitySearchMessage& a, EntitySearchMessage& b) { - a.Swap(&b); - } - inline void Swap(EntitySearchMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline EntitySearchMessage* New() const final { - return CreateMaybeMessage<EntitySearchMessage>(nullptr); - } - - EntitySearchMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<EntitySearchMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const EntitySearchMessage& from); - void MergeFrom(const EntitySearchMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EntitySearchMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.EntitySearchMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUuidFieldNumber = 1, - kFromFieldNumber = 2, - kToFieldNumber = 3, - kTypeFieldNumber = 4, - kSearchTypeFieldNumber = 5, - }; - // string uuid = 1; - void clear_uuid(); - const std::string& uuid() const; - void set_uuid(const std::string& value); - void set_uuid(std::string&& value); - void set_uuid(const char* value); - void set_uuid(const char* value, size_t size); - std::string* mutable_uuid(); - std::string* release_uuid(); - void set_allocated_uuid(std::string* uuid); - private: - const std::string& _internal_uuid() const; - void _internal_set_uuid(const std::string& value); - std::string* _internal_mutable_uuid(); - public: - - // string from = 2; - void clear_from(); - const std::string& from() const; - void set_from(const std::string& value); - void set_from(std::string&& value); - void set_from(const char* value); - void set_from(const char* value, size_t size); - std::string* mutable_from(); - std::string* release_from(); - void set_allocated_from(std::string* from); - private: - const std::string& _internal_from() const; - void _internal_set_from(const std::string& value); - std::string* _internal_mutable_from(); - public: - - // string to = 3; - void clear_to(); - const std::string& to() const; - void set_to(const std::string& value); - void set_to(std::string&& value); - void set_to(const char* value); - void set_to(const char* value, size_t size); - std::string* mutable_to(); - std::string* release_to(); - void set_allocated_to(std::string* to); - private: - const std::string& _internal_to() const; - void _internal_set_to(const std::string& value); - std::string* _internal_mutable_to(); - public: - - // .api.EntityType type = 4; - void clear_type(); - ::api::EntityType type() const; - void set_type(::api::EntityType value); - private: - ::api::EntityType _internal_type() const; - void _internal_set_type(::api::EntityType value); - public: - - // .api.SearchType searchType = 5; - void clear_searchtype(); - ::api::SearchType searchtype() const; - void set_searchtype(::api::SearchType value); - private: - ::api::SearchType _internal_searchtype() const; - void _internal_set_searchtype(::api::SearchType value); - public: - - // @@protoc_insertion_point(class_scope:api.EntitySearchMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uuid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr to_; - int type_; - int searchtype_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class ClaimInvitationMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.ClaimInvitationMessage) */ { - public: - ClaimInvitationMessage(); - virtual ~ClaimInvitationMessage(); - - ClaimInvitationMessage(const ClaimInvitationMessage& from); - ClaimInvitationMessage(ClaimInvitationMessage&& from) noexcept - : ClaimInvitationMessage() { - *this = ::std::move(from); - } - - inline ClaimInvitationMessage& operator=(const ClaimInvitationMessage& from) { - CopyFrom(from); - return *this; - } - inline ClaimInvitationMessage& operator=(ClaimInvitationMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ClaimInvitationMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ClaimInvitationMessage* internal_default_instance() { - return reinterpret_cast<const ClaimInvitationMessage*>( - &_ClaimInvitationMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(ClaimInvitationMessage& a, ClaimInvitationMessage& b) { - a.Swap(&b); - } - inline void Swap(ClaimInvitationMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ClaimInvitationMessage* New() const final { - return CreateMaybeMessage<ClaimInvitationMessage>(nullptr); - } - - ClaimInvitationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ClaimInvitationMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ClaimInvitationMessage& from); - void MergeFrom(const ClaimInvitationMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ClaimInvitationMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.ClaimInvitationMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFromUUIDFieldNumber = 1, - kToUUIDFieldNumber = 2, - kClaimNameFieldNumber = 3, - kStampFieldNumber = 5, - kStatusFieldNumber = 4, - }; - // string fromUUID = 1; - void clear_fromuuid(); - const std::string& fromuuid() const; - void set_fromuuid(const std::string& value); - void set_fromuuid(std::string&& value); - void set_fromuuid(const char* value); - void set_fromuuid(const char* value, size_t size); - std::string* mutable_fromuuid(); - std::string* release_fromuuid(); - void set_allocated_fromuuid(std::string* fromuuid); - private: - const std::string& _internal_fromuuid() const; - void _internal_set_fromuuid(const std::string& value); - std::string* _internal_mutable_fromuuid(); - public: - - // string toUUID = 2; - void clear_touuid(); - const std::string& touuid() const; - void set_touuid(const std::string& value); - void set_touuid(std::string&& value); - void set_touuid(const char* value); - void set_touuid(const char* value, size_t size); - std::string* mutable_touuid(); - std::string* release_touuid(); - void set_allocated_touuid(std::string* touuid); - private: - const std::string& _internal_touuid() const; - void _internal_set_touuid(const std::string& value); - std::string* _internal_mutable_touuid(); - public: - - // string claimName = 3; - void clear_claimname(); - const std::string& claimname() const; - void set_claimname(const std::string& value); - void set_claimname(std::string&& value); - void set_claimname(const char* value); - void set_claimname(const char* value, size_t size); - std::string* mutable_claimname(); - std::string* release_claimname(); - void set_allocated_claimname(std::string* claimname); - private: - const std::string& _internal_claimname() const; - void _internal_set_claimname(const std::string& value); - std::string* _internal_mutable_claimname(); - public: - - // int64 stamp = 5; - void clear_stamp(); - ::PROTOBUF_NAMESPACE_ID::int64 stamp() const; - void set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_stamp() const; - void _internal_set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value); - public: - - // .api.ClaimInvitationStatus status = 4; - void clear_status(); - ::api::ClaimInvitationStatus status() const; - void set_status(::api::ClaimInvitationStatus value); - private: - ::api::ClaimInvitationStatus _internal_status() const; - void _internal_set_status(::api::ClaimInvitationStatus value); - public: - - // @@protoc_insertion_point(class_scope:api.ClaimInvitationMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fromuuid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr touuid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr claimname_; - ::PROTOBUF_NAMESPACE_ID::int64 stamp_; - int status_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class ClaimInvitationMessageResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.ClaimInvitationMessageResponse) */ { - public: - ClaimInvitationMessageResponse(); - virtual ~ClaimInvitationMessageResponse(); - - ClaimInvitationMessageResponse(const ClaimInvitationMessageResponse& from); - ClaimInvitationMessageResponse(ClaimInvitationMessageResponse&& from) noexcept - : ClaimInvitationMessageResponse() { - *this = ::std::move(from); - } - - inline ClaimInvitationMessageResponse& operator=(const ClaimInvitationMessageResponse& from) { - CopyFrom(from); - return *this; - } - inline ClaimInvitationMessageResponse& operator=(ClaimInvitationMessageResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ClaimInvitationMessageResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ClaimInvitationMessageResponse* internal_default_instance() { - return reinterpret_cast<const ClaimInvitationMessageResponse*>( - &_ClaimInvitationMessageResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(ClaimInvitationMessageResponse& a, ClaimInvitationMessageResponse& b) { - a.Swap(&b); - } - inline void Swap(ClaimInvitationMessageResponse* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ClaimInvitationMessageResponse* New() const final { - return CreateMaybeMessage<ClaimInvitationMessageResponse>(nullptr); - } - - ClaimInvitationMessageResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ClaimInvitationMessageResponse>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ClaimInvitationMessageResponse& from); - void MergeFrom(const ClaimInvitationMessageResponse& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ClaimInvitationMessageResponse* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.ClaimInvitationMessageResponse"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:api.ClaimInvitationMessageResponse) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class ClaimInvitationSearchMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.ClaimInvitationSearchMessage) */ { - public: - ClaimInvitationSearchMessage(); - virtual ~ClaimInvitationSearchMessage(); - - ClaimInvitationSearchMessage(const ClaimInvitationSearchMessage& from); - ClaimInvitationSearchMessage(ClaimInvitationSearchMessage&& from) noexcept - : ClaimInvitationSearchMessage() { - *this = ::std::move(from); - } - - inline ClaimInvitationSearchMessage& operator=(const ClaimInvitationSearchMessage& from) { - CopyFrom(from); - return *this; - } - inline ClaimInvitationSearchMessage& operator=(ClaimInvitationSearchMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ClaimInvitationSearchMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ClaimInvitationSearchMessage* internal_default_instance() { - return reinterpret_cast<const ClaimInvitationSearchMessage*>( - &_ClaimInvitationSearchMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(ClaimInvitationSearchMessage& a, ClaimInvitationSearchMessage& b) { - a.Swap(&b); - } - inline void Swap(ClaimInvitationSearchMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ClaimInvitationSearchMessage* New() const final { - return CreateMaybeMessage<ClaimInvitationSearchMessage>(nullptr); - } - - ClaimInvitationSearchMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ClaimInvitationSearchMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ClaimInvitationSearchMessage& from); - void MergeFrom(const ClaimInvitationSearchMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ClaimInvitationSearchMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.ClaimInvitationSearchMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFromUUIDFieldNumber = 1, - kToUUIDFieldNumber = 2, - kClaimNameFieldNumber = 3, - kFromFieldNumber = 4, - kToFieldNumber = 5, - kSearchTypeFieldNumber = 6, - }; - // string fromUUID = 1; - void clear_fromuuid(); - const std::string& fromuuid() const; - void set_fromuuid(const std::string& value); - void set_fromuuid(std::string&& value); - void set_fromuuid(const char* value); - void set_fromuuid(const char* value, size_t size); - std::string* mutable_fromuuid(); - std::string* release_fromuuid(); - void set_allocated_fromuuid(std::string* fromuuid); - private: - const std::string& _internal_fromuuid() const; - void _internal_set_fromuuid(const std::string& value); - std::string* _internal_mutable_fromuuid(); - public: - - // string toUUID = 2; - void clear_touuid(); - const std::string& touuid() const; - void set_touuid(const std::string& value); - void set_touuid(std::string&& value); - void set_touuid(const char* value); - void set_touuid(const char* value, size_t size); - std::string* mutable_touuid(); - std::string* release_touuid(); - void set_allocated_touuid(std::string* touuid); - private: - const std::string& _internal_touuid() const; - void _internal_set_touuid(const std::string& value); - std::string* _internal_mutable_touuid(); - public: - - // string claimName = 3; - void clear_claimname(); - const std::string& claimname() const; - void set_claimname(const std::string& value); - void set_claimname(std::string&& value); - void set_claimname(const char* value); - void set_claimname(const char* value, size_t size); - std::string* mutable_claimname(); - std::string* release_claimname(); - void set_allocated_claimname(std::string* claimname); - private: - const std::string& _internal_claimname() const; - void _internal_set_claimname(const std::string& value); - std::string* _internal_mutable_claimname(); - public: - - // string from = 4; - void clear_from(); - const std::string& from() const; - void set_from(const std::string& value); - void set_from(std::string&& value); - void set_from(const char* value); - void set_from(const char* value, size_t size); - std::string* mutable_from(); - std::string* release_from(); - void set_allocated_from(std::string* from); - private: - const std::string& _internal_from() const; - void _internal_set_from(const std::string& value); - std::string* _internal_mutable_from(); - public: - - // string to = 5; - void clear_to(); - const std::string& to() const; - void set_to(const std::string& value); - void set_to(std::string&& value); - void set_to(const char* value); - void set_to(const char* value, size_t size); - std::string* mutable_to(); - std::string* release_to(); - void set_allocated_to(std::string* to); - private: - const std::string& _internal_to() const; - void _internal_set_to(const std::string& value); - std::string* _internal_mutable_to(); - public: - - // .api.SearchType searchType = 6; - void clear_searchtype(); - ::api::SearchType searchtype() const; - void set_searchtype(::api::SearchType value); - private: - ::api::SearchType _internal_searchtype() const; - void _internal_set_searchtype(::api::SearchType value); - public: - - // @@protoc_insertion_point(class_scope:api.ClaimInvitationSearchMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fromuuid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr touuid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr claimname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr to_; - int searchtype_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class ClaimInvitationList : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.ClaimInvitationList) */ { - public: - ClaimInvitationList(); - virtual ~ClaimInvitationList(); - - ClaimInvitationList(const ClaimInvitationList& from); - ClaimInvitationList(ClaimInvitationList&& from) noexcept - : ClaimInvitationList() { - *this = ::std::move(from); - } - - inline ClaimInvitationList& operator=(const ClaimInvitationList& from) { - CopyFrom(from); - return *this; - } - inline ClaimInvitationList& operator=(ClaimInvitationList&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ClaimInvitationList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ClaimInvitationList* internal_default_instance() { - return reinterpret_cast<const ClaimInvitationList*>( - &_ClaimInvitationList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(ClaimInvitationList& a, ClaimInvitationList& b) { - a.Swap(&b); - } - inline void Swap(ClaimInvitationList* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ClaimInvitationList* New() const final { - return CreateMaybeMessage<ClaimInvitationList>(nullptr); - } - - ClaimInvitationList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ClaimInvitationList>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ClaimInvitationList& from); - void MergeFrom(const ClaimInvitationList& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ClaimInvitationList* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.ClaimInvitationList"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHistoryFieldNumber = 1, - }; - // repeated .api.ClaimInvitationMessage history = 1; - int history_size() const; - private: - int _internal_history_size() const; - public: - void clear_history(); - ::api::ClaimInvitationMessage* mutable_history(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::ClaimInvitationMessage >* - mutable_history(); - private: - const ::api::ClaimInvitationMessage& _internal_history(int index) const; - ::api::ClaimInvitationMessage* _internal_add_history(); - public: - const ::api::ClaimInvitationMessage& history(int index) const; - ::api::ClaimInvitationMessage* add_history(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::ClaimInvitationMessage >& - history() const; - - // @@protoc_insertion_point(class_scope:api.ClaimInvitationList) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::ClaimInvitationMessage > history_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse, - std::string, ::api::ClaimInvitationList, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse, - std::string, ::api::ClaimInvitationList, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > SuperType; - ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse(); - ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse& other); - static const ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse*>(&_ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.ClaimInvitationHistoryMessage.HistoryByClaimInvitationEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[35]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class ClaimInvitationHistoryMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.ClaimInvitationHistoryMessage) */ { - public: - ClaimInvitationHistoryMessage(); - virtual ~ClaimInvitationHistoryMessage(); - - ClaimInvitationHistoryMessage(const ClaimInvitationHistoryMessage& from); - ClaimInvitationHistoryMessage(ClaimInvitationHistoryMessage&& from) noexcept - : ClaimInvitationHistoryMessage() { - *this = ::std::move(from); - } - - inline ClaimInvitationHistoryMessage& operator=(const ClaimInvitationHistoryMessage& from) { - CopyFrom(from); - return *this; - } - inline ClaimInvitationHistoryMessage& operator=(ClaimInvitationHistoryMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ClaimInvitationHistoryMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ClaimInvitationHistoryMessage* internal_default_instance() { - return reinterpret_cast<const ClaimInvitationHistoryMessage*>( - &_ClaimInvitationHistoryMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(ClaimInvitationHistoryMessage& a, ClaimInvitationHistoryMessage& b) { - a.Swap(&b); - } - inline void Swap(ClaimInvitationHistoryMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ClaimInvitationHistoryMessage* New() const final { - return CreateMaybeMessage<ClaimInvitationHistoryMessage>(nullptr); - } - - ClaimInvitationHistoryMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ClaimInvitationHistoryMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ClaimInvitationHistoryMessage& from); - void MergeFrom(const ClaimInvitationHistoryMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ClaimInvitationHistoryMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.ClaimInvitationHistoryMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - enum : int { - kHistoryByClaimInvitationFieldNumber = 1, - }; - // map<string, .api.ClaimInvitationList> historyByClaimInvitation = 1; - int historybyclaiminvitation_size() const; - private: - int _internal_historybyclaiminvitation_size() const; - public: - void clear_historybyclaiminvitation(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >& - _internal_historybyclaiminvitation() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >* - _internal_mutable_historybyclaiminvitation(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >& - historybyclaiminvitation() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >* - mutable_historybyclaiminvitation(); - - // @@protoc_insertion_point(class_scope:api.ClaimInvitationHistoryMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - ClaimInvitationHistoryMessage_HistoryByClaimInvitationEntry_DoNotUse, - std::string, ::api::ClaimInvitationList, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > historybyclaiminvitation_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class GetVersionEMAMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.GetVersionEMAMessage) */ { - public: - GetVersionEMAMessage(); - virtual ~GetVersionEMAMessage(); - - GetVersionEMAMessage(const GetVersionEMAMessage& from); - GetVersionEMAMessage(GetVersionEMAMessage&& from) noexcept - : GetVersionEMAMessage() { - *this = ::std::move(from); - } - - inline GetVersionEMAMessage& operator=(const GetVersionEMAMessage& from) { - CopyFrom(from); - return *this; - } - inline GetVersionEMAMessage& operator=(GetVersionEMAMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const GetVersionEMAMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVersionEMAMessage* internal_default_instance() { - return reinterpret_cast<const GetVersionEMAMessage*>( - &_GetVersionEMAMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(GetVersionEMAMessage& a, GetVersionEMAMessage& b) { - a.Swap(&b); - } - inline void Swap(GetVersionEMAMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline GetVersionEMAMessage* New() const final { - return CreateMaybeMessage<GetVersionEMAMessage>(nullptr); - } - - GetVersionEMAMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<GetVersionEMAMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const GetVersionEMAMessage& from); - void MergeFrom(const GetVersionEMAMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(GetVersionEMAMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.GetVersionEMAMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:api.GetVersionEMAMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class GetVersionEMAResponseMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.GetVersionEMAResponseMessage) */ { - public: - GetVersionEMAResponseMessage(); - virtual ~GetVersionEMAResponseMessage(); - - GetVersionEMAResponseMessage(const GetVersionEMAResponseMessage& from); - GetVersionEMAResponseMessage(GetVersionEMAResponseMessage&& from) noexcept - : GetVersionEMAResponseMessage() { - *this = ::std::move(from); - } - - inline GetVersionEMAResponseMessage& operator=(const GetVersionEMAResponseMessage& from) { - CopyFrom(from); - return *this; - } - inline GetVersionEMAResponseMessage& operator=(GetVersionEMAResponseMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const GetVersionEMAResponseMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVersionEMAResponseMessage* internal_default_instance() { - return reinterpret_cast<const GetVersionEMAResponseMessage*>( - &_GetVersionEMAResponseMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(GetVersionEMAResponseMessage& a, GetVersionEMAResponseMessage& b) { - a.Swap(&b); - } - inline void Swap(GetVersionEMAResponseMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline GetVersionEMAResponseMessage* New() const final { - return CreateMaybeMessage<GetVersionEMAResponseMessage>(nullptr); - } - - GetVersionEMAResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<GetVersionEMAResponseMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const GetVersionEMAResponseMessage& from); - void MergeFrom(const GetVersionEMAResponseMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(GetVersionEMAResponseMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.GetVersionEMAResponseMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVersionFieldNumber = 1, - }; - // string version = 1; - void clear_version(); - const std::string& version() const; - void set_version(const std::string& value); - void set_version(std::string&& value); - void set_version(const char* value); - void set_version(const char* value, size_t size); - std::string* mutable_version(); - std::string* release_version(); - void set_allocated_version(std::string* version); - private: - const std::string& _internal_version() const; - void _internal_set_version(const std::string& value); - std::string* _internal_mutable_version(); - public: - - // @@protoc_insertion_point(class_scope:api.GetVersionEMAResponseMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class GetEntitiesTailsMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.GetEntitiesTailsMessage) */ { - public: - GetEntitiesTailsMessage(); - virtual ~GetEntitiesTailsMessage(); - - GetEntitiesTailsMessage(const GetEntitiesTailsMessage& from); - GetEntitiesTailsMessage(GetEntitiesTailsMessage&& from) noexcept - : GetEntitiesTailsMessage() { - *this = ::std::move(from); - } - - inline GetEntitiesTailsMessage& operator=(const GetEntitiesTailsMessage& from) { - CopyFrom(from); - return *this; - } - inline GetEntitiesTailsMessage& operator=(GetEntitiesTailsMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const GetEntitiesTailsMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetEntitiesTailsMessage* internal_default_instance() { - return reinterpret_cast<const GetEntitiesTailsMessage*>( - &_GetEntitiesTailsMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(GetEntitiesTailsMessage& a, GetEntitiesTailsMessage& b) { - a.Swap(&b); - } - inline void Swap(GetEntitiesTailsMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline GetEntitiesTailsMessage* New() const final { - return CreateMaybeMessage<GetEntitiesTailsMessage>(nullptr); - } - - GetEntitiesTailsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<GetEntitiesTailsMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const GetEntitiesTailsMessage& from); - void MergeFrom(const GetEntitiesTailsMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(GetEntitiesTailsMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.GetEntitiesTailsMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUuidsFieldNumber = 1, - }; - // repeated string uuids = 1; - int uuids_size() const; - private: - int _internal_uuids_size() const; - public: - void clear_uuids(); - const std::string& uuids(int index) const; - std::string* mutable_uuids(int index); - void set_uuids(int index, const std::string& value); - void set_uuids(int index, std::string&& value); - void set_uuids(int index, const char* value); - void set_uuids(int index, const char* value, size_t size); - std::string* add_uuids(); - void add_uuids(const std::string& value); - void add_uuids(std::string&& value); - void add_uuids(const char* value); - void add_uuids(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& uuids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_uuids(); - private: - const std::string& _internal_uuids(int index) const; - std::string* _internal_add_uuids(); - public: - - // @@protoc_insertion_point(class_scope:api.GetEntitiesTailsMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> uuids_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse, - std::string, ::api::EntityMessage_V2, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse, - std::string, ::api::EntityMessage_V2, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > SuperType; - GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse(); - GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse& other); - static const GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse*>(&_GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.GetEntitiesTailsResponseMessage.EntitiesEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[40]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class GetEntitiesTailsResponseMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.GetEntitiesTailsResponseMessage) */ { - public: - GetEntitiesTailsResponseMessage(); - virtual ~GetEntitiesTailsResponseMessage(); - - GetEntitiesTailsResponseMessage(const GetEntitiesTailsResponseMessage& from); - GetEntitiesTailsResponseMessage(GetEntitiesTailsResponseMessage&& from) noexcept - : GetEntitiesTailsResponseMessage() { - *this = ::std::move(from); - } - - inline GetEntitiesTailsResponseMessage& operator=(const GetEntitiesTailsResponseMessage& from) { - CopyFrom(from); - return *this; - } - inline GetEntitiesTailsResponseMessage& operator=(GetEntitiesTailsResponseMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const GetEntitiesTailsResponseMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetEntitiesTailsResponseMessage* internal_default_instance() { - return reinterpret_cast<const GetEntitiesTailsResponseMessage*>( - &_GetEntitiesTailsResponseMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(GetEntitiesTailsResponseMessage& a, GetEntitiesTailsResponseMessage& b) { - a.Swap(&b); - } - inline void Swap(GetEntitiesTailsResponseMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline GetEntitiesTailsResponseMessage* New() const final { - return CreateMaybeMessage<GetEntitiesTailsResponseMessage>(nullptr); - } - - GetEntitiesTailsResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<GetEntitiesTailsResponseMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const GetEntitiesTailsResponseMessage& from); - void MergeFrom(const GetEntitiesTailsResponseMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(GetEntitiesTailsResponseMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.GetEntitiesTailsResponseMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - enum : int { - kEntitiesFieldNumber = 1, - }; - // map<string, .api.EntityMessage_V2> entities = 1; - int entities_size() const; - private: - int _internal_entities_size() const; - public: - void clear_entities(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >& - _internal_entities() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >* - _internal_mutable_entities(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >& - entities() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >* - mutable_entities(); - - // @@protoc_insertion_point(class_scope:api.GetEntitiesTailsResponseMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - GetEntitiesTailsResponseMessage_EntitiesEntry_DoNotUse, - std::string, ::api::EntityMessage_V2, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, - 0 > entities_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class GetEntitiesCountersMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.GetEntitiesCountersMessage) */ { - public: - GetEntitiesCountersMessage(); - virtual ~GetEntitiesCountersMessage(); - - GetEntitiesCountersMessage(const GetEntitiesCountersMessage& from); - GetEntitiesCountersMessage(GetEntitiesCountersMessage&& from) noexcept - : GetEntitiesCountersMessage() { - *this = ::std::move(from); - } - - inline GetEntitiesCountersMessage& operator=(const GetEntitiesCountersMessage& from) { - CopyFrom(from); - return *this; - } - inline GetEntitiesCountersMessage& operator=(GetEntitiesCountersMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const GetEntitiesCountersMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetEntitiesCountersMessage* internal_default_instance() { - return reinterpret_cast<const GetEntitiesCountersMessage*>( - &_GetEntitiesCountersMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 42; - - friend void swap(GetEntitiesCountersMessage& a, GetEntitiesCountersMessage& b) { - a.Swap(&b); - } - inline void Swap(GetEntitiesCountersMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline GetEntitiesCountersMessage* New() const final { - return CreateMaybeMessage<GetEntitiesCountersMessage>(nullptr); - } - - GetEntitiesCountersMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<GetEntitiesCountersMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const GetEntitiesCountersMessage& from); - void MergeFrom(const GetEntitiesCountersMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(GetEntitiesCountersMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.GetEntitiesCountersMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUuidsFieldNumber = 1, - }; - // repeated string uuids = 1; - int uuids_size() const; - private: - int _internal_uuids_size() const; - public: - void clear_uuids(); - const std::string& uuids(int index) const; - std::string* mutable_uuids(int index); - void set_uuids(int index, const std::string& value); - void set_uuids(int index, std::string&& value); - void set_uuids(int index, const char* value); - void set_uuids(int index, const char* value, size_t size); - std::string* add_uuids(); - void add_uuids(const std::string& value); - void add_uuids(std::string&& value); - void add_uuids(const char* value); - void add_uuids(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& uuids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_uuids(); - private: - const std::string& _internal_uuids(int index) const; - std::string* _internal_add_uuids(); - public: - - // @@protoc_insertion_point(class_scope:api.GetEntitiesCountersMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> uuids_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse, - std::string, ::PROTOBUF_NAMESPACE_ID::int64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - 0 > { -public: - typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse, - std::string, ::PROTOBUF_NAMESPACE_ID::int64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - 0 > SuperType; - GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse(); - GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); - void MergeFrom(const GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse& other); - static const GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse*>(&_GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse_default_instance_); } - static bool ValidateKey(std::string* s) { - return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "api.GetEntitiesCountersResponseMessage.CountersEntry.key"); - } - static bool ValidateValue(void*) { return true; } - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[43]; - } - - public: -}; - -// ------------------------------------------------------------------- - -class GetEntitiesCountersResponseMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.GetEntitiesCountersResponseMessage) */ { - public: - GetEntitiesCountersResponseMessage(); - virtual ~GetEntitiesCountersResponseMessage(); - - GetEntitiesCountersResponseMessage(const GetEntitiesCountersResponseMessage& from); - GetEntitiesCountersResponseMessage(GetEntitiesCountersResponseMessage&& from) noexcept - : GetEntitiesCountersResponseMessage() { - *this = ::std::move(from); - } - - inline GetEntitiesCountersResponseMessage& operator=(const GetEntitiesCountersResponseMessage& from) { - CopyFrom(from); - return *this; - } - inline GetEntitiesCountersResponseMessage& operator=(GetEntitiesCountersResponseMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const GetEntitiesCountersResponseMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetEntitiesCountersResponseMessage* internal_default_instance() { - return reinterpret_cast<const GetEntitiesCountersResponseMessage*>( - &_GetEntitiesCountersResponseMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 44; - - friend void swap(GetEntitiesCountersResponseMessage& a, GetEntitiesCountersResponseMessage& b) { - a.Swap(&b); - } - inline void Swap(GetEntitiesCountersResponseMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline GetEntitiesCountersResponseMessage* New() const final { - return CreateMaybeMessage<GetEntitiesCountersResponseMessage>(nullptr); - } - - GetEntitiesCountersResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<GetEntitiesCountersResponseMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const GetEntitiesCountersResponseMessage& from); - void MergeFrom(const GetEntitiesCountersResponseMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(GetEntitiesCountersResponseMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.GetEntitiesCountersResponseMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - enum : int { - kCountersFieldNumber = 1, - }; - // map<string, int64> counters = 1; - int counters_size() const; - private: - int _internal_counters_size() const; - public: - void clear_counters(); - private: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& - _internal_counters() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* - _internal_mutable_counters(); - public: - const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& - counters() const; - ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* - mutable_counters(); - - // @@protoc_insertion_point(class_scope:api.GetEntitiesCountersResponseMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::MapField< - GetEntitiesCountersResponseMessage_CountersEntry_DoNotUse, - std::string, ::PROTOBUF_NAMESPACE_ID::int64, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64, - 0 > counters_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// ------------------------------------------------------------------- - -class EntityReplaceMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.EntityReplaceMessage) */ { - public: - EntityReplaceMessage(); - virtual ~EntityReplaceMessage(); - - EntityReplaceMessage(const EntityReplaceMessage& from); - EntityReplaceMessage(EntityReplaceMessage&& from) noexcept - : EntityReplaceMessage() { - *this = ::std::move(from); - } - - inline EntityReplaceMessage& operator=(const EntityReplaceMessage& from) { - CopyFrom(from); - return *this; - } - inline EntityReplaceMessage& operator=(EntityReplaceMessage&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const EntityReplaceMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EntityReplaceMessage* internal_default_instance() { - return reinterpret_cast<const EntityReplaceMessage*>( - &_EntityReplaceMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 45; - - friend void swap(EntityReplaceMessage& a, EntityReplaceMessage& b) { - a.Swap(&b); - } - inline void Swap(EntityReplaceMessage* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline EntityReplaceMessage* New() const final { - return CreateMaybeMessage<EntityReplaceMessage>(nullptr); - } - - EntityReplaceMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<EntityReplaceMessage>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const EntityReplaceMessage& from); - void MergeFrom(const EntityReplaceMessage& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EntityReplaceMessage* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.EntityReplaceMessage"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHistoryFieldNumber = 1, - kUuidFieldNumber = 2, - }; - // repeated .api.EntityMessage_V2 history = 1; - int history_size() const; - private: - int _internal_history_size() const; - public: - void clear_history(); - ::api::EntityMessage_V2* mutable_history(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >* - mutable_history(); - private: - const ::api::EntityMessage_V2& _internal_history(int index) const; - ::api::EntityMessage_V2* _internal_add_history(); - public: - const ::api::EntityMessage_V2& history(int index) const; - ::api::EntityMessage_V2* add_history(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >& - history() const; - - // string uuid = 2; - void clear_uuid(); - const std::string& uuid() const; - void set_uuid(const std::string& value); - void set_uuid(std::string&& value); - void set_uuid(const char* value); - void set_uuid(const char* value, size_t size); - std::string* mutable_uuid(); - std::string* release_uuid(); - void set_allocated_uuid(std::string* uuid); - private: - const std::string& _internal_uuid() const; - void _internal_set_uuid(const std::string& value); - std::string* _internal_mutable_uuid(); - public: - - // @@protoc_insertion_point(class_scope:api.EntityReplaceMessage) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 > history_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uuid_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// Claim_V1 - -// map<string, string> value = 1; -inline int Claim_V1::_internal_value_size() const { - return value_.size(); -} -inline int Claim_V1::value_size() const { - return _internal_value_size(); -} -inline void Claim_V1::clear_value() { - value_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& -Claim_V1::_internal_value() const { - return value_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& -Claim_V1::value() const { - // @@protoc_insertion_point(field_map:api.Claim_V1.value) - return _internal_value(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* -Claim_V1::_internal_mutable_value() { - return value_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* -Claim_V1::mutable_value() { - // @@protoc_insertion_point(field_mutable_map:api.Claim_V1.value) - return _internal_mutable_value(); -} - -// .api.ClaimType type = 2; -inline void Claim_V1::clear_type() { - type_ = 0; -} -inline ::api::ClaimType Claim_V1::_internal_type() const { - return static_cast< ::api::ClaimType >(type_); -} -inline ::api::ClaimType Claim_V1::type() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.type) - return _internal_type(); -} -inline void Claim_V1::_internal_set_type(::api::ClaimType value) { - - type_ = value; -} -inline void Claim_V1::set_type(::api::ClaimType value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.type) -} - -// .api.AccessType AccessType = 4; -inline void Claim_V1::clear_accesstype() { - accesstype_ = 0; -} -inline ::api::AccessType Claim_V1::_internal_accesstype() const { - return static_cast< ::api::AccessType >(accesstype_); -} -inline ::api::AccessType Claim_V1::accesstype() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.AccessType) - return _internal_accesstype(); -} -inline void Claim_V1::_internal_set_accesstype(::api::AccessType value) { - - accesstype_ = value; -} -inline void Claim_V1::set_accesstype(::api::AccessType value) { - _internal_set_accesstype(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.AccessType) -} - -// string functionPointer = 3; -inline void Claim_V1::clear_functionpointer() { - functionpointer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& Claim_V1::functionpointer() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.functionPointer) - return _internal_functionpointer(); -} -inline void Claim_V1::set_functionpointer(const std::string& value) { - _internal_set_functionpointer(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.functionPointer) -} -inline std::string* Claim_V1::mutable_functionpointer() { - // @@protoc_insertion_point(field_mutable:api.Claim_V1.functionPointer) - return _internal_mutable_functionpointer(); -} -inline const std::string& Claim_V1::_internal_functionpointer() const { - return functionpointer_.GetNoArena(); -} -inline void Claim_V1::_internal_set_functionpointer(const std::string& value) { - - functionpointer_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void Claim_V1::set_functionpointer(std::string&& value) { - - functionpointer_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.Claim_V1.functionPointer) -} -inline void Claim_V1::set_functionpointer(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - functionpointer_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.Claim_V1.functionPointer) -} -inline void Claim_V1::set_functionpointer(const char* value, size_t size) { - - functionpointer_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.Claim_V1.functionPointer) -} -inline std::string* Claim_V1::_internal_mutable_functionpointer() { - - return functionpointer_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* Claim_V1::release_functionpointer() { - // @@protoc_insertion_point(field_release:api.Claim_V1.functionPointer) - - return functionpointer_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void Claim_V1::set_allocated_functionpointer(std::string* functionpointer) { - if (functionpointer != nullptr) { - - } else { - - } - functionpointer_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), functionpointer); - // @@protoc_insertion_point(field_set_allocated:api.Claim_V1.functionPointer) -} - -// string symlink = 5; -inline void Claim_V1::clear_symlink() { - symlink_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& Claim_V1::symlink() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.symlink) - return _internal_symlink(); -} -inline void Claim_V1::set_symlink(const std::string& value) { - _internal_set_symlink(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.symlink) -} -inline std::string* Claim_V1::mutable_symlink() { - // @@protoc_insertion_point(field_mutable:api.Claim_V1.symlink) - return _internal_mutable_symlink(); -} -inline const std::string& Claim_V1::_internal_symlink() const { - return symlink_.GetNoArena(); -} -inline void Claim_V1::_internal_set_symlink(const std::string& value) { - - symlink_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void Claim_V1::set_symlink(std::string&& value) { - - symlink_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.Claim_V1.symlink) -} -inline void Claim_V1::set_symlink(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - symlink_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.Claim_V1.symlink) -} -inline void Claim_V1::set_symlink(const char* value, size_t size) { - - symlink_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.Claim_V1.symlink) -} -inline std::string* Claim_V1::_internal_mutable_symlink() { - - return symlink_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* Claim_V1::release_symlink() { - // @@protoc_insertion_point(field_release:api.Claim_V1.symlink) - - return symlink_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void Claim_V1::set_allocated_symlink(std::string* symlink) { - if (symlink != nullptr) { - - } else { - - } - symlink_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), symlink); - // @@protoc_insertion_point(field_set_allocated:api.Claim_V1.symlink) -} - -// bool defaultClaim = 6; -inline void Claim_V1::clear_defaultclaim() { - defaultclaim_ = false; -} -inline bool Claim_V1::_internal_defaultclaim() const { - return defaultclaim_; -} -inline bool Claim_V1::defaultclaim() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.defaultClaim) - return _internal_defaultclaim(); -} -inline void Claim_V1::_internal_set_defaultclaim(bool value) { - - defaultclaim_ = value; -} -inline void Claim_V1::set_defaultclaim(bool value) { - _internal_set_defaultclaim(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.defaultClaim) -} - -// string calculatedValue = 7; -inline void Claim_V1::clear_calculatedvalue() { - calculatedvalue_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& Claim_V1::calculatedvalue() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.calculatedValue) - return _internal_calculatedvalue(); -} -inline void Claim_V1::set_calculatedvalue(const std::string& value) { - _internal_set_calculatedvalue(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.calculatedValue) -} -inline std::string* Claim_V1::mutable_calculatedvalue() { - // @@protoc_insertion_point(field_mutable:api.Claim_V1.calculatedValue) - return _internal_mutable_calculatedvalue(); -} -inline const std::string& Claim_V1::_internal_calculatedvalue() const { - return calculatedvalue_.GetNoArena(); -} -inline void Claim_V1::_internal_set_calculatedvalue(const std::string& value) { - - calculatedvalue_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void Claim_V1::set_calculatedvalue(std::string&& value) { - - calculatedvalue_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.Claim_V1.calculatedValue) -} -inline void Claim_V1::set_calculatedvalue(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - calculatedvalue_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.Claim_V1.calculatedValue) -} -inline void Claim_V1::set_calculatedvalue(const char* value, size_t size) { - - calculatedvalue_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.Claim_V1.calculatedValue) -} -inline std::string* Claim_V1::_internal_mutable_calculatedvalue() { - - return calculatedvalue_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* Claim_V1::release_calculatedvalue() { - // @@protoc_insertion_point(field_release:api.Claim_V1.calculatedValue) - - return calculatedvalue_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void Claim_V1::set_allocated_calculatedvalue(std::string* calculatedvalue) { - if (calculatedvalue != nullptr) { - - } else { - - } - calculatedvalue_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), calculatedvalue); - // @@protoc_insertion_point(field_set_allocated:api.Claim_V1.calculatedValue) -} - -// .api.ValueType valueType = 8; -inline void Claim_V1::clear_valuetype() { - valuetype_ = 0; -} -inline ::api::ValueType Claim_V1::_internal_valuetype() const { - return static_cast< ::api::ValueType >(valuetype_); -} -inline ::api::ValueType Claim_V1::valuetype() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.valueType) - return _internal_valuetype(); -} -inline void Claim_V1::_internal_set_valuetype(::api::ValueType value) { - - valuetype_ = value; -} -inline void Claim_V1::set_valuetype(::api::ValueType value) { - _internal_set_valuetype(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.valueType) -} - -// bool verified = 9; -inline void Claim_V1::clear_verified() { - verified_ = false; -} -inline bool Claim_V1::_internal_verified() const { - return verified_; -} -inline bool Claim_V1::verified() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.verified) - return _internal_verified(); -} -inline void Claim_V1::_internal_set_verified(bool value) { - - verified_ = value; -} -inline void Claim_V1::set_verified(bool value) { - _internal_set_verified(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.verified) -} - -// bool canEdit = 10; -inline void Claim_V1::clear_canedit() { - canedit_ = false; -} -inline bool Claim_V1::_internal_canedit() const { - return canedit_; -} -inline bool Claim_V1::canedit() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.canEdit) - return _internal_canedit(); -} -inline void Claim_V1::_internal_set_canedit(bool value) { - - canedit_ = value; -} -inline void Claim_V1::set_canedit(bool value) { - _internal_set_canedit(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.canEdit) -} - -// bool companyOnly = 11; -inline void Claim_V1::clear_companyonly() { - companyonly_ = false; -} -inline bool Claim_V1::_internal_companyonly() const { - return companyonly_; -} -inline bool Claim_V1::companyonly() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.companyOnly) - return _internal_companyonly(); -} -inline void Claim_V1::_internal_set_companyonly(bool value) { - - companyonly_ = value; -} -inline void Claim_V1::set_companyonly(bool value) { - _internal_set_companyonly(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.companyOnly) -} - -// bool required = 12; -inline void Claim_V1::clear_required() { - required_ = false; -} -inline bool Claim_V1::_internal_required() const { - return required_; -} -inline bool Claim_V1::required() const { - // @@protoc_insertion_point(field_get:api.Claim_V1.required) - return _internal_required(); -} -inline void Claim_V1::_internal_set_required(bool value) { - - required_ = value; -} -inline void Claim_V1::set_required(bool value) { - _internal_set_required(value); - // @@protoc_insertion_point(field_set:api.Claim_V1.required) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ClaimTagsMap_V1 - -// map<string, .api.Claim_V1> tags = 1; -inline int ClaimTagsMap_V1::_internal_tags_size() const { - return tags_.size(); -} -inline int ClaimTagsMap_V1::tags_size() const { - return _internal_tags_size(); -} -inline void ClaimTagsMap_V1::clear_tags() { - tags_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >& -ClaimTagsMap_V1::_internal_tags() const { - return tags_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >& -ClaimTagsMap_V1::tags() const { - // @@protoc_insertion_point(field_map:api.ClaimTagsMap_V1.tags) - return _internal_tags(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >* -ClaimTagsMap_V1::_internal_mutable_tags() { - return tags_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::Claim_V1 >* -ClaimTagsMap_V1::mutable_tags() { - // @@protoc_insertion_point(field_mutable_map:api.ClaimTagsMap_V1.tags) - return _internal_mutable_tags(); -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// Order_V1 - -// string uuid = 1; -inline void Order_V1::clear_uuid() { - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& Order_V1::uuid() const { - // @@protoc_insertion_point(field_get:api.Order_V1.uuid) - return _internal_uuid(); -} -inline void Order_V1::set_uuid(const std::string& value) { - _internal_set_uuid(value); - // @@protoc_insertion_point(field_set:api.Order_V1.uuid) -} -inline std::string* Order_V1::mutable_uuid() { - // @@protoc_insertion_point(field_mutable:api.Order_V1.uuid) - return _internal_mutable_uuid(); -} -inline const std::string& Order_V1::_internal_uuid() const { - return uuid_.GetNoArena(); -} -inline void Order_V1::_internal_set_uuid(const std::string& value) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void Order_V1::set_uuid(std::string&& value) { - - uuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.Order_V1.uuid) -} -inline void Order_V1::set_uuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.Order_V1.uuid) -} -inline void Order_V1::set_uuid(const char* value, size_t size) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.Order_V1.uuid) -} -inline std::string* Order_V1::_internal_mutable_uuid() { - - return uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* Order_V1::release_uuid() { - // @@protoc_insertion_point(field_release:api.Order_V1.uuid) - - return uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void Order_V1::set_allocated_uuid(std::string* uuid) { - if (uuid != nullptr) { - - } else { - - } - uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), uuid); - // @@protoc_insertion_point(field_set_allocated:api.Order_V1.uuid) -} - -// string invoiceFilename = 2; -inline void Order_V1::clear_invoicefilename() { - invoicefilename_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& Order_V1::invoicefilename() const { - // @@protoc_insertion_point(field_get:api.Order_V1.invoiceFilename) - return _internal_invoicefilename(); -} -inline void Order_V1::set_invoicefilename(const std::string& value) { - _internal_set_invoicefilename(value); - // @@protoc_insertion_point(field_set:api.Order_V1.invoiceFilename) -} -inline std::string* Order_V1::mutable_invoicefilename() { - // @@protoc_insertion_point(field_mutable:api.Order_V1.invoiceFilename) - return _internal_mutable_invoicefilename(); -} -inline const std::string& Order_V1::_internal_invoicefilename() const { - return invoicefilename_.GetNoArena(); -} -inline void Order_V1::_internal_set_invoicefilename(const std::string& value) { - - invoicefilename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void Order_V1::set_invoicefilename(std::string&& value) { - - invoicefilename_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.Order_V1.invoiceFilename) -} -inline void Order_V1::set_invoicefilename(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - invoicefilename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.Order_V1.invoiceFilename) -} -inline void Order_V1::set_invoicefilename(const char* value, size_t size) { - - invoicefilename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.Order_V1.invoiceFilename) -} -inline std::string* Order_V1::_internal_mutable_invoicefilename() { - - return invoicefilename_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* Order_V1::release_invoicefilename() { - // @@protoc_insertion_point(field_release:api.Order_V1.invoiceFilename) - - return invoicefilename_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void Order_V1::set_allocated_invoicefilename(std::string* invoicefilename) { - if (invoicefilename != nullptr) { - - } else { - - } - invoicefilename_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), invoicefilename); - // @@protoc_insertion_point(field_set_allocated:api.Order_V1.invoiceFilename) -} - -// map<string, string> operationUUIDS = 3; -inline int Order_V1::_internal_operationuuids_size() const { - return operationuuids_.size(); -} -inline int Order_V1::operationuuids_size() const { - return _internal_operationuuids_size(); -} -inline void Order_V1::clear_operationuuids() { - operationuuids_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& -Order_V1::_internal_operationuuids() const { - return operationuuids_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& -Order_V1::operationuuids() const { - // @@protoc_insertion_point(field_map:api.Order_V1.operationUUIDS) - return _internal_operationuuids(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* -Order_V1::_internal_mutable_operationuuids() { - return operationuuids_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* -Order_V1::mutable_operationuuids() { - // @@protoc_insertion_point(field_mutable_map:api.Order_V1.operationUUIDS) - return _internal_mutable_operationuuids(); -} - -// .api.OrderStatus status = 4; -inline void Order_V1::clear_status() { - status_ = 0; -} -inline ::api::OrderStatus Order_V1::_internal_status() const { - return static_cast< ::api::OrderStatus >(status_); -} -inline ::api::OrderStatus Order_V1::status() const { - // @@protoc_insertion_point(field_get:api.Order_V1.status) - return _internal_status(); -} -inline void Order_V1::_internal_set_status(::api::OrderStatus value) { - - status_ = value; -} -inline void Order_V1::set_status(::api::OrderStatus value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:api.Order_V1.status) -} - -// map<string, string> data = 5; -inline int Order_V1::_internal_data_size() const { - return data_.size(); -} -inline int Order_V1::data_size() const { - return _internal_data_size(); -} -inline void Order_V1::clear_data() { - data_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& -Order_V1::_internal_data() const { - return data_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& -Order_V1::data() const { - // @@protoc_insertion_point(field_map:api.Order_V1.data) - return _internal_data(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* -Order_V1::_internal_mutable_data() { - return data_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* -Order_V1::mutable_data() { - // @@protoc_insertion_point(field_mutable_map:api.Order_V1.data) - return _internal_mutable_data(); -} - -// int64 invoiceNumber = 6; -inline void Order_V1::clear_invoicenumber() { - invoicenumber_ = PROTOBUF_LONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::int64 Order_V1::_internal_invoicenumber() const { - return invoicenumber_; -} -inline ::PROTOBUF_NAMESPACE_ID::int64 Order_V1::invoicenumber() const { - // @@protoc_insertion_point(field_get:api.Order_V1.invoiceNumber) - return _internal_invoicenumber(); -} -inline void Order_V1::_internal_set_invoicenumber(::PROTOBUF_NAMESPACE_ID::int64 value) { - - invoicenumber_ = value; -} -inline void Order_V1::set_invoicenumber(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_invoicenumber(value); - // @@protoc_insertion_point(field_set:api.Order_V1.invoiceNumber) -} - -// int64 orderNumber = 7; -inline void Order_V1::clear_ordernumber() { - ordernumber_ = PROTOBUF_LONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::int64 Order_V1::_internal_ordernumber() const { - return ordernumber_; -} -inline ::PROTOBUF_NAMESPACE_ID::int64 Order_V1::ordernumber() const { - // @@protoc_insertion_point(field_get:api.Order_V1.orderNumber) - return _internal_ordernumber(); -} -inline void Order_V1::_internal_set_ordernumber(::PROTOBUF_NAMESPACE_ID::int64 value) { - - ordernumber_ = value; -} -inline void Order_V1::set_ordernumber(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_ordernumber(value); - // @@protoc_insertion_point(field_set:api.Order_V1.orderNumber) -} - -// int64 stamp = 8; -inline void Order_V1::clear_stamp() { - stamp_ = PROTOBUF_LONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::int64 Order_V1::_internal_stamp() const { - return stamp_; -} -inline ::PROTOBUF_NAMESPACE_ID::int64 Order_V1::stamp() const { - // @@protoc_insertion_point(field_get:api.Order_V1.stamp) - return _internal_stamp(); -} -inline void Order_V1::_internal_set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - - stamp_ = value; -} -inline void Order_V1::set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_stamp(value); - // @@protoc_insertion_point(field_set:api.Order_V1.stamp) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// EntityMessage_V1 - -// string uuid = 1; -inline void EntityMessage_V1::clear_uuid() { - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntityMessage_V1::uuid() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.uuid) - return _internal_uuid(); -} -inline void EntityMessage_V1::set_uuid(const std::string& value) { - _internal_set_uuid(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.uuid) -} -inline std::string* EntityMessage_V1::mutable_uuid() { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.uuid) - return _internal_mutable_uuid(); -} -inline const std::string& EntityMessage_V1::_internal_uuid() const { - return uuid_.GetNoArena(); -} -inline void EntityMessage_V1::_internal_set_uuid(const std::string& value) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntityMessage_V1::set_uuid(std::string&& value) { - - uuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntityMessage_V1.uuid) -} -inline void EntityMessage_V1::set_uuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.uuid) -} -inline void EntityMessage_V1::set_uuid(const char* value, size_t size) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.uuid) -} -inline std::string* EntityMessage_V1::_internal_mutable_uuid() { - - return uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntityMessage_V1::release_uuid() { - // @@protoc_insertion_point(field_release:api.EntityMessage_V1.uuid) - - return uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntityMessage_V1::set_allocated_uuid(std::string* uuid) { - if (uuid != nullptr) { - - } else { - - } - uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), uuid); - // @@protoc_insertion_point(field_set_allocated:api.EntityMessage_V1.uuid) -} - -// .api.EntityType type = 2; -inline void EntityMessage_V1::clear_type() { - type_ = 0; -} -inline ::api::EntityType EntityMessage_V1::_internal_type() const { - return static_cast< ::api::EntityType >(type_); -} -inline ::api::EntityType EntityMessage_V1::type() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.type) - return _internal_type(); -} -inline void EntityMessage_V1::_internal_set_type(::api::EntityType value) { - - type_ = value; -} -inline void EntityMessage_V1::set_type(::api::EntityType value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.type) -} - -// map<string, .api.ClaimTagsMap_V1> claims = 3; -inline int EntityMessage_V1::_internal_claims_size() const { - return claims_.size(); -} -inline int EntityMessage_V1::claims_size() const { - return _internal_claims_size(); -} -inline void EntityMessage_V1::clear_claims() { - claims_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >& -EntityMessage_V1::_internal_claims() const { - return claims_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >& -EntityMessage_V1::claims() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V1.claims) - return _internal_claims(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >* -EntityMessage_V1::_internal_mutable_claims() { - return claims_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >* -EntityMessage_V1::mutable_claims() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V1.claims) - return _internal_mutable_claims(); -} - -// repeated string guarded = 4; -inline int EntityMessage_V1::_internal_guarded_size() const { - return guarded_.size(); -} -inline int EntityMessage_V1::guarded_size() const { - return _internal_guarded_size(); -} -inline void EntityMessage_V1::clear_guarded() { - guarded_.Clear(); -} -inline std::string* EntityMessage_V1::add_guarded() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.guarded) - return _internal_add_guarded(); -} -inline const std::string& EntityMessage_V1::_internal_guarded(int index) const { - return guarded_.Get(index); -} -inline const std::string& EntityMessage_V1::guarded(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.guarded) - return _internal_guarded(index); -} -inline std::string* EntityMessage_V1::mutable_guarded(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.guarded) - return guarded_.Mutable(index); -} -inline void EntityMessage_V1::set_guarded(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.guarded) - guarded_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_guarded(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.guarded) - guarded_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_guarded(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - guarded_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.guarded) -} -inline void EntityMessage_V1::set_guarded(int index, const char* value, size_t size) { - guarded_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.guarded) -} -inline std::string* EntityMessage_V1::_internal_add_guarded() { - return guarded_.Add(); -} -inline void EntityMessage_V1::add_guarded(const std::string& value) { - guarded_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.guarded) -} -inline void EntityMessage_V1::add_guarded(std::string&& value) { - guarded_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.guarded) -} -inline void EntityMessage_V1::add_guarded(const char* value) { - GOOGLE_DCHECK(value != nullptr); - guarded_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.guarded) -} -inline void EntityMessage_V1::add_guarded(const char* value, size_t size) { - guarded_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.guarded) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::guarded() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.guarded) - return guarded_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_guarded() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.guarded) - return &guarded_; -} - -// repeated string guardians = 5; -inline int EntityMessage_V1::_internal_guardians_size() const { - return guardians_.size(); -} -inline int EntityMessage_V1::guardians_size() const { - return _internal_guardians_size(); -} -inline void EntityMessage_V1::clear_guardians() { - guardians_.Clear(); -} -inline std::string* EntityMessage_V1::add_guardians() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.guardians) - return _internal_add_guardians(); -} -inline const std::string& EntityMessage_V1::_internal_guardians(int index) const { - return guardians_.Get(index); -} -inline const std::string& EntityMessage_V1::guardians(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.guardians) - return _internal_guardians(index); -} -inline std::string* EntityMessage_V1::mutable_guardians(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.guardians) - return guardians_.Mutable(index); -} -inline void EntityMessage_V1::set_guardians(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.guardians) - guardians_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_guardians(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.guardians) - guardians_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_guardians(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - guardians_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.guardians) -} -inline void EntityMessage_V1::set_guardians(int index, const char* value, size_t size) { - guardians_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.guardians) -} -inline std::string* EntityMessage_V1::_internal_add_guardians() { - return guardians_.Add(); -} -inline void EntityMessage_V1::add_guardians(const std::string& value) { - guardians_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.guardians) -} -inline void EntityMessage_V1::add_guardians(std::string&& value) { - guardians_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.guardians) -} -inline void EntityMessage_V1::add_guardians(const char* value) { - GOOGLE_DCHECK(value != nullptr); - guardians_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.guardians) -} -inline void EntityMessage_V1::add_guardians(const char* value, size_t size) { - guardians_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.guardians) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::guardians() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.guardians) - return guardians_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_guardians() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.guardians) - return &guardians_; -} - -// repeated string members = 6; -inline int EntityMessage_V1::_internal_members_size() const { - return members_.size(); -} -inline int EntityMessage_V1::members_size() const { - return _internal_members_size(); -} -inline void EntityMessage_V1::clear_members() { - members_.Clear(); -} -inline std::string* EntityMessage_V1::add_members() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.members) - return _internal_add_members(); -} -inline const std::string& EntityMessage_V1::_internal_members(int index) const { - return members_.Get(index); -} -inline const std::string& EntityMessage_V1::members(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.members) - return _internal_members(index); -} -inline std::string* EntityMessage_V1::mutable_members(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.members) - return members_.Mutable(index); -} -inline void EntityMessage_V1::set_members(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.members) - members_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_members(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.members) - members_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_members(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - members_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.members) -} -inline void EntityMessage_V1::set_members(int index, const char* value, size_t size) { - members_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.members) -} -inline std::string* EntityMessage_V1::_internal_add_members() { - return members_.Add(); -} -inline void EntityMessage_V1::add_members(const std::string& value) { - members_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.members) -} -inline void EntityMessage_V1::add_members(std::string&& value) { - members_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.members) -} -inline void EntityMessage_V1::add_members(const char* value) { - GOOGLE_DCHECK(value != nullptr); - members_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.members) -} -inline void EntityMessage_V1::add_members(const char* value, size_t size) { - members_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.members) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::members() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.members) - return members_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_members() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.members) - return &members_; -} - -// repeated string memberOf = 7; -inline int EntityMessage_V1::_internal_memberof_size() const { - return memberof_.size(); -} -inline int EntityMessage_V1::memberof_size() const { - return _internal_memberof_size(); -} -inline void EntityMessage_V1::clear_memberof() { - memberof_.Clear(); -} -inline std::string* EntityMessage_V1::add_memberof() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.memberOf) - return _internal_add_memberof(); -} -inline const std::string& EntityMessage_V1::_internal_memberof(int index) const { - return memberof_.Get(index); -} -inline const std::string& EntityMessage_V1::memberof(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.memberOf) - return _internal_memberof(index); -} -inline std::string* EntityMessage_V1::mutable_memberof(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.memberOf) - return memberof_.Mutable(index); -} -inline void EntityMessage_V1::set_memberof(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.memberOf) - memberof_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_memberof(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.memberOf) - memberof_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_memberof(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - memberof_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.memberOf) -} -inline void EntityMessage_V1::set_memberof(int index, const char* value, size_t size) { - memberof_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.memberOf) -} -inline std::string* EntityMessage_V1::_internal_add_memberof() { - return memberof_.Add(); -} -inline void EntityMessage_V1::add_memberof(const std::string& value) { - memberof_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.memberOf) -} -inline void EntityMessage_V1::add_memberof(std::string&& value) { - memberof_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.memberOf) -} -inline void EntityMessage_V1::add_memberof(const char* value) { - GOOGLE_DCHECK(value != nullptr); - memberof_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.memberOf) -} -inline void EntityMessage_V1::add_memberof(const char* value, size_t size) { - memberof_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.memberOf) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::memberof() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.memberOf) - return memberof_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_memberof() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.memberOf) - return &memberof_; -} - -// repeated string parents = 8; -inline int EntityMessage_V1::_internal_parents_size() const { - return parents_.size(); -} -inline int EntityMessage_V1::parents_size() const { - return _internal_parents_size(); -} -inline void EntityMessage_V1::clear_parents() { - parents_.Clear(); -} -inline std::string* EntityMessage_V1::add_parents() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.parents) - return _internal_add_parents(); -} -inline const std::string& EntityMessage_V1::_internal_parents(int index) const { - return parents_.Get(index); -} -inline const std::string& EntityMessage_V1::parents(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.parents) - return _internal_parents(index); -} -inline std::string* EntityMessage_V1::mutable_parents(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.parents) - return parents_.Mutable(index); -} -inline void EntityMessage_V1::set_parents(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.parents) - parents_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_parents(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.parents) - parents_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_parents(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - parents_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.parents) -} -inline void EntityMessage_V1::set_parents(int index, const char* value, size_t size) { - parents_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.parents) -} -inline std::string* EntityMessage_V1::_internal_add_parents() { - return parents_.Add(); -} -inline void EntityMessage_V1::add_parents(const std::string& value) { - parents_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.parents) -} -inline void EntityMessage_V1::add_parents(std::string&& value) { - parents_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.parents) -} -inline void EntityMessage_V1::add_parents(const char* value) { - GOOGLE_DCHECK(value != nullptr); - parents_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.parents) -} -inline void EntityMessage_V1::add_parents(const char* value, size_t size) { - parents_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.parents) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::parents() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.parents) - return parents_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_parents() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.parents) - return &parents_; -} - -// repeated string children = 9; -inline int EntityMessage_V1::_internal_children_size() const { - return children_.size(); -} -inline int EntityMessage_V1::children_size() const { - return _internal_children_size(); -} -inline void EntityMessage_V1::clear_children() { - children_.Clear(); -} -inline std::string* EntityMessage_V1::add_children() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.children) - return _internal_add_children(); -} -inline const std::string& EntityMessage_V1::_internal_children(int index) const { - return children_.Get(index); -} -inline const std::string& EntityMessage_V1::children(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.children) - return _internal_children(index); -} -inline std::string* EntityMessage_V1::mutable_children(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.children) - return children_.Mutable(index); -} -inline void EntityMessage_V1::set_children(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.children) - children_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_children(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.children) - children_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_children(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - children_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.children) -} -inline void EntityMessage_V1::set_children(int index, const char* value, size_t size) { - children_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.children) -} -inline std::string* EntityMessage_V1::_internal_add_children() { - return children_.Add(); -} -inline void EntityMessage_V1::add_children(const std::string& value) { - children_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.children) -} -inline void EntityMessage_V1::add_children(std::string&& value) { - children_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.children) -} -inline void EntityMessage_V1::add_children(const char* value) { - GOOGLE_DCHECK(value != nullptr); - children_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.children) -} -inline void EntityMessage_V1::add_children(const char* value, size_t size) { - children_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.children) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::children() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.children) - return children_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_children() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.children) - return &children_; -} - -// repeated string viewed = 12; -inline int EntityMessage_V1::_internal_viewed_size() const { - return viewed_.size(); -} -inline int EntityMessage_V1::viewed_size() const { - return _internal_viewed_size(); -} -inline void EntityMessage_V1::clear_viewed() { - viewed_.Clear(); -} -inline std::string* EntityMessage_V1::add_viewed() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.viewed) - return _internal_add_viewed(); -} -inline const std::string& EntityMessage_V1::_internal_viewed(int index) const { - return viewed_.Get(index); -} -inline const std::string& EntityMessage_V1::viewed(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.viewed) - return _internal_viewed(index); -} -inline std::string* EntityMessage_V1::mutable_viewed(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.viewed) - return viewed_.Mutable(index); -} -inline void EntityMessage_V1::set_viewed(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.viewed) - viewed_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_viewed(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.viewed) - viewed_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_viewed(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - viewed_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.viewed) -} -inline void EntityMessage_V1::set_viewed(int index, const char* value, size_t size) { - viewed_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.viewed) -} -inline std::string* EntityMessage_V1::_internal_add_viewed() { - return viewed_.Add(); -} -inline void EntityMessage_V1::add_viewed(const std::string& value) { - viewed_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.viewed) -} -inline void EntityMessage_V1::add_viewed(std::string&& value) { - viewed_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.viewed) -} -inline void EntityMessage_V1::add_viewed(const char* value) { - GOOGLE_DCHECK(value != nullptr); - viewed_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.viewed) -} -inline void EntityMessage_V1::add_viewed(const char* value, size_t size) { - viewed_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.viewed) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::viewed() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.viewed) - return viewed_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_viewed() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.viewed) - return &viewed_; -} - -// repeated string viewers = 13; -inline int EntityMessage_V1::_internal_viewers_size() const { - return viewers_.size(); -} -inline int EntityMessage_V1::viewers_size() const { - return _internal_viewers_size(); -} -inline void EntityMessage_V1::clear_viewers() { - viewers_.Clear(); -} -inline std::string* EntityMessage_V1::add_viewers() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.viewers) - return _internal_add_viewers(); -} -inline const std::string& EntityMessage_V1::_internal_viewers(int index) const { - return viewers_.Get(index); -} -inline const std::string& EntityMessage_V1::viewers(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.viewers) - return _internal_viewers(index); -} -inline std::string* EntityMessage_V1::mutable_viewers(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.viewers) - return viewers_.Mutable(index); -} -inline void EntityMessage_V1::set_viewers(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.viewers) - viewers_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_viewers(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.viewers) - viewers_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_viewers(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - viewers_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.viewers) -} -inline void EntityMessage_V1::set_viewers(int index, const char* value, size_t size) { - viewers_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.viewers) -} -inline std::string* EntityMessage_V1::_internal_add_viewers() { - return viewers_.Add(); -} -inline void EntityMessage_V1::add_viewers(const std::string& value) { - viewers_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.viewers) -} -inline void EntityMessage_V1::add_viewers(std::string&& value) { - viewers_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.viewers) -} -inline void EntityMessage_V1::add_viewers(const char* value) { - GOOGLE_DCHECK(value != nullptr); - viewers_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.viewers) -} -inline void EntityMessage_V1::add_viewers(const char* value, size_t size) { - viewers_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.viewers) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::viewers() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.viewers) - return viewers_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_viewers() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.viewers) - return &viewers_; -} - -// int64 stamp = 11; -inline void EntityMessage_V1::clear_stamp() { - stamp_ = PROTOBUF_LONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V1::_internal_stamp() const { - return stamp_; -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V1::stamp() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.stamp) - return _internal_stamp(); -} -inline void EntityMessage_V1::_internal_set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - - stamp_ = value; -} -inline void EntityMessage_V1::set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_stamp(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.stamp) -} - -// string otpSecret = 14; -inline void EntityMessage_V1::clear_otpsecret() { - otpsecret_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntityMessage_V1::otpsecret() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.otpSecret) - return _internal_otpsecret(); -} -inline void EntityMessage_V1::set_otpsecret(const std::string& value) { - _internal_set_otpsecret(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.otpSecret) -} -inline std::string* EntityMessage_V1::mutable_otpsecret() { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.otpSecret) - return _internal_mutable_otpsecret(); -} -inline const std::string& EntityMessage_V1::_internal_otpsecret() const { - return otpsecret_.GetNoArena(); -} -inline void EntityMessage_V1::_internal_set_otpsecret(const std::string& value) { - - otpsecret_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntityMessage_V1::set_otpsecret(std::string&& value) { - - otpsecret_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntityMessage_V1.otpSecret) -} -inline void EntityMessage_V1::set_otpsecret(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - otpsecret_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.otpSecret) -} -inline void EntityMessage_V1::set_otpsecret(const char* value, size_t size) { - - otpsecret_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.otpSecret) -} -inline std::string* EntityMessage_V1::_internal_mutable_otpsecret() { - - return otpsecret_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntityMessage_V1::release_otpsecret() { - // @@protoc_insertion_point(field_release:api.EntityMessage_V1.otpSecret) - - return otpsecret_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntityMessage_V1::set_allocated_otpsecret(std::string* otpsecret) { - if (otpsecret != nullptr) { - - } else { - - } - otpsecret_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), otpsecret); - // @@protoc_insertion_point(field_set_allocated:api.EntityMessage_V1.otpSecret) -} - -// bool activated = 15; -inline void EntityMessage_V1::clear_activated() { - activated_ = false; -} -inline bool EntityMessage_V1::_internal_activated() const { - return activated_; -} -inline bool EntityMessage_V1::activated() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.activated) - return _internal_activated(); -} -inline void EntityMessage_V1::_internal_set_activated(bool value) { - - activated_ = value; -} -inline void EntityMessage_V1::set_activated(bool value) { - _internal_set_activated(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.activated) -} - -// repeated string authenticationKeys = 16; -inline int EntityMessage_V1::_internal_authenticationkeys_size() const { - return authenticationkeys_.size(); -} -inline int EntityMessage_V1::authenticationkeys_size() const { - return _internal_authenticationkeys_size(); -} -inline void EntityMessage_V1::clear_authenticationkeys() { - authenticationkeys_.Clear(); -} -inline std::string* EntityMessage_V1::add_authenticationkeys() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.authenticationKeys) - return _internal_add_authenticationkeys(); -} -inline const std::string& EntityMessage_V1::_internal_authenticationkeys(int index) const { - return authenticationkeys_.Get(index); -} -inline const std::string& EntityMessage_V1::authenticationkeys(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.authenticationKeys) - return _internal_authenticationkeys(index); -} -inline std::string* EntityMessage_V1::mutable_authenticationkeys(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.authenticationKeys) - return authenticationkeys_.Mutable(index); -} -inline void EntityMessage_V1::set_authenticationkeys(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.authenticationKeys) - authenticationkeys_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_authenticationkeys(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.authenticationKeys) - authenticationkeys_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_authenticationkeys(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - authenticationkeys_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.authenticationKeys) -} -inline void EntityMessage_V1::set_authenticationkeys(int index, const char* value, size_t size) { - authenticationkeys_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.authenticationKeys) -} -inline std::string* EntityMessage_V1::_internal_add_authenticationkeys() { - return authenticationkeys_.Add(); -} -inline void EntityMessage_V1::add_authenticationkeys(const std::string& value) { - authenticationkeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.authenticationKeys) -} -inline void EntityMessage_V1::add_authenticationkeys(std::string&& value) { - authenticationkeys_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.authenticationKeys) -} -inline void EntityMessage_V1::add_authenticationkeys(const char* value) { - GOOGLE_DCHECK(value != nullptr); - authenticationkeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.authenticationKeys) -} -inline void EntityMessage_V1::add_authenticationkeys(const char* value, size_t size) { - authenticationkeys_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.authenticationKeys) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::authenticationkeys() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.authenticationKeys) - return authenticationkeys_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_authenticationkeys() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.authenticationKeys) - return &authenticationkeys_; -} - -// repeated string certificates = 17; -inline int EntityMessage_V1::_internal_certificates_size() const { - return certificates_.size(); -} -inline int EntityMessage_V1::certificates_size() const { - return _internal_certificates_size(); -} -inline void EntityMessage_V1::clear_certificates() { - certificates_.Clear(); -} -inline std::string* EntityMessage_V1::add_certificates() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.certificates) - return _internal_add_certificates(); -} -inline const std::string& EntityMessage_V1::_internal_certificates(int index) const { - return certificates_.Get(index); -} -inline const std::string& EntityMessage_V1::certificates(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.certificates) - return _internal_certificates(index); -} -inline std::string* EntityMessage_V1::mutable_certificates(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.certificates) - return certificates_.Mutable(index); -} -inline void EntityMessage_V1::set_certificates(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.certificates) - certificates_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_certificates(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.certificates) - certificates_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_certificates(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - certificates_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.certificates) -} -inline void EntityMessage_V1::set_certificates(int index, const char* value, size_t size) { - certificates_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.certificates) -} -inline std::string* EntityMessage_V1::_internal_add_certificates() { - return certificates_.Add(); -} -inline void EntityMessage_V1::add_certificates(const std::string& value) { - certificates_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.certificates) -} -inline void EntityMessage_V1::add_certificates(std::string&& value) { - certificates_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.certificates) -} -inline void EntityMessage_V1::add_certificates(const char* value) { - GOOGLE_DCHECK(value != nullptr); - certificates_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.certificates) -} -inline void EntityMessage_V1::add_certificates(const char* value, size_t size) { - certificates_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.certificates) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::certificates() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.certificates) - return certificates_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_certificates() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.certificates) - return &certificates_; -} - -// map<string, int64> passportsCounters = 21; -inline int EntityMessage_V1::_internal_passportscounters_size() const { - return passportscounters_.size(); -} -inline int EntityMessage_V1::passportscounters_size() const { - return _internal_passportscounters_size(); -} -inline void EntityMessage_V1::clear_passportscounters() { - passportscounters_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& -EntityMessage_V1::_internal_passportscounters() const { - return passportscounters_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& -EntityMessage_V1::passportscounters() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V1.passportsCounters) - return _internal_passportscounters(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* -EntityMessage_V1::_internal_mutable_passportscounters() { - return passportscounters_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* -EntityMessage_V1::mutable_passportscounters() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V1.passportsCounters) - return _internal_mutable_passportscounters(); -} - -// map<string, .api.ContactStatus> contactStatuses = 22; -inline int EntityMessage_V1::_internal_contactstatuses_size() const { - return contactstatuses_.size(); -} -inline int EntityMessage_V1::contactstatuses_size() const { - return _internal_contactstatuses_size(); -} -inline void EntityMessage_V1::clear_contactstatuses() { - contactstatuses_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >& -EntityMessage_V1::_internal_contactstatuses() const { - return contactstatuses_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >& -EntityMessage_V1::contactstatuses() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V1.contactStatuses) - return _internal_contactstatuses(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >* -EntityMessage_V1::_internal_mutable_contactstatuses() { - return contactstatuses_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >* -EntityMessage_V1::mutable_contactstatuses() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V1.contactStatuses) - return _internal_mutable_contactstatuses(); -} - -// string entityCertificate = 18; -inline void EntityMessage_V1::clear_entitycertificate() { - entitycertificate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntityMessage_V1::entitycertificate() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.entityCertificate) - return _internal_entitycertificate(); -} -inline void EntityMessage_V1::set_entitycertificate(const std::string& value) { - _internal_set_entitycertificate(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.entityCertificate) -} -inline std::string* EntityMessage_V1::mutable_entitycertificate() { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.entityCertificate) - return _internal_mutable_entitycertificate(); -} -inline const std::string& EntityMessage_V1::_internal_entitycertificate() const { - return entitycertificate_.GetNoArena(); -} -inline void EntityMessage_V1::_internal_set_entitycertificate(const std::string& value) { - - entitycertificate_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntityMessage_V1::set_entitycertificate(std::string&& value) { - - entitycertificate_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntityMessage_V1.entityCertificate) -} -inline void EntityMessage_V1::set_entitycertificate(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - entitycertificate_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.entityCertificate) -} -inline void EntityMessage_V1::set_entitycertificate(const char* value, size_t size) { - - entitycertificate_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.entityCertificate) -} -inline std::string* EntityMessage_V1::_internal_mutable_entitycertificate() { - - return entitycertificate_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntityMessage_V1::release_entitycertificate() { - // @@protoc_insertion_point(field_release:api.EntityMessage_V1.entityCertificate) - - return entitycertificate_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntityMessage_V1::set_allocated_entitycertificate(std::string* entitycertificate) { - if (entitycertificate != nullptr) { - - } else { - - } - entitycertificate_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), entitycertificate); - // @@protoc_insertion_point(field_set_allocated:api.EntityMessage_V1.entityCertificate) -} - -// repeated string symmetricKeys = 19; -inline int EntityMessage_V1::_internal_symmetrickeys_size() const { - return symmetrickeys_.size(); -} -inline int EntityMessage_V1::symmetrickeys_size() const { - return _internal_symmetrickeys_size(); -} -inline void EntityMessage_V1::clear_symmetrickeys() { - symmetrickeys_.Clear(); -} -inline std::string* EntityMessage_V1::add_symmetrickeys() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.symmetricKeys) - return _internal_add_symmetrickeys(); -} -inline const std::string& EntityMessage_V1::_internal_symmetrickeys(int index) const { - return symmetrickeys_.Get(index); -} -inline const std::string& EntityMessage_V1::symmetrickeys(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.symmetricKeys) - return _internal_symmetrickeys(index); -} -inline std::string* EntityMessage_V1::mutable_symmetrickeys(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.symmetricKeys) - return symmetrickeys_.Mutable(index); -} -inline void EntityMessage_V1::set_symmetrickeys(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.symmetricKeys) - symmetrickeys_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_symmetrickeys(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.symmetricKeys) - symmetrickeys_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_symmetrickeys(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - symmetrickeys_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.symmetricKeys) -} -inline void EntityMessage_V1::set_symmetrickeys(int index, const char* value, size_t size) { - symmetrickeys_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.symmetricKeys) -} -inline std::string* EntityMessage_V1::_internal_add_symmetrickeys() { - return symmetrickeys_.Add(); -} -inline void EntityMessage_V1::add_symmetrickeys(const std::string& value) { - symmetrickeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.symmetricKeys) -} -inline void EntityMessage_V1::add_symmetrickeys(std::string&& value) { - symmetrickeys_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.symmetricKeys) -} -inline void EntityMessage_V1::add_symmetrickeys(const char* value) { - GOOGLE_DCHECK(value != nullptr); - symmetrickeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.symmetricKeys) -} -inline void EntityMessage_V1::add_symmetrickeys(const char* value, size_t size) { - symmetrickeys_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.symmetricKeys) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::symmetrickeys() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.symmetricKeys) - return symmetrickeys_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_symmetrickeys() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.symmetricKeys) - return &symmetrickeys_; -} - -// int64 created = 20; -inline void EntityMessage_V1::clear_created() { - created_ = PROTOBUF_LONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V1::_internal_created() const { - return created_; -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V1::created() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.created) - return _internal_created(); -} -inline void EntityMessage_V1::_internal_set_created(::PROTOBUF_NAMESPACE_ID::int64 value) { - - created_ = value; -} -inline void EntityMessage_V1::set_created(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_created(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.created) -} - -// bool temporary = 23; -inline void EntityMessage_V1::clear_temporary() { - temporary_ = false; -} -inline bool EntityMessage_V1::_internal_temporary() const { - return temporary_; -} -inline bool EntityMessage_V1::temporary() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.temporary) - return _internal_temporary(); -} -inline void EntityMessage_V1::_internal_set_temporary(bool value) { - - temporary_ = value; -} -inline void EntityMessage_V1::set_temporary(bool value) { - _internal_set_temporary(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.temporary) -} - -// repeated string pendingSharingRequests = 24; -inline int EntityMessage_V1::_internal_pendingsharingrequests_size() const { - return pendingsharingrequests_.size(); -} -inline int EntityMessage_V1::pendingsharingrequests_size() const { - return _internal_pendingsharingrequests_size(); -} -inline void EntityMessage_V1::clear_pendingsharingrequests() { - pendingsharingrequests_.Clear(); -} -inline std::string* EntityMessage_V1::add_pendingsharingrequests() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.pendingSharingRequests) - return _internal_add_pendingsharingrequests(); -} -inline const std::string& EntityMessage_V1::_internal_pendingsharingrequests(int index) const { - return pendingsharingrequests_.Get(index); -} -inline const std::string& EntityMessage_V1::pendingsharingrequests(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.pendingSharingRequests) - return _internal_pendingsharingrequests(index); -} -inline std::string* EntityMessage_V1::mutable_pendingsharingrequests(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.pendingSharingRequests) - return pendingsharingrequests_.Mutable(index); -} -inline void EntityMessage_V1::set_pendingsharingrequests(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.pendingSharingRequests) - pendingsharingrequests_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_pendingsharingrequests(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.pendingSharingRequests) - pendingsharingrequests_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_pendingsharingrequests(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - pendingsharingrequests_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.pendingSharingRequests) -} -inline void EntityMessage_V1::set_pendingsharingrequests(int index, const char* value, size_t size) { - pendingsharingrequests_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.pendingSharingRequests) -} -inline std::string* EntityMessage_V1::_internal_add_pendingsharingrequests() { - return pendingsharingrequests_.Add(); -} -inline void EntityMessage_V1::add_pendingsharingrequests(const std::string& value) { - pendingsharingrequests_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.pendingSharingRequests) -} -inline void EntityMessage_V1::add_pendingsharingrequests(std::string&& value) { - pendingsharingrequests_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.pendingSharingRequests) -} -inline void EntityMessage_V1::add_pendingsharingrequests(const char* value) { - GOOGLE_DCHECK(value != nullptr); - pendingsharingrequests_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.pendingSharingRequests) -} -inline void EntityMessage_V1::add_pendingsharingrequests(const char* value, size_t size) { - pendingsharingrequests_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.pendingSharingRequests) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::pendingsharingrequests() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.pendingSharingRequests) - return pendingsharingrequests_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_pendingsharingrequests() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.pendingSharingRequests) - return &pendingsharingrequests_; -} - -// repeated string rejectedSharingRequests = 25; -inline int EntityMessage_V1::_internal_rejectedsharingrequests_size() const { - return rejectedsharingrequests_.size(); -} -inline int EntityMessage_V1::rejectedsharingrequests_size() const { - return _internal_rejectedsharingrequests_size(); -} -inline void EntityMessage_V1::clear_rejectedsharingrequests() { - rejectedsharingrequests_.Clear(); -} -inline std::string* EntityMessage_V1::add_rejectedsharingrequests() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V1.rejectedSharingRequests) - return _internal_add_rejectedsharingrequests(); -} -inline const std::string& EntityMessage_V1::_internal_rejectedsharingrequests(int index) const { - return rejectedsharingrequests_.Get(index); -} -inline const std::string& EntityMessage_V1::rejectedsharingrequests(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V1.rejectedSharingRequests) - return _internal_rejectedsharingrequests(index); -} -inline std::string* EntityMessage_V1::mutable_rejectedsharingrequests(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V1.rejectedSharingRequests) - return rejectedsharingrequests_.Mutable(index); -} -inline void EntityMessage_V1::set_rejectedsharingrequests(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.rejectedSharingRequests) - rejectedsharingrequests_.Mutable(index)->assign(value); -} -inline void EntityMessage_V1::set_rejectedsharingrequests(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V1.rejectedSharingRequests) - rejectedsharingrequests_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V1::set_rejectedsharingrequests(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - rejectedsharingrequests_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V1.rejectedSharingRequests) -} -inline void EntityMessage_V1::set_rejectedsharingrequests(int index, const char* value, size_t size) { - rejectedsharingrequests_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V1.rejectedSharingRequests) -} -inline std::string* EntityMessage_V1::_internal_add_rejectedsharingrequests() { - return rejectedsharingrequests_.Add(); -} -inline void EntityMessage_V1::add_rejectedsharingrequests(const std::string& value) { - rejectedsharingrequests_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.rejectedSharingRequests) -} -inline void EntityMessage_V1::add_rejectedsharingrequests(std::string&& value) { - rejectedsharingrequests_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V1.rejectedSharingRequests) -} -inline void EntityMessage_V1::add_rejectedsharingrequests(const char* value) { - GOOGLE_DCHECK(value != nullptr); - rejectedsharingrequests_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V1.rejectedSharingRequests) -} -inline void EntityMessage_V1::add_rejectedsharingrequests(const char* value, size_t size) { - rejectedsharingrequests_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V1.rejectedSharingRequests) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V1::rejectedsharingrequests() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V1.rejectedSharingRequests) - return rejectedsharingrequests_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V1::mutable_rejectedsharingrequests() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V1.rejectedSharingRequests) - return &rejectedsharingrequests_; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// EntityMessage_V2 - -// string uuid = 1; -inline void EntityMessage_V2::clear_uuid() { - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntityMessage_V2::uuid() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.uuid) - return _internal_uuid(); -} -inline void EntityMessage_V2::set_uuid(const std::string& value) { - _internal_set_uuid(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.uuid) -} -inline std::string* EntityMessage_V2::mutable_uuid() { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V2.uuid) - return _internal_mutable_uuid(); -} -inline const std::string& EntityMessage_V2::_internal_uuid() const { - return uuid_.GetNoArena(); -} -inline void EntityMessage_V2::_internal_set_uuid(const std::string& value) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntityMessage_V2::set_uuid(std::string&& value) { - - uuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntityMessage_V2.uuid) -} -inline void EntityMessage_V2::set_uuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V2.uuid) -} -inline void EntityMessage_V2::set_uuid(const char* value, size_t size) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V2.uuid) -} -inline std::string* EntityMessage_V2::_internal_mutable_uuid() { - - return uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntityMessage_V2::release_uuid() { - // @@protoc_insertion_point(field_release:api.EntityMessage_V2.uuid) - - return uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntityMessage_V2::set_allocated_uuid(std::string* uuid) { - if (uuid != nullptr) { - - } else { - - } - uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), uuid); - // @@protoc_insertion_point(field_set_allocated:api.EntityMessage_V2.uuid) -} - -// .api.EntityType type = 2; -inline void EntityMessage_V2::clear_type() { - type_ = 0; -} -inline ::api::EntityType EntityMessage_V2::_internal_type() const { - return static_cast< ::api::EntityType >(type_); -} -inline ::api::EntityType EntityMessage_V2::type() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.type) - return _internal_type(); -} -inline void EntityMessage_V2::_internal_set_type(::api::EntityType value) { - - type_ = value; -} -inline void EntityMessage_V2::set_type(::api::EntityType value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.type) -} - -// map<string, .api.ClaimTagsMap_V1> claims = 3; -inline int EntityMessage_V2::_internal_claims_size() const { - return claims_.size(); -} -inline int EntityMessage_V2::claims_size() const { - return _internal_claims_size(); -} -inline void EntityMessage_V2::clear_claims() { - claims_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >& -EntityMessage_V2::_internal_claims() const { - return claims_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >& -EntityMessage_V2::claims() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.claims) - return _internal_claims(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >* -EntityMessage_V2::_internal_mutable_claims() { - return claims_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimTagsMap_V1 >* -EntityMessage_V2::mutable_claims() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.claims) - return _internal_mutable_claims(); -} - -// map<string, .api.RelationStatus> guarded = 4; -inline int EntityMessage_V2::_internal_guarded_size() const { - return guarded_.size(); -} -inline int EntityMessage_V2::guarded_size() const { - return _internal_guarded_size(); -} -inline void EntityMessage_V2::clear_guarded() { - guarded_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_guarded() const { - return guarded_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::guarded() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.guarded) - return _internal_guarded(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_guarded() { - return guarded_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_guarded() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.guarded) - return _internal_mutable_guarded(); -} - -// map<string, .api.RelationStatus> guardians = 5; -inline int EntityMessage_V2::_internal_guardians_size() const { - return guardians_.size(); -} -inline int EntityMessage_V2::guardians_size() const { - return _internal_guardians_size(); -} -inline void EntityMessage_V2::clear_guardians() { - guardians_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_guardians() const { - return guardians_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::guardians() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.guardians) - return _internal_guardians(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_guardians() { - return guardians_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_guardians() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.guardians) - return _internal_mutable_guardians(); -} - -// map<string, .api.RelationStatus> members = 6; -inline int EntityMessage_V2::_internal_members_size() const { - return members_.size(); -} -inline int EntityMessage_V2::members_size() const { - return _internal_members_size(); -} -inline void EntityMessage_V2::clear_members() { - members_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_members() const { - return members_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::members() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.members) - return _internal_members(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_members() { - return members_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_members() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.members) - return _internal_mutable_members(); -} - -// map<string, .api.RelationStatus> memberOf = 7; -inline int EntityMessage_V2::_internal_memberof_size() const { - return memberof_.size(); -} -inline int EntityMessage_V2::memberof_size() const { - return _internal_memberof_size(); -} -inline void EntityMessage_V2::clear_memberof() { - memberof_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_memberof() const { - return memberof_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::memberof() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.memberOf) - return _internal_memberof(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_memberof() { - return memberof_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_memberof() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.memberOf) - return _internal_mutable_memberof(); -} - -// map<string, .api.RelationStatus> parents = 8; -inline int EntityMessage_V2::_internal_parents_size() const { - return parents_.size(); -} -inline int EntityMessage_V2::parents_size() const { - return _internal_parents_size(); -} -inline void EntityMessage_V2::clear_parents() { - parents_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_parents() const { - return parents_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::parents() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.parents) - return _internal_parents(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_parents() { - return parents_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_parents() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.parents) - return _internal_mutable_parents(); -} - -// map<string, .api.RelationStatus> children = 9; -inline int EntityMessage_V2::_internal_children_size() const { - return children_.size(); -} -inline int EntityMessage_V2::children_size() const { - return _internal_children_size(); -} -inline void EntityMessage_V2::clear_children() { - children_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_children() const { - return children_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::children() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.children) - return _internal_children(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_children() { - return children_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_children() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.children) - return _internal_mutable_children(); -} - -// map<string, .api.RelationStatus> viewed = 12; -inline int EntityMessage_V2::_internal_viewed_size() const { - return viewed_.size(); -} -inline int EntityMessage_V2::viewed_size() const { - return _internal_viewed_size(); -} -inline void EntityMessage_V2::clear_viewed() { - viewed_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_viewed() const { - return viewed_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::viewed() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.viewed) - return _internal_viewed(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_viewed() { - return viewed_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_viewed() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.viewed) - return _internal_mutable_viewed(); -} - -// map<string, .api.RelationStatus> viewers = 13; -inline int EntityMessage_V2::_internal_viewers_size() const { - return viewers_.size(); -} -inline int EntityMessage_V2::viewers_size() const { - return _internal_viewers_size(); -} -inline void EntityMessage_V2::clear_viewers() { - viewers_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_viewers() const { - return viewers_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::viewers() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.viewers) - return _internal_viewers(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_viewers() { - return viewers_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_viewers() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.viewers) - return _internal_mutable_viewers(); -} - -// int64 stamp = 11; -inline void EntityMessage_V2::clear_stamp() { - stamp_ = PROTOBUF_LONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V2::_internal_stamp() const { - return stamp_; -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V2::stamp() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.stamp) - return _internal_stamp(); -} -inline void EntityMessage_V2::_internal_set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - - stamp_ = value; -} -inline void EntityMessage_V2::set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_stamp(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.stamp) -} - -// string otpSecret = 14; -inline void EntityMessage_V2::clear_otpsecret() { - otpsecret_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntityMessage_V2::otpsecret() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.otpSecret) - return _internal_otpsecret(); -} -inline void EntityMessage_V2::set_otpsecret(const std::string& value) { - _internal_set_otpsecret(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.otpSecret) -} -inline std::string* EntityMessage_V2::mutable_otpsecret() { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V2.otpSecret) - return _internal_mutable_otpsecret(); -} -inline const std::string& EntityMessage_V2::_internal_otpsecret() const { - return otpsecret_.GetNoArena(); -} -inline void EntityMessage_V2::_internal_set_otpsecret(const std::string& value) { - - otpsecret_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntityMessage_V2::set_otpsecret(std::string&& value) { - - otpsecret_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntityMessage_V2.otpSecret) -} -inline void EntityMessage_V2::set_otpsecret(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - otpsecret_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V2.otpSecret) -} -inline void EntityMessage_V2::set_otpsecret(const char* value, size_t size) { - - otpsecret_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V2.otpSecret) -} -inline std::string* EntityMessage_V2::_internal_mutable_otpsecret() { - - return otpsecret_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntityMessage_V2::release_otpsecret() { - // @@protoc_insertion_point(field_release:api.EntityMessage_V2.otpSecret) - - return otpsecret_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntityMessage_V2::set_allocated_otpsecret(std::string* otpsecret) { - if (otpsecret != nullptr) { - - } else { - - } - otpsecret_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), otpsecret); - // @@protoc_insertion_point(field_set_allocated:api.EntityMessage_V2.otpSecret) -} - -// bool activated = 15; -inline void EntityMessage_V2::clear_activated() { - activated_ = false; -} -inline bool EntityMessage_V2::_internal_activated() const { - return activated_; -} -inline bool EntityMessage_V2::activated() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.activated) - return _internal_activated(); -} -inline void EntityMessage_V2::_internal_set_activated(bool value) { - - activated_ = value; -} -inline void EntityMessage_V2::set_activated(bool value) { - _internal_set_activated(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.activated) -} - -// bool blocked = 31; -inline void EntityMessage_V2::clear_blocked() { - blocked_ = false; -} -inline bool EntityMessage_V2::_internal_blocked() const { - return blocked_; -} -inline bool EntityMessage_V2::blocked() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.blocked) - return _internal_blocked(); -} -inline void EntityMessage_V2::_internal_set_blocked(bool value) { - - blocked_ = value; -} -inline void EntityMessage_V2::set_blocked(bool value) { - _internal_set_blocked(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.blocked) -} - -// int64 lastLogin = 32; -inline void EntityMessage_V2::clear_lastlogin() { - lastlogin_ = PROTOBUF_LONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V2::_internal_lastlogin() const { - return lastlogin_; -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V2::lastlogin() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.lastLogin) - return _internal_lastlogin(); -} -inline void EntityMessage_V2::_internal_set_lastlogin(::PROTOBUF_NAMESPACE_ID::int64 value) { - - lastlogin_ = value; -} -inline void EntityMessage_V2::set_lastlogin(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_lastlogin(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.lastLogin) -} - -// repeated string authenticationKeys = 16; -inline int EntityMessage_V2::_internal_authenticationkeys_size() const { - return authenticationkeys_.size(); -} -inline int EntityMessage_V2::authenticationkeys_size() const { - return _internal_authenticationkeys_size(); -} -inline void EntityMessage_V2::clear_authenticationkeys() { - authenticationkeys_.Clear(); -} -inline std::string* EntityMessage_V2::add_authenticationkeys() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V2.authenticationKeys) - return _internal_add_authenticationkeys(); -} -inline const std::string& EntityMessage_V2::_internal_authenticationkeys(int index) const { - return authenticationkeys_.Get(index); -} -inline const std::string& EntityMessage_V2::authenticationkeys(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.authenticationKeys) - return _internal_authenticationkeys(index); -} -inline std::string* EntityMessage_V2::mutable_authenticationkeys(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V2.authenticationKeys) - return authenticationkeys_.Mutable(index); -} -inline void EntityMessage_V2::set_authenticationkeys(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.authenticationKeys) - authenticationkeys_.Mutable(index)->assign(value); -} -inline void EntityMessage_V2::set_authenticationkeys(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.authenticationKeys) - authenticationkeys_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V2::set_authenticationkeys(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - authenticationkeys_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V2.authenticationKeys) -} -inline void EntityMessage_V2::set_authenticationkeys(int index, const char* value, size_t size) { - authenticationkeys_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V2.authenticationKeys) -} -inline std::string* EntityMessage_V2::_internal_add_authenticationkeys() { - return authenticationkeys_.Add(); -} -inline void EntityMessage_V2::add_authenticationkeys(const std::string& value) { - authenticationkeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.authenticationKeys) -} -inline void EntityMessage_V2::add_authenticationkeys(std::string&& value) { - authenticationkeys_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.authenticationKeys) -} -inline void EntityMessage_V2::add_authenticationkeys(const char* value) { - GOOGLE_DCHECK(value != nullptr); - authenticationkeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V2.authenticationKeys) -} -inline void EntityMessage_V2::add_authenticationkeys(const char* value, size_t size) { - authenticationkeys_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V2.authenticationKeys) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V2::authenticationkeys() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V2.authenticationKeys) - return authenticationkeys_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V2::mutable_authenticationkeys() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V2.authenticationKeys) - return &authenticationkeys_; -} - -// repeated string certificates = 17; -inline int EntityMessage_V2::_internal_certificates_size() const { - return certificates_.size(); -} -inline int EntityMessage_V2::certificates_size() const { - return _internal_certificates_size(); -} -inline void EntityMessage_V2::clear_certificates() { - certificates_.Clear(); -} -inline std::string* EntityMessage_V2::add_certificates() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V2.certificates) - return _internal_add_certificates(); -} -inline const std::string& EntityMessage_V2::_internal_certificates(int index) const { - return certificates_.Get(index); -} -inline const std::string& EntityMessage_V2::certificates(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.certificates) - return _internal_certificates(index); -} -inline std::string* EntityMessage_V2::mutable_certificates(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V2.certificates) - return certificates_.Mutable(index); -} -inline void EntityMessage_V2::set_certificates(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.certificates) - certificates_.Mutable(index)->assign(value); -} -inline void EntityMessage_V2::set_certificates(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.certificates) - certificates_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V2::set_certificates(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - certificates_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V2.certificates) -} -inline void EntityMessage_V2::set_certificates(int index, const char* value, size_t size) { - certificates_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V2.certificates) -} -inline std::string* EntityMessage_V2::_internal_add_certificates() { - return certificates_.Add(); -} -inline void EntityMessage_V2::add_certificates(const std::string& value) { - certificates_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.certificates) -} -inline void EntityMessage_V2::add_certificates(std::string&& value) { - certificates_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.certificates) -} -inline void EntityMessage_V2::add_certificates(const char* value) { - GOOGLE_DCHECK(value != nullptr); - certificates_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V2.certificates) -} -inline void EntityMessage_V2::add_certificates(const char* value, size_t size) { - certificates_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V2.certificates) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V2::certificates() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V2.certificates) - return certificates_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V2::mutable_certificates() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V2.certificates) - return &certificates_; -} - -// map<string, int64> passportsCounters = 21; -inline int EntityMessage_V2::_internal_passportscounters_size() const { - return passportscounters_.size(); -} -inline int EntityMessage_V2::passportscounters_size() const { - return _internal_passportscounters_size(); -} -inline void EntityMessage_V2::clear_passportscounters() { - passportscounters_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& -EntityMessage_V2::_internal_passportscounters() const { - return passportscounters_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& -EntityMessage_V2::passportscounters() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.passportsCounters) - return _internal_passportscounters(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* -EntityMessage_V2::_internal_mutable_passportscounters() { - return passportscounters_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* -EntityMessage_V2::mutable_passportscounters() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.passportsCounters) - return _internal_mutable_passportscounters(); -} - -// map<string, .api.ContactStatus> contactStatuses = 22; -inline int EntityMessage_V2::_internal_contactstatuses_size() const { - return contactstatuses_.size(); -} -inline int EntityMessage_V2::contactstatuses_size() const { - return _internal_contactstatuses_size(); -} -inline void EntityMessage_V2::clear_contactstatuses() { - contactstatuses_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >& -EntityMessage_V2::_internal_contactstatuses() const { - return contactstatuses_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >& -EntityMessage_V2::contactstatuses() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.contactStatuses) - return _internal_contactstatuses(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >* -EntityMessage_V2::_internal_mutable_contactstatuses() { - return contactstatuses_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ContactStatus >* -EntityMessage_V2::mutable_contactstatuses() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.contactStatuses) - return _internal_mutable_contactstatuses(); -} - -// string entityCertificate = 18; -inline void EntityMessage_V2::clear_entitycertificate() { - entitycertificate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntityMessage_V2::entitycertificate() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.entityCertificate) - return _internal_entitycertificate(); -} -inline void EntityMessage_V2::set_entitycertificate(const std::string& value) { - _internal_set_entitycertificate(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.entityCertificate) -} -inline std::string* EntityMessage_V2::mutable_entitycertificate() { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V2.entityCertificate) - return _internal_mutable_entitycertificate(); -} -inline const std::string& EntityMessage_V2::_internal_entitycertificate() const { - return entitycertificate_.GetNoArena(); -} -inline void EntityMessage_V2::_internal_set_entitycertificate(const std::string& value) { - - entitycertificate_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntityMessage_V2::set_entitycertificate(std::string&& value) { - - entitycertificate_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntityMessage_V2.entityCertificate) -} -inline void EntityMessage_V2::set_entitycertificate(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - entitycertificate_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V2.entityCertificate) -} -inline void EntityMessage_V2::set_entitycertificate(const char* value, size_t size) { - - entitycertificate_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V2.entityCertificate) -} -inline std::string* EntityMessage_V2::_internal_mutable_entitycertificate() { - - return entitycertificate_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntityMessage_V2::release_entitycertificate() { - // @@protoc_insertion_point(field_release:api.EntityMessage_V2.entityCertificate) - - return entitycertificate_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntityMessage_V2::set_allocated_entitycertificate(std::string* entitycertificate) { - if (entitycertificate != nullptr) { - - } else { - - } - entitycertificate_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), entitycertificate); - // @@protoc_insertion_point(field_set_allocated:api.EntityMessage_V2.entityCertificate) -} - -// repeated string symmetricKeys = 19; -inline int EntityMessage_V2::_internal_symmetrickeys_size() const { - return symmetrickeys_.size(); -} -inline int EntityMessage_V2::symmetrickeys_size() const { - return _internal_symmetrickeys_size(); -} -inline void EntityMessage_V2::clear_symmetrickeys() { - symmetrickeys_.Clear(); -} -inline std::string* EntityMessage_V2::add_symmetrickeys() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V2.symmetricKeys) - return _internal_add_symmetrickeys(); -} -inline const std::string& EntityMessage_V2::_internal_symmetrickeys(int index) const { - return symmetrickeys_.Get(index); -} -inline const std::string& EntityMessage_V2::symmetrickeys(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.symmetricKeys) - return _internal_symmetrickeys(index); -} -inline std::string* EntityMessage_V2::mutable_symmetrickeys(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V2.symmetricKeys) - return symmetrickeys_.Mutable(index); -} -inline void EntityMessage_V2::set_symmetrickeys(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.symmetricKeys) - symmetrickeys_.Mutable(index)->assign(value); -} -inline void EntityMessage_V2::set_symmetrickeys(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.symmetricKeys) - symmetrickeys_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V2::set_symmetrickeys(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - symmetrickeys_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V2.symmetricKeys) -} -inline void EntityMessage_V2::set_symmetrickeys(int index, const char* value, size_t size) { - symmetrickeys_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V2.symmetricKeys) -} -inline std::string* EntityMessage_V2::_internal_add_symmetrickeys() { - return symmetrickeys_.Add(); -} -inline void EntityMessage_V2::add_symmetrickeys(const std::string& value) { - symmetrickeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.symmetricKeys) -} -inline void EntityMessage_V2::add_symmetrickeys(std::string&& value) { - symmetrickeys_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.symmetricKeys) -} -inline void EntityMessage_V2::add_symmetrickeys(const char* value) { - GOOGLE_DCHECK(value != nullptr); - symmetrickeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V2.symmetricKeys) -} -inline void EntityMessage_V2::add_symmetrickeys(const char* value, size_t size) { - symmetrickeys_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V2.symmetricKeys) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V2::symmetrickeys() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V2.symmetricKeys) - return symmetrickeys_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V2::mutable_symmetrickeys() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V2.symmetricKeys) - return &symmetrickeys_; -} - -// int64 created = 20; -inline void EntityMessage_V2::clear_created() { - created_ = PROTOBUF_LONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V2::_internal_created() const { - return created_; -} -inline ::PROTOBUF_NAMESPACE_ID::int64 EntityMessage_V2::created() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.created) - return _internal_created(); -} -inline void EntityMessage_V2::_internal_set_created(::PROTOBUF_NAMESPACE_ID::int64 value) { - - created_ = value; -} -inline void EntityMessage_V2::set_created(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_created(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.created) -} - -// bool temporary = 23; -inline void EntityMessage_V2::clear_temporary() { - temporary_ = false; -} -inline bool EntityMessage_V2::_internal_temporary() const { - return temporary_; -} -inline bool EntityMessage_V2::temporary() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.temporary) - return _internal_temporary(); -} -inline void EntityMessage_V2::_internal_set_temporary(bool value) { - - temporary_ = value; -} -inline void EntityMessage_V2::set_temporary(bool value) { - _internal_set_temporary(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.temporary) -} - -// repeated string pendingSharingRequests = 24; -inline int EntityMessage_V2::_internal_pendingsharingrequests_size() const { - return pendingsharingrequests_.size(); -} -inline int EntityMessage_V2::pendingsharingrequests_size() const { - return _internal_pendingsharingrequests_size(); -} -inline void EntityMessage_V2::clear_pendingsharingrequests() { - pendingsharingrequests_.Clear(); -} -inline std::string* EntityMessage_V2::add_pendingsharingrequests() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V2.pendingSharingRequests) - return _internal_add_pendingsharingrequests(); -} -inline const std::string& EntityMessage_V2::_internal_pendingsharingrequests(int index) const { - return pendingsharingrequests_.Get(index); -} -inline const std::string& EntityMessage_V2::pendingsharingrequests(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.pendingSharingRequests) - return _internal_pendingsharingrequests(index); -} -inline std::string* EntityMessage_V2::mutable_pendingsharingrequests(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V2.pendingSharingRequests) - return pendingsharingrequests_.Mutable(index); -} -inline void EntityMessage_V2::set_pendingsharingrequests(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.pendingSharingRequests) - pendingsharingrequests_.Mutable(index)->assign(value); -} -inline void EntityMessage_V2::set_pendingsharingrequests(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.pendingSharingRequests) - pendingsharingrequests_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V2::set_pendingsharingrequests(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - pendingsharingrequests_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V2.pendingSharingRequests) -} -inline void EntityMessage_V2::set_pendingsharingrequests(int index, const char* value, size_t size) { - pendingsharingrequests_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V2.pendingSharingRequests) -} -inline std::string* EntityMessage_V2::_internal_add_pendingsharingrequests() { - return pendingsharingrequests_.Add(); -} -inline void EntityMessage_V2::add_pendingsharingrequests(const std::string& value) { - pendingsharingrequests_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.pendingSharingRequests) -} -inline void EntityMessage_V2::add_pendingsharingrequests(std::string&& value) { - pendingsharingrequests_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.pendingSharingRequests) -} -inline void EntityMessage_V2::add_pendingsharingrequests(const char* value) { - GOOGLE_DCHECK(value != nullptr); - pendingsharingrequests_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V2.pendingSharingRequests) -} -inline void EntityMessage_V2::add_pendingsharingrequests(const char* value, size_t size) { - pendingsharingrequests_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V2.pendingSharingRequests) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V2::pendingsharingrequests() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V2.pendingSharingRequests) - return pendingsharingrequests_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V2::mutable_pendingsharingrequests() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V2.pendingSharingRequests) - return &pendingsharingrequests_; -} - -// repeated string rejectedSharingRequests = 25; -inline int EntityMessage_V2::_internal_rejectedsharingrequests_size() const { - return rejectedsharingrequests_.size(); -} -inline int EntityMessage_V2::rejectedsharingrequests_size() const { - return _internal_rejectedsharingrequests_size(); -} -inline void EntityMessage_V2::clear_rejectedsharingrequests() { - rejectedsharingrequests_.Clear(); -} -inline std::string* EntityMessage_V2::add_rejectedsharingrequests() { - // @@protoc_insertion_point(field_add_mutable:api.EntityMessage_V2.rejectedSharingRequests) - return _internal_add_rejectedsharingrequests(); -} -inline const std::string& EntityMessage_V2::_internal_rejectedsharingrequests(int index) const { - return rejectedsharingrequests_.Get(index); -} -inline const std::string& EntityMessage_V2::rejectedsharingrequests(int index) const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.rejectedSharingRequests) - return _internal_rejectedsharingrequests(index); -} -inline std::string* EntityMessage_V2::mutable_rejectedsharingrequests(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityMessage_V2.rejectedSharingRequests) - return rejectedsharingrequests_.Mutable(index); -} -inline void EntityMessage_V2::set_rejectedsharingrequests(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.rejectedSharingRequests) - rejectedsharingrequests_.Mutable(index)->assign(value); -} -inline void EntityMessage_V2::set_rejectedsharingrequests(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.rejectedSharingRequests) - rejectedsharingrequests_.Mutable(index)->assign(std::move(value)); -} -inline void EntityMessage_V2::set_rejectedsharingrequests(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - rejectedsharingrequests_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.EntityMessage_V2.rejectedSharingRequests) -} -inline void EntityMessage_V2::set_rejectedsharingrequests(int index, const char* value, size_t size) { - rejectedsharingrequests_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.EntityMessage_V2.rejectedSharingRequests) -} -inline std::string* EntityMessage_V2::_internal_add_rejectedsharingrequests() { - return rejectedsharingrequests_.Add(); -} -inline void EntityMessage_V2::add_rejectedsharingrequests(const std::string& value) { - rejectedsharingrequests_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.rejectedSharingRequests) -} -inline void EntityMessage_V2::add_rejectedsharingrequests(std::string&& value) { - rejectedsharingrequests_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.EntityMessage_V2.rejectedSharingRequests) -} -inline void EntityMessage_V2::add_rejectedsharingrequests(const char* value) { - GOOGLE_DCHECK(value != nullptr); - rejectedsharingrequests_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.EntityMessage_V2.rejectedSharingRequests) -} -inline void EntityMessage_V2::add_rejectedsharingrequests(const char* value, size_t size) { - rejectedsharingrequests_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.EntityMessage_V2.rejectedSharingRequests) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -EntityMessage_V2::rejectedsharingrequests() const { - // @@protoc_insertion_point(field_list:api.EntityMessage_V2.rejectedSharingRequests) - return rejectedsharingrequests_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -EntityMessage_V2::mutable_rejectedsharingrequests() { - // @@protoc_insertion_point(field_mutable_list:api.EntityMessage_V2.rejectedSharingRequests) - return &rejectedsharingrequests_; -} - -// bool deleted = 26; -inline void EntityMessage_V2::clear_deleted() { - deleted_ = false; -} -inline bool EntityMessage_V2::_internal_deleted() const { - return deleted_; -} -inline bool EntityMessage_V2::deleted() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.deleted) - return _internal_deleted(); -} -inline void EntityMessage_V2::_internal_set_deleted(bool value) { - - deleted_ = value; -} -inline void EntityMessage_V2::set_deleted(bool value) { - _internal_set_deleted(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.deleted) -} - -// map<string, .api.OrderStatus> orders = 27; -inline int EntityMessage_V2::_internal_orders_size() const { - return orders_.size(); -} -inline int EntityMessage_V2::orders_size() const { - return _internal_orders_size(); -} -inline void EntityMessage_V2::clear_orders() { - orders_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >& -EntityMessage_V2::_internal_orders() const { - return orders_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >& -EntityMessage_V2::orders() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.orders) - return _internal_orders(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >* -EntityMessage_V2::_internal_mutable_orders() { - return orders_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::OrderStatus >* -EntityMessage_V2::mutable_orders() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.orders) - return _internal_mutable_orders(); -} - -// map<string, .api.RelationStatus> systemParents = 28; -inline int EntityMessage_V2::_internal_systemparents_size() const { - return systemparents_.size(); -} -inline int EntityMessage_V2::systemparents_size() const { - return _internal_systemparents_size(); -} -inline void EntityMessage_V2::clear_systemparents() { - systemparents_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_systemparents() const { - return systemparents_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::systemparents() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.systemParents) - return _internal_systemparents(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_systemparents() { - return systemparents_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_systemparents() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.systemParents) - return _internal_mutable_systemparents(); -} - -// map<string, .api.RelationStatus> systemChildren = 29; -inline int EntityMessage_V2::_internal_systemchildren_size() const { - return systemchildren_.size(); -} -inline int EntityMessage_V2::systemchildren_size() const { - return _internal_systemchildren_size(); -} -inline void EntityMessage_V2::clear_systemchildren() { - systemchildren_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::_internal_systemchildren() const { - return systemchildren_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >& -EntityMessage_V2::systemchildren() const { - // @@protoc_insertion_point(field_map:api.EntityMessage_V2.systemChildren) - return _internal_systemchildren(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::_internal_mutable_systemchildren() { - return systemchildren_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::RelationStatus >* -EntityMessage_V2::mutable_systemchildren() { - // @@protoc_insertion_point(field_mutable_map:api.EntityMessage_V2.systemChildren) - return _internal_mutable_systemchildren(); -} - -// bool shared = 30; -inline void EntityMessage_V2::clear_shared() { - shared_ = false; -} -inline bool EntityMessage_V2::_internal_shared() const { - return shared_; -} -inline bool EntityMessage_V2::shared() const { - // @@protoc_insertion_point(field_get:api.EntityMessage_V2.shared) - return _internal_shared(); -} -inline void EntityMessage_V2::_internal_set_shared(bool value) { - - shared_ = value; -} -inline void EntityMessage_V2::set_shared(bool value) { - _internal_set_shared(value); - // @@protoc_insertion_point(field_set:api.EntityMessage_V2.shared) -} - -// ------------------------------------------------------------------- - -// EntityMessageResponse - -// ------------------------------------------------------------------- - -// EntityList - -// repeated .api.EntityMessage_V2 history = 1; -inline int EntityList::_internal_history_size() const { - return history_.size(); -} -inline int EntityList::history_size() const { - return _internal_history_size(); -} -inline void EntityList::clear_history() { - history_.Clear(); -} -inline ::api::EntityMessage_V2* EntityList::mutable_history(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityList.history) - return history_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >* -EntityList::mutable_history() { - // @@protoc_insertion_point(field_mutable_list:api.EntityList.history) - return &history_; -} -inline const ::api::EntityMessage_V2& EntityList::_internal_history(int index) const { - return history_.Get(index); -} -inline const ::api::EntityMessage_V2& EntityList::history(int index) const { - // @@protoc_insertion_point(field_get:api.EntityList.history) - return _internal_history(index); -} -inline ::api::EntityMessage_V2* EntityList::_internal_add_history() { - return history_.Add(); -} -inline ::api::EntityMessage_V2* EntityList::add_history() { - // @@protoc_insertion_point(field_add:api.EntityList.history) - return _internal_add_history(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >& -EntityList::history() const { - // @@protoc_insertion_point(field_list:api.EntityList.history) - return history_; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// EntityHistoryMessage - -// map<string, .api.EntityList> historyByUUID = 1; -inline int EntityHistoryMessage::_internal_historybyuuid_size() const { - return historybyuuid_.size(); -} -inline int EntityHistoryMessage::historybyuuid_size() const { - return _internal_historybyuuid_size(); -} -inline void EntityHistoryMessage::clear_historybyuuid() { - historybyuuid_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >& -EntityHistoryMessage::_internal_historybyuuid() const { - return historybyuuid_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >& -EntityHistoryMessage::historybyuuid() const { - // @@protoc_insertion_point(field_map:api.EntityHistoryMessage.historyByUUID) - return _internal_historybyuuid(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >* -EntityHistoryMessage::_internal_mutable_historybyuuid() { - return historybyuuid_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityList >* -EntityHistoryMessage::mutable_historybyuuid() { - // @@protoc_insertion_point(field_mutable_map:api.EntityHistoryMessage.historyByUUID) - return _internal_mutable_historybyuuid(); -} - -// ------------------------------------------------------------------- - -// EntitySearchMessage - -// string uuid = 1; -inline void EntitySearchMessage::clear_uuid() { - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntitySearchMessage::uuid() const { - // @@protoc_insertion_point(field_get:api.EntitySearchMessage.uuid) - return _internal_uuid(); -} -inline void EntitySearchMessage::set_uuid(const std::string& value) { - _internal_set_uuid(value); - // @@protoc_insertion_point(field_set:api.EntitySearchMessage.uuid) -} -inline std::string* EntitySearchMessage::mutable_uuid() { - // @@protoc_insertion_point(field_mutable:api.EntitySearchMessage.uuid) - return _internal_mutable_uuid(); -} -inline const std::string& EntitySearchMessage::_internal_uuid() const { - return uuid_.GetNoArena(); -} -inline void EntitySearchMessage::_internal_set_uuid(const std::string& value) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntitySearchMessage::set_uuid(std::string&& value) { - - uuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntitySearchMessage.uuid) -} -inline void EntitySearchMessage::set_uuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntitySearchMessage.uuid) -} -inline void EntitySearchMessage::set_uuid(const char* value, size_t size) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntitySearchMessage.uuid) -} -inline std::string* EntitySearchMessage::_internal_mutable_uuid() { - - return uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntitySearchMessage::release_uuid() { - // @@protoc_insertion_point(field_release:api.EntitySearchMessage.uuid) - - return uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntitySearchMessage::set_allocated_uuid(std::string* uuid) { - if (uuid != nullptr) { - - } else { - - } - uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), uuid); - // @@protoc_insertion_point(field_set_allocated:api.EntitySearchMessage.uuid) -} - -// string from = 2; -inline void EntitySearchMessage::clear_from() { - from_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntitySearchMessage::from() const { - // @@protoc_insertion_point(field_get:api.EntitySearchMessage.from) - return _internal_from(); -} -inline void EntitySearchMessage::set_from(const std::string& value) { - _internal_set_from(value); - // @@protoc_insertion_point(field_set:api.EntitySearchMessage.from) -} -inline std::string* EntitySearchMessage::mutable_from() { - // @@protoc_insertion_point(field_mutable:api.EntitySearchMessage.from) - return _internal_mutable_from(); -} -inline const std::string& EntitySearchMessage::_internal_from() const { - return from_.GetNoArena(); -} -inline void EntitySearchMessage::_internal_set_from(const std::string& value) { - - from_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntitySearchMessage::set_from(std::string&& value) { - - from_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntitySearchMessage.from) -} -inline void EntitySearchMessage::set_from(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - from_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntitySearchMessage.from) -} -inline void EntitySearchMessage::set_from(const char* value, size_t size) { - - from_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntitySearchMessage.from) -} -inline std::string* EntitySearchMessage::_internal_mutable_from() { - - return from_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntitySearchMessage::release_from() { - // @@protoc_insertion_point(field_release:api.EntitySearchMessage.from) - - return from_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntitySearchMessage::set_allocated_from(std::string* from) { - if (from != nullptr) { - - } else { - - } - from_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from); - // @@protoc_insertion_point(field_set_allocated:api.EntitySearchMessage.from) -} - -// string to = 3; -inline void EntitySearchMessage::clear_to() { - to_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntitySearchMessage::to() const { - // @@protoc_insertion_point(field_get:api.EntitySearchMessage.to) - return _internal_to(); -} -inline void EntitySearchMessage::set_to(const std::string& value) { - _internal_set_to(value); - // @@protoc_insertion_point(field_set:api.EntitySearchMessage.to) -} -inline std::string* EntitySearchMessage::mutable_to() { - // @@protoc_insertion_point(field_mutable:api.EntitySearchMessage.to) - return _internal_mutable_to(); -} -inline const std::string& EntitySearchMessage::_internal_to() const { - return to_.GetNoArena(); -} -inline void EntitySearchMessage::_internal_set_to(const std::string& value) { - - to_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntitySearchMessage::set_to(std::string&& value) { - - to_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntitySearchMessage.to) -} -inline void EntitySearchMessage::set_to(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - to_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntitySearchMessage.to) -} -inline void EntitySearchMessage::set_to(const char* value, size_t size) { - - to_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntitySearchMessage.to) -} -inline std::string* EntitySearchMessage::_internal_mutable_to() { - - return to_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntitySearchMessage::release_to() { - // @@protoc_insertion_point(field_release:api.EntitySearchMessage.to) - - return to_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntitySearchMessage::set_allocated_to(std::string* to) { - if (to != nullptr) { - - } else { - - } - to_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), to); - // @@protoc_insertion_point(field_set_allocated:api.EntitySearchMessage.to) -} - -// .api.EntityType type = 4; -inline void EntitySearchMessage::clear_type() { - type_ = 0; -} -inline ::api::EntityType EntitySearchMessage::_internal_type() const { - return static_cast< ::api::EntityType >(type_); -} -inline ::api::EntityType EntitySearchMessage::type() const { - // @@protoc_insertion_point(field_get:api.EntitySearchMessage.type) - return _internal_type(); -} -inline void EntitySearchMessage::_internal_set_type(::api::EntityType value) { - - type_ = value; -} -inline void EntitySearchMessage::set_type(::api::EntityType value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:api.EntitySearchMessage.type) -} - -// .api.SearchType searchType = 5; -inline void EntitySearchMessage::clear_searchtype() { - searchtype_ = 0; -} -inline ::api::SearchType EntitySearchMessage::_internal_searchtype() const { - return static_cast< ::api::SearchType >(searchtype_); -} -inline ::api::SearchType EntitySearchMessage::searchtype() const { - // @@protoc_insertion_point(field_get:api.EntitySearchMessage.searchType) - return _internal_searchtype(); -} -inline void EntitySearchMessage::_internal_set_searchtype(::api::SearchType value) { - - searchtype_ = value; -} -inline void EntitySearchMessage::set_searchtype(::api::SearchType value) { - _internal_set_searchtype(value); - // @@protoc_insertion_point(field_set:api.EntitySearchMessage.searchType) -} - -// ------------------------------------------------------------------- - -// ClaimInvitationMessage - -// string fromUUID = 1; -inline void ClaimInvitationMessage::clear_fromuuid() { - fromuuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ClaimInvitationMessage::fromuuid() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationMessage.fromUUID) - return _internal_fromuuid(); -} -inline void ClaimInvitationMessage::set_fromuuid(const std::string& value) { - _internal_set_fromuuid(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationMessage.fromUUID) -} -inline std::string* ClaimInvitationMessage::mutable_fromuuid() { - // @@protoc_insertion_point(field_mutable:api.ClaimInvitationMessage.fromUUID) - return _internal_mutable_fromuuid(); -} -inline const std::string& ClaimInvitationMessage::_internal_fromuuid() const { - return fromuuid_.GetNoArena(); -} -inline void ClaimInvitationMessage::_internal_set_fromuuid(const std::string& value) { - - fromuuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ClaimInvitationMessage::set_fromuuid(std::string&& value) { - - fromuuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.ClaimInvitationMessage.fromUUID) -} -inline void ClaimInvitationMessage::set_fromuuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - fromuuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.ClaimInvitationMessage.fromUUID) -} -inline void ClaimInvitationMessage::set_fromuuid(const char* value, size_t size) { - - fromuuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.ClaimInvitationMessage.fromUUID) -} -inline std::string* ClaimInvitationMessage::_internal_mutable_fromuuid() { - - return fromuuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ClaimInvitationMessage::release_fromuuid() { - // @@protoc_insertion_point(field_release:api.ClaimInvitationMessage.fromUUID) - - return fromuuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ClaimInvitationMessage::set_allocated_fromuuid(std::string* fromuuid) { - if (fromuuid != nullptr) { - - } else { - - } - fromuuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fromuuid); - // @@protoc_insertion_point(field_set_allocated:api.ClaimInvitationMessage.fromUUID) -} - -// string toUUID = 2; -inline void ClaimInvitationMessage::clear_touuid() { - touuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ClaimInvitationMessage::touuid() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationMessage.toUUID) - return _internal_touuid(); -} -inline void ClaimInvitationMessage::set_touuid(const std::string& value) { - _internal_set_touuid(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationMessage.toUUID) -} -inline std::string* ClaimInvitationMessage::mutable_touuid() { - // @@protoc_insertion_point(field_mutable:api.ClaimInvitationMessage.toUUID) - return _internal_mutable_touuid(); -} -inline const std::string& ClaimInvitationMessage::_internal_touuid() const { - return touuid_.GetNoArena(); -} -inline void ClaimInvitationMessage::_internal_set_touuid(const std::string& value) { - - touuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ClaimInvitationMessage::set_touuid(std::string&& value) { - - touuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.ClaimInvitationMessage.toUUID) -} -inline void ClaimInvitationMessage::set_touuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - touuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.ClaimInvitationMessage.toUUID) -} -inline void ClaimInvitationMessage::set_touuid(const char* value, size_t size) { - - touuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.ClaimInvitationMessage.toUUID) -} -inline std::string* ClaimInvitationMessage::_internal_mutable_touuid() { - - return touuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ClaimInvitationMessage::release_touuid() { - // @@protoc_insertion_point(field_release:api.ClaimInvitationMessage.toUUID) - - return touuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ClaimInvitationMessage::set_allocated_touuid(std::string* touuid) { - if (touuid != nullptr) { - - } else { - - } - touuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), touuid); - // @@protoc_insertion_point(field_set_allocated:api.ClaimInvitationMessage.toUUID) -} - -// string claimName = 3; -inline void ClaimInvitationMessage::clear_claimname() { - claimname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ClaimInvitationMessage::claimname() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationMessage.claimName) - return _internal_claimname(); -} -inline void ClaimInvitationMessage::set_claimname(const std::string& value) { - _internal_set_claimname(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationMessage.claimName) -} -inline std::string* ClaimInvitationMessage::mutable_claimname() { - // @@protoc_insertion_point(field_mutable:api.ClaimInvitationMessage.claimName) - return _internal_mutable_claimname(); -} -inline const std::string& ClaimInvitationMessage::_internal_claimname() const { - return claimname_.GetNoArena(); -} -inline void ClaimInvitationMessage::_internal_set_claimname(const std::string& value) { - - claimname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ClaimInvitationMessage::set_claimname(std::string&& value) { - - claimname_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.ClaimInvitationMessage.claimName) -} -inline void ClaimInvitationMessage::set_claimname(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - claimname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.ClaimInvitationMessage.claimName) -} -inline void ClaimInvitationMessage::set_claimname(const char* value, size_t size) { - - claimname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.ClaimInvitationMessage.claimName) -} -inline std::string* ClaimInvitationMessage::_internal_mutable_claimname() { - - return claimname_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ClaimInvitationMessage::release_claimname() { - // @@protoc_insertion_point(field_release:api.ClaimInvitationMessage.claimName) - - return claimname_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ClaimInvitationMessage::set_allocated_claimname(std::string* claimname) { - if (claimname != nullptr) { - - } else { - - } - claimname_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), claimname); - // @@protoc_insertion_point(field_set_allocated:api.ClaimInvitationMessage.claimName) -} - -// .api.ClaimInvitationStatus status = 4; -inline void ClaimInvitationMessage::clear_status() { - status_ = 0; -} -inline ::api::ClaimInvitationStatus ClaimInvitationMessage::_internal_status() const { - return static_cast< ::api::ClaimInvitationStatus >(status_); -} -inline ::api::ClaimInvitationStatus ClaimInvitationMessage::status() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationMessage.status) - return _internal_status(); -} -inline void ClaimInvitationMessage::_internal_set_status(::api::ClaimInvitationStatus value) { - - status_ = value; -} -inline void ClaimInvitationMessage::set_status(::api::ClaimInvitationStatus value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationMessage.status) -} - -// int64 stamp = 5; -inline void ClaimInvitationMessage::clear_stamp() { - stamp_ = PROTOBUF_LONGLONG(0); -} -inline ::PROTOBUF_NAMESPACE_ID::int64 ClaimInvitationMessage::_internal_stamp() const { - return stamp_; -} -inline ::PROTOBUF_NAMESPACE_ID::int64 ClaimInvitationMessage::stamp() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationMessage.stamp) - return _internal_stamp(); -} -inline void ClaimInvitationMessage::_internal_set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - - stamp_ = value; -} -inline void ClaimInvitationMessage::set_stamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_stamp(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationMessage.stamp) -} - -// ------------------------------------------------------------------- - -// ClaimInvitationMessageResponse - -// ------------------------------------------------------------------- - -// ClaimInvitationSearchMessage - -// string fromUUID = 1; -inline void ClaimInvitationSearchMessage::clear_fromuuid() { - fromuuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ClaimInvitationSearchMessage::fromuuid() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationSearchMessage.fromUUID) - return _internal_fromuuid(); -} -inline void ClaimInvitationSearchMessage::set_fromuuid(const std::string& value) { - _internal_set_fromuuid(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationSearchMessage.fromUUID) -} -inline std::string* ClaimInvitationSearchMessage::mutable_fromuuid() { - // @@protoc_insertion_point(field_mutable:api.ClaimInvitationSearchMessage.fromUUID) - return _internal_mutable_fromuuid(); -} -inline const std::string& ClaimInvitationSearchMessage::_internal_fromuuid() const { - return fromuuid_.GetNoArena(); -} -inline void ClaimInvitationSearchMessage::_internal_set_fromuuid(const std::string& value) { - - fromuuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ClaimInvitationSearchMessage::set_fromuuid(std::string&& value) { - - fromuuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.ClaimInvitationSearchMessage.fromUUID) -} -inline void ClaimInvitationSearchMessage::set_fromuuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - fromuuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.ClaimInvitationSearchMessage.fromUUID) -} -inline void ClaimInvitationSearchMessage::set_fromuuid(const char* value, size_t size) { - - fromuuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.ClaimInvitationSearchMessage.fromUUID) -} -inline std::string* ClaimInvitationSearchMessage::_internal_mutable_fromuuid() { - - return fromuuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ClaimInvitationSearchMessage::release_fromuuid() { - // @@protoc_insertion_point(field_release:api.ClaimInvitationSearchMessage.fromUUID) - - return fromuuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ClaimInvitationSearchMessage::set_allocated_fromuuid(std::string* fromuuid) { - if (fromuuid != nullptr) { - - } else { - - } - fromuuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fromuuid); - // @@protoc_insertion_point(field_set_allocated:api.ClaimInvitationSearchMessage.fromUUID) -} - -// string toUUID = 2; -inline void ClaimInvitationSearchMessage::clear_touuid() { - touuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ClaimInvitationSearchMessage::touuid() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationSearchMessage.toUUID) - return _internal_touuid(); -} -inline void ClaimInvitationSearchMessage::set_touuid(const std::string& value) { - _internal_set_touuid(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationSearchMessage.toUUID) -} -inline std::string* ClaimInvitationSearchMessage::mutable_touuid() { - // @@protoc_insertion_point(field_mutable:api.ClaimInvitationSearchMessage.toUUID) - return _internal_mutable_touuid(); -} -inline const std::string& ClaimInvitationSearchMessage::_internal_touuid() const { - return touuid_.GetNoArena(); -} -inline void ClaimInvitationSearchMessage::_internal_set_touuid(const std::string& value) { - - touuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ClaimInvitationSearchMessage::set_touuid(std::string&& value) { - - touuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.ClaimInvitationSearchMessage.toUUID) -} -inline void ClaimInvitationSearchMessage::set_touuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - touuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.ClaimInvitationSearchMessage.toUUID) -} -inline void ClaimInvitationSearchMessage::set_touuid(const char* value, size_t size) { - - touuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.ClaimInvitationSearchMessage.toUUID) -} -inline std::string* ClaimInvitationSearchMessage::_internal_mutable_touuid() { - - return touuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ClaimInvitationSearchMessage::release_touuid() { - // @@protoc_insertion_point(field_release:api.ClaimInvitationSearchMessage.toUUID) - - return touuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ClaimInvitationSearchMessage::set_allocated_touuid(std::string* touuid) { - if (touuid != nullptr) { - - } else { - - } - touuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), touuid); - // @@protoc_insertion_point(field_set_allocated:api.ClaimInvitationSearchMessage.toUUID) -} - -// string claimName = 3; -inline void ClaimInvitationSearchMessage::clear_claimname() { - claimname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ClaimInvitationSearchMessage::claimname() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationSearchMessage.claimName) - return _internal_claimname(); -} -inline void ClaimInvitationSearchMessage::set_claimname(const std::string& value) { - _internal_set_claimname(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationSearchMessage.claimName) -} -inline std::string* ClaimInvitationSearchMessage::mutable_claimname() { - // @@protoc_insertion_point(field_mutable:api.ClaimInvitationSearchMessage.claimName) - return _internal_mutable_claimname(); -} -inline const std::string& ClaimInvitationSearchMessage::_internal_claimname() const { - return claimname_.GetNoArena(); -} -inline void ClaimInvitationSearchMessage::_internal_set_claimname(const std::string& value) { - - claimname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ClaimInvitationSearchMessage::set_claimname(std::string&& value) { - - claimname_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.ClaimInvitationSearchMessage.claimName) -} -inline void ClaimInvitationSearchMessage::set_claimname(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - claimname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.ClaimInvitationSearchMessage.claimName) -} -inline void ClaimInvitationSearchMessage::set_claimname(const char* value, size_t size) { - - claimname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.ClaimInvitationSearchMessage.claimName) -} -inline std::string* ClaimInvitationSearchMessage::_internal_mutable_claimname() { - - return claimname_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ClaimInvitationSearchMessage::release_claimname() { - // @@protoc_insertion_point(field_release:api.ClaimInvitationSearchMessage.claimName) - - return claimname_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ClaimInvitationSearchMessage::set_allocated_claimname(std::string* claimname) { - if (claimname != nullptr) { - - } else { - - } - claimname_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), claimname); - // @@protoc_insertion_point(field_set_allocated:api.ClaimInvitationSearchMessage.claimName) -} - -// string from = 4; -inline void ClaimInvitationSearchMessage::clear_from() { - from_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ClaimInvitationSearchMessage::from() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationSearchMessage.from) - return _internal_from(); -} -inline void ClaimInvitationSearchMessage::set_from(const std::string& value) { - _internal_set_from(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationSearchMessage.from) -} -inline std::string* ClaimInvitationSearchMessage::mutable_from() { - // @@protoc_insertion_point(field_mutable:api.ClaimInvitationSearchMessage.from) - return _internal_mutable_from(); -} -inline const std::string& ClaimInvitationSearchMessage::_internal_from() const { - return from_.GetNoArena(); -} -inline void ClaimInvitationSearchMessage::_internal_set_from(const std::string& value) { - - from_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ClaimInvitationSearchMessage::set_from(std::string&& value) { - - from_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.ClaimInvitationSearchMessage.from) -} -inline void ClaimInvitationSearchMessage::set_from(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - from_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.ClaimInvitationSearchMessage.from) -} -inline void ClaimInvitationSearchMessage::set_from(const char* value, size_t size) { - - from_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.ClaimInvitationSearchMessage.from) -} -inline std::string* ClaimInvitationSearchMessage::_internal_mutable_from() { - - return from_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ClaimInvitationSearchMessage::release_from() { - // @@protoc_insertion_point(field_release:api.ClaimInvitationSearchMessage.from) - - return from_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ClaimInvitationSearchMessage::set_allocated_from(std::string* from) { - if (from != nullptr) { - - } else { - - } - from_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from); - // @@protoc_insertion_point(field_set_allocated:api.ClaimInvitationSearchMessage.from) -} - -// string to = 5; -inline void ClaimInvitationSearchMessage::clear_to() { - to_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ClaimInvitationSearchMessage::to() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationSearchMessage.to) - return _internal_to(); -} -inline void ClaimInvitationSearchMessage::set_to(const std::string& value) { - _internal_set_to(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationSearchMessage.to) -} -inline std::string* ClaimInvitationSearchMessage::mutable_to() { - // @@protoc_insertion_point(field_mutable:api.ClaimInvitationSearchMessage.to) - return _internal_mutable_to(); -} -inline const std::string& ClaimInvitationSearchMessage::_internal_to() const { - return to_.GetNoArena(); -} -inline void ClaimInvitationSearchMessage::_internal_set_to(const std::string& value) { - - to_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ClaimInvitationSearchMessage::set_to(std::string&& value) { - - to_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.ClaimInvitationSearchMessage.to) -} -inline void ClaimInvitationSearchMessage::set_to(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - to_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.ClaimInvitationSearchMessage.to) -} -inline void ClaimInvitationSearchMessage::set_to(const char* value, size_t size) { - - to_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.ClaimInvitationSearchMessage.to) -} -inline std::string* ClaimInvitationSearchMessage::_internal_mutable_to() { - - return to_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ClaimInvitationSearchMessage::release_to() { - // @@protoc_insertion_point(field_release:api.ClaimInvitationSearchMessage.to) - - return to_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ClaimInvitationSearchMessage::set_allocated_to(std::string* to) { - if (to != nullptr) { - - } else { - - } - to_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), to); - // @@protoc_insertion_point(field_set_allocated:api.ClaimInvitationSearchMessage.to) -} - -// .api.SearchType searchType = 6; -inline void ClaimInvitationSearchMessage::clear_searchtype() { - searchtype_ = 0; -} -inline ::api::SearchType ClaimInvitationSearchMessage::_internal_searchtype() const { - return static_cast< ::api::SearchType >(searchtype_); -} -inline ::api::SearchType ClaimInvitationSearchMessage::searchtype() const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationSearchMessage.searchType) - return _internal_searchtype(); -} -inline void ClaimInvitationSearchMessage::_internal_set_searchtype(::api::SearchType value) { - - searchtype_ = value; -} -inline void ClaimInvitationSearchMessage::set_searchtype(::api::SearchType value) { - _internal_set_searchtype(value); - // @@protoc_insertion_point(field_set:api.ClaimInvitationSearchMessage.searchType) -} - -// ------------------------------------------------------------------- - -// ClaimInvitationList - -// repeated .api.ClaimInvitationMessage history = 1; -inline int ClaimInvitationList::_internal_history_size() const { - return history_.size(); -} -inline int ClaimInvitationList::history_size() const { - return _internal_history_size(); -} -inline void ClaimInvitationList::clear_history() { - history_.Clear(); -} -inline ::api::ClaimInvitationMessage* ClaimInvitationList::mutable_history(int index) { - // @@protoc_insertion_point(field_mutable:api.ClaimInvitationList.history) - return history_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::ClaimInvitationMessage >* -ClaimInvitationList::mutable_history() { - // @@protoc_insertion_point(field_mutable_list:api.ClaimInvitationList.history) - return &history_; -} -inline const ::api::ClaimInvitationMessage& ClaimInvitationList::_internal_history(int index) const { - return history_.Get(index); -} -inline const ::api::ClaimInvitationMessage& ClaimInvitationList::history(int index) const { - // @@protoc_insertion_point(field_get:api.ClaimInvitationList.history) - return _internal_history(index); -} -inline ::api::ClaimInvitationMessage* ClaimInvitationList::_internal_add_history() { - return history_.Add(); -} -inline ::api::ClaimInvitationMessage* ClaimInvitationList::add_history() { - // @@protoc_insertion_point(field_add:api.ClaimInvitationList.history) - return _internal_add_history(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::ClaimInvitationMessage >& -ClaimInvitationList::history() const { - // @@protoc_insertion_point(field_list:api.ClaimInvitationList.history) - return history_; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ClaimInvitationHistoryMessage - -// map<string, .api.ClaimInvitationList> historyByClaimInvitation = 1; -inline int ClaimInvitationHistoryMessage::_internal_historybyclaiminvitation_size() const { - return historybyclaiminvitation_.size(); -} -inline int ClaimInvitationHistoryMessage::historybyclaiminvitation_size() const { - return _internal_historybyclaiminvitation_size(); -} -inline void ClaimInvitationHistoryMessage::clear_historybyclaiminvitation() { - historybyclaiminvitation_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >& -ClaimInvitationHistoryMessage::_internal_historybyclaiminvitation() const { - return historybyclaiminvitation_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >& -ClaimInvitationHistoryMessage::historybyclaiminvitation() const { - // @@protoc_insertion_point(field_map:api.ClaimInvitationHistoryMessage.historyByClaimInvitation) - return _internal_historybyclaiminvitation(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >* -ClaimInvitationHistoryMessage::_internal_mutable_historybyclaiminvitation() { - return historybyclaiminvitation_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::ClaimInvitationList >* -ClaimInvitationHistoryMessage::mutable_historybyclaiminvitation() { - // @@protoc_insertion_point(field_mutable_map:api.ClaimInvitationHistoryMessage.historyByClaimInvitation) - return _internal_mutable_historybyclaiminvitation(); -} - -// ------------------------------------------------------------------- - -// GetVersionEMAMessage - -// ------------------------------------------------------------------- - -// GetVersionEMAResponseMessage - -// string version = 1; -inline void GetVersionEMAResponseMessage::clear_version() { - version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& GetVersionEMAResponseMessage::version() const { - // @@protoc_insertion_point(field_get:api.GetVersionEMAResponseMessage.version) - return _internal_version(); -} -inline void GetVersionEMAResponseMessage::set_version(const std::string& value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:api.GetVersionEMAResponseMessage.version) -} -inline std::string* GetVersionEMAResponseMessage::mutable_version() { - // @@protoc_insertion_point(field_mutable:api.GetVersionEMAResponseMessage.version) - return _internal_mutable_version(); -} -inline const std::string& GetVersionEMAResponseMessage::_internal_version() const { - return version_.GetNoArena(); -} -inline void GetVersionEMAResponseMessage::_internal_set_version(const std::string& value) { - - version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void GetVersionEMAResponseMessage::set_version(std::string&& value) { - - version_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.GetVersionEMAResponseMessage.version) -} -inline void GetVersionEMAResponseMessage::set_version(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.GetVersionEMAResponseMessage.version) -} -inline void GetVersionEMAResponseMessage::set_version(const char* value, size_t size) { - - version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.GetVersionEMAResponseMessage.version) -} -inline std::string* GetVersionEMAResponseMessage::_internal_mutable_version() { - - return version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* GetVersionEMAResponseMessage::release_version() { - // @@protoc_insertion_point(field_release:api.GetVersionEMAResponseMessage.version) - - return version_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void GetVersionEMAResponseMessage::set_allocated_version(std::string* version) { - if (version != nullptr) { - - } else { - - } - version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version); - // @@protoc_insertion_point(field_set_allocated:api.GetVersionEMAResponseMessage.version) -} - -// ------------------------------------------------------------------- - -// GetEntitiesTailsMessage - -// repeated string uuids = 1; -inline int GetEntitiesTailsMessage::_internal_uuids_size() const { - return uuids_.size(); -} -inline int GetEntitiesTailsMessage::uuids_size() const { - return _internal_uuids_size(); -} -inline void GetEntitiesTailsMessage::clear_uuids() { - uuids_.Clear(); -} -inline std::string* GetEntitiesTailsMessage::add_uuids() { - // @@protoc_insertion_point(field_add_mutable:api.GetEntitiesTailsMessage.uuids) - return _internal_add_uuids(); -} -inline const std::string& GetEntitiesTailsMessage::_internal_uuids(int index) const { - return uuids_.Get(index); -} -inline const std::string& GetEntitiesTailsMessage::uuids(int index) const { - // @@protoc_insertion_point(field_get:api.GetEntitiesTailsMessage.uuids) - return _internal_uuids(index); -} -inline std::string* GetEntitiesTailsMessage::mutable_uuids(int index) { - // @@protoc_insertion_point(field_mutable:api.GetEntitiesTailsMessage.uuids) - return uuids_.Mutable(index); -} -inline void GetEntitiesTailsMessage::set_uuids(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.GetEntitiesTailsMessage.uuids) - uuids_.Mutable(index)->assign(value); -} -inline void GetEntitiesTailsMessage::set_uuids(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.GetEntitiesTailsMessage.uuids) - uuids_.Mutable(index)->assign(std::move(value)); -} -inline void GetEntitiesTailsMessage::set_uuids(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - uuids_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.GetEntitiesTailsMessage.uuids) -} -inline void GetEntitiesTailsMessage::set_uuids(int index, const char* value, size_t size) { - uuids_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.GetEntitiesTailsMessage.uuids) -} -inline std::string* GetEntitiesTailsMessage::_internal_add_uuids() { - return uuids_.Add(); -} -inline void GetEntitiesTailsMessage::add_uuids(const std::string& value) { - uuids_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.GetEntitiesTailsMessage.uuids) -} -inline void GetEntitiesTailsMessage::add_uuids(std::string&& value) { - uuids_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.GetEntitiesTailsMessage.uuids) -} -inline void GetEntitiesTailsMessage::add_uuids(const char* value) { - GOOGLE_DCHECK(value != nullptr); - uuids_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.GetEntitiesTailsMessage.uuids) -} -inline void GetEntitiesTailsMessage::add_uuids(const char* value, size_t size) { - uuids_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.GetEntitiesTailsMessage.uuids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -GetEntitiesTailsMessage::uuids() const { - // @@protoc_insertion_point(field_list:api.GetEntitiesTailsMessage.uuids) - return uuids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -GetEntitiesTailsMessage::mutable_uuids() { - // @@protoc_insertion_point(field_mutable_list:api.GetEntitiesTailsMessage.uuids) - return &uuids_; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// GetEntitiesTailsResponseMessage - -// map<string, .api.EntityMessage_V2> entities = 1; -inline int GetEntitiesTailsResponseMessage::_internal_entities_size() const { - return entities_.size(); -} -inline int GetEntitiesTailsResponseMessage::entities_size() const { - return _internal_entities_size(); -} -inline void GetEntitiesTailsResponseMessage::clear_entities() { - entities_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >& -GetEntitiesTailsResponseMessage::_internal_entities() const { - return entities_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >& -GetEntitiesTailsResponseMessage::entities() const { - // @@protoc_insertion_point(field_map:api.GetEntitiesTailsResponseMessage.entities) - return _internal_entities(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >* -GetEntitiesTailsResponseMessage::_internal_mutable_entities() { - return entities_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::api::EntityMessage_V2 >* -GetEntitiesTailsResponseMessage::mutable_entities() { - // @@protoc_insertion_point(field_mutable_map:api.GetEntitiesTailsResponseMessage.entities) - return _internal_mutable_entities(); -} - -// ------------------------------------------------------------------- - -// GetEntitiesCountersMessage - -// repeated string uuids = 1; -inline int GetEntitiesCountersMessage::_internal_uuids_size() const { - return uuids_.size(); -} -inline int GetEntitiesCountersMessage::uuids_size() const { - return _internal_uuids_size(); -} -inline void GetEntitiesCountersMessage::clear_uuids() { - uuids_.Clear(); -} -inline std::string* GetEntitiesCountersMessage::add_uuids() { - // @@protoc_insertion_point(field_add_mutable:api.GetEntitiesCountersMessage.uuids) - return _internal_add_uuids(); -} -inline const std::string& GetEntitiesCountersMessage::_internal_uuids(int index) const { - return uuids_.Get(index); -} -inline const std::string& GetEntitiesCountersMessage::uuids(int index) const { - // @@protoc_insertion_point(field_get:api.GetEntitiesCountersMessage.uuids) - return _internal_uuids(index); -} -inline std::string* GetEntitiesCountersMessage::mutable_uuids(int index) { - // @@protoc_insertion_point(field_mutable:api.GetEntitiesCountersMessage.uuids) - return uuids_.Mutable(index); -} -inline void GetEntitiesCountersMessage::set_uuids(int index, const std::string& value) { - // @@protoc_insertion_point(field_set:api.GetEntitiesCountersMessage.uuids) - uuids_.Mutable(index)->assign(value); -} -inline void GetEntitiesCountersMessage::set_uuids(int index, std::string&& value) { - // @@protoc_insertion_point(field_set:api.GetEntitiesCountersMessage.uuids) - uuids_.Mutable(index)->assign(std::move(value)); -} -inline void GetEntitiesCountersMessage::set_uuids(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - uuids_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:api.GetEntitiesCountersMessage.uuids) -} -inline void GetEntitiesCountersMessage::set_uuids(int index, const char* value, size_t size) { - uuids_.Mutable(index)->assign( - reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_set_pointer:api.GetEntitiesCountersMessage.uuids) -} -inline std::string* GetEntitiesCountersMessage::_internal_add_uuids() { - return uuids_.Add(); -} -inline void GetEntitiesCountersMessage::add_uuids(const std::string& value) { - uuids_.Add()->assign(value); - // @@protoc_insertion_point(field_add:api.GetEntitiesCountersMessage.uuids) -} -inline void GetEntitiesCountersMessage::add_uuids(std::string&& value) { - uuids_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:api.GetEntitiesCountersMessage.uuids) -} -inline void GetEntitiesCountersMessage::add_uuids(const char* value) { - GOOGLE_DCHECK(value != nullptr); - uuids_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:api.GetEntitiesCountersMessage.uuids) -} -inline void GetEntitiesCountersMessage::add_uuids(const char* value, size_t size) { - uuids_.Add()->assign(reinterpret_cast<const char*>(value), size); - // @@protoc_insertion_point(field_add_pointer:api.GetEntitiesCountersMessage.uuids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& -GetEntitiesCountersMessage::uuids() const { - // @@protoc_insertion_point(field_list:api.GetEntitiesCountersMessage.uuids) - return uuids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* -GetEntitiesCountersMessage::mutable_uuids() { - // @@protoc_insertion_point(field_mutable_list:api.GetEntitiesCountersMessage.uuids) - return &uuids_; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// GetEntitiesCountersResponseMessage - -// map<string, int64> counters = 1; -inline int GetEntitiesCountersResponseMessage::_internal_counters_size() const { - return counters_.size(); -} -inline int GetEntitiesCountersResponseMessage::counters_size() const { - return _internal_counters_size(); -} -inline void GetEntitiesCountersResponseMessage::clear_counters() { - counters_.Clear(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& -GetEntitiesCountersResponseMessage::_internal_counters() const { - return counters_.GetMap(); -} -inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >& -GetEntitiesCountersResponseMessage::counters() const { - // @@protoc_insertion_point(field_map:api.GetEntitiesCountersResponseMessage.counters) - return _internal_counters(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* -GetEntitiesCountersResponseMessage::_internal_mutable_counters() { - return counters_.MutableMap(); -} -inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >* -GetEntitiesCountersResponseMessage::mutable_counters() { - // @@protoc_insertion_point(field_mutable_map:api.GetEntitiesCountersResponseMessage.counters) - return _internal_mutable_counters(); -} - -// ------------------------------------------------------------------- - -// EntityReplaceMessage - -// repeated .api.EntityMessage_V2 history = 1; -inline int EntityReplaceMessage::_internal_history_size() const { - return history_.size(); -} -inline int EntityReplaceMessage::history_size() const { - return _internal_history_size(); -} -inline void EntityReplaceMessage::clear_history() { - history_.Clear(); -} -inline ::api::EntityMessage_V2* EntityReplaceMessage::mutable_history(int index) { - // @@protoc_insertion_point(field_mutable:api.EntityReplaceMessage.history) - return history_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >* -EntityReplaceMessage::mutable_history() { - // @@protoc_insertion_point(field_mutable_list:api.EntityReplaceMessage.history) - return &history_; -} -inline const ::api::EntityMessage_V2& EntityReplaceMessage::_internal_history(int index) const { - return history_.Get(index); -} -inline const ::api::EntityMessage_V2& EntityReplaceMessage::history(int index) const { - // @@protoc_insertion_point(field_get:api.EntityReplaceMessage.history) - return _internal_history(index); -} -inline ::api::EntityMessage_V2* EntityReplaceMessage::_internal_add_history() { - return history_.Add(); -} -inline ::api::EntityMessage_V2* EntityReplaceMessage::add_history() { - // @@protoc_insertion_point(field_add:api.EntityReplaceMessage.history) - return _internal_add_history(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >& -EntityReplaceMessage::history() const { - // @@protoc_insertion_point(field_list:api.EntityReplaceMessage.history) - return history_; -} - -// string uuid = 2; -inline void EntityReplaceMessage::clear_uuid() { - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& EntityReplaceMessage::uuid() const { - // @@protoc_insertion_point(field_get:api.EntityReplaceMessage.uuid) - return _internal_uuid(); -} -inline void EntityReplaceMessage::set_uuid(const std::string& value) { - _internal_set_uuid(value); - // @@protoc_insertion_point(field_set:api.EntityReplaceMessage.uuid) -} -inline std::string* EntityReplaceMessage::mutable_uuid() { - // @@protoc_insertion_point(field_mutable:api.EntityReplaceMessage.uuid) - return _internal_mutable_uuid(); -} -inline const std::string& EntityReplaceMessage::_internal_uuid() const { - return uuid_.GetNoArena(); -} -inline void EntityReplaceMessage::_internal_set_uuid(const std::string& value) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void EntityReplaceMessage::set_uuid(std::string&& value) { - - uuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.EntityReplaceMessage.uuid) -} -inline void EntityReplaceMessage::set_uuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.EntityReplaceMessage.uuid) -} -inline void EntityReplaceMessage::set_uuid(const char* value, size_t size) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.EntityReplaceMessage.uuid) -} -inline std::string* EntityReplaceMessage::_internal_mutable_uuid() { - - return uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* EntityReplaceMessage::release_uuid() { - // @@protoc_insertion_point(field_release:api.EntityReplaceMessage.uuid) - - return uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void EntityReplaceMessage::set_allocated_uuid(std::string* uuid) { - if (uuid != nullptr) { - - } else { - - } - uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), uuid); - // @@protoc_insertion_point(field_set_allocated:api.EntityReplaceMessage.uuid) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace api - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::api::ClaimType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::ClaimType>() { - return ::api::ClaimType_descriptor(); -} -template <> struct is_proto_enum< ::api::AccessType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::AccessType>() { - return ::api::AccessType_descriptor(); -} -template <> struct is_proto_enum< ::api::SearchType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::SearchType>() { - return ::api::SearchType_descriptor(); -} -template <> struct is_proto_enum< ::api::ValueType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::ValueType>() { - return ::api::ValueType_descriptor(); -} -template <> struct is_proto_enum< ::api::EntityType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::EntityType>() { - return ::api::EntityType_descriptor(); -} -template <> struct is_proto_enum< ::api::ContactStatus> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::ContactStatus>() { - return ::api::ContactStatus_descriptor(); -} -template <> struct is_proto_enum< ::api::OrderStatus> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::OrderStatus>() { - return ::api::OrderStatus_descriptor(); -} -template <> struct is_proto_enum< ::api::RelationStatus> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::RelationStatus>() { - return ::api::RelationStatus_descriptor(); -} -template <> struct is_proto_enum< ::api::ClaimInvitationStatus> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::ClaimInvitationStatus>() { - return ::api::ClaimInvitationStatus_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto diff --git a/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/versions/api/api.pb.cc b/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/versions/api/api.pb.cc deleted file mode 100644 index 6f391d50e4a501daa588dff386d0da7aa437d98b..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/versions/api/api.pb.cc +++ /dev/null @@ -1,324 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: code.vereign.com/code/viam-apis/versions/api/api.proto - -#include "code.vereign.com/code/viam-apis/versions/api/api.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PersistentInfo_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto; -namespace api { -class PersistentInfoDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PersistentInfo> _instance; -} _PersistentInfo_default_instance_; -} // namespace api -static void InitDefaultsscc_info_PersistentInfo_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::api::_PersistentInfo_default_instance_; - new (ptr) ::api::PersistentInfo(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::api::PersistentInfo::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PersistentInfo_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PersistentInfo_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto}, {}}; - -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto[1]; -static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto = nullptr; - -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::api::PersistentInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::api::PersistentInfo, classname_), - PROTOBUF_FIELD_OFFSET(::api::PersistentInfo, version_), -}; -static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::api::PersistentInfo)}, -}; - -static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::api::_PersistentInfo_default_instance_), -}; - -const char descriptor_table_protodef_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n6code.vereign.com/code/viam-apis/versio" - "ns/api/api.proto\022\003api\032 google/protobuf/d" - "escriptor.proto\"4\n\016PersistentInfo\022\021\n\tCla" - "ssName\030\001 \001(\t\022\017\n\007Version\030\002 \001(\005:I\n\nPersist" - "ent\022\037.google.protobuf.MessageOptions\030\337I " - "\001(\0132\023.api.PersistentInfob\006proto3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto_deps[1] = { - &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto_sccs[1] = { - &scc_info_PersistentInfo_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto.base, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto_once; -static bool descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto = { - &descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto_initialized, descriptor_table_protodef_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto, "code.vereign.com/code/viam-apis/versions/api/api.proto", 232, - &descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto_once, descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto_sccs, descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto_deps, 1, 1, - schemas, file_default_instances, TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto::offsets, - file_level_metadata_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto, 1, file_level_enum_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto, file_level_service_descriptors_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto), true); -namespace api { - -// =================================================================== - -void PersistentInfo::InitAsDefaultInstance() { -} -class PersistentInfo::_Internal { - public: -}; - -PersistentInfo::PersistentInfo() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:api.PersistentInfo) -} -PersistentInfo::PersistentInfo(const PersistentInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - classname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_classname().empty()) { - classname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.classname_); - } - version_ = from.version_; - // @@protoc_insertion_point(copy_constructor:api.PersistentInfo) -} - -void PersistentInfo::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PersistentInfo_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto.base); - classname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - version_ = 0; -} - -PersistentInfo::~PersistentInfo() { - // @@protoc_insertion_point(destructor:api.PersistentInfo) - SharedDtor(); -} - -void PersistentInfo::SharedDtor() { - classname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void PersistentInfo::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PersistentInfo& PersistentInfo::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PersistentInfo_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto.base); - return *internal_default_instance(); -} - - -void PersistentInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:api.PersistentInfo) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - classname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - version_ = 0; - _internal_metadata_.Clear(); -} - -const char* PersistentInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string ClassName = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_classname(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "api.PersistentInfo.ClassName")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // int32 Version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* PersistentInfo::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:api.PersistentInfo) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string ClassName = 1; - if (this->classname().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_classname().data(), static_cast<int>(this->_internal_classname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "api.PersistentInfo.ClassName"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_classname(), target); - } - - // int32 Version = 2; - if (this->version() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:api.PersistentInfo) - return target; -} - -size_t PersistentInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.PersistentInfo) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string ClassName = 1; - if (this->classname().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_classname()); - } - - // int32 Version = 2; - if (this->version() != 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( - this->_internal_version()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PersistentInfo::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.PersistentInfo) - GOOGLE_DCHECK_NE(&from, this); - const PersistentInfo* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PersistentInfo>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.PersistentInfo) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.PersistentInfo) - MergeFrom(*source); - } -} - -void PersistentInfo::MergeFrom(const PersistentInfo& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.PersistentInfo) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.classname().size() > 0) { - - classname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.classname_); - } - if (from.version() != 0) { - _internal_set_version(from._internal_version()); - } -} - -void PersistentInfo::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.PersistentInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PersistentInfo::CopyFrom(const PersistentInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.PersistentInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PersistentInfo::IsInitialized() const { - return true; -} - -void PersistentInfo::InternalSwap(PersistentInfo* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - classname_.Swap(&other->classname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(version_, other->version_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PersistentInfo::GetMetadata() const { - return GetMetadataStatic(); -} - -::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions, - ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::api::PersistentInfo >, 11, false > - Persistent(kPersistentFieldNumber, *::api::PersistentInfo::internal_default_instance()); - -// @@protoc_insertion_point(namespace_scope) -} // namespace api -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::api::PersistentInfo* Arena::CreateMaybeMessage< ::api::PersistentInfo >(Arena* arena) { - return Arena::CreateInternal< ::api::PersistentInfo >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/versions/api/api.pb.h b/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/versions/api/api.pb.h deleted file mode 100644 index 9230257c763ad596c819b3ec8cbec234ed401efc..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/code.vereign.com/code/viam-apis/versions/api/api.pb.h +++ /dev/null @@ -1,320 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: code.vereign.com/code/viam-apis/versions/api/api.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.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/unknown_field_set.h> -#include <google/protobuf/descriptor.pb.h> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto; -namespace api { -class PersistentInfo; -class PersistentInfoDefaultTypeInternal; -extern PersistentInfoDefaultTypeInternal _PersistentInfo_default_instance_; -} // namespace api -PROTOBUF_NAMESPACE_OPEN -template<> ::api::PersistentInfo* Arena::CreateMaybeMessage<::api::PersistentInfo>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace api { - -// =================================================================== - -class PersistentInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:api.PersistentInfo) */ { - public: - PersistentInfo(); - virtual ~PersistentInfo(); - - PersistentInfo(const PersistentInfo& from); - PersistentInfo(PersistentInfo&& from) noexcept - : PersistentInfo() { - *this = ::std::move(from); - } - - inline PersistentInfo& operator=(const PersistentInfo& from) { - CopyFrom(from); - return *this; - } - inline PersistentInfo& operator=(PersistentInfo&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const PersistentInfo& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PersistentInfo* internal_default_instance() { - return reinterpret_cast<const PersistentInfo*>( - &_PersistentInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(PersistentInfo& a, PersistentInfo& b) { - a.Swap(&b); - } - inline void Swap(PersistentInfo* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline PersistentInfo* New() const final { - return CreateMaybeMessage<PersistentInfo>(nullptr); - } - - PersistentInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<PersistentInfo>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const PersistentInfo& from); - void MergeFrom(const PersistentInfo& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PersistentInfo* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "api.PersistentInfo"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto); - return ::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClassNameFieldNumber = 1, - kVersionFieldNumber = 2, - }; - // string ClassName = 1; - void clear_classname(); - const std::string& classname() const; - void set_classname(const std::string& value); - void set_classname(std::string&& value); - void set_classname(const char* value); - void set_classname(const char* value, size_t size); - std::string* mutable_classname(); - std::string* release_classname(); - void set_allocated_classname(std::string* classname); - private: - const std::string& _internal_classname() const; - void _internal_set_classname(const std::string& value); - std::string* _internal_mutable_classname(); - public: - - // int32 Version = 2; - void clear_version(); - ::PROTOBUF_NAMESPACE_ID::int32 version() const; - void set_version(::PROTOBUF_NAMESPACE_ID::int32 value); - private: - ::PROTOBUF_NAMESPACE_ID::int32 _internal_version() const; - void _internal_set_version(::PROTOBUF_NAMESPACE_ID::int32 value); - public: - - // @@protoc_insertion_point(class_scope:api.PersistentInfo) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr classname_; - ::PROTOBUF_NAMESPACE_ID::int32 version_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto; -}; -// =================================================================== - -static const int kPersistentFieldNumber = 9439; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions, - ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::api::PersistentInfo >, 11, false > - Persistent; - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// PersistentInfo - -// string ClassName = 1; -inline void PersistentInfo::clear_classname() { - classname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& PersistentInfo::classname() const { - // @@protoc_insertion_point(field_get:api.PersistentInfo.ClassName) - return _internal_classname(); -} -inline void PersistentInfo::set_classname(const std::string& value) { - _internal_set_classname(value); - // @@protoc_insertion_point(field_set:api.PersistentInfo.ClassName) -} -inline std::string* PersistentInfo::mutable_classname() { - // @@protoc_insertion_point(field_mutable:api.PersistentInfo.ClassName) - return _internal_mutable_classname(); -} -inline const std::string& PersistentInfo::_internal_classname() const { - return classname_.GetNoArena(); -} -inline void PersistentInfo::_internal_set_classname(const std::string& value) { - - classname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void PersistentInfo::set_classname(std::string&& value) { - - classname_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.PersistentInfo.ClassName) -} -inline void PersistentInfo::set_classname(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - classname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.PersistentInfo.ClassName) -} -inline void PersistentInfo::set_classname(const char* value, size_t size) { - - classname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.PersistentInfo.ClassName) -} -inline std::string* PersistentInfo::_internal_mutable_classname() { - - return classname_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* PersistentInfo::release_classname() { - // @@protoc_insertion_point(field_release:api.PersistentInfo.ClassName) - - return classname_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void PersistentInfo::set_allocated_classname(std::string* classname) { - if (classname != nullptr) { - - } else { - - } - classname_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), classname); - // @@protoc_insertion_point(field_set_allocated:api.PersistentInfo.ClassName) -} - -// int32 Version = 2; -inline void PersistentInfo::clear_version() { - version_ = 0; -} -inline ::PROTOBUF_NAMESPACE_ID::int32 PersistentInfo::_internal_version() const { - return version_; -} -inline ::PROTOBUF_NAMESPACE_ID::int32 PersistentInfo::version() const { - // @@protoc_insertion_point(field_get:api.PersistentInfo.Version) - return _internal_version(); -} -inline void PersistentInfo::_internal_set_version(::PROTOBUF_NAMESPACE_ID::int32 value) { - - version_ = value; -} -inline void PersistentInfo::set_version(::PROTOBUF_NAMESPACE_ID::int32 value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:api.PersistentInfo.Version) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace api - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fversions_2fapi_2fapi_2eproto diff --git a/cpp/src/vereign/v1pb/common_types.pb.cc b/cpp/src/vereign/v1pb/common_types.pb.cc deleted file mode 100644 index b2da114968cab233224e200d2b1e5e191990c116..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/common_types.pb.cc +++ /dev/null @@ -1,826 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: common_types.proto - -#include "common_types.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -namespace vereign { -namespace v1pb { -class ErrorStringResponseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ErrorStringResponse> _instance; -} _ErrorStringResponse_default_instance_; -class ErrorEmptyResponseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ErrorEmptyResponse> _instance; -} _ErrorEmptyResponse_default_instance_; -class EmptyRequestDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EmptyRequest> _instance; -} _EmptyRequest_default_instance_; -} // namespace v1pb -} // namespace vereign -static void InitDefaultsscc_info_EmptyRequest_common_5ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::vereign::v1pb::_EmptyRequest_default_instance_; - new (ptr) ::vereign::v1pb::EmptyRequest(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::vereign::v1pb::EmptyRequest::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EmptyRequest_common_5ftypes_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EmptyRequest_common_5ftypes_2eproto}, {}}; - -static void InitDefaultsscc_info_ErrorEmptyResponse_common_5ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::vereign::v1pb::_ErrorEmptyResponse_default_instance_; - new (ptr) ::vereign::v1pb::ErrorEmptyResponse(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::vereign::v1pb::ErrorEmptyResponse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ErrorEmptyResponse_common_5ftypes_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ErrorEmptyResponse_common_5ftypes_2eproto}, {}}; - -static void InitDefaultsscc_info_ErrorStringResponse_common_5ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::vereign::v1pb::_ErrorStringResponse_default_instance_; - new (ptr) ::vereign::v1pb::ErrorStringResponse(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::vereign::v1pb::ErrorStringResponse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ErrorStringResponse_common_5ftypes_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ErrorStringResponse_common_5ftypes_2eproto}, {}}; - -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_common_5ftypes_2eproto[3]; -static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_common_5ftypes_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_common_5ftypes_2eproto = nullptr; - -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_common_5ftypes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ErrorStringResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ErrorStringResponse, status_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ErrorStringResponse, code_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ErrorStringResponse, data_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ErrorEmptyResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ErrorEmptyResponse, status_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ErrorEmptyResponse, code_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::EmptyRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::vereign::v1pb::ErrorStringResponse)}, - { 8, -1, sizeof(::vereign::v1pb::ErrorEmptyResponse)}, - { 15, -1, sizeof(::vereign::v1pb::EmptyRequest)}, -}; - -static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::vereign::v1pb::_ErrorStringResponse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::vereign::v1pb::_ErrorEmptyResponse_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::vereign::v1pb::_EmptyRequest_default_instance_), -}; - -const char descriptor_table_protodef_common_5ftypes_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\022common_types.proto\022\014vereign.v1pb\"A\n\023Er" - "rorStringResponse\022\016\n\006status\030\001 \001(\t\022\014\n\004cod" - "e\030\002 \001(\t\022\014\n\004data\030\003 \001(\t\"2\n\022ErrorEmptyRespo" - "nse\022\016\n\006status\030\001 \001(\t\022\014\n\004code\030\002 \001(\t\"\016\n\014Emp" - "tyRequestb\006proto3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_common_5ftypes_2eproto_deps[1] = { -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_common_5ftypes_2eproto_sccs[3] = { - &scc_info_EmptyRequest_common_5ftypes_2eproto.base, - &scc_info_ErrorEmptyResponse_common_5ftypes_2eproto.base, - &scc_info_ErrorStringResponse_common_5ftypes_2eproto.base, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_common_5ftypes_2eproto_once; -static bool descriptor_table_common_5ftypes_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_common_5ftypes_2eproto = { - &descriptor_table_common_5ftypes_2eproto_initialized, descriptor_table_protodef_common_5ftypes_2eproto, "common_types.proto", 177, - &descriptor_table_common_5ftypes_2eproto_once, descriptor_table_common_5ftypes_2eproto_sccs, descriptor_table_common_5ftypes_2eproto_deps, 3, 0, - schemas, file_default_instances, TableStruct_common_5ftypes_2eproto::offsets, - file_level_metadata_common_5ftypes_2eproto, 3, file_level_enum_descriptors_common_5ftypes_2eproto, file_level_service_descriptors_common_5ftypes_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_common_5ftypes_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_common_5ftypes_2eproto), true); -namespace vereign { -namespace v1pb { - -// =================================================================== - -void ErrorStringResponse::InitAsDefaultInstance() { -} -class ErrorStringResponse::_Internal { - public: -}; - -ErrorStringResponse::ErrorStringResponse() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:vereign.v1pb.ErrorStringResponse) -} -ErrorStringResponse::ErrorStringResponse(const ErrorStringResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_status().empty()) { - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); - } - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_code().empty()) { - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } - data_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_data().empty()) { - data_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.data_); - } - // @@protoc_insertion_point(copy_constructor:vereign.v1pb.ErrorStringResponse) -} - -void ErrorStringResponse::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ErrorStringResponse_common_5ftypes_2eproto.base); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - data_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -ErrorStringResponse::~ErrorStringResponse() { - // @@protoc_insertion_point(destructor:vereign.v1pb.ErrorStringResponse) - SharedDtor(); -} - -void ErrorStringResponse::SharedDtor() { - status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - data_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void ErrorStringResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ErrorStringResponse& ErrorStringResponse::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ErrorStringResponse_common_5ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void ErrorStringResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:vereign.v1pb.ErrorStringResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - data_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -const char* ErrorStringResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string status = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_status(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.ErrorStringResponse.status")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string code = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_code(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.ErrorStringResponse.code")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_data(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.ErrorStringResponse.data")); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ErrorStringResponse::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:vereign.v1pb.ErrorStringResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string status = 1; - if (this->status().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_status().data(), static_cast<int>(this->_internal_status().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.ErrorStringResponse.status"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_status(), target); - } - - // string code = 2; - if (this->code().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_code().data(), static_cast<int>(this->_internal_code().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.ErrorStringResponse.code"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_code(), target); - } - - // string data = 3; - if (this->data().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_data().data(), static_cast<int>(this->_internal_data().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.ErrorStringResponse.data"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:vereign.v1pb.ErrorStringResponse) - return target; -} - -size_t ErrorStringResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:vereign.v1pb.ErrorStringResponse) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string status = 1; - if (this->status().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); - } - - // string code = 2; - if (this->code().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_code()); - } - - // string data = 3; - if (this->data().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_data()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ErrorStringResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:vereign.v1pb.ErrorStringResponse) - GOOGLE_DCHECK_NE(&from, this); - const ErrorStringResponse* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ErrorStringResponse>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:vereign.v1pb.ErrorStringResponse) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:vereign.v1pb.ErrorStringResponse) - MergeFrom(*source); - } -} - -void ErrorStringResponse::MergeFrom(const ErrorStringResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:vereign.v1pb.ErrorStringResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status().size() > 0) { - - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); - } - if (from.code().size() > 0) { - - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } - if (from.data().size() > 0) { - - data_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.data_); - } -} - -void ErrorStringResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:vereign.v1pb.ErrorStringResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ErrorStringResponse::CopyFrom(const ErrorStringResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:vereign.v1pb.ErrorStringResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ErrorStringResponse::IsInitialized() const { - return true; -} - -void ErrorStringResponse::InternalSwap(ErrorStringResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - code_.Swap(&other->code_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - data_.Swap(&other->data_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ErrorStringResponse::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void ErrorEmptyResponse::InitAsDefaultInstance() { -} -class ErrorEmptyResponse::_Internal { - public: -}; - -ErrorEmptyResponse::ErrorEmptyResponse() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:vereign.v1pb.ErrorEmptyResponse) -} -ErrorEmptyResponse::ErrorEmptyResponse(const ErrorEmptyResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_status().empty()) { - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); - } - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_code().empty()) { - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } - // @@protoc_insertion_point(copy_constructor:vereign.v1pb.ErrorEmptyResponse) -} - -void ErrorEmptyResponse::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ErrorEmptyResponse_common_5ftypes_2eproto.base); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -ErrorEmptyResponse::~ErrorEmptyResponse() { - // @@protoc_insertion_point(destructor:vereign.v1pb.ErrorEmptyResponse) - SharedDtor(); -} - -void ErrorEmptyResponse::SharedDtor() { - status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void ErrorEmptyResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ErrorEmptyResponse& ErrorEmptyResponse::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ErrorEmptyResponse_common_5ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void ErrorEmptyResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:vereign.v1pb.ErrorEmptyResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -const char* ErrorEmptyResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string status = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_status(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.ErrorEmptyResponse.status")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string code = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_code(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.ErrorEmptyResponse.code")); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ErrorEmptyResponse::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:vereign.v1pb.ErrorEmptyResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string status = 1; - if (this->status().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_status().data(), static_cast<int>(this->_internal_status().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.ErrorEmptyResponse.status"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_status(), target); - } - - // string code = 2; - if (this->code().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_code().data(), static_cast<int>(this->_internal_code().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.ErrorEmptyResponse.code"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_code(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:vereign.v1pb.ErrorEmptyResponse) - return target; -} - -size_t ErrorEmptyResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:vereign.v1pb.ErrorEmptyResponse) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string status = 1; - if (this->status().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); - } - - // string code = 2; - if (this->code().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_code()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ErrorEmptyResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:vereign.v1pb.ErrorEmptyResponse) - GOOGLE_DCHECK_NE(&from, this); - const ErrorEmptyResponse* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ErrorEmptyResponse>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:vereign.v1pb.ErrorEmptyResponse) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:vereign.v1pb.ErrorEmptyResponse) - MergeFrom(*source); - } -} - -void ErrorEmptyResponse::MergeFrom(const ErrorEmptyResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:vereign.v1pb.ErrorEmptyResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status().size() > 0) { - - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); - } - if (from.code().size() > 0) { - - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } -} - -void ErrorEmptyResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:vereign.v1pb.ErrorEmptyResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ErrorEmptyResponse::CopyFrom(const ErrorEmptyResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:vereign.v1pb.ErrorEmptyResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ErrorEmptyResponse::IsInitialized() const { - return true; -} - -void ErrorEmptyResponse::InternalSwap(ErrorEmptyResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - code_.Swap(&other->code_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ErrorEmptyResponse::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void EmptyRequest::InitAsDefaultInstance() { -} -class EmptyRequest::_Internal { - public: -}; - -EmptyRequest::EmptyRequest() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:vereign.v1pb.EmptyRequest) -} -EmptyRequest::EmptyRequest(const EmptyRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:vereign.v1pb.EmptyRequest) -} - -void EmptyRequest::SharedCtor() { -} - -EmptyRequest::~EmptyRequest() { - // @@protoc_insertion_point(destructor:vereign.v1pb.EmptyRequest) - SharedDtor(); -} - -void EmptyRequest::SharedDtor() { -} - -void EmptyRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EmptyRequest& EmptyRequest::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EmptyRequest_common_5ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void EmptyRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:vereign.v1pb.EmptyRequest) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -const char* EmptyRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* EmptyRequest::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:vereign.v1pb.EmptyRequest) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:vereign.v1pb.EmptyRequest) - return target; -} - -size_t EmptyRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:vereign.v1pb.EmptyRequest) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EmptyRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:vereign.v1pb.EmptyRequest) - GOOGLE_DCHECK_NE(&from, this); - const EmptyRequest* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EmptyRequest>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:vereign.v1pb.EmptyRequest) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:vereign.v1pb.EmptyRequest) - MergeFrom(*source); - } -} - -void EmptyRequest::MergeFrom(const EmptyRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:vereign.v1pb.EmptyRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void EmptyRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:vereign.v1pb.EmptyRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EmptyRequest::CopyFrom(const EmptyRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:vereign.v1pb.EmptyRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EmptyRequest::IsInitialized() const { - return true; -} - -void EmptyRequest::InternalSwap(EmptyRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata EmptyRequest::GetMetadata() const { - return GetMetadataStatic(); -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::vereign::v1pb::ErrorStringResponse* Arena::CreateMaybeMessage< ::vereign::v1pb::ErrorStringResponse >(Arena* arena) { - return Arena::CreateInternal< ::vereign::v1pb::ErrorStringResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::vereign::v1pb::ErrorEmptyResponse* Arena::CreateMaybeMessage< ::vereign::v1pb::ErrorEmptyResponse >(Arena* arena) { - return Arena::CreateInternal< ::vereign::v1pb::ErrorEmptyResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::vereign::v1pb::EmptyRequest* Arena::CreateMaybeMessage< ::vereign::v1pb::EmptyRequest >(Arena* arena) { - return Arena::CreateInternal< ::vereign::v1pb::EmptyRequest >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/common_types.pb.h b/cpp/src/vereign/v1pb/common_types.pb.h deleted file mode 100644 index f25f488d557e2f63e60acacc4d8f890322dcafaf..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/common_types.pb.h +++ /dev/null @@ -1,852 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: common_types.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_common_5ftypes_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_common_5ftypes_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.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/unknown_field_set.h> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_common_5ftypes_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_common_5ftypes_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_common_5ftypes_2eproto; -namespace vereign { -namespace v1pb { -class EmptyRequest; -class EmptyRequestDefaultTypeInternal; -extern EmptyRequestDefaultTypeInternal _EmptyRequest_default_instance_; -class ErrorEmptyResponse; -class ErrorEmptyResponseDefaultTypeInternal; -extern ErrorEmptyResponseDefaultTypeInternal _ErrorEmptyResponse_default_instance_; -class ErrorStringResponse; -class ErrorStringResponseDefaultTypeInternal; -extern ErrorStringResponseDefaultTypeInternal _ErrorStringResponse_default_instance_; -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -template<> ::vereign::v1pb::EmptyRequest* Arena::CreateMaybeMessage<::vereign::v1pb::EmptyRequest>(Arena*); -template<> ::vereign::v1pb::ErrorEmptyResponse* Arena::CreateMaybeMessage<::vereign::v1pb::ErrorEmptyResponse>(Arena*); -template<> ::vereign::v1pb::ErrorStringResponse* Arena::CreateMaybeMessage<::vereign::v1pb::ErrorStringResponse>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace vereign { -namespace v1pb { - -// =================================================================== - -class ErrorStringResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:vereign.v1pb.ErrorStringResponse) */ { - public: - ErrorStringResponse(); - virtual ~ErrorStringResponse(); - - ErrorStringResponse(const ErrorStringResponse& from); - ErrorStringResponse(ErrorStringResponse&& from) noexcept - : ErrorStringResponse() { - *this = ::std::move(from); - } - - inline ErrorStringResponse& operator=(const ErrorStringResponse& from) { - CopyFrom(from); - return *this; - } - inline ErrorStringResponse& operator=(ErrorStringResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ErrorStringResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ErrorStringResponse* internal_default_instance() { - return reinterpret_cast<const ErrorStringResponse*>( - &_ErrorStringResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(ErrorStringResponse& a, ErrorStringResponse& b) { - a.Swap(&b); - } - inline void Swap(ErrorStringResponse* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ErrorStringResponse* New() const final { - return CreateMaybeMessage<ErrorStringResponse>(nullptr); - } - - ErrorStringResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ErrorStringResponse>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ErrorStringResponse& from); - void MergeFrom(const ErrorStringResponse& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ErrorStringResponse* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "vereign.v1pb.ErrorStringResponse"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_common_5ftypes_2eproto); - return ::descriptor_table_common_5ftypes_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStatusFieldNumber = 1, - kCodeFieldNumber = 2, - kDataFieldNumber = 3, - }; - // string status = 1; - void clear_status(); - const std::string& status() const; - void set_status(const std::string& value); - void set_status(std::string&& value); - void set_status(const char* value); - void set_status(const char* value, size_t size); - std::string* mutable_status(); - std::string* release_status(); - void set_allocated_status(std::string* status); - private: - const std::string& _internal_status() const; - void _internal_set_status(const std::string& value); - std::string* _internal_mutable_status(); - public: - - // string code = 2; - void clear_code(); - const std::string& code() const; - void set_code(const std::string& value); - void set_code(std::string&& value); - void set_code(const char* value); - void set_code(const char* value, size_t size); - std::string* mutable_code(); - std::string* release_code(); - void set_allocated_code(std::string* code); - private: - const std::string& _internal_code() const; - void _internal_set_code(const std::string& value); - std::string* _internal_mutable_code(); - public: - - // string data = 3; - void clear_data(); - const std::string& data() const; - void set_data(const std::string& value); - void set_data(std::string&& value); - void set_data(const char* value); - void set_data(const char* value, size_t size); - std::string* mutable_data(); - std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:vereign.v1pb.ErrorStringResponse) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_common_5ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class ErrorEmptyResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:vereign.v1pb.ErrorEmptyResponse) */ { - public: - ErrorEmptyResponse(); - virtual ~ErrorEmptyResponse(); - - ErrorEmptyResponse(const ErrorEmptyResponse& from); - ErrorEmptyResponse(ErrorEmptyResponse&& from) noexcept - : ErrorEmptyResponse() { - *this = ::std::move(from); - } - - inline ErrorEmptyResponse& operator=(const ErrorEmptyResponse& from) { - CopyFrom(from); - return *this; - } - inline ErrorEmptyResponse& operator=(ErrorEmptyResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ErrorEmptyResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ErrorEmptyResponse* internal_default_instance() { - return reinterpret_cast<const ErrorEmptyResponse*>( - &_ErrorEmptyResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(ErrorEmptyResponse& a, ErrorEmptyResponse& b) { - a.Swap(&b); - } - inline void Swap(ErrorEmptyResponse* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ErrorEmptyResponse* New() const final { - return CreateMaybeMessage<ErrorEmptyResponse>(nullptr); - } - - ErrorEmptyResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ErrorEmptyResponse>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ErrorEmptyResponse& from); - void MergeFrom(const ErrorEmptyResponse& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ErrorEmptyResponse* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "vereign.v1pb.ErrorEmptyResponse"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_common_5ftypes_2eproto); - return ::descriptor_table_common_5ftypes_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStatusFieldNumber = 1, - kCodeFieldNumber = 2, - }; - // string status = 1; - void clear_status(); - const std::string& status() const; - void set_status(const std::string& value); - void set_status(std::string&& value); - void set_status(const char* value); - void set_status(const char* value, size_t size); - std::string* mutable_status(); - std::string* release_status(); - void set_allocated_status(std::string* status); - private: - const std::string& _internal_status() const; - void _internal_set_status(const std::string& value); - std::string* _internal_mutable_status(); - public: - - // string code = 2; - void clear_code(); - const std::string& code() const; - void set_code(const std::string& value); - void set_code(std::string&& value); - void set_code(const char* value); - void set_code(const char* value, size_t size); - std::string* mutable_code(); - std::string* release_code(); - void set_allocated_code(std::string* code); - private: - const std::string& _internal_code() const; - void _internal_set_code(const std::string& value); - std::string* _internal_mutable_code(); - public: - - // @@protoc_insertion_point(class_scope:vereign.v1pb.ErrorEmptyResponse) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_common_5ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class EmptyRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:vereign.v1pb.EmptyRequest) */ { - public: - EmptyRequest(); - virtual ~EmptyRequest(); - - EmptyRequest(const EmptyRequest& from); - EmptyRequest(EmptyRequest&& from) noexcept - : EmptyRequest() { - *this = ::std::move(from); - } - - inline EmptyRequest& operator=(const EmptyRequest& from) { - CopyFrom(from); - return *this; - } - inline EmptyRequest& operator=(EmptyRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const EmptyRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EmptyRequest* internal_default_instance() { - return reinterpret_cast<const EmptyRequest*>( - &_EmptyRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(EmptyRequest& a, EmptyRequest& b) { - a.Swap(&b); - } - inline void Swap(EmptyRequest* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline EmptyRequest* New() const final { - return CreateMaybeMessage<EmptyRequest>(nullptr); - } - - EmptyRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<EmptyRequest>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const EmptyRequest& from); - void MergeFrom(const EmptyRequest& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(EmptyRequest* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "vereign.v1pb.EmptyRequest"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_common_5ftypes_2eproto); - return ::descriptor_table_common_5ftypes_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:vereign.v1pb.EmptyRequest) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_common_5ftypes_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ErrorStringResponse - -// string status = 1; -inline void ErrorStringResponse::clear_status() { - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ErrorStringResponse::status() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ErrorStringResponse.status) - return _internal_status(); -} -inline void ErrorStringResponse::set_status(const std::string& value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.ErrorStringResponse.status) -} -inline std::string* ErrorStringResponse::mutable_status() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.ErrorStringResponse.status) - return _internal_mutable_status(); -} -inline const std::string& ErrorStringResponse::_internal_status() const { - return status_.GetNoArena(); -} -inline void ErrorStringResponse::_internal_set_status(const std::string& value) { - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ErrorStringResponse::set_status(std::string&& value) { - - status_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.ErrorStringResponse.status) -} -inline void ErrorStringResponse::set_status(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.ErrorStringResponse.status) -} -inline void ErrorStringResponse::set_status(const char* value, size_t size) { - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.ErrorStringResponse.status) -} -inline std::string* ErrorStringResponse::_internal_mutable_status() { - - return status_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ErrorStringResponse::release_status() { - // @@protoc_insertion_point(field_release:vereign.v1pb.ErrorStringResponse.status) - - return status_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ErrorStringResponse::set_allocated_status(std::string* status) { - if (status != nullptr) { - - } else { - - } - status_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.ErrorStringResponse.status) -} - -// string code = 2; -inline void ErrorStringResponse::clear_code() { - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ErrorStringResponse::code() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ErrorStringResponse.code) - return _internal_code(); -} -inline void ErrorStringResponse::set_code(const std::string& value) { - _internal_set_code(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.ErrorStringResponse.code) -} -inline std::string* ErrorStringResponse::mutable_code() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.ErrorStringResponse.code) - return _internal_mutable_code(); -} -inline const std::string& ErrorStringResponse::_internal_code() const { - return code_.GetNoArena(); -} -inline void ErrorStringResponse::_internal_set_code(const std::string& value) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ErrorStringResponse::set_code(std::string&& value) { - - code_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.ErrorStringResponse.code) -} -inline void ErrorStringResponse::set_code(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.ErrorStringResponse.code) -} -inline void ErrorStringResponse::set_code(const char* value, size_t size) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.ErrorStringResponse.code) -} -inline std::string* ErrorStringResponse::_internal_mutable_code() { - - return code_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ErrorStringResponse::release_code() { - // @@protoc_insertion_point(field_release:vereign.v1pb.ErrorStringResponse.code) - - return code_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ErrorStringResponse::set_allocated_code(std::string* code) { - if (code != nullptr) { - - } else { - - } - code_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), code); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.ErrorStringResponse.code) -} - -// string data = 3; -inline void ErrorStringResponse::clear_data() { - data_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ErrorStringResponse::data() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ErrorStringResponse.data) - return _internal_data(); -} -inline void ErrorStringResponse::set_data(const std::string& value) { - _internal_set_data(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.ErrorStringResponse.data) -} -inline std::string* ErrorStringResponse::mutable_data() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.ErrorStringResponse.data) - return _internal_mutable_data(); -} -inline const std::string& ErrorStringResponse::_internal_data() const { - return data_.GetNoArena(); -} -inline void ErrorStringResponse::_internal_set_data(const std::string& value) { - - data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ErrorStringResponse::set_data(std::string&& value) { - - data_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.ErrorStringResponse.data) -} -inline void ErrorStringResponse::set_data(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.ErrorStringResponse.data) -} -inline void ErrorStringResponse::set_data(const char* value, size_t size) { - - data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.ErrorStringResponse.data) -} -inline std::string* ErrorStringResponse::_internal_mutable_data() { - - return data_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ErrorStringResponse::release_data() { - // @@protoc_insertion_point(field_release:vereign.v1pb.ErrorStringResponse.data) - - return data_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ErrorStringResponse::set_allocated_data(std::string* data) { - if (data != nullptr) { - - } else { - - } - data_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.ErrorStringResponse.data) -} - -// ------------------------------------------------------------------- - -// ErrorEmptyResponse - -// string status = 1; -inline void ErrorEmptyResponse::clear_status() { - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ErrorEmptyResponse::status() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ErrorEmptyResponse.status) - return _internal_status(); -} -inline void ErrorEmptyResponse::set_status(const std::string& value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.ErrorEmptyResponse.status) -} -inline std::string* ErrorEmptyResponse::mutable_status() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.ErrorEmptyResponse.status) - return _internal_mutable_status(); -} -inline const std::string& ErrorEmptyResponse::_internal_status() const { - return status_.GetNoArena(); -} -inline void ErrorEmptyResponse::_internal_set_status(const std::string& value) { - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ErrorEmptyResponse::set_status(std::string&& value) { - - status_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.ErrorEmptyResponse.status) -} -inline void ErrorEmptyResponse::set_status(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.ErrorEmptyResponse.status) -} -inline void ErrorEmptyResponse::set_status(const char* value, size_t size) { - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.ErrorEmptyResponse.status) -} -inline std::string* ErrorEmptyResponse::_internal_mutable_status() { - - return status_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ErrorEmptyResponse::release_status() { - // @@protoc_insertion_point(field_release:vereign.v1pb.ErrorEmptyResponse.status) - - return status_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ErrorEmptyResponse::set_allocated_status(std::string* status) { - if (status != nullptr) { - - } else { - - } - status_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.ErrorEmptyResponse.status) -} - -// string code = 2; -inline void ErrorEmptyResponse::clear_code() { - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ErrorEmptyResponse::code() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ErrorEmptyResponse.code) - return _internal_code(); -} -inline void ErrorEmptyResponse::set_code(const std::string& value) { - _internal_set_code(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.ErrorEmptyResponse.code) -} -inline std::string* ErrorEmptyResponse::mutable_code() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.ErrorEmptyResponse.code) - return _internal_mutable_code(); -} -inline const std::string& ErrorEmptyResponse::_internal_code() const { - return code_.GetNoArena(); -} -inline void ErrorEmptyResponse::_internal_set_code(const std::string& value) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ErrorEmptyResponse::set_code(std::string&& value) { - - code_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.ErrorEmptyResponse.code) -} -inline void ErrorEmptyResponse::set_code(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.ErrorEmptyResponse.code) -} -inline void ErrorEmptyResponse::set_code(const char* value, size_t size) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.ErrorEmptyResponse.code) -} -inline std::string* ErrorEmptyResponse::_internal_mutable_code() { - - return code_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ErrorEmptyResponse::release_code() { - // @@protoc_insertion_point(field_release:vereign.v1pb.ErrorEmptyResponse.code) - - return code_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ErrorEmptyResponse::set_allocated_code(std::string* code) { - if (code != nullptr) { - - } else { - - } - code_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), code); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.ErrorEmptyResponse.code) -} - -// ------------------------------------------------------------------- - -// EmptyRequest - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1pb -} // namespace vereign - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_common_5ftypes_2eproto diff --git a/cpp/src/vereign/v1pb/dependencies.pb.cc b/cpp/src/vereign/v1pb/dependencies.pb.cc deleted file mode 100644 index 6613a22a337b46f5bd72444f737c309d5374c920..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/dependencies.pb.cc +++ /dev/null @@ -1,256 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: dependencies.proto - -#include "dependencies.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -namespace vereign { -namespace v1pb { -namespace entities_management_agent { -namespace api { -class HelpDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Help> _instance; -} _Help_default_instance_; -} // namespace api -} // namespace entities_management_agent -} // namespace v1pb -} // namespace vereign -static void InitDefaultsscc_info_Help_dependencies_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::vereign::v1pb::entities_management_agent::api::_Help_default_instance_; - new (ptr) ::vereign::v1pb::entities_management_agent::api::Help(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::vereign::v1pb::entities_management_agent::api::Help::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Help_dependencies_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Help_dependencies_2eproto}, {}}; - -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_dependencies_2eproto[1]; -static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_dependencies_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_dependencies_2eproto = nullptr; - -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_dependencies_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::entities_management_agent::api::Help, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::vereign::v1pb::entities_management_agent::api::Help)}, -}; - -static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::vereign::v1pb::entities_management_agent::api::_Help_default_instance_), -}; - -const char descriptor_table_protodef_dependencies_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\022dependencies.proto\022*vereign.v1pb.entit" - "ies_management_agent.api\032Gcode.vereign.c" - "om/code/viam-apis/entities-management-ag" - "ent/api/api.proto\"\006\n\004HelpP\000b\006proto3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_dependencies_2eproto_deps[1] = { - &::descriptor_table_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_dependencies_2eproto_sccs[1] = { - &scc_info_Help_dependencies_2eproto.base, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_dependencies_2eproto_once; -static bool descriptor_table_dependencies_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_dependencies_2eproto = { - &descriptor_table_dependencies_2eproto_initialized, descriptor_table_protodef_dependencies_2eproto, "dependencies.proto", 155, - &descriptor_table_dependencies_2eproto_once, descriptor_table_dependencies_2eproto_sccs, descriptor_table_dependencies_2eproto_deps, 1, 1, - schemas, file_default_instances, TableStruct_dependencies_2eproto::offsets, - file_level_metadata_dependencies_2eproto, 1, file_level_enum_descriptors_dependencies_2eproto, file_level_service_descriptors_dependencies_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_dependencies_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_dependencies_2eproto), true); -namespace vereign { -namespace v1pb { -namespace entities_management_agent { -namespace api { - -// =================================================================== - -void Help::InitAsDefaultInstance() { -} -class Help::_Internal { - public: -}; - -Help::Help() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:vereign.v1pb.entities_management_agent.api.Help) -} -Help::Help(const Help& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:vereign.v1pb.entities_management_agent.api.Help) -} - -void Help::SharedCtor() { -} - -Help::~Help() { - // @@protoc_insertion_point(destructor:vereign.v1pb.entities_management_agent.api.Help) - SharedDtor(); -} - -void Help::SharedDtor() { -} - -void Help::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Help& Help::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Help_dependencies_2eproto.base); - return *internal_default_instance(); -} - - -void Help::Clear() { -// @@protoc_insertion_point(message_clear_start:vereign.v1pb.entities_management_agent.api.Help) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -const char* Help::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* Help::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:vereign.v1pb.entities_management_agent.api.Help) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:vereign.v1pb.entities_management_agent.api.Help) - return target; -} - -size_t Help::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:vereign.v1pb.entities_management_agent.api.Help) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Help::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:vereign.v1pb.entities_management_agent.api.Help) - GOOGLE_DCHECK_NE(&from, this); - const Help* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Help>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:vereign.v1pb.entities_management_agent.api.Help) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:vereign.v1pb.entities_management_agent.api.Help) - MergeFrom(*source); - } -} - -void Help::MergeFrom(const Help& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:vereign.v1pb.entities_management_agent.api.Help) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void Help::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:vereign.v1pb.entities_management_agent.api.Help) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Help::CopyFrom(const Help& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:vereign.v1pb.entities_management_agent.api.Help) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Help::IsInitialized() const { - return true; -} - -void Help::InternalSwap(Help* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Help::GetMetadata() const { - return GetMetadataStatic(); -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace api -} // namespace entities_management_agent -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::vereign::v1pb::entities_management_agent::api::Help* Arena::CreateMaybeMessage< ::vereign::v1pb::entities_management_agent::api::Help >(Arena* arena) { - return Arena::CreateInternal< ::vereign::v1pb::entities_management_agent::api::Help >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/dependencies.pb.h b/cpp/src/vereign/v1pb/dependencies.pb.h deleted file mode 100644 index f20cc78ebdc84d6a3df3db4c88dcd86cd93013eb..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/dependencies.pb.h +++ /dev/null @@ -1,217 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: dependencies.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_dependencies_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_dependencies_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.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/unknown_field_set.h> -#include "code.vereign.com/code/viam-apis/entities-management-agent/api/api.pb.h" -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_dependencies_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_dependencies_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_dependencies_2eproto; -namespace vereign { -namespace v1pb { -namespace entities_management_agent { -namespace api { -class Help; -class HelpDefaultTypeInternal; -extern HelpDefaultTypeInternal _Help_default_instance_; -} // namespace api -} // namespace entities_management_agent -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -template<> ::vereign::v1pb::entities_management_agent::api::Help* Arena::CreateMaybeMessage<::vereign::v1pb::entities_management_agent::api::Help>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace vereign { -namespace v1pb { -namespace entities_management_agent { -namespace api { - -// =================================================================== - -class Help : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:vereign.v1pb.entities_management_agent.api.Help) */ { - public: - Help(); - virtual ~Help(); - - Help(const Help& from); - Help(Help&& from) noexcept - : Help() { - *this = ::std::move(from); - } - - inline Help& operator=(const Help& from) { - CopyFrom(from); - return *this; - } - inline Help& operator=(Help&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const Help& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Help* internal_default_instance() { - return reinterpret_cast<const Help*>( - &_Help_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Help& a, Help& b) { - a.Swap(&b); - } - inline void Swap(Help* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline Help* New() const final { - return CreateMaybeMessage<Help>(nullptr); - } - - Help* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Help>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const Help& from); - void MergeFrom(const Help& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Help* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "vereign.v1pb.entities_management_agent.api.Help"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_dependencies_2eproto); - return ::descriptor_table_dependencies_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:vereign.v1pb.entities_management_agent.api.Help) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_dependencies_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Help - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace api -} // namespace entities_management_agent -} // namespace v1pb -} // namespace vereign - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_dependencies_2eproto diff --git a/cpp/src/vereign/v1pb/google/api/annotations.pb.cc b/cpp/src/vereign/v1pb/google/api/annotations.pb.cc deleted file mode 100644 index 402b58ede7ba17873fd65e99b055867e7a2f6007..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/google/api/annotations.pb.cc +++ /dev/null @@ -1,69 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/api/annotations.proto - -#include "google/api/annotations.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -extern PROTOBUF_INTERNAL_EXPORT_google_2fapi_2fhttp_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_HttpRule_google_2fapi_2fhttp_2eproto; -namespace google { -namespace api { -} // namespace api -} // namespace google -static constexpr ::PROTOBUF_NAMESPACE_ID::Metadata* file_level_metadata_google_2fapi_2fannotations_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_google_2fapi_2fannotations_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_google_2fapi_2fannotations_2eproto = nullptr; -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fapi_2fannotations_2eproto::offsets[1] = {}; -static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema* schemas = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::Message* const* file_default_instances = nullptr; - -const char descriptor_table_protodef_google_2fapi_2fannotations_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\034google/api/annotations.proto\022\ngoogle.a" - "pi\032\025google/api/http.proto\032 google/protob" - "uf/descriptor.proto:E\n\004http\022\036.google.pro" - "tobuf.MethodOptions\030\260\312\274\" \001(\0132\024.google.ap" - "i.HttpRuleBn\n\016com.google.apiB\020Annotation" - "sProtoP\001ZAgoogle.golang.org/genproto/goo" - "gleapis/api/annotations;annotations\242\002\004GA" - "PIb\006proto3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2fapi_2fannotations_2eproto_deps[2] = { - &::descriptor_table_google_2fapi_2fhttp_2eproto, - &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_google_2fapi_2fannotations_2eproto_sccs[1] = { -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fapi_2fannotations_2eproto_once; -static bool descriptor_table_google_2fapi_2fannotations_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fapi_2fannotations_2eproto = { - &descriptor_table_google_2fapi_2fannotations_2eproto_initialized, descriptor_table_protodef_google_2fapi_2fannotations_2eproto, "google/api/annotations.proto", 290, - &descriptor_table_google_2fapi_2fannotations_2eproto_once, descriptor_table_google_2fapi_2fannotations_2eproto_sccs, descriptor_table_google_2fapi_2fannotations_2eproto_deps, 0, 2, - schemas, file_default_instances, TableStruct_google_2fapi_2fannotations_2eproto::offsets, - file_level_metadata_google_2fapi_2fannotations_2eproto, 0, file_level_enum_descriptors_google_2fapi_2fannotations_2eproto, file_level_service_descriptors_google_2fapi_2fannotations_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_google_2fapi_2fannotations_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_google_2fapi_2fannotations_2eproto), true); -namespace google { -namespace api { -::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions, - ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::google::api::HttpRule >, 11, false > - http(kHttpFieldNumber, *::google::api::HttpRule::internal_default_instance()); - -// @@protoc_insertion_point(namespace_scope) -} // namespace api -} // namespace google -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/google/api/annotations.pb.h b/cpp/src/vereign/v1pb/google/api/annotations.pb.h deleted file mode 100644 index 81b740e2e069f81c2e1a0b875129af79d1b3bc2d..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/google/api/annotations.pb.h +++ /dev/null @@ -1,90 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/api/annotations.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fapi_2fannotations_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_google_2fapi_2fannotations_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/repeated_field.h> // IWYU pragma: export -#include <google/protobuf/extension_set.h> // IWYU pragma: export -#include "google/api/http.pb.h" -#include <google/protobuf/descriptor.pb.h> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_google_2fapi_2fannotations_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_google_2fapi_2fannotations_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fapi_2fannotations_2eproto; -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE -namespace google { -namespace api { - -// =================================================================== - - -// =================================================================== - -static const int kHttpFieldNumber = 72295728; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions, - ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::google::api::HttpRule >, 11, false > - http; - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace api -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fapi_2fannotations_2eproto diff --git a/cpp/src/vereign/v1pb/google/api/http.pb.cc b/cpp/src/vereign/v1pb/google/api/http.pb.cc deleted file mode 100644 index e468c0ee95b905da6a0b808848da248b4ed0a5d1..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/google/api/http.pb.cc +++ /dev/null @@ -1,1292 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/api/http.proto - -#include "google/api/http.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -extern PROTOBUF_INTERNAL_EXPORT_google_2fapi_2fhttp_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CustomHttpPattern_google_2fapi_2fhttp_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fapi_2fhttp_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_HttpRule_google_2fapi_2fhttp_2eproto; -namespace google { -namespace api { -class HttpDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Http> _instance; -} _Http_default_instance_; -class HttpRuleDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<HttpRule> _instance; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr get_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr put_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr post_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr delete__; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr patch_; - const ::google::api::CustomHttpPattern* custom_; -} _HttpRule_default_instance_; -class CustomHttpPatternDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<CustomHttpPattern> _instance; -} _CustomHttpPattern_default_instance_; -} // namespace api -} // namespace google -static void InitDefaultsscc_info_CustomHttpPattern_google_2fapi_2fhttp_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::google::api::_CustomHttpPattern_default_instance_; - new (ptr) ::google::api::CustomHttpPattern(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::google::api::CustomHttpPattern::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CustomHttpPattern_google_2fapi_2fhttp_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_CustomHttpPattern_google_2fapi_2fhttp_2eproto}, {}}; - -static void InitDefaultsscc_info_Http_google_2fapi_2fhttp_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::google::api::_Http_default_instance_; - new (ptr) ::google::api::Http(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::google::api::Http::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Http_google_2fapi_2fhttp_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Http_google_2fapi_2fhttp_2eproto}, { - &scc_info_HttpRule_google_2fapi_2fhttp_2eproto.base,}}; - -static void InitDefaultsscc_info_HttpRule_google_2fapi_2fhttp_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::google::api::_HttpRule_default_instance_; - new (ptr) ::google::api::HttpRule(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::google::api::HttpRule::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_HttpRule_google_2fapi_2fhttp_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_HttpRule_google_2fapi_2fhttp_2eproto}, { - &scc_info_CustomHttpPattern_google_2fapi_2fhttp_2eproto.base,}}; - -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fapi_2fhttp_2eproto[3]; -static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_google_2fapi_2fhttp_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_google_2fapi_2fhttp_2eproto = nullptr; - -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fapi_2fhttp_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::google::api::Http, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::google::api::Http, rules_), - PROTOBUF_FIELD_OFFSET(::google::api::Http, fully_decode_reserved_expansion_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::google::api::HttpRule, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::google::api::HttpRule, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::google::api::HttpRule, selector_), - offsetof(::google::api::HttpRuleDefaultTypeInternal, get_), - offsetof(::google::api::HttpRuleDefaultTypeInternal, put_), - offsetof(::google::api::HttpRuleDefaultTypeInternal, post_), - offsetof(::google::api::HttpRuleDefaultTypeInternal, delete__), - offsetof(::google::api::HttpRuleDefaultTypeInternal, patch_), - offsetof(::google::api::HttpRuleDefaultTypeInternal, custom_), - PROTOBUF_FIELD_OFFSET(::google::api::HttpRule, body_), - PROTOBUF_FIELD_OFFSET(::google::api::HttpRule, response_body_), - PROTOBUF_FIELD_OFFSET(::google::api::HttpRule, additional_bindings_), - PROTOBUF_FIELD_OFFSET(::google::api::HttpRule, pattern_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::google::api::CustomHttpPattern, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::google::api::CustomHttpPattern, kind_), - PROTOBUF_FIELD_OFFSET(::google::api::CustomHttpPattern, path_), -}; -static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::google::api::Http)}, - { 7, -1, sizeof(::google::api::HttpRule)}, - { 23, -1, sizeof(::google::api::CustomHttpPattern)}, -}; - -static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::google::api::_Http_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::google::api::_HttpRule_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::google::api::_CustomHttpPattern_default_instance_), -}; - -const char descriptor_table_protodef_google_2fapi_2fhttp_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\025google/api/http.proto\022\ngoogle.api\"T\n\004H" - "ttp\022#\n\005rules\030\001 \003(\0132\024.google.api.HttpRule" - "\022\'\n\037fully_decode_reserved_expansion\030\002 \001(" - "\010\"\201\002\n\010HttpRule\022\020\n\010selector\030\001 \001(\t\022\r\n\003get\030" - "\002 \001(\tH\000\022\r\n\003put\030\003 \001(\tH\000\022\016\n\004post\030\004 \001(\tH\000\022\020" - "\n\006delete\030\005 \001(\tH\000\022\017\n\005patch\030\006 \001(\tH\000\022/\n\006cus" - "tom\030\010 \001(\0132\035.google.api.CustomHttpPattern" - "H\000\022\014\n\004body\030\007 \001(\t\022\025\n\rresponse_body\030\014 \001(\t\022" - "1\n\023additional_bindings\030\013 \003(\0132\024.google.ap" - "i.HttpRuleB\t\n\007pattern\"/\n\021CustomHttpPatte" - "rn\022\014\n\004kind\030\001 \001(\t\022\014\n\004path\030\002 \001(\tBj\n\016com.go" - "ogle.apiB\tHttpProtoP\001ZAgoogle.golang.org" - "/genproto/googleapis/api/annotations;ann" - "otations\370\001\001\242\002\004GAPIb\006proto3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2fapi_2fhttp_2eproto_deps[1] = { -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_google_2fapi_2fhttp_2eproto_sccs[3] = { - &scc_info_CustomHttpPattern_google_2fapi_2fhttp_2eproto.base, - &scc_info_Http_google_2fapi_2fhttp_2eproto.base, - &scc_info_HttpRule_google_2fapi_2fhttp_2eproto.base, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fapi_2fhttp_2eproto_once; -static bool descriptor_table_google_2fapi_2fhttp_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fapi_2fhttp_2eproto = { - &descriptor_table_google_2fapi_2fhttp_2eproto_initialized, descriptor_table_protodef_google_2fapi_2fhttp_2eproto, "google/api/http.proto", 546, - &descriptor_table_google_2fapi_2fhttp_2eproto_once, descriptor_table_google_2fapi_2fhttp_2eproto_sccs, descriptor_table_google_2fapi_2fhttp_2eproto_deps, 3, 0, - schemas, file_default_instances, TableStruct_google_2fapi_2fhttp_2eproto::offsets, - file_level_metadata_google_2fapi_2fhttp_2eproto, 3, file_level_enum_descriptors_google_2fapi_2fhttp_2eproto, file_level_service_descriptors_google_2fapi_2fhttp_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_google_2fapi_2fhttp_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_google_2fapi_2fhttp_2eproto), true); -namespace google { -namespace api { - -// =================================================================== - -void Http::InitAsDefaultInstance() { -} -class Http::_Internal { - public: -}; - -Http::Http() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:google.api.Http) -} -Http::Http(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(arena), - rules_(arena) { - SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:google.api.Http) -} -Http::Http(const Http& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - rules_(from.rules_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - fully_decode_reserved_expansion_ = from.fully_decode_reserved_expansion_; - // @@protoc_insertion_point(copy_constructor:google.api.Http) -} - -void Http::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Http_google_2fapi_2fhttp_2eproto.base); - fully_decode_reserved_expansion_ = false; -} - -Http::~Http() { - // @@protoc_insertion_point(destructor:google.api.Http) - SharedDtor(); -} - -void Http::SharedDtor() { - GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr); -} - -void Http::ArenaDtor(void* object) { - Http* _this = reinterpret_cast< Http* >(object); - (void)_this; -} -void Http::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} -void Http::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Http& Http::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Http_google_2fapi_2fhttp_2eproto.base); - return *internal_default_instance(); -} - - -void Http::Clear() { -// @@protoc_insertion_point(message_clear_start:google.api.Http) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - rules_.Clear(); - fully_decode_reserved_expansion_ = false; - _internal_metadata_.Clear(); -} - -const char* Http::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // repeated .google.api.HttpRule rules = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_rules(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; - // bool fully_decode_reserved_expansion = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - fully_decode_reserved_expansion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* Http::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:google.api.Http) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .google.api.HttpRule rules = 1; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_rules_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, this->_internal_rules(i), target, stream); - } - - // bool fully_decode_reserved_expansion = 2; - if (this->fully_decode_reserved_expansion() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_fully_decode_reserved_expansion(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:google.api.Http) - return target; -} - -size_t Http::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:google.api.Http) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .google.api.HttpRule rules = 1; - total_size += 1UL * this->_internal_rules_size(); - for (const auto& msg : this->rules_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // bool fully_decode_reserved_expansion = 2; - if (this->fully_decode_reserved_expansion() != 0) { - total_size += 1 + 1; - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Http::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:google.api.Http) - GOOGLE_DCHECK_NE(&from, this); - const Http* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Http>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.api.Http) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:google.api.Http) - MergeFrom(*source); - } -} - -void Http::MergeFrom(const Http& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:google.api.Http) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - rules_.MergeFrom(from.rules_); - if (from.fully_decode_reserved_expansion() != 0) { - _internal_set_fully_decode_reserved_expansion(from._internal_fully_decode_reserved_expansion()); - } -} - -void Http::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:google.api.Http) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Http::CopyFrom(const Http& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:google.api.Http) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Http::IsInitialized() const { - return true; -} - -void Http::InternalSwap(Http* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - rules_.InternalSwap(&other->rules_); - swap(fully_decode_reserved_expansion_, other->fully_decode_reserved_expansion_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Http::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void HttpRule::InitAsDefaultInstance() { - ::google::api::_HttpRule_default_instance_.get_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::google::api::_HttpRule_default_instance_.put_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::google::api::_HttpRule_default_instance_.post_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::google::api::_HttpRule_default_instance_.delete__.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::google::api::_HttpRule_default_instance_.patch_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::google::api::_HttpRule_default_instance_.custom_ = const_cast< ::google::api::CustomHttpPattern*>( - ::google::api::CustomHttpPattern::internal_default_instance()); -} -class HttpRule::_Internal { - public: - static const ::google::api::CustomHttpPattern& custom(const HttpRule* msg); -}; - -const ::google::api::CustomHttpPattern& -HttpRule::_Internal::custom(const HttpRule* msg) { - return *msg->pattern_.custom_; -} -void HttpRule::set_allocated_custom(::google::api::CustomHttpPattern* custom) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); - clear_pattern(); - if (custom) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(custom); - if (message_arena != submessage_arena) { - custom = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, custom, submessage_arena); - } - set_has_custom(); - pattern_.custom_ = custom; - } - // @@protoc_insertion_point(field_set_allocated:google.api.HttpRule.custom) -} -HttpRule::HttpRule() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:google.api.HttpRule) -} -HttpRule::HttpRule(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(arena), - additional_bindings_(arena) { - SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:google.api.HttpRule) -} -HttpRule::HttpRule(const HttpRule& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - additional_bindings_(from.additional_bindings_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - selector_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_selector().empty()) { - selector_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_selector(), - GetArenaNoVirtual()); - } - body_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_body().empty()) { - body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_body(), - GetArenaNoVirtual()); - } - response_body_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_response_body().empty()) { - response_body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_response_body(), - GetArenaNoVirtual()); - } - clear_has_pattern(); - switch (from.pattern_case()) { - case kGet: { - _internal_set_get(from._internal_get()); - break; - } - case kPut: { - _internal_set_put(from._internal_put()); - break; - } - case kPost: { - _internal_set_post(from._internal_post()); - break; - } - case kDelete: { - _internal_set_delete_(from._internal_delete_()); - break; - } - case kPatch: { - _internal_set_patch(from._internal_patch()); - break; - } - case kCustom: { - _internal_mutable_custom()->::google::api::CustomHttpPattern::MergeFrom(from._internal_custom()); - break; - } - case PATTERN_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:google.api.HttpRule) -} - -void HttpRule::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_HttpRule_google_2fapi_2fhttp_2eproto.base); - selector_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - body_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - response_body_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - clear_has_pattern(); -} - -HttpRule::~HttpRule() { - // @@protoc_insertion_point(destructor:google.api.HttpRule) - SharedDtor(); -} - -void HttpRule::SharedDtor() { - GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr); - selector_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - body_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - response_body_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (has_pattern()) { - clear_pattern(); - } -} - -void HttpRule::ArenaDtor(void* object) { - HttpRule* _this = reinterpret_cast< HttpRule* >(object); - (void)_this; -} -void HttpRule::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} -void HttpRule::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const HttpRule& HttpRule::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_HttpRule_google_2fapi_2fhttp_2eproto.base); - return *internal_default_instance(); -} - - -void HttpRule::clear_pattern() { -// @@protoc_insertion_point(one_of_clear_start:google.api.HttpRule) - switch (pattern_case()) { - case kGet: { - pattern_.get_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - break; - } - case kPut: { - pattern_.put_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - break; - } - case kPost: { - pattern_.post_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - break; - } - case kDelete: { - pattern_.delete__.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - break; - } - case kPatch: { - pattern_.patch_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - break; - } - case kCustom: { - if (GetArenaNoVirtual() == nullptr) { - delete pattern_.custom_; - } - break; - } - case PATTERN_NOT_SET: { - break; - } - } - _oneof_case_[0] = PATTERN_NOT_SET; -} - - -void HttpRule::Clear() { -// @@protoc_insertion_point(message_clear_start:google.api.HttpRule) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - additional_bindings_.Clear(); - selector_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - body_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - response_body_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - clear_pattern(); - _internal_metadata_.Clear(); -} - -const char* HttpRule::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string selector = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_selector(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.HttpRule.selector")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string get = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_get(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.HttpRule.get")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string put = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_put(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.HttpRule.put")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string post = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - auto str = _internal_mutable_post(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.HttpRule.post")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string delete = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { - auto str = _internal_mutable_delete_(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.HttpRule.delete")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string patch = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { - auto str = _internal_mutable_patch(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.HttpRule.patch")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string body = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { - auto str = _internal_mutable_body(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.HttpRule.body")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // .google.api.CustomHttpPattern custom = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_custom(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated .google.api.HttpRule additional_bindings = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_additional_bindings(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); - } else goto handle_unusual; - continue; - // string response_body = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { - auto str = _internal_mutable_response_body(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.HttpRule.response_body")); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* HttpRule::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:google.api.HttpRule) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string selector = 1; - if (this->selector().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_selector().data(), static_cast<int>(this->_internal_selector().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.HttpRule.selector"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_selector(), target); - } - - // string get = 2; - if (_internal_has_get()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_get().data(), static_cast<int>(this->_internal_get().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.HttpRule.get"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_get(), target); - } - - // string put = 3; - if (_internal_has_put()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_put().data(), static_cast<int>(this->_internal_put().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.HttpRule.put"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_put(), target); - } - - // string post = 4; - if (_internal_has_post()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_post().data(), static_cast<int>(this->_internal_post().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.HttpRule.post"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_post(), target); - } - - // string delete = 5; - if (_internal_has_delete_()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_delete_().data(), static_cast<int>(this->_internal_delete_().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.HttpRule.delete"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_delete_(), target); - } - - // string patch = 6; - if (_internal_has_patch()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_patch().data(), static_cast<int>(this->_internal_patch().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.HttpRule.patch"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_patch(), target); - } - - // string body = 7; - if (this->body().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_body().data(), static_cast<int>(this->_internal_body().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.HttpRule.body"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_body(), target); - } - - // .google.api.CustomHttpPattern custom = 8; - if (_internal_has_custom()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 8, _Internal::custom(this), target, stream); - } - - // repeated .google.api.HttpRule additional_bindings = 11; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_additional_bindings_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, this->_internal_additional_bindings(i), target, stream); - } - - // string response_body = 12; - if (this->response_body().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_response_body().data(), static_cast<int>(this->_internal_response_body().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.HttpRule.response_body"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_response_body(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:google.api.HttpRule) - return target; -} - -size_t HttpRule::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:google.api.HttpRule) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .google.api.HttpRule additional_bindings = 11; - total_size += 1UL * this->_internal_additional_bindings_size(); - for (const auto& msg : this->additional_bindings_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // string selector = 1; - if (this->selector().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_selector()); - } - - // string body = 7; - if (this->body().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_body()); - } - - // string response_body = 12; - if (this->response_body().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_response_body()); - } - - switch (pattern_case()) { - // string get = 2; - case kGet: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_get()); - break; - } - // string put = 3; - case kPut: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_put()); - break; - } - // string post = 4; - case kPost: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_post()); - break; - } - // string delete = 5; - case kDelete: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_delete_()); - break; - } - // string patch = 6; - case kPatch: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_patch()); - break; - } - // .google.api.CustomHttpPattern custom = 8; - case kCustom: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *pattern_.custom_); - break; - } - case PATTERN_NOT_SET: { - break; - } - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void HttpRule::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:google.api.HttpRule) - GOOGLE_DCHECK_NE(&from, this); - const HttpRule* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<HttpRule>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.api.HttpRule) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:google.api.HttpRule) - MergeFrom(*source); - } -} - -void HttpRule::MergeFrom(const HttpRule& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:google.api.HttpRule) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - additional_bindings_.MergeFrom(from.additional_bindings_); - if (from.selector().size() > 0) { - _internal_set_selector(from._internal_selector()); - } - if (from.body().size() > 0) { - _internal_set_body(from._internal_body()); - } - if (from.response_body().size() > 0) { - _internal_set_response_body(from._internal_response_body()); - } - switch (from.pattern_case()) { - case kGet: { - _internal_set_get(from._internal_get()); - break; - } - case kPut: { - _internal_set_put(from._internal_put()); - break; - } - case kPost: { - _internal_set_post(from._internal_post()); - break; - } - case kDelete: { - _internal_set_delete_(from._internal_delete_()); - break; - } - case kPatch: { - _internal_set_patch(from._internal_patch()); - break; - } - case kCustom: { - _internal_mutable_custom()->::google::api::CustomHttpPattern::MergeFrom(from._internal_custom()); - break; - } - case PATTERN_NOT_SET: { - break; - } - } -} - -void HttpRule::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:google.api.HttpRule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void HttpRule::CopyFrom(const HttpRule& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:google.api.HttpRule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool HttpRule::IsInitialized() const { - return true; -} - -void HttpRule::InternalSwap(HttpRule* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - additional_bindings_.InternalSwap(&other->additional_bindings_); - selector_.Swap(&other->selector_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - body_.Swap(&other->body_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - response_body_.Swap(&other->response_body_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(pattern_, other->pattern_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::PROTOBUF_NAMESPACE_ID::Metadata HttpRule::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void CustomHttpPattern::InitAsDefaultInstance() { -} -class CustomHttpPattern::_Internal { - public: -}; - -CustomHttpPattern::CustomHttpPattern() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:google.api.CustomHttpPattern) -} -CustomHttpPattern::CustomHttpPattern(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(arena) { - SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:google.api.CustomHttpPattern) -} -CustomHttpPattern::CustomHttpPattern(const CustomHttpPattern& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - kind_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_kind().empty()) { - kind_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_kind(), - GetArenaNoVirtual()); - } - path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_path().empty()) { - path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_path(), - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(copy_constructor:google.api.CustomHttpPattern) -} - -void CustomHttpPattern::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_CustomHttpPattern_google_2fapi_2fhttp_2eproto.base); - kind_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -CustomHttpPattern::~CustomHttpPattern() { - // @@protoc_insertion_point(destructor:google.api.CustomHttpPattern) - SharedDtor(); -} - -void CustomHttpPattern::SharedDtor() { - GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr); - kind_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - path_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void CustomHttpPattern::ArenaDtor(void* object) { - CustomHttpPattern* _this = reinterpret_cast< CustomHttpPattern* >(object); - (void)_this; -} -void CustomHttpPattern::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} -void CustomHttpPattern::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CustomHttpPattern& CustomHttpPattern::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CustomHttpPattern_google_2fapi_2fhttp_2eproto.base); - return *internal_default_instance(); -} - - -void CustomHttpPattern::Clear() { -// @@protoc_insertion_point(message_clear_start:google.api.CustomHttpPattern) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - kind_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - _internal_metadata_.Clear(); -} - -const char* CustomHttpPattern::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_kind(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.CustomHttpPattern.kind")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string path = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_path(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.api.CustomHttpPattern.path")); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* CustomHttpPattern::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:google.api.CustomHttpPattern) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string kind = 1; - if (this->kind().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_kind().data(), static_cast<int>(this->_internal_kind().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.CustomHttpPattern.kind"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_kind(), target); - } - - // string path = 2; - if (this->path().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_path().data(), static_cast<int>(this->_internal_path().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "google.api.CustomHttpPattern.path"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_path(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:google.api.CustomHttpPattern) - return target; -} - -size_t CustomHttpPattern::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:google.api.CustomHttpPattern) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string kind = 1; - if (this->kind().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_kind()); - } - - // string path = 2; - if (this->path().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_path()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CustomHttpPattern::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:google.api.CustomHttpPattern) - GOOGLE_DCHECK_NE(&from, this); - const CustomHttpPattern* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<CustomHttpPattern>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.api.CustomHttpPattern) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:google.api.CustomHttpPattern) - MergeFrom(*source); - } -} - -void CustomHttpPattern::MergeFrom(const CustomHttpPattern& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:google.api.CustomHttpPattern) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.kind().size() > 0) { - _internal_set_kind(from._internal_kind()); - } - if (from.path().size() > 0) { - _internal_set_path(from._internal_path()); - } -} - -void CustomHttpPattern::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:google.api.CustomHttpPattern) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CustomHttpPattern::CopyFrom(const CustomHttpPattern& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:google.api.CustomHttpPattern) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CustomHttpPattern::IsInitialized() const { - return true; -} - -void CustomHttpPattern::InternalSwap(CustomHttpPattern* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - kind_.Swap(&other->kind_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - path_.Swap(&other->path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CustomHttpPattern::GetMetadata() const { - return GetMetadataStatic(); -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace api -} // namespace google -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::google::api::Http* Arena::CreateMaybeMessage< ::google::api::Http >(Arena* arena) { - return Arena::CreateMessageInternal< ::google::api::Http >(arena); -} -template<> PROTOBUF_NOINLINE ::google::api::HttpRule* Arena::CreateMaybeMessage< ::google::api::HttpRule >(Arena* arena) { - return Arena::CreateMessageInternal< ::google::api::HttpRule >(arena); -} -template<> PROTOBUF_NOINLINE ::google::api::CustomHttpPattern* Arena::CreateMaybeMessage< ::google::api::CustomHttpPattern >(Arena* arena) { - return Arena::CreateMessageInternal< ::google::api::CustomHttpPattern >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/google/api/http.pb.h b/cpp/src/vereign/v1pb/google/api/http.pb.h deleted file mode 100644 index f72312cefdf6bd04c8cd42d0e219fdba23964820..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/google/api/http.pb.h +++ /dev/null @@ -1,2151 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/api/http.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fapi_2fhttp_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_google_2fapi_2fhttp_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.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/unknown_field_set.h> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_google_2fapi_2fhttp_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_google_2fapi_2fhttp_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fapi_2fhttp_2eproto; -namespace google { -namespace api { -class CustomHttpPattern; -class CustomHttpPatternDefaultTypeInternal; -extern CustomHttpPatternDefaultTypeInternal _CustomHttpPattern_default_instance_; -class Http; -class HttpDefaultTypeInternal; -extern HttpDefaultTypeInternal _Http_default_instance_; -class HttpRule; -class HttpRuleDefaultTypeInternal; -extern HttpRuleDefaultTypeInternal _HttpRule_default_instance_; -} // namespace api -} // namespace google -PROTOBUF_NAMESPACE_OPEN -template<> ::google::api::CustomHttpPattern* Arena::CreateMaybeMessage<::google::api::CustomHttpPattern>(Arena*); -template<> ::google::api::Http* Arena::CreateMaybeMessage<::google::api::Http>(Arena*); -template<> ::google::api::HttpRule* Arena::CreateMaybeMessage<::google::api::HttpRule>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace google { -namespace api { - -// =================================================================== - -class Http : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.api.Http) */ { - public: - Http(); - virtual ~Http(); - - Http(const Http& from); - Http(Http&& from) noexcept - : Http() { - *this = ::std::move(from); - } - - inline Http& operator=(const Http& from) { - CopyFrom(from); - return *this; - } - inline Http& operator=(Http&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { - return GetArenaNoVirtual(); - } - inline void* GetMaybeArenaPointer() const final { - return MaybeArenaPtr(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const Http& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Http* internal_default_instance() { - return reinterpret_cast<const Http*>( - &_Http_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Http& a, Http& b) { - a.Swap(&b); - } - inline void Swap(Http* other) { - if (other == this) return; - if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Http* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline Http* New() const final { - return CreateMaybeMessage<Http>(nullptr); - } - - Http* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Http>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const Http& from); - void MergeFrom(const Http& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Http* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "google.api.Http"; - } - protected: - explicit Http(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return _internal_metadata_.arena(); - } - inline void* MaybeArenaPtr() const { - return _internal_metadata_.raw_arena_ptr(); - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fapi_2fhttp_2eproto); - return ::descriptor_table_google_2fapi_2fhttp_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRulesFieldNumber = 1, - kFullyDecodeReservedExpansionFieldNumber = 2, - }; - // repeated .google.api.HttpRule rules = 1; - int rules_size() const; - private: - int _internal_rules_size() const; - public: - void clear_rules(); - ::google::api::HttpRule* mutable_rules(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule >* - mutable_rules(); - private: - const ::google::api::HttpRule& _internal_rules(int index) const; - ::google::api::HttpRule* _internal_add_rules(); - public: - const ::google::api::HttpRule& rules(int index) const; - ::google::api::HttpRule* add_rules(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule >& - rules() const; - - // bool fully_decode_reserved_expansion = 2; - void clear_fully_decode_reserved_expansion(); - bool fully_decode_reserved_expansion() const; - void set_fully_decode_reserved_expansion(bool value); - private: - bool _internal_fully_decode_reserved_expansion() const; - void _internal_set_fully_decode_reserved_expansion(bool value); - public: - - // @@protoc_insertion_point(class_scope:google.api.Http) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule > rules_; - bool fully_decode_reserved_expansion_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_google_2fapi_2fhttp_2eproto; -}; -// ------------------------------------------------------------------- - -class HttpRule : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.api.HttpRule) */ { - public: - HttpRule(); - virtual ~HttpRule(); - - HttpRule(const HttpRule& from); - HttpRule(HttpRule&& from) noexcept - : HttpRule() { - *this = ::std::move(from); - } - - inline HttpRule& operator=(const HttpRule& from) { - CopyFrom(from); - return *this; - } - inline HttpRule& operator=(HttpRule&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { - return GetArenaNoVirtual(); - } - inline void* GetMaybeArenaPointer() const final { - return MaybeArenaPtr(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const HttpRule& default_instance(); - - enum PatternCase { - kGet = 2, - kPut = 3, - kPost = 4, - kDelete = 5, - kPatch = 6, - kCustom = 8, - PATTERN_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const HttpRule* internal_default_instance() { - return reinterpret_cast<const HttpRule*>( - &_HttpRule_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(HttpRule& a, HttpRule& b) { - a.Swap(&b); - } - inline void Swap(HttpRule* other) { - if (other == this) return; - if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(HttpRule* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline HttpRule* New() const final { - return CreateMaybeMessage<HttpRule>(nullptr); - } - - HttpRule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<HttpRule>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const HttpRule& from); - void MergeFrom(const HttpRule& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(HttpRule* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "google.api.HttpRule"; - } - protected: - explicit HttpRule(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return _internal_metadata_.arena(); - } - inline void* MaybeArenaPtr() const { - return _internal_metadata_.raw_arena_ptr(); - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fapi_2fhttp_2eproto); - return ::descriptor_table_google_2fapi_2fhttp_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAdditionalBindingsFieldNumber = 11, - kSelectorFieldNumber = 1, - kBodyFieldNumber = 7, - kResponseBodyFieldNumber = 12, - kGetFieldNumber = 2, - kPutFieldNumber = 3, - kPostFieldNumber = 4, - kDeleteFieldNumber = 5, - kPatchFieldNumber = 6, - kCustomFieldNumber = 8, - }; - // repeated .google.api.HttpRule additional_bindings = 11; - int additional_bindings_size() const; - private: - int _internal_additional_bindings_size() const; - public: - void clear_additional_bindings(); - ::google::api::HttpRule* mutable_additional_bindings(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule >* - mutable_additional_bindings(); - private: - const ::google::api::HttpRule& _internal_additional_bindings(int index) const; - ::google::api::HttpRule* _internal_add_additional_bindings(); - public: - const ::google::api::HttpRule& additional_bindings(int index) const; - ::google::api::HttpRule* add_additional_bindings(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule >& - additional_bindings() const; - - // string selector = 1; - void clear_selector(); - const std::string& selector() const; - void set_selector(const std::string& value); - void set_selector(std::string&& value); - void set_selector(const char* value); - void set_selector(const char* value, size_t size); - std::string* mutable_selector(); - std::string* release_selector(); - void set_allocated_selector(std::string* selector); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_selector(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_selector( - std::string* selector); - private: - const std::string& _internal_selector() const; - void _internal_set_selector(const std::string& value); - std::string* _internal_mutable_selector(); - public: - - // string body = 7; - void clear_body(); - const std::string& body() const; - void set_body(const std::string& value); - void set_body(std::string&& value); - void set_body(const char* value); - void set_body(const char* value, size_t size); - std::string* mutable_body(); - std::string* release_body(); - void set_allocated_body(std::string* body); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_body(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_body( - std::string* body); - private: - const std::string& _internal_body() const; - void _internal_set_body(const std::string& value); - std::string* _internal_mutable_body(); - public: - - // string response_body = 12; - void clear_response_body(); - const std::string& response_body() const; - void set_response_body(const std::string& value); - void set_response_body(std::string&& value); - void set_response_body(const char* value); - void set_response_body(const char* value, size_t size); - std::string* mutable_response_body(); - std::string* release_response_body(); - void set_allocated_response_body(std::string* response_body); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_response_body(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_response_body( - std::string* response_body); - private: - const std::string& _internal_response_body() const; - void _internal_set_response_body(const std::string& value); - std::string* _internal_mutable_response_body(); - public: - - // string get = 2; - private: - bool _internal_has_get() const; - public: - void clear_get(); - const std::string& get() const; - void set_get(const std::string& value); - void set_get(std::string&& value); - void set_get(const char* value); - void set_get(const char* value, size_t size); - std::string* mutable_get(); - std::string* release_get(); - void set_allocated_get(std::string* get); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_get(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_get( - std::string* get); - private: - const std::string& _internal_get() const; - void _internal_set_get(const std::string& value); - std::string* _internal_mutable_get(); - public: - - // string put = 3; - private: - bool _internal_has_put() const; - public: - void clear_put(); - const std::string& put() const; - void set_put(const std::string& value); - void set_put(std::string&& value); - void set_put(const char* value); - void set_put(const char* value, size_t size); - std::string* mutable_put(); - std::string* release_put(); - void set_allocated_put(std::string* put); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_put(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_put( - std::string* put); - private: - const std::string& _internal_put() const; - void _internal_set_put(const std::string& value); - std::string* _internal_mutable_put(); - public: - - // string post = 4; - private: - bool _internal_has_post() const; - public: - void clear_post(); - const std::string& post() const; - void set_post(const std::string& value); - void set_post(std::string&& value); - void set_post(const char* value); - void set_post(const char* value, size_t size); - std::string* mutable_post(); - std::string* release_post(); - void set_allocated_post(std::string* post); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_post(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_post( - std::string* post); - private: - const std::string& _internal_post() const; - void _internal_set_post(const std::string& value); - std::string* _internal_mutable_post(); - public: - - // string delete = 5; - private: - bool _internal_has_delete_() const; - public: - void clear_delete_(); - const std::string& delete_() const; - void set_delete_(const std::string& value); - void set_delete_(std::string&& value); - void set_delete_(const char* value); - void set_delete_(const char* value, size_t size); - std::string* mutable_delete_(); - std::string* release_delete_(); - void set_allocated_delete_(std::string* delete_); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_delete_(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_delete_( - std::string* delete_); - private: - const std::string& _internal_delete_() const; - void _internal_set_delete_(const std::string& value); - std::string* _internal_mutable_delete_(); - public: - - // string patch = 6; - private: - bool _internal_has_patch() const; - public: - void clear_patch(); - const std::string& patch() const; - void set_patch(const std::string& value); - void set_patch(std::string&& value); - void set_patch(const char* value); - void set_patch(const char* value, size_t size); - std::string* mutable_patch(); - std::string* release_patch(); - void set_allocated_patch(std::string* patch); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_patch(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_patch( - std::string* patch); - private: - const std::string& _internal_patch() const; - void _internal_set_patch(const std::string& value); - std::string* _internal_mutable_patch(); - public: - - // .google.api.CustomHttpPattern custom = 8; - bool has_custom() const; - private: - bool _internal_has_custom() const; - public: - void clear_custom(); - const ::google::api::CustomHttpPattern& custom() const; - ::google::api::CustomHttpPattern* release_custom(); - ::google::api::CustomHttpPattern* mutable_custom(); - void set_allocated_custom(::google::api::CustomHttpPattern* custom); - private: - const ::google::api::CustomHttpPattern& _internal_custom() const; - ::google::api::CustomHttpPattern* _internal_mutable_custom(); - public: - void unsafe_arena_set_allocated_custom( - ::google::api::CustomHttpPattern* custom); - ::google::api::CustomHttpPattern* unsafe_arena_release_custom(); - - void clear_pattern(); - PatternCase pattern_case() const; - // @@protoc_insertion_point(class_scope:google.api.HttpRule) - private: - class _Internal; - void set_has_get(); - void set_has_put(); - void set_has_post(); - void set_has_delete_(); - void set_has_patch(); - void set_has_custom(); - - inline bool has_pattern() const; - inline void clear_has_pattern(); - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule > additional_bindings_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selector_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_body_; - union PatternUnion { - PatternUnion() {} - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr get_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr put_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr post_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr delete__; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr patch_; - ::google::api::CustomHttpPattern* custom_; - } pattern_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_google_2fapi_2fhttp_2eproto; -}; -// ------------------------------------------------------------------- - -class CustomHttpPattern : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.api.CustomHttpPattern) */ { - public: - CustomHttpPattern(); - virtual ~CustomHttpPattern(); - - CustomHttpPattern(const CustomHttpPattern& from); - CustomHttpPattern(CustomHttpPattern&& from) noexcept - : CustomHttpPattern() { - *this = ::std::move(from); - } - - inline CustomHttpPattern& operator=(const CustomHttpPattern& from) { - CopyFrom(from); - return *this; - } - inline CustomHttpPattern& operator=(CustomHttpPattern&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { - return GetArenaNoVirtual(); - } - inline void* GetMaybeArenaPointer() const final { - return MaybeArenaPtr(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const CustomHttpPattern& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CustomHttpPattern* internal_default_instance() { - return reinterpret_cast<const CustomHttpPattern*>( - &_CustomHttpPattern_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CustomHttpPattern& a, CustomHttpPattern& b) { - a.Swap(&b); - } - inline void Swap(CustomHttpPattern* other) { - if (other == this) return; - if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CustomHttpPattern* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline CustomHttpPattern* New() const final { - return CreateMaybeMessage<CustomHttpPattern>(nullptr); - } - - CustomHttpPattern* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<CustomHttpPattern>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const CustomHttpPattern& from); - void MergeFrom(const CustomHttpPattern& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CustomHttpPattern* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "google.api.CustomHttpPattern"; - } - protected: - explicit CustomHttpPattern(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return _internal_metadata_.arena(); - } - inline void* MaybeArenaPtr() const { - return _internal_metadata_.raw_arena_ptr(); - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fapi_2fhttp_2eproto); - return ::descriptor_table_google_2fapi_2fhttp_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKindFieldNumber = 1, - kPathFieldNumber = 2, - }; - // string kind = 1; - void clear_kind(); - const std::string& kind() const; - void set_kind(const std::string& value); - void set_kind(std::string&& value); - void set_kind(const char* value); - void set_kind(const char* value, size_t size); - std::string* mutable_kind(); - std::string* release_kind(); - void set_allocated_kind(std::string* kind); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_kind(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_kind( - std::string* kind); - private: - const std::string& _internal_kind() const; - void _internal_set_kind(const std::string& value); - std::string* _internal_mutable_kind(); - public: - - // string path = 2; - void clear_path(); - const std::string& path() const; - void set_path(const std::string& value); - void set_path(std::string&& value); - void set_path(const char* value); - void set_path(const char* value, size_t size); - std::string* mutable_path(); - std::string* release_path(); - void set_allocated_path(std::string* path); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_path(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_path( - std::string* path); - private: - const std::string& _internal_path() const; - void _internal_set_path(const std::string& value); - std::string* _internal_mutable_path(); - public: - - // @@protoc_insertion_point(class_scope:google.api.CustomHttpPattern) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr kind_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_google_2fapi_2fhttp_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Http - -// repeated .google.api.HttpRule rules = 1; -inline int Http::_internal_rules_size() const { - return rules_.size(); -} -inline int Http::rules_size() const { - return _internal_rules_size(); -} -inline void Http::clear_rules() { - rules_.Clear(); -} -inline ::google::api::HttpRule* Http::mutable_rules(int index) { - // @@protoc_insertion_point(field_mutable:google.api.Http.rules) - return rules_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule >* -Http::mutable_rules() { - // @@protoc_insertion_point(field_mutable_list:google.api.Http.rules) - return &rules_; -} -inline const ::google::api::HttpRule& Http::_internal_rules(int index) const { - return rules_.Get(index); -} -inline const ::google::api::HttpRule& Http::rules(int index) const { - // @@protoc_insertion_point(field_get:google.api.Http.rules) - return _internal_rules(index); -} -inline ::google::api::HttpRule* Http::_internal_add_rules() { - return rules_.Add(); -} -inline ::google::api::HttpRule* Http::add_rules() { - // @@protoc_insertion_point(field_add:google.api.Http.rules) - return _internal_add_rules(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule >& -Http::rules() const { - // @@protoc_insertion_point(field_list:google.api.Http.rules) - return rules_; -} - -// bool fully_decode_reserved_expansion = 2; -inline void Http::clear_fully_decode_reserved_expansion() { - fully_decode_reserved_expansion_ = false; -} -inline bool Http::_internal_fully_decode_reserved_expansion() const { - return fully_decode_reserved_expansion_; -} -inline bool Http::fully_decode_reserved_expansion() const { - // @@protoc_insertion_point(field_get:google.api.Http.fully_decode_reserved_expansion) - return _internal_fully_decode_reserved_expansion(); -} -inline void Http::_internal_set_fully_decode_reserved_expansion(bool value) { - - fully_decode_reserved_expansion_ = value; -} -inline void Http::set_fully_decode_reserved_expansion(bool value) { - _internal_set_fully_decode_reserved_expansion(value); - // @@protoc_insertion_point(field_set:google.api.Http.fully_decode_reserved_expansion) -} - -// ------------------------------------------------------------------- - -// HttpRule - -// string selector = 1; -inline void HttpRule::clear_selector() { - selector_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline const std::string& HttpRule::selector() const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.selector) - return _internal_selector(); -} -inline void HttpRule::set_selector(const std::string& value) { - _internal_set_selector(value); - // @@protoc_insertion_point(field_set:google.api.HttpRule.selector) -} -inline std::string* HttpRule::mutable_selector() { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.selector) - return _internal_mutable_selector(); -} -inline const std::string& HttpRule::_internal_selector() const { - return selector_.Get(); -} -inline void HttpRule::_internal_set_selector(const std::string& value) { - - selector_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); -} -inline void HttpRule::set_selector(std::string&& value) { - - selector_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.HttpRule.selector) -} -inline void HttpRule::set_selector(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - selector_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.HttpRule.selector) -} -inline void HttpRule::set_selector(const char* value, - size_t size) { - - selector_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.HttpRule.selector) -} -inline std::string* HttpRule::_internal_mutable_selector() { - - return selector_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline std::string* HttpRule::release_selector() { - // @@protoc_insertion_point(field_release:google.api.HttpRule.selector) - - return selector_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline void HttpRule::set_allocated_selector(std::string* selector) { - if (selector != nullptr) { - - } else { - - } - selector_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), selector, - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_allocated:google.api.HttpRule.selector) -} -inline std::string* HttpRule::unsafe_arena_release_selector() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.HttpRule.selector) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - - return selector_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline void HttpRule::unsafe_arena_set_allocated_selector( - std::string* selector) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (selector != nullptr) { - - } else { - - } - selector_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - selector, GetArenaNoVirtual()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.HttpRule.selector) -} - -// string get = 2; -inline bool HttpRule::_internal_has_get() const { - return pattern_case() == kGet; -} -inline void HttpRule::set_has_get() { - _oneof_case_[0] = kGet; -} -inline void HttpRule::clear_get() { - if (_internal_has_get()) { - pattern_.get_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - clear_has_pattern(); - } -} -inline const std::string& HttpRule::get() const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.get) - return _internal_get(); -} -inline void HttpRule::set_get(const std::string& value) { - _internal_set_get(value); - // @@protoc_insertion_point(field_set:google.api.HttpRule.get) -} -inline std::string* HttpRule::mutable_get() { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.get) - return _internal_mutable_get(); -} -inline const std::string& HttpRule::_internal_get() const { - if (_internal_has_get()) { - return pattern_.get_.Get(); - } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); -} -inline void HttpRule::_internal_set_get(const std::string& value) { - if (!_internal_has_get()) { - clear_pattern(); - set_has_get(); - pattern_.get_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.get_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, - GetArenaNoVirtual()); -} -inline void HttpRule::set_get(std::string&& value) { - // @@protoc_insertion_point(field_set:google.api.HttpRule.get) - if (!_internal_has_get()) { - clear_pattern(); - set_has_get(); - pattern_.get_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.get_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.HttpRule.get) -} -inline void HttpRule::set_get(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!_internal_has_get()) { - clear_pattern(); - set_has_get(); - pattern_.get_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.get_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.HttpRule.get) -} -inline void HttpRule::set_get(const char* value, - size_t size) { - if (!_internal_has_get()) { - clear_pattern(); - set_has_get(); - pattern_.get_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.get_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.HttpRule.get) -} -inline std::string* HttpRule::_internal_mutable_get() { - if (!_internal_has_get()) { - clear_pattern(); - set_has_get(); - pattern_.get_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - return pattern_.get_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline std::string* HttpRule::release_get() { - // @@protoc_insertion_point(field_release:google.api.HttpRule.get) - if (_internal_has_get()) { - clear_has_pattern(); - return pattern_.get_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::set_allocated_get(std::string* get) { - if (has_pattern()) { - clear_pattern(); - } - if (get != nullptr) { - set_has_get(); - pattern_.get_.UnsafeSetDefault(get); - } - // @@protoc_insertion_point(field_set_allocated:google.api.HttpRule.get) -} -inline std::string* HttpRule::unsafe_arena_release_get() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.HttpRule.get) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (_internal_has_get()) { - clear_has_pattern(); - return pattern_.get_.UnsafeArenaRelease( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::unsafe_arena_set_allocated_get(std::string* get) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (!_internal_has_get()) { - pattern_.get_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - clear_pattern(); - if (get) { - set_has_get(); - pattern_.get_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), get, GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.HttpRule.get) -} - -// string put = 3; -inline bool HttpRule::_internal_has_put() const { - return pattern_case() == kPut; -} -inline void HttpRule::set_has_put() { - _oneof_case_[0] = kPut; -} -inline void HttpRule::clear_put() { - if (_internal_has_put()) { - pattern_.put_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - clear_has_pattern(); - } -} -inline const std::string& HttpRule::put() const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.put) - return _internal_put(); -} -inline void HttpRule::set_put(const std::string& value) { - _internal_set_put(value); - // @@protoc_insertion_point(field_set:google.api.HttpRule.put) -} -inline std::string* HttpRule::mutable_put() { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.put) - return _internal_mutable_put(); -} -inline const std::string& HttpRule::_internal_put() const { - if (_internal_has_put()) { - return pattern_.put_.Get(); - } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); -} -inline void HttpRule::_internal_set_put(const std::string& value) { - if (!_internal_has_put()) { - clear_pattern(); - set_has_put(); - pattern_.put_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.put_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, - GetArenaNoVirtual()); -} -inline void HttpRule::set_put(std::string&& value) { - // @@protoc_insertion_point(field_set:google.api.HttpRule.put) - if (!_internal_has_put()) { - clear_pattern(); - set_has_put(); - pattern_.put_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.put_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.HttpRule.put) -} -inline void HttpRule::set_put(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!_internal_has_put()) { - clear_pattern(); - set_has_put(); - pattern_.put_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.put_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.HttpRule.put) -} -inline void HttpRule::set_put(const char* value, - size_t size) { - if (!_internal_has_put()) { - clear_pattern(); - set_has_put(); - pattern_.put_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.put_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.HttpRule.put) -} -inline std::string* HttpRule::_internal_mutable_put() { - if (!_internal_has_put()) { - clear_pattern(); - set_has_put(); - pattern_.put_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - return pattern_.put_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline std::string* HttpRule::release_put() { - // @@protoc_insertion_point(field_release:google.api.HttpRule.put) - if (_internal_has_put()) { - clear_has_pattern(); - return pattern_.put_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::set_allocated_put(std::string* put) { - if (has_pattern()) { - clear_pattern(); - } - if (put != nullptr) { - set_has_put(); - pattern_.put_.UnsafeSetDefault(put); - } - // @@protoc_insertion_point(field_set_allocated:google.api.HttpRule.put) -} -inline std::string* HttpRule::unsafe_arena_release_put() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.HttpRule.put) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (_internal_has_put()) { - clear_has_pattern(); - return pattern_.put_.UnsafeArenaRelease( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::unsafe_arena_set_allocated_put(std::string* put) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (!_internal_has_put()) { - pattern_.put_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - clear_pattern(); - if (put) { - set_has_put(); - pattern_.put_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), put, GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.HttpRule.put) -} - -// string post = 4; -inline bool HttpRule::_internal_has_post() const { - return pattern_case() == kPost; -} -inline void HttpRule::set_has_post() { - _oneof_case_[0] = kPost; -} -inline void HttpRule::clear_post() { - if (_internal_has_post()) { - pattern_.post_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - clear_has_pattern(); - } -} -inline const std::string& HttpRule::post() const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.post) - return _internal_post(); -} -inline void HttpRule::set_post(const std::string& value) { - _internal_set_post(value); - // @@protoc_insertion_point(field_set:google.api.HttpRule.post) -} -inline std::string* HttpRule::mutable_post() { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.post) - return _internal_mutable_post(); -} -inline const std::string& HttpRule::_internal_post() const { - if (_internal_has_post()) { - return pattern_.post_.Get(); - } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); -} -inline void HttpRule::_internal_set_post(const std::string& value) { - if (!_internal_has_post()) { - clear_pattern(); - set_has_post(); - pattern_.post_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.post_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, - GetArenaNoVirtual()); -} -inline void HttpRule::set_post(std::string&& value) { - // @@protoc_insertion_point(field_set:google.api.HttpRule.post) - if (!_internal_has_post()) { - clear_pattern(); - set_has_post(); - pattern_.post_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.post_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.HttpRule.post) -} -inline void HttpRule::set_post(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!_internal_has_post()) { - clear_pattern(); - set_has_post(); - pattern_.post_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.post_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.HttpRule.post) -} -inline void HttpRule::set_post(const char* value, - size_t size) { - if (!_internal_has_post()) { - clear_pattern(); - set_has_post(); - pattern_.post_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.post_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.HttpRule.post) -} -inline std::string* HttpRule::_internal_mutable_post() { - if (!_internal_has_post()) { - clear_pattern(); - set_has_post(); - pattern_.post_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - return pattern_.post_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline std::string* HttpRule::release_post() { - // @@protoc_insertion_point(field_release:google.api.HttpRule.post) - if (_internal_has_post()) { - clear_has_pattern(); - return pattern_.post_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::set_allocated_post(std::string* post) { - if (has_pattern()) { - clear_pattern(); - } - if (post != nullptr) { - set_has_post(); - pattern_.post_.UnsafeSetDefault(post); - } - // @@protoc_insertion_point(field_set_allocated:google.api.HttpRule.post) -} -inline std::string* HttpRule::unsafe_arena_release_post() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.HttpRule.post) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (_internal_has_post()) { - clear_has_pattern(); - return pattern_.post_.UnsafeArenaRelease( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::unsafe_arena_set_allocated_post(std::string* post) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (!_internal_has_post()) { - pattern_.post_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - clear_pattern(); - if (post) { - set_has_post(); - pattern_.post_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), post, GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.HttpRule.post) -} - -// string delete = 5; -inline bool HttpRule::_internal_has_delete_() const { - return pattern_case() == kDelete; -} -inline void HttpRule::set_has_delete_() { - _oneof_case_[0] = kDelete; -} -inline void HttpRule::clear_delete_() { - if (_internal_has_delete_()) { - pattern_.delete__.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - clear_has_pattern(); - } -} -inline const std::string& HttpRule::delete_() const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.delete) - return _internal_delete_(); -} -inline void HttpRule::set_delete_(const std::string& value) { - _internal_set_delete_(value); - // @@protoc_insertion_point(field_set:google.api.HttpRule.delete) -} -inline std::string* HttpRule::mutable_delete_() { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.delete) - return _internal_mutable_delete_(); -} -inline const std::string& HttpRule::_internal_delete_() const { - if (_internal_has_delete_()) { - return pattern_.delete__.Get(); - } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); -} -inline void HttpRule::_internal_set_delete_(const std::string& value) { - if (!_internal_has_delete_()) { - clear_pattern(); - set_has_delete_(); - pattern_.delete__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.delete__.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, - GetArenaNoVirtual()); -} -inline void HttpRule::set_delete_(std::string&& value) { - // @@protoc_insertion_point(field_set:google.api.HttpRule.delete) - if (!_internal_has_delete_()) { - clear_pattern(); - set_has_delete_(); - pattern_.delete__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.delete__.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.HttpRule.delete) -} -inline void HttpRule::set_delete_(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!_internal_has_delete_()) { - clear_pattern(); - set_has_delete_(); - pattern_.delete__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.delete__.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.HttpRule.delete) -} -inline void HttpRule::set_delete_(const char* value, - size_t size) { - if (!_internal_has_delete_()) { - clear_pattern(); - set_has_delete_(); - pattern_.delete__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.delete__.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.HttpRule.delete) -} -inline std::string* HttpRule::_internal_mutable_delete_() { - if (!_internal_has_delete_()) { - clear_pattern(); - set_has_delete_(); - pattern_.delete__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - return pattern_.delete__.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline std::string* HttpRule::release_delete_() { - // @@protoc_insertion_point(field_release:google.api.HttpRule.delete) - if (_internal_has_delete_()) { - clear_has_pattern(); - return pattern_.delete__.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::set_allocated_delete_(std::string* delete_) { - if (has_pattern()) { - clear_pattern(); - } - if (delete_ != nullptr) { - set_has_delete_(); - pattern_.delete__.UnsafeSetDefault(delete_); - } - // @@protoc_insertion_point(field_set_allocated:google.api.HttpRule.delete) -} -inline std::string* HttpRule::unsafe_arena_release_delete_() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.HttpRule.delete) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (_internal_has_delete_()) { - clear_has_pattern(); - return pattern_.delete__.UnsafeArenaRelease( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::unsafe_arena_set_allocated_delete_(std::string* delete_) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (!_internal_has_delete_()) { - pattern_.delete__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - clear_pattern(); - if (delete_) { - set_has_delete_(); - pattern_.delete__.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), delete_, GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.HttpRule.delete) -} - -// string patch = 6; -inline bool HttpRule::_internal_has_patch() const { - return pattern_case() == kPatch; -} -inline void HttpRule::set_has_patch() { - _oneof_case_[0] = kPatch; -} -inline void HttpRule::clear_patch() { - if (_internal_has_patch()) { - pattern_.patch_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - clear_has_pattern(); - } -} -inline const std::string& HttpRule::patch() const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.patch) - return _internal_patch(); -} -inline void HttpRule::set_patch(const std::string& value) { - _internal_set_patch(value); - // @@protoc_insertion_point(field_set:google.api.HttpRule.patch) -} -inline std::string* HttpRule::mutable_patch() { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.patch) - return _internal_mutable_patch(); -} -inline const std::string& HttpRule::_internal_patch() const { - if (_internal_has_patch()) { - return pattern_.patch_.Get(); - } - return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); -} -inline void HttpRule::_internal_set_patch(const std::string& value) { - if (!_internal_has_patch()) { - clear_pattern(); - set_has_patch(); - pattern_.patch_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.patch_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, - GetArenaNoVirtual()); -} -inline void HttpRule::set_patch(std::string&& value) { - // @@protoc_insertion_point(field_set:google.api.HttpRule.patch) - if (!_internal_has_patch()) { - clear_pattern(); - set_has_patch(); - pattern_.patch_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.patch_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.HttpRule.patch) -} -inline void HttpRule::set_patch(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!_internal_has_patch()) { - clear_pattern(); - set_has_patch(); - pattern_.patch_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.patch_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.HttpRule.patch) -} -inline void HttpRule::set_patch(const char* value, - size_t size) { - if (!_internal_has_patch()) { - clear_pattern(); - set_has_patch(); - pattern_.patch_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - pattern_.patch_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.HttpRule.patch) -} -inline std::string* HttpRule::_internal_mutable_patch() { - if (!_internal_has_patch()) { - clear_pattern(); - set_has_patch(); - pattern_.patch_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - return pattern_.patch_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline std::string* HttpRule::release_patch() { - // @@protoc_insertion_point(field_release:google.api.HttpRule.patch) - if (_internal_has_patch()) { - clear_has_pattern(); - return pattern_.patch_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::set_allocated_patch(std::string* patch) { - if (has_pattern()) { - clear_pattern(); - } - if (patch != nullptr) { - set_has_patch(); - pattern_.patch_.UnsafeSetDefault(patch); - } - // @@protoc_insertion_point(field_set_allocated:google.api.HttpRule.patch) -} -inline std::string* HttpRule::unsafe_arena_release_patch() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.HttpRule.patch) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (_internal_has_patch()) { - clear_has_pattern(); - return pattern_.patch_.UnsafeArenaRelease( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); - } else { - return nullptr; - } -} -inline void HttpRule::unsafe_arena_set_allocated_patch(std::string* patch) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (!_internal_has_patch()) { - pattern_.patch_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - } - clear_pattern(); - if (patch) { - set_has_patch(); - pattern_.patch_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), patch, GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.HttpRule.patch) -} - -// .google.api.CustomHttpPattern custom = 8; -inline bool HttpRule::_internal_has_custom() const { - return pattern_case() == kCustom; -} -inline bool HttpRule::has_custom() const { - return _internal_has_custom(); -} -inline void HttpRule::set_has_custom() { - _oneof_case_[0] = kCustom; -} -inline void HttpRule::clear_custom() { - if (_internal_has_custom()) { - if (GetArenaNoVirtual() == nullptr) { - delete pattern_.custom_; - } - clear_has_pattern(); - } -} -inline ::google::api::CustomHttpPattern* HttpRule::release_custom() { - // @@protoc_insertion_point(field_release:google.api.HttpRule.custom) - if (_internal_has_custom()) { - clear_has_pattern(); - ::google::api::CustomHttpPattern* temp = pattern_.custom_; - if (GetArenaNoVirtual() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - pattern_.custom_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::google::api::CustomHttpPattern& HttpRule::_internal_custom() const { - return _internal_has_custom() - ? *pattern_.custom_ - : *reinterpret_cast< ::google::api::CustomHttpPattern*>(&::google::api::_CustomHttpPattern_default_instance_); -} -inline const ::google::api::CustomHttpPattern& HttpRule::custom() const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.custom) - return _internal_custom(); -} -inline ::google::api::CustomHttpPattern* HttpRule::unsafe_arena_release_custom() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.HttpRule.custom) - if (_internal_has_custom()) { - clear_has_pattern(); - ::google::api::CustomHttpPattern* temp = pattern_.custom_; - pattern_.custom_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void HttpRule::unsafe_arena_set_allocated_custom(::google::api::CustomHttpPattern* custom) { - clear_pattern(); - if (custom) { - set_has_custom(); - pattern_.custom_ = custom; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.HttpRule.custom) -} -inline ::google::api::CustomHttpPattern* HttpRule::_internal_mutable_custom() { - if (!_internal_has_custom()) { - clear_pattern(); - set_has_custom(); - pattern_.custom_ = CreateMaybeMessage< ::google::api::CustomHttpPattern >( - GetArenaNoVirtual()); - } - return pattern_.custom_; -} -inline ::google::api::CustomHttpPattern* HttpRule::mutable_custom() { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.custom) - return _internal_mutable_custom(); -} - -// string body = 7; -inline void HttpRule::clear_body() { - body_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline const std::string& HttpRule::body() const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.body) - return _internal_body(); -} -inline void HttpRule::set_body(const std::string& value) { - _internal_set_body(value); - // @@protoc_insertion_point(field_set:google.api.HttpRule.body) -} -inline std::string* HttpRule::mutable_body() { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.body) - return _internal_mutable_body(); -} -inline const std::string& HttpRule::_internal_body() const { - return body_.Get(); -} -inline void HttpRule::_internal_set_body(const std::string& value) { - - body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); -} -inline void HttpRule::set_body(std::string&& value) { - - body_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.HttpRule.body) -} -inline void HttpRule::set_body(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.HttpRule.body) -} -inline void HttpRule::set_body(const char* value, - size_t size) { - - body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.HttpRule.body) -} -inline std::string* HttpRule::_internal_mutable_body() { - - return body_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline std::string* HttpRule::release_body() { - // @@protoc_insertion_point(field_release:google.api.HttpRule.body) - - return body_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline void HttpRule::set_allocated_body(std::string* body) { - if (body != nullptr) { - - } else { - - } - body_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), body, - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_allocated:google.api.HttpRule.body) -} -inline std::string* HttpRule::unsafe_arena_release_body() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.HttpRule.body) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - - return body_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline void HttpRule::unsafe_arena_set_allocated_body( - std::string* body) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (body != nullptr) { - - } else { - - } - body_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - body, GetArenaNoVirtual()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.HttpRule.body) -} - -// string response_body = 12; -inline void HttpRule::clear_response_body() { - response_body_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline const std::string& HttpRule::response_body() const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.response_body) - return _internal_response_body(); -} -inline void HttpRule::set_response_body(const std::string& value) { - _internal_set_response_body(value); - // @@protoc_insertion_point(field_set:google.api.HttpRule.response_body) -} -inline std::string* HttpRule::mutable_response_body() { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.response_body) - return _internal_mutable_response_body(); -} -inline const std::string& HttpRule::_internal_response_body() const { - return response_body_.Get(); -} -inline void HttpRule::_internal_set_response_body(const std::string& value) { - - response_body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); -} -inline void HttpRule::set_response_body(std::string&& value) { - - response_body_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.HttpRule.response_body) -} -inline void HttpRule::set_response_body(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - response_body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.HttpRule.response_body) -} -inline void HttpRule::set_response_body(const char* value, - size_t size) { - - response_body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.HttpRule.response_body) -} -inline std::string* HttpRule::_internal_mutable_response_body() { - - return response_body_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline std::string* HttpRule::release_response_body() { - // @@protoc_insertion_point(field_release:google.api.HttpRule.response_body) - - return response_body_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline void HttpRule::set_allocated_response_body(std::string* response_body) { - if (response_body != nullptr) { - - } else { - - } - response_body_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response_body, - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_allocated:google.api.HttpRule.response_body) -} -inline std::string* HttpRule::unsafe_arena_release_response_body() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.HttpRule.response_body) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - - return response_body_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline void HttpRule::unsafe_arena_set_allocated_response_body( - std::string* response_body) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (response_body != nullptr) { - - } else { - - } - response_body_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - response_body, GetArenaNoVirtual()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.HttpRule.response_body) -} - -// repeated .google.api.HttpRule additional_bindings = 11; -inline int HttpRule::_internal_additional_bindings_size() const { - return additional_bindings_.size(); -} -inline int HttpRule::additional_bindings_size() const { - return _internal_additional_bindings_size(); -} -inline void HttpRule::clear_additional_bindings() { - additional_bindings_.Clear(); -} -inline ::google::api::HttpRule* HttpRule::mutable_additional_bindings(int index) { - // @@protoc_insertion_point(field_mutable:google.api.HttpRule.additional_bindings) - return additional_bindings_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule >* -HttpRule::mutable_additional_bindings() { - // @@protoc_insertion_point(field_mutable_list:google.api.HttpRule.additional_bindings) - return &additional_bindings_; -} -inline const ::google::api::HttpRule& HttpRule::_internal_additional_bindings(int index) const { - return additional_bindings_.Get(index); -} -inline const ::google::api::HttpRule& HttpRule::additional_bindings(int index) const { - // @@protoc_insertion_point(field_get:google.api.HttpRule.additional_bindings) - return _internal_additional_bindings(index); -} -inline ::google::api::HttpRule* HttpRule::_internal_add_additional_bindings() { - return additional_bindings_.Add(); -} -inline ::google::api::HttpRule* HttpRule::add_additional_bindings() { - // @@protoc_insertion_point(field_add:google.api.HttpRule.additional_bindings) - return _internal_add_additional_bindings(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::api::HttpRule >& -HttpRule::additional_bindings() const { - // @@protoc_insertion_point(field_list:google.api.HttpRule.additional_bindings) - return additional_bindings_; -} - -inline bool HttpRule::has_pattern() const { - return pattern_case() != PATTERN_NOT_SET; -} -inline void HttpRule::clear_has_pattern() { - _oneof_case_[0] = PATTERN_NOT_SET; -} -inline HttpRule::PatternCase HttpRule::pattern_case() const { - return HttpRule::PatternCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// CustomHttpPattern - -// string kind = 1; -inline void CustomHttpPattern::clear_kind() { - kind_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline const std::string& CustomHttpPattern::kind() const { - // @@protoc_insertion_point(field_get:google.api.CustomHttpPattern.kind) - return _internal_kind(); -} -inline void CustomHttpPattern::set_kind(const std::string& value) { - _internal_set_kind(value); - // @@protoc_insertion_point(field_set:google.api.CustomHttpPattern.kind) -} -inline std::string* CustomHttpPattern::mutable_kind() { - // @@protoc_insertion_point(field_mutable:google.api.CustomHttpPattern.kind) - return _internal_mutable_kind(); -} -inline const std::string& CustomHttpPattern::_internal_kind() const { - return kind_.Get(); -} -inline void CustomHttpPattern::_internal_set_kind(const std::string& value) { - - kind_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); -} -inline void CustomHttpPattern::set_kind(std::string&& value) { - - kind_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.CustomHttpPattern.kind) -} -inline void CustomHttpPattern::set_kind(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - kind_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.CustomHttpPattern.kind) -} -inline void CustomHttpPattern::set_kind(const char* value, - size_t size) { - - kind_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.CustomHttpPattern.kind) -} -inline std::string* CustomHttpPattern::_internal_mutable_kind() { - - return kind_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline std::string* CustomHttpPattern::release_kind() { - // @@protoc_insertion_point(field_release:google.api.CustomHttpPattern.kind) - - return kind_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline void CustomHttpPattern::set_allocated_kind(std::string* kind) { - if (kind != nullptr) { - - } else { - - } - kind_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), kind, - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_allocated:google.api.CustomHttpPattern.kind) -} -inline std::string* CustomHttpPattern::unsafe_arena_release_kind() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.CustomHttpPattern.kind) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - - return kind_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline void CustomHttpPattern::unsafe_arena_set_allocated_kind( - std::string* kind) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (kind != nullptr) { - - } else { - - } - kind_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - kind, GetArenaNoVirtual()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.CustomHttpPattern.kind) -} - -// string path = 2; -inline void CustomHttpPattern::clear_path() { - path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline const std::string& CustomHttpPattern::path() const { - // @@protoc_insertion_point(field_get:google.api.CustomHttpPattern.path) - return _internal_path(); -} -inline void CustomHttpPattern::set_path(const std::string& value) { - _internal_set_path(value); - // @@protoc_insertion_point(field_set:google.api.CustomHttpPattern.path) -} -inline std::string* CustomHttpPattern::mutable_path() { - // @@protoc_insertion_point(field_mutable:google.api.CustomHttpPattern.path) - return _internal_mutable_path(); -} -inline const std::string& CustomHttpPattern::_internal_path() const { - return path_.Get(); -} -inline void CustomHttpPattern::_internal_set_path(const std::string& value) { - - path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); -} -inline void CustomHttpPattern::set_path(std::string&& value) { - - path_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_rvalue:google.api.CustomHttpPattern.path) -} -inline void CustomHttpPattern::set_path(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_char:google.api.CustomHttpPattern.path) -} -inline void CustomHttpPattern::set_path(const char* value, - size_t size) { - - path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_pointer:google.api.CustomHttpPattern.path) -} -inline std::string* CustomHttpPattern::_internal_mutable_path() { - - return path_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline std::string* CustomHttpPattern::release_path() { - // @@protoc_insertion_point(field_release:google.api.CustomHttpPattern.path) - - return path_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); -} -inline void CustomHttpPattern::set_allocated_path(std::string* path) { - if (path != nullptr) { - - } else { - - } - path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), path, - GetArenaNoVirtual()); - // @@protoc_insertion_point(field_set_allocated:google.api.CustomHttpPattern.path) -} -inline std::string* CustomHttpPattern::unsafe_arena_release_path() { - // @@protoc_insertion_point(field_unsafe_arena_release:google.api.CustomHttpPattern.path) - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - - return path_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} -inline void CustomHttpPattern::unsafe_arena_set_allocated_path( - std::string* path) { - GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); - if (path != nullptr) { - - } else { - - } - path_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - path, GetArenaNoVirtual()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.api.CustomHttpPattern.path) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace api -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fapi_2fhttp_2eproto diff --git a/cpp/src/vereign/v1pb/identity_types.pb.cc b/cpp/src/vereign/v1pb/identity_types.pb.cc deleted file mode 100644 index 4fdb50f4f136ee8730f653a380a8cb6eb3871169..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/identity_types.pb.cc +++ /dev/null @@ -1,1004 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: identity_types.proto - -#include "identity_types.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -extern PROTOBUF_INTERNAL_EXPORT_identity_5ftypes_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_LoginFormPreviousAddedDeviceResponsePayload_identity_5ftypes_2eproto; -namespace vereign { -namespace v1pb { -class LoginFormDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<LoginForm> _instance; -} _LoginForm_default_instance_; -class LoginFormPreviousAddedDeviceResponsePayloadDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<LoginFormPreviousAddedDeviceResponsePayload> _instance; -} _LoginFormPreviousAddedDeviceResponsePayload_default_instance_; -class LoginFormPreviousAddedDeviceResponseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<LoginFormPreviousAddedDeviceResponse> _instance; -} _LoginFormPreviousAddedDeviceResponse_default_instance_; -} // namespace v1pb -} // namespace vereign -static void InitDefaultsscc_info_LoginForm_identity_5ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::vereign::v1pb::_LoginForm_default_instance_; - new (ptr) ::vereign::v1pb::LoginForm(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::vereign::v1pb::LoginForm::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_LoginForm_identity_5ftypes_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_LoginForm_identity_5ftypes_2eproto}, {}}; - -static void InitDefaultsscc_info_LoginFormPreviousAddedDeviceResponse_identity_5ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::vereign::v1pb::_LoginFormPreviousAddedDeviceResponse_default_instance_; - new (ptr) ::vereign::v1pb::LoginFormPreviousAddedDeviceResponse(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::vereign::v1pb::LoginFormPreviousAddedDeviceResponse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_LoginFormPreviousAddedDeviceResponse_identity_5ftypes_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_LoginFormPreviousAddedDeviceResponse_identity_5ftypes_2eproto}, { - &scc_info_LoginFormPreviousAddedDeviceResponsePayload_identity_5ftypes_2eproto.base,}}; - -static void InitDefaultsscc_info_LoginFormPreviousAddedDeviceResponsePayload_identity_5ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::vereign::v1pb::_LoginFormPreviousAddedDeviceResponsePayload_default_instance_; - new (ptr) ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_LoginFormPreviousAddedDeviceResponsePayload_identity_5ftypes_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_LoginFormPreviousAddedDeviceResponsePayload_identity_5ftypes_2eproto}, {}}; - -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_identity_5ftypes_2eproto[3]; -static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_identity_5ftypes_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_identity_5ftypes_2eproto = nullptr; - -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_identity_5ftypes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginForm, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginForm, mode_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginForm, code_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginForm, actionid_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload, uuid_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload, session_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginFormPreviousAddedDeviceResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginFormPreviousAddedDeviceResponse, status_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginFormPreviousAddedDeviceResponse, code_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginFormPreviousAddedDeviceResponse, error_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::LoginFormPreviousAddedDeviceResponse, data_), -}; -static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::vereign::v1pb::LoginForm)}, - { 8, -1, sizeof(::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload)}, - { 15, -1, sizeof(::vereign::v1pb::LoginFormPreviousAddedDeviceResponse)}, -}; - -static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::vereign::v1pb::_LoginForm_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::vereign::v1pb::_LoginFormPreviousAddedDeviceResponsePayload_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::vereign::v1pb::_LoginFormPreviousAddedDeviceResponse_default_instance_), -}; - -const char descriptor_table_protodef_identity_5ftypes_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\024identity_types.proto\022\014vereign.v1pb\032\022de" - "pendencies.proto\"9\n\tLoginForm\022\014\n\004mode\030\001 " - "\001(\t\022\014\n\004code\030\002 \001(\t\022\020\n\010actionID\030\003 \001(\t\"L\n+L" - "oginFormPreviousAddedDeviceResponsePaylo" - "ad\022\014\n\004Uuid\030\001 \001(\t\022\017\n\007Session\030\002 \001(\t\"\234\001\n$Lo" - "ginFormPreviousAddedDeviceResponse\022\016\n\006st" - "atus\030\001 \001(\t\022\014\n\004code\030\002 \001(\t\022\r\n\005error\030\003 \001(\t\022" - "G\n\004data\030\004 \001(\01329.vereign.v1pb.LoginFormPr" - "eviousAddedDeviceResponsePayloadb\006proto3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_identity_5ftypes_2eproto_deps[1] = { - &::descriptor_table_dependencies_2eproto, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_identity_5ftypes_2eproto_sccs[3] = { - &scc_info_LoginForm_identity_5ftypes_2eproto.base, - &scc_info_LoginFormPreviousAddedDeviceResponse_identity_5ftypes_2eproto.base, - &scc_info_LoginFormPreviousAddedDeviceResponsePayload_identity_5ftypes_2eproto.base, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_identity_5ftypes_2eproto_once; -static bool descriptor_table_identity_5ftypes_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_identity_5ftypes_2eproto = { - &descriptor_table_identity_5ftypes_2eproto_initialized, descriptor_table_protodef_identity_5ftypes_2eproto, "identity_types.proto", 360, - &descriptor_table_identity_5ftypes_2eproto_once, descriptor_table_identity_5ftypes_2eproto_sccs, descriptor_table_identity_5ftypes_2eproto_deps, 3, 1, - schemas, file_default_instances, TableStruct_identity_5ftypes_2eproto::offsets, - file_level_metadata_identity_5ftypes_2eproto, 3, file_level_enum_descriptors_identity_5ftypes_2eproto, file_level_service_descriptors_identity_5ftypes_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_identity_5ftypes_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_identity_5ftypes_2eproto), true); -namespace vereign { -namespace v1pb { - -// =================================================================== - -void LoginForm::InitAsDefaultInstance() { -} -class LoginForm::_Internal { - public: -}; - -LoginForm::LoginForm() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:vereign.v1pb.LoginForm) -} -LoginForm::LoginForm(const LoginForm& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_mode().empty()) { - mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); - } - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_code().empty()) { - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } - actionid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_actionid().empty()) { - actionid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actionid_); - } - // @@protoc_insertion_point(copy_constructor:vereign.v1pb.LoginForm) -} - -void LoginForm::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_LoginForm_identity_5ftypes_2eproto.base); - mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - actionid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -LoginForm::~LoginForm() { - // @@protoc_insertion_point(destructor:vereign.v1pb.LoginForm) - SharedDtor(); -} - -void LoginForm::SharedDtor() { - mode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - actionid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void LoginForm::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LoginForm& LoginForm::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_LoginForm_identity_5ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void LoginForm::Clear() { -// @@protoc_insertion_point(message_clear_start:vereign.v1pb.LoginForm) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - mode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - actionid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -const char* LoginForm::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string mode = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_mode(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.LoginForm.mode")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string code = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_code(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.LoginForm.code")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string actionID = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_actionid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.LoginForm.actionID")); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* LoginForm::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:vereign.v1pb.LoginForm) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string mode = 1; - if (this->mode().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_mode().data(), static_cast<int>(this->_internal_mode().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.LoginForm.mode"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_mode(), target); - } - - // string code = 2; - if (this->code().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_code().data(), static_cast<int>(this->_internal_code().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.LoginForm.code"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_code(), target); - } - - // string actionID = 3; - if (this->actionid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_actionid().data(), static_cast<int>(this->_internal_actionid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.LoginForm.actionID"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_actionid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:vereign.v1pb.LoginForm) - return target; -} - -size_t LoginForm::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:vereign.v1pb.LoginForm) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string mode = 1; - if (this->mode().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_mode()); - } - - // string code = 2; - if (this->code().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_code()); - } - - // string actionID = 3; - if (this->actionid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_actionid()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LoginForm::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:vereign.v1pb.LoginForm) - GOOGLE_DCHECK_NE(&from, this); - const LoginForm* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<LoginForm>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:vereign.v1pb.LoginForm) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:vereign.v1pb.LoginForm) - MergeFrom(*source); - } -} - -void LoginForm::MergeFrom(const LoginForm& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:vereign.v1pb.LoginForm) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.mode().size() > 0) { - - mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); - } - if (from.code().size() > 0) { - - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } - if (from.actionid().size() > 0) { - - actionid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actionid_); - } -} - -void LoginForm::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:vereign.v1pb.LoginForm) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LoginForm::CopyFrom(const LoginForm& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:vereign.v1pb.LoginForm) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LoginForm::IsInitialized() const { - return true; -} - -void LoginForm::InternalSwap(LoginForm* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - mode_.Swap(&other->mode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - code_.Swap(&other->code_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - actionid_.Swap(&other->actionid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata LoginForm::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void LoginFormPreviousAddedDeviceResponsePayload::InitAsDefaultInstance() { -} -class LoginFormPreviousAddedDeviceResponsePayload::_Internal { - public: -}; - -LoginFormPreviousAddedDeviceResponsePayload::LoginFormPreviousAddedDeviceResponsePayload() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) -} -LoginFormPreviousAddedDeviceResponsePayload::LoginFormPreviousAddedDeviceResponsePayload(const LoginFormPreviousAddedDeviceResponsePayload& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_uuid().empty()) { - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - session_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_session().empty()) { - session_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.session_); - } - // @@protoc_insertion_point(copy_constructor:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) -} - -void LoginFormPreviousAddedDeviceResponsePayload::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_LoginFormPreviousAddedDeviceResponsePayload_identity_5ftypes_2eproto.base); - uuid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - session_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -LoginFormPreviousAddedDeviceResponsePayload::~LoginFormPreviousAddedDeviceResponsePayload() { - // @@protoc_insertion_point(destructor:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - SharedDtor(); -} - -void LoginFormPreviousAddedDeviceResponsePayload::SharedDtor() { - uuid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - session_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void LoginFormPreviousAddedDeviceResponsePayload::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LoginFormPreviousAddedDeviceResponsePayload& LoginFormPreviousAddedDeviceResponsePayload::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_LoginFormPreviousAddedDeviceResponsePayload_identity_5ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void LoginFormPreviousAddedDeviceResponsePayload::Clear() { -// @@protoc_insertion_point(message_clear_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - session_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -const char* LoginFormPreviousAddedDeviceResponsePayload::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string Uuid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_uuid(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string Session = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_session(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session")); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* LoginFormPreviousAddedDeviceResponsePayload::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string Uuid = 1; - if (this->uuid().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_uuid().data(), static_cast<int>(this->_internal_uuid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_uuid(), target); - } - - // string Session = 2; - if (this->session().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_session().data(), static_cast<int>(this->_internal_session().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_session(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - return target; -} - -size_t LoginFormPreviousAddedDeviceResponsePayload::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string Uuid = 1; - if (this->uuid().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_uuid()); - } - - // string Session = 2; - if (this->session().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_session()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LoginFormPreviousAddedDeviceResponsePayload::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - GOOGLE_DCHECK_NE(&from, this); - const LoginFormPreviousAddedDeviceResponsePayload* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<LoginFormPreviousAddedDeviceResponsePayload>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - MergeFrom(*source); - } -} - -void LoginFormPreviousAddedDeviceResponsePayload::MergeFrom(const LoginFormPreviousAddedDeviceResponsePayload& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.uuid().size() > 0) { - - uuid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - if (from.session().size() > 0) { - - session_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.session_); - } -} - -void LoginFormPreviousAddedDeviceResponsePayload::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LoginFormPreviousAddedDeviceResponsePayload::CopyFrom(const LoginFormPreviousAddedDeviceResponsePayload& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LoginFormPreviousAddedDeviceResponsePayload::IsInitialized() const { - return true; -} - -void LoginFormPreviousAddedDeviceResponsePayload::InternalSwap(LoginFormPreviousAddedDeviceResponsePayload* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - uuid_.Swap(&other->uuid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - session_.Swap(&other->session_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata LoginFormPreviousAddedDeviceResponsePayload::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void LoginFormPreviousAddedDeviceResponse::InitAsDefaultInstance() { - ::vereign::v1pb::_LoginFormPreviousAddedDeviceResponse_default_instance_._instance.get_mutable()->data_ = const_cast< ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload*>( - ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload::internal_default_instance()); -} -class LoginFormPreviousAddedDeviceResponse::_Internal { - public: - static const ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload& data(const LoginFormPreviousAddedDeviceResponse* msg); -}; - -const ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload& -LoginFormPreviousAddedDeviceResponse::_Internal::data(const LoginFormPreviousAddedDeviceResponse* msg) { - return *msg->data_; -} -LoginFormPreviousAddedDeviceResponse::LoginFormPreviousAddedDeviceResponse() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) -} -LoginFormPreviousAddedDeviceResponse::LoginFormPreviousAddedDeviceResponse(const LoginFormPreviousAddedDeviceResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_status().empty()) { - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); - } - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_code().empty()) { - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } - error_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_error().empty()) { - error_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.error_); - } - if (from._internal_has_data()) { - data_ = new ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload(*from.data_); - } else { - data_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) -} - -void LoginFormPreviousAddedDeviceResponse::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_LoginFormPreviousAddedDeviceResponse_identity_5ftypes_2eproto.base); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - error_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - data_ = nullptr; -} - -LoginFormPreviousAddedDeviceResponse::~LoginFormPreviousAddedDeviceResponse() { - // @@protoc_insertion_point(destructor:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - SharedDtor(); -} - -void LoginFormPreviousAddedDeviceResponse::SharedDtor() { - status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - error_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete data_; -} - -void LoginFormPreviousAddedDeviceResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LoginFormPreviousAddedDeviceResponse& LoginFormPreviousAddedDeviceResponse::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_LoginFormPreviousAddedDeviceResponse_identity_5ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void LoginFormPreviousAddedDeviceResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - error_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && data_ != nullptr) { - delete data_; - } - data_ = nullptr; - _internal_metadata_.Clear(); -} - -const char* LoginFormPreviousAddedDeviceResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string status = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_status(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string code = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_code(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string error = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_error(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // .vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload data = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* LoginFormPreviousAddedDeviceResponse::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string status = 1; - if (this->status().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_status().data(), static_cast<int>(this->_internal_status().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_status(), target); - } - - // string code = 2; - if (this->code().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_code().data(), static_cast<int>(this->_internal_code().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_code(), target); - } - - // string error = 3; - if (this->error().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_error().data(), static_cast<int>(this->_internal_error().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_error(), target); - } - - // .vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload data = 4; - if (this->has_data()) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 4, _Internal::data(this), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - return target; -} - -size_t LoginFormPreviousAddedDeviceResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string status = 1; - if (this->status().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); - } - - // string code = 2; - if (this->code().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_code()); - } - - // string error = 3; - if (this->error().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_error()); - } - - // .vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload data = 4; - if (this->has_data()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *data_); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LoginFormPreviousAddedDeviceResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - GOOGLE_DCHECK_NE(&from, this); - const LoginFormPreviousAddedDeviceResponse* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<LoginFormPreviousAddedDeviceResponse>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - MergeFrom(*source); - } -} - -void LoginFormPreviousAddedDeviceResponse::MergeFrom(const LoginFormPreviousAddedDeviceResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status().size() > 0) { - - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); - } - if (from.code().size() > 0) { - - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } - if (from.error().size() > 0) { - - error_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.error_); - } - if (from.has_data()) { - _internal_mutable_data()->::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload::MergeFrom(from._internal_data()); - } -} - -void LoginFormPreviousAddedDeviceResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LoginFormPreviousAddedDeviceResponse::CopyFrom(const LoginFormPreviousAddedDeviceResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LoginFormPreviousAddedDeviceResponse::IsInitialized() const { - return true; -} - -void LoginFormPreviousAddedDeviceResponse::InternalSwap(LoginFormPreviousAddedDeviceResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - code_.Swap(&other->code_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - error_.Swap(&other->error_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(data_, other->data_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata LoginFormPreviousAddedDeviceResponse::GetMetadata() const { - return GetMetadataStatic(); -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::vereign::v1pb::LoginForm* Arena::CreateMaybeMessage< ::vereign::v1pb::LoginForm >(Arena* arena) { - return Arena::CreateInternal< ::vereign::v1pb::LoginForm >(arena); -} -template<> PROTOBUF_NOINLINE ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* Arena::CreateMaybeMessage< ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload >(Arena* arena) { - return Arena::CreateInternal< ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload >(arena); -} -template<> PROTOBUF_NOINLINE ::vereign::v1pb::LoginFormPreviousAddedDeviceResponse* Arena::CreateMaybeMessage< ::vereign::v1pb::LoginFormPreviousAddedDeviceResponse >(Arena* arena) { - return Arena::CreateInternal< ::vereign::v1pb::LoginFormPreviousAddedDeviceResponse >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/identity_types.pb.h b/cpp/src/vereign/v1pb/identity_types.pb.h deleted file mode 100644 index 88b80ae5304876d7701aa37106375f04d167e05f..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/identity_types.pb.h +++ /dev/null @@ -1,1166 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: identity_types.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_identity_5ftypes_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_identity_5ftypes_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.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/unknown_field_set.h> -#include "dependencies.pb.h" -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_identity_5ftypes_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_identity_5ftypes_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_identity_5ftypes_2eproto; -namespace vereign { -namespace v1pb { -class LoginForm; -class LoginFormDefaultTypeInternal; -extern LoginFormDefaultTypeInternal _LoginForm_default_instance_; -class LoginFormPreviousAddedDeviceResponse; -class LoginFormPreviousAddedDeviceResponseDefaultTypeInternal; -extern LoginFormPreviousAddedDeviceResponseDefaultTypeInternal _LoginFormPreviousAddedDeviceResponse_default_instance_; -class LoginFormPreviousAddedDeviceResponsePayload; -class LoginFormPreviousAddedDeviceResponsePayloadDefaultTypeInternal; -extern LoginFormPreviousAddedDeviceResponsePayloadDefaultTypeInternal _LoginFormPreviousAddedDeviceResponsePayload_default_instance_; -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -template<> ::vereign::v1pb::LoginForm* Arena::CreateMaybeMessage<::vereign::v1pb::LoginForm>(Arena*); -template<> ::vereign::v1pb::LoginFormPreviousAddedDeviceResponse* Arena::CreateMaybeMessage<::vereign::v1pb::LoginFormPreviousAddedDeviceResponse>(Arena*); -template<> ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* Arena::CreateMaybeMessage<::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace vereign { -namespace v1pb { - -// =================================================================== - -class LoginForm : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:vereign.v1pb.LoginForm) */ { - public: - LoginForm(); - virtual ~LoginForm(); - - LoginForm(const LoginForm& from); - LoginForm(LoginForm&& from) noexcept - : LoginForm() { - *this = ::std::move(from); - } - - inline LoginForm& operator=(const LoginForm& from) { - CopyFrom(from); - return *this; - } - inline LoginForm& operator=(LoginForm&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const LoginForm& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LoginForm* internal_default_instance() { - return reinterpret_cast<const LoginForm*>( - &_LoginForm_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(LoginForm& a, LoginForm& b) { - a.Swap(&b); - } - inline void Swap(LoginForm* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline LoginForm* New() const final { - return CreateMaybeMessage<LoginForm>(nullptr); - } - - LoginForm* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<LoginForm>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const LoginForm& from); - void MergeFrom(const LoginForm& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(LoginForm* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "vereign.v1pb.LoginForm"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_identity_5ftypes_2eproto); - return ::descriptor_table_identity_5ftypes_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kModeFieldNumber = 1, - kCodeFieldNumber = 2, - kActionIDFieldNumber = 3, - }; - // string mode = 1; - void clear_mode(); - const std::string& mode() const; - void set_mode(const std::string& value); - void set_mode(std::string&& value); - void set_mode(const char* value); - void set_mode(const char* value, size_t size); - std::string* mutable_mode(); - std::string* release_mode(); - void set_allocated_mode(std::string* mode); - private: - const std::string& _internal_mode() const; - void _internal_set_mode(const std::string& value); - std::string* _internal_mutable_mode(); - public: - - // string code = 2; - void clear_code(); - const std::string& code() const; - void set_code(const std::string& value); - void set_code(std::string&& value); - void set_code(const char* value); - void set_code(const char* value, size_t size); - std::string* mutable_code(); - std::string* release_code(); - void set_allocated_code(std::string* code); - private: - const std::string& _internal_code() const; - void _internal_set_code(const std::string& value); - std::string* _internal_mutable_code(); - public: - - // string actionID = 3; - void clear_actionid(); - const std::string& actionid() const; - void set_actionid(const std::string& value); - void set_actionid(std::string&& value); - void set_actionid(const char* value); - void set_actionid(const char* value, size_t size); - std::string* mutable_actionid(); - std::string* release_actionid(); - void set_allocated_actionid(std::string* actionid); - private: - const std::string& _internal_actionid() const; - void _internal_set_actionid(const std::string& value); - std::string* _internal_mutable_actionid(); - public: - - // @@protoc_insertion_point(class_scope:vereign.v1pb.LoginForm) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mode_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr actionid_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_identity_5ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class LoginFormPreviousAddedDeviceResponsePayload : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) */ { - public: - LoginFormPreviousAddedDeviceResponsePayload(); - virtual ~LoginFormPreviousAddedDeviceResponsePayload(); - - LoginFormPreviousAddedDeviceResponsePayload(const LoginFormPreviousAddedDeviceResponsePayload& from); - LoginFormPreviousAddedDeviceResponsePayload(LoginFormPreviousAddedDeviceResponsePayload&& from) noexcept - : LoginFormPreviousAddedDeviceResponsePayload() { - *this = ::std::move(from); - } - - inline LoginFormPreviousAddedDeviceResponsePayload& operator=(const LoginFormPreviousAddedDeviceResponsePayload& from) { - CopyFrom(from); - return *this; - } - inline LoginFormPreviousAddedDeviceResponsePayload& operator=(LoginFormPreviousAddedDeviceResponsePayload&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const LoginFormPreviousAddedDeviceResponsePayload& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LoginFormPreviousAddedDeviceResponsePayload* internal_default_instance() { - return reinterpret_cast<const LoginFormPreviousAddedDeviceResponsePayload*>( - &_LoginFormPreviousAddedDeviceResponsePayload_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(LoginFormPreviousAddedDeviceResponsePayload& a, LoginFormPreviousAddedDeviceResponsePayload& b) { - a.Swap(&b); - } - inline void Swap(LoginFormPreviousAddedDeviceResponsePayload* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline LoginFormPreviousAddedDeviceResponsePayload* New() const final { - return CreateMaybeMessage<LoginFormPreviousAddedDeviceResponsePayload>(nullptr); - } - - LoginFormPreviousAddedDeviceResponsePayload* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<LoginFormPreviousAddedDeviceResponsePayload>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const LoginFormPreviousAddedDeviceResponsePayload& from); - void MergeFrom(const LoginFormPreviousAddedDeviceResponsePayload& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(LoginFormPreviousAddedDeviceResponsePayload* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_identity_5ftypes_2eproto); - return ::descriptor_table_identity_5ftypes_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUuidFieldNumber = 1, - kSessionFieldNumber = 2, - }; - // string Uuid = 1; - void clear_uuid(); - const std::string& uuid() const; - void set_uuid(const std::string& value); - void set_uuid(std::string&& value); - void set_uuid(const char* value); - void set_uuid(const char* value, size_t size); - std::string* mutable_uuid(); - std::string* release_uuid(); - void set_allocated_uuid(std::string* uuid); - private: - const std::string& _internal_uuid() const; - void _internal_set_uuid(const std::string& value); - std::string* _internal_mutable_uuid(); - public: - - // string Session = 2; - void clear_session(); - const std::string& session() const; - void set_session(const std::string& value); - void set_session(std::string&& value); - void set_session(const char* value); - void set_session(const char* value, size_t size); - std::string* mutable_session(); - std::string* release_session(); - void set_allocated_session(std::string* session); - private: - const std::string& _internal_session() const; - void _internal_set_session(const std::string& value); - std::string* _internal_mutable_session(); - public: - - // @@protoc_insertion_point(class_scope:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uuid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_identity_5ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class LoginFormPreviousAddedDeviceResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) */ { - public: - LoginFormPreviousAddedDeviceResponse(); - virtual ~LoginFormPreviousAddedDeviceResponse(); - - LoginFormPreviousAddedDeviceResponse(const LoginFormPreviousAddedDeviceResponse& from); - LoginFormPreviousAddedDeviceResponse(LoginFormPreviousAddedDeviceResponse&& from) noexcept - : LoginFormPreviousAddedDeviceResponse() { - *this = ::std::move(from); - } - - inline LoginFormPreviousAddedDeviceResponse& operator=(const LoginFormPreviousAddedDeviceResponse& from) { - CopyFrom(from); - return *this; - } - inline LoginFormPreviousAddedDeviceResponse& operator=(LoginFormPreviousAddedDeviceResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const LoginFormPreviousAddedDeviceResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LoginFormPreviousAddedDeviceResponse* internal_default_instance() { - return reinterpret_cast<const LoginFormPreviousAddedDeviceResponse*>( - &_LoginFormPreviousAddedDeviceResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(LoginFormPreviousAddedDeviceResponse& a, LoginFormPreviousAddedDeviceResponse& b) { - a.Swap(&b); - } - inline void Swap(LoginFormPreviousAddedDeviceResponse* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline LoginFormPreviousAddedDeviceResponse* New() const final { - return CreateMaybeMessage<LoginFormPreviousAddedDeviceResponse>(nullptr); - } - - LoginFormPreviousAddedDeviceResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<LoginFormPreviousAddedDeviceResponse>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const LoginFormPreviousAddedDeviceResponse& from); - void MergeFrom(const LoginFormPreviousAddedDeviceResponse& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(LoginFormPreviousAddedDeviceResponse* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "vereign.v1pb.LoginFormPreviousAddedDeviceResponse"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_identity_5ftypes_2eproto); - return ::descriptor_table_identity_5ftypes_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStatusFieldNumber = 1, - kCodeFieldNumber = 2, - kErrorFieldNumber = 3, - kDataFieldNumber = 4, - }; - // string status = 1; - void clear_status(); - const std::string& status() const; - void set_status(const std::string& value); - void set_status(std::string&& value); - void set_status(const char* value); - void set_status(const char* value, size_t size); - std::string* mutable_status(); - std::string* release_status(); - void set_allocated_status(std::string* status); - private: - const std::string& _internal_status() const; - void _internal_set_status(const std::string& value); - std::string* _internal_mutable_status(); - public: - - // string code = 2; - void clear_code(); - const std::string& code() const; - void set_code(const std::string& value); - void set_code(std::string&& value); - void set_code(const char* value); - void set_code(const char* value, size_t size); - std::string* mutable_code(); - std::string* release_code(); - void set_allocated_code(std::string* code); - private: - const std::string& _internal_code() const; - void _internal_set_code(const std::string& value); - std::string* _internal_mutable_code(); - public: - - // string error = 3; - void clear_error(); - const std::string& error() const; - void set_error(const std::string& value); - void set_error(std::string&& value); - void set_error(const char* value); - void set_error(const char* value, size_t size); - std::string* mutable_error(); - std::string* release_error(); - void set_allocated_error(std::string* error); - private: - const std::string& _internal_error() const; - void _internal_set_error(const std::string& value); - std::string* _internal_mutable_error(); - public: - - // .vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload data = 4; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload& data() const; - ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* release_data(); - ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* mutable_data(); - void set_allocated_data(::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* data); - private: - const ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload& _internal_data() const; - ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:vereign.v1pb.LoginFormPreviousAddedDeviceResponse) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_; - ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* data_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_identity_5ftypes_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// LoginForm - -// string mode = 1; -inline void LoginForm::clear_mode() { - mode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& LoginForm::mode() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.LoginForm.mode) - return _internal_mode(); -} -inline void LoginForm::set_mode(const std::string& value) { - _internal_set_mode(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.LoginForm.mode) -} -inline std::string* LoginForm::mutable_mode() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.LoginForm.mode) - return _internal_mutable_mode(); -} -inline const std::string& LoginForm::_internal_mode() const { - return mode_.GetNoArena(); -} -inline void LoginForm::_internal_set_mode(const std::string& value) { - - mode_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void LoginForm::set_mode(std::string&& value) { - - mode_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.LoginForm.mode) -} -inline void LoginForm::set_mode(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - mode_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.LoginForm.mode) -} -inline void LoginForm::set_mode(const char* value, size_t size) { - - mode_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.LoginForm.mode) -} -inline std::string* LoginForm::_internal_mutable_mode() { - - return mode_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* LoginForm::release_mode() { - // @@protoc_insertion_point(field_release:vereign.v1pb.LoginForm.mode) - - return mode_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void LoginForm::set_allocated_mode(std::string* mode) { - if (mode != nullptr) { - - } else { - - } - mode_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mode); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.LoginForm.mode) -} - -// string code = 2; -inline void LoginForm::clear_code() { - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& LoginForm::code() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.LoginForm.code) - return _internal_code(); -} -inline void LoginForm::set_code(const std::string& value) { - _internal_set_code(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.LoginForm.code) -} -inline std::string* LoginForm::mutable_code() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.LoginForm.code) - return _internal_mutable_code(); -} -inline const std::string& LoginForm::_internal_code() const { - return code_.GetNoArena(); -} -inline void LoginForm::_internal_set_code(const std::string& value) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void LoginForm::set_code(std::string&& value) { - - code_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.LoginForm.code) -} -inline void LoginForm::set_code(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.LoginForm.code) -} -inline void LoginForm::set_code(const char* value, size_t size) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.LoginForm.code) -} -inline std::string* LoginForm::_internal_mutable_code() { - - return code_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* LoginForm::release_code() { - // @@protoc_insertion_point(field_release:vereign.v1pb.LoginForm.code) - - return code_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void LoginForm::set_allocated_code(std::string* code) { - if (code != nullptr) { - - } else { - - } - code_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), code); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.LoginForm.code) -} - -// string actionID = 3; -inline void LoginForm::clear_actionid() { - actionid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& LoginForm::actionid() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.LoginForm.actionID) - return _internal_actionid(); -} -inline void LoginForm::set_actionid(const std::string& value) { - _internal_set_actionid(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.LoginForm.actionID) -} -inline std::string* LoginForm::mutable_actionid() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.LoginForm.actionID) - return _internal_mutable_actionid(); -} -inline const std::string& LoginForm::_internal_actionid() const { - return actionid_.GetNoArena(); -} -inline void LoginForm::_internal_set_actionid(const std::string& value) { - - actionid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void LoginForm::set_actionid(std::string&& value) { - - actionid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.LoginForm.actionID) -} -inline void LoginForm::set_actionid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - actionid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.LoginForm.actionID) -} -inline void LoginForm::set_actionid(const char* value, size_t size) { - - actionid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.LoginForm.actionID) -} -inline std::string* LoginForm::_internal_mutable_actionid() { - - return actionid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* LoginForm::release_actionid() { - // @@protoc_insertion_point(field_release:vereign.v1pb.LoginForm.actionID) - - return actionid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void LoginForm::set_allocated_actionid(std::string* actionid) { - if (actionid != nullptr) { - - } else { - - } - actionid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), actionid); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.LoginForm.actionID) -} - -// ------------------------------------------------------------------- - -// LoginFormPreviousAddedDeviceResponsePayload - -// string Uuid = 1; -inline void LoginFormPreviousAddedDeviceResponsePayload::clear_uuid() { - uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& LoginFormPreviousAddedDeviceResponsePayload::uuid() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid) - return _internal_uuid(); -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_uuid(const std::string& value) { - _internal_set_uuid(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid) -} -inline std::string* LoginFormPreviousAddedDeviceResponsePayload::mutable_uuid() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid) - return _internal_mutable_uuid(); -} -inline const std::string& LoginFormPreviousAddedDeviceResponsePayload::_internal_uuid() const { - return uuid_.GetNoArena(); -} -inline void LoginFormPreviousAddedDeviceResponsePayload::_internal_set_uuid(const std::string& value) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_uuid(std::string&& value) { - - uuid_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid) -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_uuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid) -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_uuid(const char* value, size_t size) { - - uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid) -} -inline std::string* LoginFormPreviousAddedDeviceResponsePayload::_internal_mutable_uuid() { - - return uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* LoginFormPreviousAddedDeviceResponsePayload::release_uuid() { - // @@protoc_insertion_point(field_release:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid) - - return uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_allocated_uuid(std::string* uuid) { - if (uuid != nullptr) { - - } else { - - } - uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), uuid); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Uuid) -} - -// string Session = 2; -inline void LoginFormPreviousAddedDeviceResponsePayload::clear_session() { - session_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& LoginFormPreviousAddedDeviceResponsePayload::session() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session) - return _internal_session(); -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_session(const std::string& value) { - _internal_set_session(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session) -} -inline std::string* LoginFormPreviousAddedDeviceResponsePayload::mutable_session() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session) - return _internal_mutable_session(); -} -inline const std::string& LoginFormPreviousAddedDeviceResponsePayload::_internal_session() const { - return session_.GetNoArena(); -} -inline void LoginFormPreviousAddedDeviceResponsePayload::_internal_set_session(const std::string& value) { - - session_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_session(std::string&& value) { - - session_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session) -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_session(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - session_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session) -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_session(const char* value, size_t size) { - - session_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session) -} -inline std::string* LoginFormPreviousAddedDeviceResponsePayload::_internal_mutable_session() { - - return session_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* LoginFormPreviousAddedDeviceResponsePayload::release_session() { - // @@protoc_insertion_point(field_release:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session) - - return session_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void LoginFormPreviousAddedDeviceResponsePayload::set_allocated_session(std::string* session) { - if (session != nullptr) { - - } else { - - } - session_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload.Session) -} - -// ------------------------------------------------------------------- - -// LoginFormPreviousAddedDeviceResponse - -// string status = 1; -inline void LoginFormPreviousAddedDeviceResponse::clear_status() { - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& LoginFormPreviousAddedDeviceResponse::status() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status) - return _internal_status(); -} -inline void LoginFormPreviousAddedDeviceResponse::set_status(const std::string& value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status) -} -inline std::string* LoginFormPreviousAddedDeviceResponse::mutable_status() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status) - return _internal_mutable_status(); -} -inline const std::string& LoginFormPreviousAddedDeviceResponse::_internal_status() const { - return status_.GetNoArena(); -} -inline void LoginFormPreviousAddedDeviceResponse::_internal_set_status(const std::string& value) { - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void LoginFormPreviousAddedDeviceResponse::set_status(std::string&& value) { - - status_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status) -} -inline void LoginFormPreviousAddedDeviceResponse::set_status(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status) -} -inline void LoginFormPreviousAddedDeviceResponse::set_status(const char* value, size_t size) { - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status) -} -inline std::string* LoginFormPreviousAddedDeviceResponse::_internal_mutable_status() { - - return status_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* LoginFormPreviousAddedDeviceResponse::release_status() { - // @@protoc_insertion_point(field_release:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status) - - return status_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void LoginFormPreviousAddedDeviceResponse::set_allocated_status(std::string* status) { - if (status != nullptr) { - - } else { - - } - status_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.status) -} - -// string code = 2; -inline void LoginFormPreviousAddedDeviceResponse::clear_code() { - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& LoginFormPreviousAddedDeviceResponse::code() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code) - return _internal_code(); -} -inline void LoginFormPreviousAddedDeviceResponse::set_code(const std::string& value) { - _internal_set_code(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code) -} -inline std::string* LoginFormPreviousAddedDeviceResponse::mutable_code() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code) - return _internal_mutable_code(); -} -inline const std::string& LoginFormPreviousAddedDeviceResponse::_internal_code() const { - return code_.GetNoArena(); -} -inline void LoginFormPreviousAddedDeviceResponse::_internal_set_code(const std::string& value) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void LoginFormPreviousAddedDeviceResponse::set_code(std::string&& value) { - - code_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code) -} -inline void LoginFormPreviousAddedDeviceResponse::set_code(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code) -} -inline void LoginFormPreviousAddedDeviceResponse::set_code(const char* value, size_t size) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code) -} -inline std::string* LoginFormPreviousAddedDeviceResponse::_internal_mutable_code() { - - return code_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* LoginFormPreviousAddedDeviceResponse::release_code() { - // @@protoc_insertion_point(field_release:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code) - - return code_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void LoginFormPreviousAddedDeviceResponse::set_allocated_code(std::string* code) { - if (code != nullptr) { - - } else { - - } - code_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), code); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.code) -} - -// string error = 3; -inline void LoginFormPreviousAddedDeviceResponse::clear_error() { - error_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& LoginFormPreviousAddedDeviceResponse::error() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error) - return _internal_error(); -} -inline void LoginFormPreviousAddedDeviceResponse::set_error(const std::string& value) { - _internal_set_error(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error) -} -inline std::string* LoginFormPreviousAddedDeviceResponse::mutable_error() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error) - return _internal_mutable_error(); -} -inline const std::string& LoginFormPreviousAddedDeviceResponse::_internal_error() const { - return error_.GetNoArena(); -} -inline void LoginFormPreviousAddedDeviceResponse::_internal_set_error(const std::string& value) { - - error_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void LoginFormPreviousAddedDeviceResponse::set_error(std::string&& value) { - - error_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error) -} -inline void LoginFormPreviousAddedDeviceResponse::set_error(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - error_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error) -} -inline void LoginFormPreviousAddedDeviceResponse::set_error(const char* value, size_t size) { - - error_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error) -} -inline std::string* LoginFormPreviousAddedDeviceResponse::_internal_mutable_error() { - - return error_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* LoginFormPreviousAddedDeviceResponse::release_error() { - // @@protoc_insertion_point(field_release:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error) - - return error_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void LoginFormPreviousAddedDeviceResponse::set_allocated_error(std::string* error) { - if (error != nullptr) { - - } else { - - } - error_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.error) -} - -// .vereign.v1pb.LoginFormPreviousAddedDeviceResponsePayload data = 4; -inline bool LoginFormPreviousAddedDeviceResponse::_internal_has_data() const { - return this != internal_default_instance() && data_ != nullptr; -} -inline bool LoginFormPreviousAddedDeviceResponse::has_data() const { - return _internal_has_data(); -} -inline void LoginFormPreviousAddedDeviceResponse::clear_data() { - if (GetArenaNoVirtual() == nullptr && data_ != nullptr) { - delete data_; - } - data_ = nullptr; -} -inline const ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload& LoginFormPreviousAddedDeviceResponse::_internal_data() const { - const ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* p = data_; - return p != nullptr ? *p : *reinterpret_cast<const ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload*>( - &::vereign::v1pb::_LoginFormPreviousAddedDeviceResponsePayload_default_instance_); -} -inline const ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload& LoginFormPreviousAddedDeviceResponse::data() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.data) - return _internal_data(); -} -inline ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* LoginFormPreviousAddedDeviceResponse::release_data() { - // @@protoc_insertion_point(field_release:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.data) - - ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* temp = data_; - data_ = nullptr; - return temp; -} -inline ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* LoginFormPreviousAddedDeviceResponse::_internal_mutable_data() { - - if (data_ == nullptr) { - auto* p = CreateMaybeMessage<::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload>(GetArenaNoVirtual()); - data_ = p; - } - return data_; -} -inline ::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* LoginFormPreviousAddedDeviceResponse::mutable_data() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.data) - return _internal_mutable_data(); -} -inline void LoginFormPreviousAddedDeviceResponse::set_allocated_data(::vereign::v1pb::LoginFormPreviousAddedDeviceResponsePayload* data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete data_; - } - if (data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, data, submessage_arena); - } - - } else { - - } - data_ = data; - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.LoginFormPreviousAddedDeviceResponse.data) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1pb -} // namespace vereign - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_identity_5ftypes_2eproto diff --git a/cpp/src/vereign/v1pb/passport_api.gen.grpc.pb.cc b/cpp/src/vereign/v1pb/passport_api.gen.grpc.pb.cc deleted file mode 100644 index b21d680a9ed2ce36e8c8a99f2b9fe02281509579..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_api.gen.grpc.pb.cc +++ /dev/null @@ -1,130 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: passport_api.gen.proto - -#include "passport_api.gen.pb.h" -#include "passport_api.gen.grpc.pb.h" - -#include <functional> -#include <grpcpp/impl/codegen/async_stream.h> -#include <grpcpp/impl/codegen/async_unary_call.h> -#include <grpcpp/impl/codegen/channel_interface.h> -#include <grpcpp/impl/codegen/client_unary_call.h> -#include <grpcpp/impl/codegen/client_callback.h> -#include <grpcpp/impl/codegen/message_allocator.h> -#include <grpcpp/impl/codegen/method_handler.h> -#include <grpcpp/impl/codegen/rpc_service_method.h> -#include <grpcpp/impl/codegen/server_callback.h> -#include <grpcpp/impl/codegen/server_callback_handlers.h> -#include <grpcpp/impl/codegen/server_context.h> -#include <grpcpp/impl/codegen/service_type.h> -#include <grpcpp/impl/codegen/sync_stream.h> -namespace vereign { -namespace v1pb { - -static const char* PassportAPI_method_names[] = { - "/vereign.v1pb.PassportAPI/ListPassportsManually", - "/vereign.v1pb.PassportAPI/ListPassports", -}; - -std::unique_ptr< PassportAPI::Stub> PassportAPI::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< PassportAPI::Stub> stub(new PassportAPI::Stub(channel)); - return stub; -} - -PassportAPI::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_ListPassportsManually_(PassportAPI_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListPassports_(PassportAPI_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status PassportAPI::Stub::ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::vereign::v1pb::ListPassportsFormResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListPassportsManually_, context, request, response); -} - -void PassportAPI::Stub::experimental_async::ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)> f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListPassportsManually_, context, request, response, std::move(f)); -} - -void PassportAPI::Stub::experimental_async::ListPassportsManually(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)> f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListPassportsManually_, context, request, response, std::move(f)); -} - -void PassportAPI::Stub::experimental_async::ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListPassportsManually_, context, request, response, reactor); -} - -void PassportAPI::Stub::experimental_async::ListPassportsManually(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListPassportsManually_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* PassportAPI::Stub::AsyncListPassportsManuallyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::vereign::v1pb::ListPassportsFormResponse>::Create(channel_.get(), cq, rpcmethod_ListPassportsManually_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* PassportAPI::Stub::PrepareAsyncListPassportsManuallyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::vereign::v1pb::ListPassportsFormResponse>::Create(channel_.get(), cq, rpcmethod_ListPassportsManually_, context, request, false); -} - -::grpc::Status PassportAPI::Stub::ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::vereign::v1pb::ListPassportsFormResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListPassports_, context, request, response); -} - -void PassportAPI::Stub::experimental_async::ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)> f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListPassports_, context, request, response, std::move(f)); -} - -void PassportAPI::Stub::experimental_async::ListPassports(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)> f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListPassports_, context, request, response, std::move(f)); -} - -void PassportAPI::Stub::experimental_async::ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListPassports_, context, request, response, reactor); -} - -void PassportAPI::Stub::experimental_async::ListPassports(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListPassports_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* PassportAPI::Stub::AsyncListPassportsRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::vereign::v1pb::ListPassportsFormResponse>::Create(channel_.get(), cq, rpcmethod_ListPassports_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* PassportAPI::Stub::PrepareAsyncListPassportsRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::vereign::v1pb::ListPassportsFormResponse>::Create(channel_.get(), cq, rpcmethod_ListPassports_, context, request, false); -} - -PassportAPI::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - PassportAPI_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< PassportAPI::Service, ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>( - std::mem_fn(&PassportAPI::Service::ListPassportsManually), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - PassportAPI_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< PassportAPI::Service, ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>( - std::mem_fn(&PassportAPI::Service::ListPassports), this))); -} - -PassportAPI::Service::~Service() { -} - -::grpc::Status PassportAPI::Service::ListPassportsManually(::grpc::ServerContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status PassportAPI::Service::ListPassports(::grpc::ServerContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace vereign -} // namespace v1pb - diff --git a/cpp/src/vereign/v1pb/passport_api.gen.grpc.pb.h b/cpp/src/vereign/v1pb/passport_api.gen.grpc.pb.h deleted file mode 100644 index ed91f490424e8d9fecf08ebe484136d38f365a42..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_api.gen.grpc.pb.h +++ /dev/null @@ -1,505 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: passport_api.gen.proto -#ifndef GRPC_passport_5fapi_2egen_2eproto__INCLUDED -#define GRPC_passport_5fapi_2egen_2eproto__INCLUDED - -#include "passport_api.gen.pb.h" - -#include <functional> -#include <grpc/impl/codegen/port_platform.h> -#include <grpcpp/impl/codegen/async_generic_service.h> -#include <grpcpp/impl/codegen/async_stream.h> -#include <grpcpp/impl/codegen/async_unary_call.h> -#include <grpcpp/impl/codegen/client_callback.h> -#include <grpcpp/impl/codegen/client_context.h> -#include <grpcpp/impl/codegen/completion_queue.h> -#include <grpcpp/impl/codegen/message_allocator.h> -#include <grpcpp/impl/codegen/method_handler.h> -#include <grpcpp/impl/codegen/proto_utils.h> -#include <grpcpp/impl/codegen/rpc_method.h> -#include <grpcpp/impl/codegen/server_callback.h> -#include <grpcpp/impl/codegen/server_callback_handlers.h> -#include <grpcpp/impl/codegen/server_context.h> -#include <grpcpp/impl/codegen/service_type.h> -#include <grpcpp/impl/codegen/status.h> -#include <grpcpp/impl/codegen/stub_options.h> -#include <grpcpp/impl/codegen/sync_stream.h> - -namespace vereign { -namespace v1pb { - -class PassportAPI final { - public: - static constexpr char const* service_full_name() { - return "vereign.v1pb.PassportAPI"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - virtual ::grpc::Status ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::vereign::v1pb::ListPassportsFormResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>> AsyncListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>>(AsyncListPassportsManuallyRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>> PrepareAsyncListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>>(PrepareAsyncListPassportsManuallyRaw(context, request, cq)); - } - virtual ::grpc::Status ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::vereign::v1pb::ListPassportsFormResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>> AsyncListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>>(AsyncListPassportsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>> PrepareAsyncListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>>(PrepareAsyncListPassportsRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - virtual void ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) = 0; - virtual void ListPassportsManually(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) = 0; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void ListPassportsManually(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void ListPassportsManually(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif - virtual void ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) = 0; - virtual void ListPassports(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) = 0; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void ListPassports(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void ListPassports(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif - }; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - typedef class experimental_async_interface async_interface; - #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - async_interface* async() { return experimental_async(); } - #endif - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>* AsyncListPassportsManuallyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>* PrepareAsyncListPassportsManuallyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>* AsyncListPassportsRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>* PrepareAsyncListPassportsRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::vereign::v1pb::ListPassportsFormResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>> AsyncListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>>(AsyncListPassportsManuallyRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>> PrepareAsyncListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>>(PrepareAsyncListPassportsManuallyRaw(context, request, cq)); - } - ::grpc::Status ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::vereign::v1pb::ListPassportsFormResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>> AsyncListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>>(AsyncListPassportsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>> PrepareAsyncListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>>(PrepareAsyncListPassportsRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) override; - void ListPassportsManually(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) override; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void ListPassportsManually(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void ListPassportsManually(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void ListPassportsManually(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif - void ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) override; - void ListPassports(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) override; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void ListPassports(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void ListPassports(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void ListPassports(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif - private: - friend class Stub; - explicit experimental_async(Stub* stub): stub_(stub) { } - Stub* stub() { return stub_; } - Stub* stub_; - }; - class experimental_async_interface* experimental_async() override { return &async_stub_; } - - private: - std::shared_ptr< ::grpc::ChannelInterface> channel_; - class experimental_async async_stub_{this}; - ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* AsyncListPassportsManuallyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* PrepareAsyncListPassportsManuallyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* AsyncListPassportsRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* PrepareAsyncListPassportsRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_ListPassportsManually_; - const ::grpc::internal::RpcMethod rpcmethod_ListPassports_; - }; - 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 ListPassportsManually(::grpc::ServerContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response); - virtual ::grpc::Status ListPassports(::grpc::ServerContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response); - }; - template <class BaseClass> - class WithAsyncMethod_ListPassportsManually : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_ListPassportsManually() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_ListPassportsManually() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManually(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListPassportsManually(::grpc::ServerContext* context, ::vereign::v1pb::ListPassportsForm* request, ::grpc::ServerAsyncResponseWriter< ::vereign::v1pb::ListPassportsFormResponse>* 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 WithAsyncMethod_ListPassports : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_ListPassports() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_ListPassports() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassports(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListPassports(::grpc::ServerContext* context, ::vereign::v1pb::ListPassportsForm* request, ::grpc::ServerAsyncResponseWriter< ::vereign::v1pb::ListPassportsFormResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); - } - }; - typedef WithAsyncMethod_ListPassportsManually<WithAsyncMethod_ListPassports<Service > > AsyncService; - template <class BaseClass> - class ExperimentalWithCallbackMethod_ListPassportsManually : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - ExperimentalWithCallbackMethod_ListPassportsManually() { - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::Service:: - #else - ::grpc::Service::experimental(). - #endif - MarkMethodCallback(0, - new ::grpc_impl::internal::CallbackUnaryHandler< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>( - [this]( - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::CallbackServerContext* - #else - ::grpc::experimental::CallbackServerContext* - #endif - context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response) { return this->ListPassportsManually(context, request, response); }));} - void SetMessageAllocatorFor_ListPassportsManually( - ::grpc::experimental::MessageAllocator< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>* allocator) { - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); - #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(0); - #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListPassportsManually() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManually(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* ListPassportsManually( - ::grpc::CallbackServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) - #else - virtual ::grpc::experimental::ServerUnaryReactor* ListPassportsManually( - ::grpc::experimental::CallbackServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) - #endif - { return nullptr; } - }; - template <class BaseClass> - class ExperimentalWithCallbackMethod_ListPassports : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - ExperimentalWithCallbackMethod_ListPassports() { - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::Service:: - #else - ::grpc::Service::experimental(). - #endif - MarkMethodCallback(1, - new ::grpc_impl::internal::CallbackUnaryHandler< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>( - [this]( - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::CallbackServerContext* - #else - ::grpc::experimental::CallbackServerContext* - #endif - context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response) { return this->ListPassports(context, request, response); }));} - void SetMessageAllocatorFor_ListPassports( - ::grpc::experimental::MessageAllocator< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>* allocator) { - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1); - #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(1); - #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListPassports() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassports(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* ListPassports( - ::grpc::CallbackServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) - #else - virtual ::grpc::experimental::ServerUnaryReactor* ListPassports( - ::grpc::experimental::CallbackServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) - #endif - { return nullptr; } - }; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - typedef ExperimentalWithCallbackMethod_ListPassportsManually<ExperimentalWithCallbackMethod_ListPassports<Service > > CallbackService; - #endif - - typedef ExperimentalWithCallbackMethod_ListPassportsManually<ExperimentalWithCallbackMethod_ListPassports<Service > > ExperimentalCallbackService; - template <class BaseClass> - class WithGenericMethod_ListPassportsManually : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_ListPassportsManually() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_ListPassportsManually() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManually(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_ListPassports : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_ListPassports() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_ListPassports() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassports(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithRawMethod_ListPassportsManually : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_ListPassportsManually() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_ListPassportsManually() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManually(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListPassportsManually(::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 WithRawMethod_ListPassports : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_ListPassports() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_ListPassports() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassports(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListPassports(::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(1, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class ExperimentalWithRawCallbackMethod_ListPassportsManually : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - ExperimentalWithRawCallbackMethod_ListPassportsManually() { - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::Service:: - #else - ::grpc::Service::experimental(). - #endif - MarkMethodRawCallback(0, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::CallbackServerContext* - #else - ::grpc::experimental::CallbackServerContext* - #endif - context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListPassportsManually(context, request, response); })); - } - ~ExperimentalWithRawCallbackMethod_ListPassportsManually() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManually(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* ListPassportsManually( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) - #else - virtual ::grpc::experimental::ServerUnaryReactor* ListPassportsManually( - ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) - #endif - { return nullptr; } - }; - template <class BaseClass> - class ExperimentalWithRawCallbackMethod_ListPassports : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - ExperimentalWithRawCallbackMethod_ListPassports() { - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::Service:: - #else - ::grpc::Service::experimental(). - #endif - MarkMethodRawCallback(1, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::CallbackServerContext* - #else - ::grpc::experimental::CallbackServerContext* - #endif - context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListPassports(context, request, response); })); - } - ~ExperimentalWithRawCallbackMethod_ListPassports() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassports(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* ListPassports( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) - #else - virtual ::grpc::experimental::ServerUnaryReactor* ListPassports( - ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) - #endif - { return nullptr; } - }; - template <class BaseClass> - class WithStreamedUnaryMethod_ListPassportsManually : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_ListPassportsManually() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>(std::bind(&WithStreamedUnaryMethod_ListPassportsManually<BaseClass>::StreamedListPassportsManually, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListPassportsManually() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListPassportsManually(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListPassportsManually(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::vereign::v1pb::ListPassportsForm,::vereign::v1pb::ListPassportsFormResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_ListPassports : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_ListPassports() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>(std::bind(&WithStreamedUnaryMethod_ListPassports<BaseClass>::StreamedListPassports, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListPassports() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListPassports(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListPassports(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::vereign::v1pb::ListPassportsForm,::vereign::v1pb::ListPassportsFormResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_ListPassportsManually<WithStreamedUnaryMethod_ListPassports<Service > > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_ListPassportsManually<WithStreamedUnaryMethod_ListPassports<Service > > StreamedService; -}; - -} // namespace v1pb -} // namespace vereign - - -#endif // GRPC_passport_5fapi_2egen_2eproto__INCLUDED diff --git a/cpp/src/vereign/v1pb/passport_api.gen.pb.cc b/cpp/src/vereign/v1pb/passport_api.gen.pb.cc deleted file mode 100644 index 082332ffb3981cf004bb60d9144fc91943a58f6a..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_api.gen.pb.cc +++ /dev/null @@ -1,63 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: passport_api.gen.proto - -#include "passport_api.gen.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -namespace vereign { -namespace v1pb { -} // namespace v1pb -} // namespace vereign -static constexpr ::PROTOBUF_NAMESPACE_ID::Metadata* file_level_metadata_passport_5fapi_2egen_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_passport_5fapi_2egen_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_passport_5fapi_2egen_2eproto = nullptr; -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_passport_5fapi_2egen_2eproto::offsets[1] = {}; -static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema* schemas = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::Message* const* file_default_instances = nullptr; - -const char descriptor_table_protodef_passport_5fapi_2egen_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\026passport_api.gen.proto\022\014vereign.v1pb\032\030" - "passport_types.gen.proto2\313\001\n\013PassportAPI" - "\022a\n\025ListPassportsManually\022\037.vereign.v1pb" - ".ListPassportsForm\032\'.vereign.v1pb.ListPa" - "ssportsFormResponse\022Y\n\rListPassports\022\037.v" - "ereign.v1pb.ListPassportsForm\032\'.vereign." - "v1pb.ListPassportsFormResponseb\006proto3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_passport_5fapi_2egen_2eproto_deps[1] = { - &::descriptor_table_passport_5ftypes_2egen_2eproto, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_passport_5fapi_2egen_2eproto_sccs[1] = { -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_passport_5fapi_2egen_2eproto_once; -static bool descriptor_table_passport_5fapi_2egen_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_passport_5fapi_2egen_2eproto = { - &descriptor_table_passport_5fapi_2egen_2eproto_initialized, descriptor_table_protodef_passport_5fapi_2egen_2eproto, "passport_api.gen.proto", 278, - &descriptor_table_passport_5fapi_2egen_2eproto_once, descriptor_table_passport_5fapi_2egen_2eproto_sccs, descriptor_table_passport_5fapi_2egen_2eproto_deps, 0, 1, - schemas, file_default_instances, TableStruct_passport_5fapi_2egen_2eproto::offsets, - file_level_metadata_passport_5fapi_2egen_2eproto, 0, file_level_enum_descriptors_passport_5fapi_2egen_2eproto, file_level_service_descriptors_passport_5fapi_2egen_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_passport_5fapi_2egen_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_passport_5fapi_2egen_2eproto), true); -namespace vereign { -namespace v1pb { - -// @@protoc_insertion_point(namespace_scope) -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/passport_api.gen.pb.h b/cpp/src/vereign/v1pb/passport_api.gen.pb.h deleted file mode 100644 index 61d6bad35af9068842022420856bc45030e4546f..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_api.gen.pb.h +++ /dev/null @@ -1,85 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: passport_api.gen.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_passport_5fapi_2egen_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_passport_5fapi_2egen_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/repeated_field.h> // IWYU pragma: export -#include <google/protobuf/extension_set.h> // IWYU pragma: export -#include "passport_types.gen.pb.h" -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_passport_5fapi_2egen_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_passport_5fapi_2egen_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_passport_5fapi_2egen_2eproto; -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE -namespace vereign { -namespace v1pb { - -// =================================================================== - - -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1pb -} // namespace vereign - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_passport_5fapi_2egen_2eproto diff --git a/cpp/src/vereign/v1pb/passport_api.grpc.pb.cc b/cpp/src/vereign/v1pb/passport_api.grpc.pb.cc deleted file mode 100644 index c4b4dc72552ab8e5db051bd5b723ca6273d62f72..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_api.grpc.pb.cc +++ /dev/null @@ -1,88 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: passport_api.proto - -#include "passport_api.pb.h" -#include "passport_api.grpc.pb.h" - -#include <functional> -#include <grpcpp/impl/codegen/async_stream.h> -#include <grpcpp/impl/codegen/async_unary_call.h> -#include <grpcpp/impl/codegen/channel_interface.h> -#include <grpcpp/impl/codegen/client_unary_call.h> -#include <grpcpp/impl/codegen/client_callback.h> -#include <grpcpp/impl/codegen/message_allocator.h> -#include <grpcpp/impl/codegen/method_handler.h> -#include <grpcpp/impl/codegen/rpc_service_method.h> -#include <grpcpp/impl/codegen/server_callback.h> -#include <grpcpp/impl/codegen/server_callback_handlers.h> -#include <grpcpp/impl/codegen/server_context.h> -#include <grpcpp/impl/codegen/service_type.h> -#include <grpcpp/impl/codegen/sync_stream.h> -namespace vereign { -namespace v1pb { - -static const char* PassportAPI_method_names[] = { - "/vereign.v1pb.PassportAPI/ListPassportsManualy", -}; - -std::unique_ptr< PassportAPI::Stub> PassportAPI::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< PassportAPI::Stub> stub(new PassportAPI::Stub(channel)); - return stub; -} - -PassportAPI::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_ListPassportsManualy_(PassportAPI_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status PassportAPI::Stub::ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::vereign::v1pb::ListPassportsFormResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListPassportsManualy_, context, request, response); -} - -void PassportAPI::Stub::experimental_async::ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)> f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListPassportsManualy_, context, request, response, std::move(f)); -} - -void PassportAPI::Stub::experimental_async::ListPassportsManualy(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)> f) { - ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListPassportsManualy_, context, request, response, std::move(f)); -} - -void PassportAPI::Stub::experimental_async::ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListPassportsManualy_, context, request, response, reactor); -} - -void PassportAPI::Stub::experimental_async::ListPassportsManualy(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListPassportsManualy_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* PassportAPI::Stub::AsyncListPassportsManualyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::vereign::v1pb::ListPassportsFormResponse>::Create(channel_.get(), cq, rpcmethod_ListPassportsManualy_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* PassportAPI::Stub::PrepareAsyncListPassportsManualyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::vereign::v1pb::ListPassportsFormResponse>::Create(channel_.get(), cq, rpcmethod_ListPassportsManualy_, context, request, false); -} - -PassportAPI::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - PassportAPI_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< PassportAPI::Service, ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>( - std::mem_fn(&PassportAPI::Service::ListPassportsManualy), this))); -} - -PassportAPI::Service::~Service() { -} - -::grpc::Status PassportAPI::Service::ListPassportsManualy(::grpc::ServerContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace vereign -} // namespace v1pb - diff --git a/cpp/src/vereign/v1pb/passport_api.grpc.pb.h b/cpp/src/vereign/v1pb/passport_api.grpc.pb.h deleted file mode 100644 index 4de8ee6ac9f87491175f0bdeb56005d05f6f8b32..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_api.grpc.pb.h +++ /dev/null @@ -1,299 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: passport_api.proto -#ifndef GRPC_passport_5fapi_2eproto__INCLUDED -#define GRPC_passport_5fapi_2eproto__INCLUDED - -#include "passport_api.pb.h" - -#include <functional> -#include <grpc/impl/codegen/port_platform.h> -#include <grpcpp/impl/codegen/async_generic_service.h> -#include <grpcpp/impl/codegen/async_stream.h> -#include <grpcpp/impl/codegen/async_unary_call.h> -#include <grpcpp/impl/codegen/client_callback.h> -#include <grpcpp/impl/codegen/client_context.h> -#include <grpcpp/impl/codegen/completion_queue.h> -#include <grpcpp/impl/codegen/message_allocator.h> -#include <grpcpp/impl/codegen/method_handler.h> -#include <grpcpp/impl/codegen/proto_utils.h> -#include <grpcpp/impl/codegen/rpc_method.h> -#include <grpcpp/impl/codegen/server_callback.h> -#include <grpcpp/impl/codegen/server_callback_handlers.h> -#include <grpcpp/impl/codegen/server_context.h> -#include <grpcpp/impl/codegen/service_type.h> -#include <grpcpp/impl/codegen/status.h> -#include <grpcpp/impl/codegen/stub_options.h> -#include <grpcpp/impl/codegen/sync_stream.h> - -namespace vereign { -namespace v1pb { - -class PassportAPI final { - public: - static constexpr char const* service_full_name() { - return "vereign.v1pb.PassportAPI"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - virtual ::grpc::Status ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::vereign::v1pb::ListPassportsFormResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>> AsyncListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>>(AsyncListPassportsManualyRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>> PrepareAsyncListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>>(PrepareAsyncListPassportsManualyRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - virtual void ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) = 0; - virtual void ListPassportsManualy(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) = 0; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void ListPassportsManualy(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - #else - virtual void ListPassportsManualy(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - #endif - }; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - typedef class experimental_async_interface async_interface; - #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - async_interface* async() { return experimental_async(); } - #endif - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>* AsyncListPassportsManualyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::vereign::v1pb::ListPassportsFormResponse>* PrepareAsyncListPassportsManualyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::vereign::v1pb::ListPassportsFormResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>> AsyncListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>>(AsyncListPassportsManualyRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>> PrepareAsyncListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>>(PrepareAsyncListPassportsManualyRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) override; - void ListPassportsManualy(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, std::function<void(::grpc::Status)>) override; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void ListPassportsManualy(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void ListPassportsManualy(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - #else - void ListPassportsManualy(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::vereign::v1pb::ListPassportsFormResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - #endif - private: - friend class Stub; - explicit experimental_async(Stub* stub): stub_(stub) { } - Stub* stub() { return stub_; } - Stub* stub_; - }; - class experimental_async_interface* experimental_async() override { return &async_stub_; } - - private: - std::shared_ptr< ::grpc::ChannelInterface> channel_; - class experimental_async async_stub_{this}; - ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* AsyncListPassportsManualyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::vereign::v1pb::ListPassportsFormResponse>* PrepareAsyncListPassportsManualyRaw(::grpc::ClientContext* context, const ::vereign::v1pb::ListPassportsForm& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_ListPassportsManualy_; - }; - 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 ListPassportsManualy(::grpc::ServerContext* context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response); - }; - template <class BaseClass> - class WithAsyncMethod_ListPassportsManualy : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_ListPassportsManualy() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_ListPassportsManualy() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManualy(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListPassportsManualy(::grpc::ServerContext* context, ::vereign::v1pb::ListPassportsForm* request, ::grpc::ServerAsyncResponseWriter< ::vereign::v1pb::ListPassportsFormResponse>* 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_ListPassportsManualy<Service > AsyncService; - template <class BaseClass> - class ExperimentalWithCallbackMethod_ListPassportsManualy : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - ExperimentalWithCallbackMethod_ListPassportsManualy() { - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::Service:: - #else - ::grpc::Service::experimental(). - #endif - MarkMethodCallback(0, - new ::grpc_impl::internal::CallbackUnaryHandler< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>( - [this]( - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::CallbackServerContext* - #else - ::grpc::experimental::CallbackServerContext* - #endif - context, const ::vereign::v1pb::ListPassportsForm* request, ::vereign::v1pb::ListPassportsFormResponse* response) { return this->ListPassportsManualy(context, request, response); }));} - void SetMessageAllocatorFor_ListPassportsManualy( - ::grpc::experimental::MessageAllocator< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>* allocator) { - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); - #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(0); - #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListPassportsManualy() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManualy(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* ListPassportsManualy( - ::grpc::CallbackServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) - #else - virtual ::grpc::experimental::ServerUnaryReactor* ListPassportsManualy( - ::grpc::experimental::CallbackServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) - #endif - { return nullptr; } - }; - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - typedef ExperimentalWithCallbackMethod_ListPassportsManualy<Service > CallbackService; - #endif - - typedef ExperimentalWithCallbackMethod_ListPassportsManualy<Service > ExperimentalCallbackService; - template <class BaseClass> - class WithGenericMethod_ListPassportsManualy : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_ListPassportsManualy() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_ListPassportsManualy() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManualy(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithRawMethod_ListPassportsManualy : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_ListPassportsManualy() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_ListPassportsManualy() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManualy(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListPassportsManualy(::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 ExperimentalWithRawCallbackMethod_ListPassportsManualy : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - ExperimentalWithRawCallbackMethod_ListPassportsManualy() { - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::Service:: - #else - ::grpc::Service::experimental(). - #endif - MarkMethodRawCallback(0, - new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::CallbackServerContext* - #else - ::grpc::experimental::CallbackServerContext* - #endif - context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListPassportsManualy(context, request, response); })); - } - ~ExperimentalWithRawCallbackMethod_ListPassportsManualy() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListPassportsManualy(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* ListPassportsManualy( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) - #else - virtual ::grpc::experimental::ServerUnaryReactor* ListPassportsManualy( - ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) - #endif - { return nullptr; } - }; - template <class BaseClass> - class WithStreamedUnaryMethod_ListPassportsManualy : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_ListPassportsManualy() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::vereign::v1pb::ListPassportsForm, ::vereign::v1pb::ListPassportsFormResponse>(std::bind(&WithStreamedUnaryMethod_ListPassportsManualy<BaseClass>::StreamedListPassportsManualy, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListPassportsManualy() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListPassportsManualy(::grpc::ServerContext* /*context*/, const ::vereign::v1pb::ListPassportsForm* /*request*/, ::vereign::v1pb::ListPassportsFormResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListPassportsManualy(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::vereign::v1pb::ListPassportsForm,::vereign::v1pb::ListPassportsFormResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_ListPassportsManualy<Service > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_ListPassportsManualy<Service > StreamedService; -}; - -} // namespace v1pb -} // namespace vereign - - -#endif // GRPC_passport_5fapi_2eproto__INCLUDED diff --git a/cpp/src/vereign/v1pb/passport_api.pb.cc b/cpp/src/vereign/v1pb/passport_api.pb.cc deleted file mode 100644 index aa934d742449a369e7c64b16e7c042cb72ae9560..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_api.pb.cc +++ /dev/null @@ -1,61 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: passport_api.proto - -#include "passport_api.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -namespace vereign { -namespace v1pb { -} // namespace v1pb -} // namespace vereign -static constexpr ::PROTOBUF_NAMESPACE_ID::Metadata* file_level_metadata_passport_5fapi_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_passport_5fapi_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_passport_5fapi_2eproto = nullptr; -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_passport_5fapi_2eproto::offsets[1] = {}; -static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema* schemas = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::Message* const* file_default_instances = nullptr; - -const char descriptor_table_protodef_passport_5fapi_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\022passport_api.proto\022\014vereign.v1pb\032\030pass" - "port_types.gen.proto2o\n\013PassportAPI\022`\n\024L" - "istPassportsManualy\022\037.vereign.v1pb.ListP" - "assportsForm\032\'.vereign.v1pb.ListPassport" - "sFormResponseb\006proto3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_passport_5fapi_2eproto_deps[1] = { - &::descriptor_table_passport_5ftypes_2egen_2eproto, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_passport_5fapi_2eproto_sccs[1] = { -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_passport_5fapi_2eproto_once; -static bool descriptor_table_passport_5fapi_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_passport_5fapi_2eproto = { - &descriptor_table_passport_5fapi_2eproto_initialized, descriptor_table_protodef_passport_5fapi_2eproto, "passport_api.proto", 181, - &descriptor_table_passport_5fapi_2eproto_once, descriptor_table_passport_5fapi_2eproto_sccs, descriptor_table_passport_5fapi_2eproto_deps, 0, 1, - schemas, file_default_instances, TableStruct_passport_5fapi_2eproto::offsets, - file_level_metadata_passport_5fapi_2eproto, 0, file_level_enum_descriptors_passport_5fapi_2eproto, file_level_service_descriptors_passport_5fapi_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_passport_5fapi_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_passport_5fapi_2eproto), true); -namespace vereign { -namespace v1pb { - -// @@protoc_insertion_point(namespace_scope) -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/passport_api.pb.h b/cpp/src/vereign/v1pb/passport_api.pb.h deleted file mode 100644 index 207a858a133ccac96bf58ca7dba44a648e30cd85..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_api.pb.h +++ /dev/null @@ -1,85 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: passport_api.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_passport_5fapi_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_passport_5fapi_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/repeated_field.h> // IWYU pragma: export -#include <google/protobuf/extension_set.h> // IWYU pragma: export -#include "passport_types.gen.pb.h" -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_passport_5fapi_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_passport_5fapi_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_passport_5fapi_2eproto; -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE -namespace vereign { -namespace v1pb { - -// =================================================================== - - -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1pb -} // namespace vereign - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_passport_5fapi_2eproto diff --git a/cpp/src/vereign/v1pb/passport_types.gen.pb.cc b/cpp/src/vereign/v1pb/passport_types.gen.pb.cc deleted file mode 100644 index c3879bd2f8dc998bef2d9ecc901d30baa1003145..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_types.gen.pb.cc +++ /dev/null @@ -1,627 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: passport_types.gen.proto - -#include "passport_types.gen.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> -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -extern PROTOBUF_INTERNAL_EXPORT_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<14> scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto; -namespace vereign { -namespace v1pb { -class ListPassportsFormDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ListPassportsForm> _instance; -} _ListPassportsForm_default_instance_; -class ListPassportsFormResponseDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ListPassportsFormResponse> _instance; -} _ListPassportsFormResponse_default_instance_; -} // namespace v1pb -} // namespace vereign -static void InitDefaultsscc_info_ListPassportsForm_passport_5ftypes_2egen_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::vereign::v1pb::_ListPassportsForm_default_instance_; - new (ptr) ::vereign::v1pb::ListPassportsForm(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::vereign::v1pb::ListPassportsForm::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ListPassportsForm_passport_5ftypes_2egen_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ListPassportsForm_passport_5ftypes_2egen_2eproto}, {}}; - -static void InitDefaultsscc_info_ListPassportsFormResponse_passport_5ftypes_2egen_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::vereign::v1pb::_ListPassportsFormResponse_default_instance_; - new (ptr) ::vereign::v1pb::ListPassportsFormResponse(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::vereign::v1pb::ListPassportsFormResponse::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ListPassportsFormResponse_passport_5ftypes_2egen_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ListPassportsFormResponse_passport_5ftypes_2egen_2eproto}, { - &scc_info_EntityMessage_V2_code_2evereign_2ecom_2fcode_2fviam_2dapis_2fentities_2dmanagement_2dagent_2fapi_2fapi_2eproto.base,}}; - -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_passport_5ftypes_2egen_2eproto[2]; -static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_passport_5ftypes_2egen_2eproto = nullptr; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_passport_5ftypes_2egen_2eproto = nullptr; - -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_passport_5ftypes_2egen_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ListPassportsForm, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ListPassportsForm, donotattachavatars_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ListPassportsFormResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ListPassportsFormResponse, status_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ListPassportsFormResponse, code_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ListPassportsFormResponse, error_), - PROTOBUF_FIELD_OFFSET(::vereign::v1pb::ListPassportsFormResponse, data_), -}; -static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::vereign::v1pb::ListPassportsForm)}, - { 6, -1, sizeof(::vereign::v1pb::ListPassportsFormResponse)}, -}; - -static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::vereign::v1pb::_ListPassportsForm_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::vereign::v1pb::_ListPassportsFormResponse_default_instance_), -}; - -const char descriptor_table_protodef_passport_5ftypes_2egen_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\030passport_types.gen.proto\022\014vereign.v1pb" - "\032\022dependencies.proto\"/\n\021ListPassportsFor" - "m\022\032\n\022doNotAttachAvatars\030\001 \001(\010\"m\n\031ListPas" - "sportsFormResponse\022\016\n\006status\030\001 \001(\t\022\014\n\004co" - "de\030\002 \001(\t\022\r\n\005error\030\003 \001(\t\022#\n\004data\030\004 \003(\0132\025." - "api.EntityMessage_V2b\006proto3" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_passport_5ftypes_2egen_2eproto_deps[1] = { - &::descriptor_table_dependencies_2eproto, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_passport_5ftypes_2egen_2eproto_sccs[2] = { - &scc_info_ListPassportsForm_passport_5ftypes_2egen_2eproto.base, - &scc_info_ListPassportsFormResponse_passport_5ftypes_2egen_2eproto.base, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_passport_5ftypes_2egen_2eproto_once; -static bool descriptor_table_passport_5ftypes_2egen_2eproto_initialized = false; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_passport_5ftypes_2egen_2eproto = { - &descriptor_table_passport_5ftypes_2egen_2eproto_initialized, descriptor_table_protodef_passport_5ftypes_2egen_2eproto, "passport_types.gen.proto", 228, - &descriptor_table_passport_5ftypes_2egen_2eproto_once, descriptor_table_passport_5ftypes_2egen_2eproto_sccs, descriptor_table_passport_5ftypes_2egen_2eproto_deps, 2, 1, - schemas, file_default_instances, TableStruct_passport_5ftypes_2egen_2eproto::offsets, - file_level_metadata_passport_5ftypes_2egen_2eproto, 2, file_level_enum_descriptors_passport_5ftypes_2egen_2eproto, file_level_service_descriptors_passport_5ftypes_2egen_2eproto, -}; - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_passport_5ftypes_2egen_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_passport_5ftypes_2egen_2eproto), true); -namespace vereign { -namespace v1pb { - -// =================================================================== - -void ListPassportsForm::InitAsDefaultInstance() { -} -class ListPassportsForm::_Internal { - public: -}; - -ListPassportsForm::ListPassportsForm() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:vereign.v1pb.ListPassportsForm) -} -ListPassportsForm::ListPassportsForm(const ListPassportsForm& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - donotattachavatars_ = from.donotattachavatars_; - // @@protoc_insertion_point(copy_constructor:vereign.v1pb.ListPassportsForm) -} - -void ListPassportsForm::SharedCtor() { - donotattachavatars_ = false; -} - -ListPassportsForm::~ListPassportsForm() { - // @@protoc_insertion_point(destructor:vereign.v1pb.ListPassportsForm) - SharedDtor(); -} - -void ListPassportsForm::SharedDtor() { -} - -void ListPassportsForm::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListPassportsForm& ListPassportsForm::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ListPassportsForm_passport_5ftypes_2egen_2eproto.base); - return *internal_default_instance(); -} - - -void ListPassportsForm::Clear() { -// @@protoc_insertion_point(message_clear_start:vereign.v1pb.ListPassportsForm) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - donotattachavatars_ = false; - _internal_metadata_.Clear(); -} - -const char* ListPassportsForm::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // bool doNotAttachAvatars = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - donotattachavatars_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ListPassportsForm::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:vereign.v1pb.ListPassportsForm) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool doNotAttachAvatars = 1; - if (this->donotattachavatars() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_donotattachavatars(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:vereign.v1pb.ListPassportsForm) - return target; -} - -size_t ListPassportsForm::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:vereign.v1pb.ListPassportsForm) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // bool doNotAttachAvatars = 1; - if (this->donotattachavatars() != 0) { - total_size += 1 + 1; - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ListPassportsForm::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:vereign.v1pb.ListPassportsForm) - GOOGLE_DCHECK_NE(&from, this); - const ListPassportsForm* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ListPassportsForm>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:vereign.v1pb.ListPassportsForm) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:vereign.v1pb.ListPassportsForm) - MergeFrom(*source); - } -} - -void ListPassportsForm::MergeFrom(const ListPassportsForm& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:vereign.v1pb.ListPassportsForm) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.donotattachavatars() != 0) { - _internal_set_donotattachavatars(from._internal_donotattachavatars()); - } -} - -void ListPassportsForm::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:vereign.v1pb.ListPassportsForm) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListPassportsForm::CopyFrom(const ListPassportsForm& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:vereign.v1pb.ListPassportsForm) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListPassportsForm::IsInitialized() const { - return true; -} - -void ListPassportsForm::InternalSwap(ListPassportsForm* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(donotattachavatars_, other->donotattachavatars_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ListPassportsForm::GetMetadata() const { - return GetMetadataStatic(); -} - - -// =================================================================== - -void ListPassportsFormResponse::InitAsDefaultInstance() { -} -class ListPassportsFormResponse::_Internal { - public: -}; - -void ListPassportsFormResponse::clear_data() { - data_.Clear(); -} -ListPassportsFormResponse::ListPassportsFormResponse() - : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:vereign.v1pb.ListPassportsFormResponse) -} -ListPassportsFormResponse::ListPassportsFormResponse(const ListPassportsFormResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _internal_metadata_(nullptr), - data_(from.data_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_status().empty()) { - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); - } - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_code().empty()) { - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } - error_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (!from._internal_error().empty()) { - error_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.error_); - } - // @@protoc_insertion_point(copy_constructor:vereign.v1pb.ListPassportsFormResponse) -} - -void ListPassportsFormResponse::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ListPassportsFormResponse_passport_5ftypes_2egen_2eproto.base); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - error_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -ListPassportsFormResponse::~ListPassportsFormResponse() { - // @@protoc_insertion_point(destructor:vereign.v1pb.ListPassportsFormResponse) - SharedDtor(); -} - -void ListPassportsFormResponse::SharedDtor() { - status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - error_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} - -void ListPassportsFormResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListPassportsFormResponse& ListPassportsFormResponse::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ListPassportsFormResponse_passport_5ftypes_2egen_2eproto.base); - return *internal_default_instance(); -} - - -void ListPassportsFormResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:vereign.v1pb.ListPassportsFormResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - data_.Clear(); - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - error_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -const char* ListPassportsFormResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { - // string status = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_status(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.ListPassportsFormResponse.status")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string code = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_code(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.ListPassportsFormResponse.code")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // string error = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_error(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "vereign.v1pb.ListPassportsFormResponse.error")); - CHK_(ptr); - } else goto handle_unusual; - continue; - // repeated .api.EntityMessage_V2 data = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_data(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else goto handle_unusual; - continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); - CHK_(ptr != nullptr); - continue; - } - } // switch - } // while -success: - return ptr; -failure: - ptr = nullptr; - goto success; -#undef CHK_ -} - -::PROTOBUF_NAMESPACE_ID::uint8* ListPassportsFormResponse::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:vereign.v1pb.ListPassportsFormResponse) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string status = 1; - if (this->status().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_status().data(), static_cast<int>(this->_internal_status().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.ListPassportsFormResponse.status"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_status(), target); - } - - // string code = 2; - if (this->code().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_code().data(), static_cast<int>(this->_internal_code().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.ListPassportsFormResponse.code"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_code(), target); - } - - // string error = 3; - if (this->error().size() > 0) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_error().data(), static_cast<int>(this->_internal_error().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "vereign.v1pb.ListPassportsFormResponse.error"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_error(), target); - } - - // repeated .api.EntityMessage_V2 data = 4; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_data_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, this->_internal_data(i), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:vereign.v1pb.ListPassportsFormResponse) - return target; -} - -size_t ListPassportsFormResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:vereign.v1pb.ListPassportsFormResponse) - size_t total_size = 0; - - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .api.EntityMessage_V2 data = 4; - total_size += 1UL * this->_internal_data_size(); - for (const auto& msg : this->data_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // string status = 1; - if (this->status().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); - } - - // string code = 2; - if (this->code().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_code()); - } - - // string error = 3; - if (this->error().size() > 0) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_error()); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ListPassportsFormResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:vereign.v1pb.ListPassportsFormResponse) - GOOGLE_DCHECK_NE(&from, this); - const ListPassportsFormResponse* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ListPassportsFormResponse>( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:vereign.v1pb.ListPassportsFormResponse) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:vereign.v1pb.ListPassportsFormResponse) - MergeFrom(*source); - } -} - -void ListPassportsFormResponse::MergeFrom(const ListPassportsFormResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:vereign.v1pb.ListPassportsFormResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - data_.MergeFrom(from.data_); - if (from.status().size() > 0) { - - status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); - } - if (from.code().size() > 0) { - - code_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.code_); - } - if (from.error().size() > 0) { - - error_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.error_); - } -} - -void ListPassportsFormResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:vereign.v1pb.ListPassportsFormResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListPassportsFormResponse::CopyFrom(const ListPassportsFormResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:vereign.v1pb.ListPassportsFormResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListPassportsFormResponse::IsInitialized() const { - return true; -} - -void ListPassportsFormResponse::InternalSwap(ListPassportsFormResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - data_.InternalSwap(&other->data_); - status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - code_.Swap(&other->code_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - error_.Swap(&other->error_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ListPassportsFormResponse::GetMetadata() const { - return GetMetadataStatic(); -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::vereign::v1pb::ListPassportsForm* Arena::CreateMaybeMessage< ::vereign::v1pb::ListPassportsForm >(Arena* arena) { - return Arena::CreateInternal< ::vereign::v1pb::ListPassportsForm >(arena); -} -template<> PROTOBUF_NOINLINE ::vereign::v1pb::ListPassportsFormResponse* Arena::CreateMaybeMessage< ::vereign::v1pb::ListPassportsFormResponse >(Arena* arena) { - return Arena::CreateInternal< ::vereign::v1pb::ListPassportsFormResponse >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/cpp/src/vereign/v1pb/passport_types.gen.pb.h b/cpp/src/vereign/v1pb/passport_types.gen.pb.h deleted file mode 100644 index 79b7592718ba717c1b957bc96dde35003376affa..0000000000000000000000000000000000000000 --- a/cpp/src/vereign/v1pb/passport_types.gen.pb.h +++ /dev/null @@ -1,659 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: passport_types.gen.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_passport_5ftypes_2egen_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_passport_5ftypes_2egen_2eproto - -#include <limits> -#include <string> - -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3011000 -#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 -#if 3011002 < 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 - -#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_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata.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/unknown_field_set.h> -#include "dependencies.pb.h" -// @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_passport_5ftypes_2egen_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_passport_5ftypes_2egen_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_passport_5ftypes_2egen_2eproto; -namespace vereign { -namespace v1pb { -class ListPassportsForm; -class ListPassportsFormDefaultTypeInternal; -extern ListPassportsFormDefaultTypeInternal _ListPassportsForm_default_instance_; -class ListPassportsFormResponse; -class ListPassportsFormResponseDefaultTypeInternal; -extern ListPassportsFormResponseDefaultTypeInternal _ListPassportsFormResponse_default_instance_; -} // namespace v1pb -} // namespace vereign -PROTOBUF_NAMESPACE_OPEN -template<> ::vereign::v1pb::ListPassportsForm* Arena::CreateMaybeMessage<::vereign::v1pb::ListPassportsForm>(Arena*); -template<> ::vereign::v1pb::ListPassportsFormResponse* Arena::CreateMaybeMessage<::vereign::v1pb::ListPassportsFormResponse>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace vereign { -namespace v1pb { - -// =================================================================== - -class ListPassportsForm : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:vereign.v1pb.ListPassportsForm) */ { - public: - ListPassportsForm(); - virtual ~ListPassportsForm(); - - ListPassportsForm(const ListPassportsForm& from); - ListPassportsForm(ListPassportsForm&& from) noexcept - : ListPassportsForm() { - *this = ::std::move(from); - } - - inline ListPassportsForm& operator=(const ListPassportsForm& from) { - CopyFrom(from); - return *this; - } - inline ListPassportsForm& operator=(ListPassportsForm&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ListPassportsForm& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListPassportsForm* internal_default_instance() { - return reinterpret_cast<const ListPassportsForm*>( - &_ListPassportsForm_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(ListPassportsForm& a, ListPassportsForm& b) { - a.Swap(&b); - } - inline void Swap(ListPassportsForm* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ListPassportsForm* New() const final { - return CreateMaybeMessage<ListPassportsForm>(nullptr); - } - - ListPassportsForm* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ListPassportsForm>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ListPassportsForm& from); - void MergeFrom(const ListPassportsForm& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ListPassportsForm* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "vereign.v1pb.ListPassportsForm"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_passport_5ftypes_2egen_2eproto); - return ::descriptor_table_passport_5ftypes_2egen_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDoNotAttachAvatarsFieldNumber = 1, - }; - // bool doNotAttachAvatars = 1; - void clear_donotattachavatars(); - bool donotattachavatars() const; - void set_donotattachavatars(bool value); - private: - bool _internal_donotattachavatars() const; - void _internal_set_donotattachavatars(bool value); - public: - - // @@protoc_insertion_point(class_scope:vereign.v1pb.ListPassportsForm) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - bool donotattachavatars_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_passport_5ftypes_2egen_2eproto; -}; -// ------------------------------------------------------------------- - -class ListPassportsFormResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:vereign.v1pb.ListPassportsFormResponse) */ { - public: - ListPassportsFormResponse(); - virtual ~ListPassportsFormResponse(); - - ListPassportsFormResponse(const ListPassportsFormResponse& from); - ListPassportsFormResponse(ListPassportsFormResponse&& from) noexcept - : ListPassportsFormResponse() { - *this = ::std::move(from); - } - - inline ListPassportsFormResponse& operator=(const ListPassportsFormResponse& from) { - CopyFrom(from); - return *this; - } - inline ListPassportsFormResponse& operator=(ListPassportsFormResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } - static const ListPassportsFormResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListPassportsFormResponse* internal_default_instance() { - return reinterpret_cast<const ListPassportsFormResponse*>( - &_ListPassportsFormResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(ListPassportsFormResponse& a, ListPassportsFormResponse& b) { - a.Swap(&b); - } - inline void Swap(ListPassportsFormResponse* other) { - if (other == this) return; - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - inline ListPassportsFormResponse* New() const final { - return CreateMaybeMessage<ListPassportsFormResponse>(nullptr); - } - - ListPassportsFormResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<ListPassportsFormResponse>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void CopyFrom(const ListPassportsFormResponse& from); - void MergeFrom(const ListPassportsFormResponse& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ListPassportsFormResponse* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "vereign.v1pb.ListPassportsFormResponse"; - } - private: - inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_passport_5ftypes_2egen_2eproto); - return ::descriptor_table_passport_5ftypes_2egen_2eproto.file_level_metadata[kIndexInFileMessages]; - } - - public: - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 4, - kStatusFieldNumber = 1, - kCodeFieldNumber = 2, - kErrorFieldNumber = 3, - }; - // repeated .api.EntityMessage_V2 data = 4; - int data_size() const; - private: - int _internal_data_size() const; - public: - void clear_data(); - ::api::EntityMessage_V2* mutable_data(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >* - mutable_data(); - private: - const ::api::EntityMessage_V2& _internal_data(int index) const; - ::api::EntityMessage_V2* _internal_add_data(); - public: - const ::api::EntityMessage_V2& data(int index) const; - ::api::EntityMessage_V2* add_data(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >& - data() const; - - // string status = 1; - void clear_status(); - const std::string& status() const; - void set_status(const std::string& value); - void set_status(std::string&& value); - void set_status(const char* value); - void set_status(const char* value, size_t size); - std::string* mutable_status(); - std::string* release_status(); - void set_allocated_status(std::string* status); - private: - const std::string& _internal_status() const; - void _internal_set_status(const std::string& value); - std::string* _internal_mutable_status(); - public: - - // string code = 2; - void clear_code(); - const std::string& code() const; - void set_code(const std::string& value); - void set_code(std::string&& value); - void set_code(const char* value); - void set_code(const char* value, size_t size); - std::string* mutable_code(); - std::string* release_code(); - void set_allocated_code(std::string* code); - private: - const std::string& _internal_code() const; - void _internal_set_code(const std::string& value); - std::string* _internal_mutable_code(); - public: - - // string error = 3; - void clear_error(); - const std::string& error() const; - void set_error(const std::string& value); - void set_error(std::string&& value); - void set_error(const char* value); - void set_error(const char* value, size_t size); - std::string* mutable_error(); - std::string* release_error(); - void set_allocated_error(std::string* error); - private: - const std::string& _internal_error() const; - void _internal_set_error(const std::string& value); - std::string* _internal_mutable_error(); - public: - - // @@protoc_insertion_point(class_scope:vereign.v1pb.ListPassportsFormResponse) - private: - class _Internal; - - ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 > data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_passport_5ftypes_2egen_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ListPassportsForm - -// bool doNotAttachAvatars = 1; -inline void ListPassportsForm::clear_donotattachavatars() { - donotattachavatars_ = false; -} -inline bool ListPassportsForm::_internal_donotattachavatars() const { - return donotattachavatars_; -} -inline bool ListPassportsForm::donotattachavatars() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ListPassportsForm.doNotAttachAvatars) - return _internal_donotattachavatars(); -} -inline void ListPassportsForm::_internal_set_donotattachavatars(bool value) { - - donotattachavatars_ = value; -} -inline void ListPassportsForm::set_donotattachavatars(bool value) { - _internal_set_donotattachavatars(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.ListPassportsForm.doNotAttachAvatars) -} - -// ------------------------------------------------------------------- - -// ListPassportsFormResponse - -// string status = 1; -inline void ListPassportsFormResponse::clear_status() { - status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ListPassportsFormResponse::status() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ListPassportsFormResponse.status) - return _internal_status(); -} -inline void ListPassportsFormResponse::set_status(const std::string& value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.ListPassportsFormResponse.status) -} -inline std::string* ListPassportsFormResponse::mutable_status() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.ListPassportsFormResponse.status) - return _internal_mutable_status(); -} -inline const std::string& ListPassportsFormResponse::_internal_status() const { - return status_.GetNoArena(); -} -inline void ListPassportsFormResponse::_internal_set_status(const std::string& value) { - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ListPassportsFormResponse::set_status(std::string&& value) { - - status_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.ListPassportsFormResponse.status) -} -inline void ListPassportsFormResponse::set_status(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.ListPassportsFormResponse.status) -} -inline void ListPassportsFormResponse::set_status(const char* value, size_t size) { - - status_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.ListPassportsFormResponse.status) -} -inline std::string* ListPassportsFormResponse::_internal_mutable_status() { - - return status_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ListPassportsFormResponse::release_status() { - // @@protoc_insertion_point(field_release:vereign.v1pb.ListPassportsFormResponse.status) - - return status_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ListPassportsFormResponse::set_allocated_status(std::string* status) { - if (status != nullptr) { - - } else { - - } - status_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.ListPassportsFormResponse.status) -} - -// string code = 2; -inline void ListPassportsFormResponse::clear_code() { - code_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ListPassportsFormResponse::code() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ListPassportsFormResponse.code) - return _internal_code(); -} -inline void ListPassportsFormResponse::set_code(const std::string& value) { - _internal_set_code(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.ListPassportsFormResponse.code) -} -inline std::string* ListPassportsFormResponse::mutable_code() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.ListPassportsFormResponse.code) - return _internal_mutable_code(); -} -inline const std::string& ListPassportsFormResponse::_internal_code() const { - return code_.GetNoArena(); -} -inline void ListPassportsFormResponse::_internal_set_code(const std::string& value) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ListPassportsFormResponse::set_code(std::string&& value) { - - code_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.ListPassportsFormResponse.code) -} -inline void ListPassportsFormResponse::set_code(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.ListPassportsFormResponse.code) -} -inline void ListPassportsFormResponse::set_code(const char* value, size_t size) { - - code_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.ListPassportsFormResponse.code) -} -inline std::string* ListPassportsFormResponse::_internal_mutable_code() { - - return code_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ListPassportsFormResponse::release_code() { - // @@protoc_insertion_point(field_release:vereign.v1pb.ListPassportsFormResponse.code) - - return code_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ListPassportsFormResponse::set_allocated_code(std::string* code) { - if (code != nullptr) { - - } else { - - } - code_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), code); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.ListPassportsFormResponse.code) -} - -// string error = 3; -inline void ListPassportsFormResponse::clear_error() { - error_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline const std::string& ListPassportsFormResponse::error() const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ListPassportsFormResponse.error) - return _internal_error(); -} -inline void ListPassportsFormResponse::set_error(const std::string& value) { - _internal_set_error(value); - // @@protoc_insertion_point(field_set:vereign.v1pb.ListPassportsFormResponse.error) -} -inline std::string* ListPassportsFormResponse::mutable_error() { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.ListPassportsFormResponse.error) - return _internal_mutable_error(); -} -inline const std::string& ListPassportsFormResponse::_internal_error() const { - return error_.GetNoArena(); -} -inline void ListPassportsFormResponse::_internal_set_error(const std::string& value) { - - error_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); -} -inline void ListPassportsFormResponse::set_error(std::string&& value) { - - error_.SetNoArena( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:vereign.v1pb.ListPassportsFormResponse.error) -} -inline void ListPassportsFormResponse::set_error(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - error_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:vereign.v1pb.ListPassportsFormResponse.error) -} -inline void ListPassportsFormResponse::set_error(const char* value, size_t size) { - - error_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:vereign.v1pb.ListPassportsFormResponse.error) -} -inline std::string* ListPassportsFormResponse::_internal_mutable_error() { - - return error_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline std::string* ListPassportsFormResponse::release_error() { - // @@protoc_insertion_point(field_release:vereign.v1pb.ListPassportsFormResponse.error) - - return error_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); -} -inline void ListPassportsFormResponse::set_allocated_error(std::string* error) { - if (error != nullptr) { - - } else { - - } - error_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error); - // @@protoc_insertion_point(field_set_allocated:vereign.v1pb.ListPassportsFormResponse.error) -} - -// repeated .api.EntityMessage_V2 data = 4; -inline int ListPassportsFormResponse::_internal_data_size() const { - return data_.size(); -} -inline int ListPassportsFormResponse::data_size() const { - return _internal_data_size(); -} -inline ::api::EntityMessage_V2* ListPassportsFormResponse::mutable_data(int index) { - // @@protoc_insertion_point(field_mutable:vereign.v1pb.ListPassportsFormResponse.data) - return data_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >* -ListPassportsFormResponse::mutable_data() { - // @@protoc_insertion_point(field_mutable_list:vereign.v1pb.ListPassportsFormResponse.data) - return &data_; -} -inline const ::api::EntityMessage_V2& ListPassportsFormResponse::_internal_data(int index) const { - return data_.Get(index); -} -inline const ::api::EntityMessage_V2& ListPassportsFormResponse::data(int index) const { - // @@protoc_insertion_point(field_get:vereign.v1pb.ListPassportsFormResponse.data) - return _internal_data(index); -} -inline ::api::EntityMessage_V2* ListPassportsFormResponse::_internal_add_data() { - return data_.Add(); -} -inline ::api::EntityMessage_V2* ListPassportsFormResponse::add_data() { - // @@protoc_insertion_point(field_add:vereign.v1pb.ListPassportsFormResponse.data) - return _internal_add_data(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::api::EntityMessage_V2 >& -ListPassportsFormResponse::data() const { - // @@protoc_insertion_point(field_list:vereign.v1pb.ListPassportsFormResponse.data) - return data_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1pb -} // namespace vereign - -// @@protoc_insertion_point(global_scope) - -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_passport_5ftypes_2egen_2eproto diff --git a/cpp/tests/vereign/CMakeLists.txt b/cpp/tests/vereign/CMakeLists.txt index 1e4dcd3f7ceca01493e0f3b6601c0a5ddd3d3ee9..d170416a7692f131b0df3d4a24f47ae63b2be14c 100644 --- a/cpp/tests/vereign/CMakeLists.txt +++ b/cpp/tests/vereign/CMakeLists.txt @@ -3,8 +3,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/src ${VENDOR_INSTALL_DIR}/include - ${CMAKE_SOURCE_DIR}/src/vereign/v1pb/googleapis - ${CMAKE_SOURCE_DIR}/src/vereign/v1pb + ${CMAKE_SOURCE_DIR}/proto/cpp ) list(APPEND tests_src diff --git a/cpp/tests/vereign/grpc/server_test.cc b/cpp/tests/vereign/grpc/server_test.cc index 8351504fabeeb7f5b3a09d47d0a2cd77f368027c..a779043f8e32e108613b6be18277e264f7df69c5 100644 --- a/cpp/tests/vereign/grpc/server_test.cc +++ b/cpp/tests/vereign/grpc/server_test.cc @@ -1,6 +1,6 @@ #include <vereign/grpc/server.hh> #include <vereign/core/scope_guard.hh> -#include <vereign/v1pb/passport_api.gen.grpc.pb.h> +#include <vereign/client_library/passport_api.gen.grpc.pb.h> #include <util/env.hh> #include <util/protobuf.hh> @@ -23,10 +23,10 @@ TEST_CASE("Server", "[vereign/grpc/server][.integration]") { ::grpc::InsecureChannelCredentials() ); - auto client = vereign::v1pb::PassportAPI::NewStub(channel); + auto client = vereign::client_library::PassportAPI::NewStub(channel); - vereign::v1pb::ListPassportsForm req; - vereign::v1pb::ListPassportsFormResponse resp; + vereign::client_library::ListPassportsForm req; + vereign::client_library::ListPassportsFormResponse resp; ::grpc::ClientContext ctx; auto status = client->ListPassports(&ctx, req, &resp); diff --git a/cpp/tests/vereign/restapi/client_session_test.cc b/cpp/tests/vereign/restapi/client_session_test.cc index 091ac06bdc3109cb121c99ad74179a3f7872c82f..eefbb73831473f88251685eb3474a682659bf2ee 100644 --- a/cpp/tests/vereign/restapi/client_session_test.cc +++ b/cpp/tests/vereign/restapi/client_session_test.cc @@ -1,7 +1,7 @@ #include <vereign/restapi/client.hh> #include <vereign/restapi/client_session.hh> #include <vereign/core/scope_guard.hh> -#include <vereign/v1pb/passport_types.gen.pb.h> +#include <vereign/client_library/passport_types.gen.pb.h> #include <util/env.hh> #include <util/protobuf.hh> @@ -42,8 +42,8 @@ TEST_CASE("ClientSession::Post", "[vereign/restapi/client_session][.integration] for (int i = 0; i < 1; i++) { auto list_result = client_session.Post( "/passport/listPassports", - std::make_unique<vereign::v1pb::ListPassportsForm>(), - std::make_unique<vereign::v1pb::ListPassportsFormResponse>() + std::make_unique<vereign::client_library::ListPassportsForm>(), + std::make_unique<vereign::client_library::ListPassportsFormResponse>() ); auto result = list_result.get(); diff --git a/cpp/tests/vereign/restapi/client_test.cc b/cpp/tests/vereign/restapi/client_test.cc index 98cfc825aa414e1c2d3ede1d93d5d6033be7474a..77d23b0f697ac29e1c8ebf418c5a7085037b9fdb 100644 --- a/cpp/tests/vereign/restapi/client_test.cc +++ b/cpp/tests/vereign/restapi/client_test.cc @@ -1,13 +1,13 @@ #include <chrono> #include <vereign/restapi/client.hh> -#include <vereign/v1pb/identity_types.pb.h> -#include <vereign/v1pb/passport_types.gen.pb.h> +#include <vereign/client_library/common_types.pb.h> +#include <vereign/client_library/identity_types.pb.h> +#include <vereign/client_library/passport_api.gen.pb.h> #include <vereign/core/scope_guard.hh> #include <util/env.hh> #include "boost/asio/executor_work_guard.hpp" #include "catch.hpp" -#include "common_types.pb.h" #include <thread> #include <boost/asio/io_context.hpp> @@ -18,6 +18,8 @@ TEST_CASE("Client::Post", "[vereign/restapi/client][.integration]") { namespace asio = boost::asio; namespace beast = boost::beast; + using namespace vereign; + asio::io_context ioc; auto work_guard = boost::asio::make_work_guard(ioc); asio::ssl::context ctx(asio::ssl::context::tlsv12_client); @@ -44,8 +46,8 @@ TEST_CASE("Client::Post", "[vereign/restapi/client][.integration]") { } ); - auto req = std::make_unique<vereign::v1pb::EmptyRequest>(); - auto resp = std::make_unique<vereign::v1pb::LoginFormPreviousAddedDeviceResponse>(); + auto req = std::make_unique<client_library::EmptyRequest>(); + auto resp = std::make_unique<client_library::LoginFormPreviousAddedDeviceResponse>(); // const vereign::v1pb::EmptyRequest* reqptr = req.get(); // vereign::v1pb::LoginFormPreviousAddedDeviceResponse* respptr = resp.get(); @@ -71,8 +73,8 @@ TEST_CASE("Client::Post", "[vereign/restapi/client][.integration]") { auto list_result = client.Post( "/api/passport/listPassports", - std::make_unique<vereign::v1pb::ListPassportsForm>(), - std::make_unique<vereign::v1pb::ListPassportsFormResponse>(), + std::make_unique<client_library::ListPassportsForm>(), + std::make_unique<client_library::ListPassportsFormResponse>(), std::vector<vereign::restapi::HttpHeader>{ {"publicKey", publicKey}, {"token", token}, @@ -93,6 +95,8 @@ TEST_CASE("Client::Post", "[vereign/restapi/client][.integration]") { TEST_CASE("Client load test", "[vereign/restapi/client][.bench]") { namespace asio = boost::asio; namespace beast = boost::beast; + using namespace vereign; + asio::io_context ioc; auto work_guard = boost::asio::make_work_guard(ioc); asio::ssl::context ctx(asio::ssl::context::tlsv12_client); @@ -124,8 +128,8 @@ TEST_CASE("Client load test", "[vereign/restapi/client][.bench]") { threads.emplace_back( [&client, th]() mutable { - auto req = std::make_unique<vereign::v1pb::LoginForm>(); - auto resp = std::make_unique<vereign::v1pb::LoginFormPreviousAddedDeviceResponse>(); + auto req = std::make_unique<client_library::LoginForm>(); + auto resp = std::make_unique<client_library::LoginFormPreviousAddedDeviceResponse>(); for (int i = 0; i < 1000; i++) { auto id = fmt::format("t{}-{}", th, i); diff --git a/cpp/tests/vereign/service/gen/passport_service_test.cc b/cpp/tests/vereign/service/gen/passport_service_test.cc index b54d109fd6957503a2f19b582527486ee233d9cc..637838acc904ff10e8724aec956fb8d2abc8e45a 100644 --- a/cpp/tests/vereign/service/gen/passport_service_test.cc +++ b/cpp/tests/vereign/service/gen/passport_service_test.cc @@ -1,6 +1,6 @@ #include <vereign/service/gen/passport_service.hh> #include <vereign/core/scope_guard.hh> -#include <vereign/v1pb/passport_types.gen.pb.h> +#include <vereign/client_library/passport_types.gen.pb.h> #include <util/env.hh> #include <util/protobuf.hh> @@ -40,8 +40,8 @@ TEST_CASE("PassportService::ListPassports", "[vereign/service/gen][.integration] ); for (int i = 0; i < 2; i++) { - auto req = std::make_unique<vereign::v1pb::ListPassportsForm>(); - auto resp = std::make_unique<vereign::v1pb::ListPassportsFormResponse>(); + auto req = std::make_unique<vereign::client_library::ListPassportsForm>(); + auto resp = std::make_unique<vereign::client_library::ListPassportsFormResponse>(); auto list_result = service.ListPassports(req.get(), resp.get());