diff --git a/security/Makefile b/security/Makefile index a76f01cf..37c435e0 100644 --- a/security/Makefile +++ b/security/Makefile @@ -2,23 +2,22 @@ # Copyright (C) 2022 Intel Corporation # Copyright (c) 2022 Dell Inc, or its subsidiaries. -all: - # Build root security protos +all: buflint bufgen doc + +doc: rm -rf ./google - rm -rf ./v1/{autogen.md,gen} - mkdir -p ./v1/gen/{go,cpp,python} + rm -f ./v1/autogen.md + mkdir -p ./v1 # protoc doesn't include annotation and http googleapis, so we have to get them here curl -kL https://github.com/googleapis/googleapis/archive/master.tar.gz | tar --strip=1 -zxvf - googleapis-master/google/api - docker run --user=$$(id -u):$$(id -g) --rm -v "${PWD}":/defs -v ${PWD}/google/api:/opt/include/google/api namely/protoc-all:1.51_2 --lint -d v1 -l go -o ./v1/gen/go/ --go-source-relative - docker run --user=$$(id -u):$$(id -g) --rm -v "${PWD}":/defs -v ${PWD}/google/api:/opt/include/google/api namely/protoc-all:1.51_2 --lint -d v1 -l cpp -o ./v1/gen/cpp/ --go-source-relative - docker run --user=$$(id -u):$$(id -g) --rm -v "${PWD}":/defs -v ${PWD}/google/api:/opt/include/google/api namely/protoc-all:1.51_2 --lint -d v1 -l python -o ./v1/gen/python/ --go-source-relative + docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}"/v1/:/out -w /out -v "${PWD}":/protos pseudomuto/protoc-gen-doc:1.5.1 -c "protoc -I /protos --doc_out=/out --doc_opt=markdown,autogen.md /protos/*.proto" + + rm -rf "${PWD}"/google - mv google "${PWD}"/v1/ +buflint: + docker run --rm -v "${PWD}":/out -w /out bufbuild/buf lint - docker run --user=$$(id -u):$$(id -g) --rm -v "${PWD}"/v1/:/out -v "${PWD}"/v1:/protos pseudomuto/protoc-gen-doc:1.5.1 --doc_opt=markdown,autogen.md - docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}"/v1/:/out -w /out -v "${PWD}"/v1:/protos pseudomuto/protoc-gen-doc:1.5.1 -c "protoc -I /common -I /protos --doc_out=/out --doc_opt=markdown,autogen.md /protos/*.proto" - docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}"/v1/:/out -w /out ghcr.io/docker-multiarch/google-api-linter:1.63.1 -c "api-linter -I /common /out/*.proto --output-format summary" - docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}"/v1/:/out -w /out ghcr.io/docker-multiarch/google-api-linter:1.63.1 -c "api-linter -I /common /out/*.proto --output-format github --disable-rule=core::0192 --disable-rule=core::0191 --disable-rule=core::0140 --disable-rule=core::0123 --disable-rule=core::0142 --disable-rule=core::0126 --disable-rule=core::0127 --disable-rule=core::0141 --disable-rule=core::0203 --disable-rule=core::0216 --set-exit-status" - rm -rf "${PWD}"/v1/google +bufgen: + docker run --rm -v "${PWD}/..":/base -v "${PWD}":/out -w /out msandersdell/bufbuild-go-gen:1.1.0 generate --template /base/buf.gen.yaml -o v1 diff --git a/security/v1/ipsec.proto b/security/ipsec.proto similarity index 100% rename from security/v1/ipsec.proto rename to security/ipsec.proto diff --git a/security/v1/gen/cpp/ipsec.grpc.pb.cc b/security/v1/gen/cpp/ipsec.grpc.pb.cc deleted file mode 100644 index 8e678d29..00000000 --- a/security/v1/gen/cpp/ipsec.grpc.pb.cc +++ /dev/null @@ -1,468 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: ipsec.proto - -#include "ipsec.pb.h" -#include "ipsec.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace opi_api { -namespace security { -namespace v1 { - -static const char* IPsecService_method_names[] = { - "/opi_api.security.v1.IPsecService/IPsecVersion", - "/opi_api.security.v1.IPsecService/IPsecStats", - "/opi_api.security.v1.IPsecService/IPsecInitiate", - "/opi_api.security.v1.IPsecService/IPsecTerminate", - "/opi_api.security.v1.IPsecService/IPsecRekey", - "/opi_api.security.v1.IPsecService/IPsecListSas", - "/opi_api.security.v1.IPsecService/IPsecListConns", - "/opi_api.security.v1.IPsecService/IPsecListCerts", - "/opi_api.security.v1.IPsecService/IPsecLoadConn", - "/opi_api.security.v1.IPsecService/IPsecUnloadConn", -}; - -std::unique_ptr< IPsecService::Stub> IPsecService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< IPsecService::Stub> stub(new IPsecService::Stub(channel, options)); - return stub; -} - -IPsecService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) - : channel_(channel), rpcmethod_IPsecVersion_(IPsecService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IPsecStats_(IPsecService_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IPsecInitiate_(IPsecService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IPsecTerminate_(IPsecService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IPsecRekey_(IPsecService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IPsecListSas_(IPsecService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IPsecListConns_(IPsecService_method_names[6], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IPsecListCerts_(IPsecService_method_names[7], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IPsecLoadConn_(IPsecService_method_names[8], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IPsecUnloadConn_(IPsecService_method_names[9], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status IPsecService::Stub::IPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::opi_api::security::v1::IPsecVersionResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecVersionRequest, ::opi_api::security::v1::IPsecVersionResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecVersion_, context, request, response); -} - -void IPsecService::Stub::async::IPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest* request, ::opi_api::security::v1::IPsecVersionResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecVersionRequest, ::opi_api::security::v1::IPsecVersionResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecVersion_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest* request, ::opi_api::security::v1::IPsecVersionResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecVersion_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecVersionResponse>* IPsecService::Stub::PrepareAsyncIPsecVersionRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecVersionResponse, ::opi_api::security::v1::IPsecVersionRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecVersion_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecVersionResponse>* IPsecService::Stub::AsyncIPsecVersionRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecVersionRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status IPsecService::Stub::IPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::opi_api::security::v1::IPsecStatsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecStatsRequest, ::opi_api::security::v1::IPsecStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecStats_, context, request, response); -} - -void IPsecService::Stub::async::IPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest* request, ::opi_api::security::v1::IPsecStatsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecStatsRequest, ::opi_api::security::v1::IPsecStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecStats_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest* request, ::opi_api::security::v1::IPsecStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecStats_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecStatsResponse>* IPsecService::Stub::PrepareAsyncIPsecStatsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecStatsResponse, ::opi_api::security::v1::IPsecStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecStats_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecStatsResponse>* IPsecService::Stub::AsyncIPsecStatsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecStatsRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status IPsecService::Stub::IPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::opi_api::security::v1::IPsecInitiateResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecInitiateRequest, ::opi_api::security::v1::IPsecInitiateResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecInitiate_, context, request, response); -} - -void IPsecService::Stub::async::IPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest* request, ::opi_api::security::v1::IPsecInitiateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecInitiateRequest, ::opi_api::security::v1::IPsecInitiateResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecInitiate_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest* request, ::opi_api::security::v1::IPsecInitiateResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecInitiate_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecInitiateResponse>* IPsecService::Stub::PrepareAsyncIPsecInitiateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecInitiateResponse, ::opi_api::security::v1::IPsecInitiateRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecInitiate_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecInitiateResponse>* IPsecService::Stub::AsyncIPsecInitiateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecInitiateRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status IPsecService::Stub::IPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::opi_api::security::v1::IPsecTerminateResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecTerminateRequest, ::opi_api::security::v1::IPsecTerminateResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecTerminate_, context, request, response); -} - -void IPsecService::Stub::async::IPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest* request, ::opi_api::security::v1::IPsecTerminateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecTerminateRequest, ::opi_api::security::v1::IPsecTerminateResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecTerminate_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest* request, ::opi_api::security::v1::IPsecTerminateResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecTerminate_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecTerminateResponse>* IPsecService::Stub::PrepareAsyncIPsecTerminateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecTerminateResponse, ::opi_api::security::v1::IPsecTerminateRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecTerminate_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecTerminateResponse>* IPsecService::Stub::AsyncIPsecTerminateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecTerminateRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status IPsecService::Stub::IPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::opi_api::security::v1::IPsecRekeyResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecRekeyRequest, ::opi_api::security::v1::IPsecRekeyResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecRekey_, context, request, response); -} - -void IPsecService::Stub::async::IPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest* request, ::opi_api::security::v1::IPsecRekeyResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecRekeyRequest, ::opi_api::security::v1::IPsecRekeyResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecRekey_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest* request, ::opi_api::security::v1::IPsecRekeyResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecRekey_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecRekeyResponse>* IPsecService::Stub::PrepareAsyncIPsecRekeyRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecRekeyResponse, ::opi_api::security::v1::IPsecRekeyRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecRekey_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecRekeyResponse>* IPsecService::Stub::AsyncIPsecRekeyRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecRekeyRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status IPsecService::Stub::IPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::opi_api::security::v1::IPsecListSasResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecListSasRequest, ::opi_api::security::v1::IPsecListSasResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecListSas_, context, request, response); -} - -void IPsecService::Stub::async::IPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest* request, ::opi_api::security::v1::IPsecListSasResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecListSasRequest, ::opi_api::security::v1::IPsecListSasResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecListSas_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest* request, ::opi_api::security::v1::IPsecListSasResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecListSas_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListSasResponse>* IPsecService::Stub::PrepareAsyncIPsecListSasRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecListSasResponse, ::opi_api::security::v1::IPsecListSasRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecListSas_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListSasResponse>* IPsecService::Stub::AsyncIPsecListSasRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecListSasRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status IPsecService::Stub::IPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::opi_api::security::v1::IPsecListConnsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecListConnsRequest, ::opi_api::security::v1::IPsecListConnsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecListConns_, context, request, response); -} - -void IPsecService::Stub::async::IPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest* request, ::opi_api::security::v1::IPsecListConnsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecListConnsRequest, ::opi_api::security::v1::IPsecListConnsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecListConns_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest* request, ::opi_api::security::v1::IPsecListConnsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecListConns_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListConnsResponse>* IPsecService::Stub::PrepareAsyncIPsecListConnsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecListConnsResponse, ::opi_api::security::v1::IPsecListConnsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecListConns_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListConnsResponse>* IPsecService::Stub::AsyncIPsecListConnsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecListConnsRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status IPsecService::Stub::IPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::opi_api::security::v1::IPsecListCertsResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecListCertsRequest, ::opi_api::security::v1::IPsecListCertsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecListCerts_, context, request, response); -} - -void IPsecService::Stub::async::IPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest* request, ::opi_api::security::v1::IPsecListCertsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecListCertsRequest, ::opi_api::security::v1::IPsecListCertsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecListCerts_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest* request, ::opi_api::security::v1::IPsecListCertsResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecListCerts_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListCertsResponse>* IPsecService::Stub::PrepareAsyncIPsecListCertsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecListCertsResponse, ::opi_api::security::v1::IPsecListCertsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecListCerts_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListCertsResponse>* IPsecService::Stub::AsyncIPsecListCertsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecListCertsRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status IPsecService::Stub::IPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::opi_api::security::v1::IPsecLoadConnResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecLoadConnRequest, ::opi_api::security::v1::IPsecLoadConnResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecLoadConn_, context, request, response); -} - -void IPsecService::Stub::async::IPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest* request, ::opi_api::security::v1::IPsecLoadConnResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecLoadConnRequest, ::opi_api::security::v1::IPsecLoadConnResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecLoadConn_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest* request, ::opi_api::security::v1::IPsecLoadConnResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecLoadConn_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecLoadConnResponse>* IPsecService::Stub::PrepareAsyncIPsecLoadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecLoadConnResponse, ::opi_api::security::v1::IPsecLoadConnRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecLoadConn_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecLoadConnResponse>* IPsecService::Stub::AsyncIPsecLoadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecLoadConnRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status IPsecService::Stub::IPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::opi_api::security::v1::IPsecUnloadConnResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::security::v1::IPsecUnloadConnRequest, ::opi_api::security::v1::IPsecUnloadConnResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IPsecUnloadConn_, context, request, response); -} - -void IPsecService::Stub::async::IPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::opi_api::security::v1::IPsecUnloadConnResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::security::v1::IPsecUnloadConnRequest, ::opi_api::security::v1::IPsecUnloadConnResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecUnloadConn_, context, request, response, std::move(f)); -} - -void IPsecService::Stub::async::IPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::opi_api::security::v1::IPsecUnloadConnResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IPsecUnloadConn_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecUnloadConnResponse>* IPsecService::Stub::PrepareAsyncIPsecUnloadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::security::v1::IPsecUnloadConnResponse, ::opi_api::security::v1::IPsecUnloadConnRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IPsecUnloadConn_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecUnloadConnResponse>* IPsecService::Stub::AsyncIPsecUnloadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIPsecUnloadConnRaw(context, request, cq); - result->StartCall(); - return result; -} - -IPsecService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecVersionRequest, ::opi_api::security::v1::IPsecVersionResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecVersionRequest* req, - ::opi_api::security::v1::IPsecVersionResponse* resp) { - return service->IPsecVersion(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecStatsRequest, ::opi_api::security::v1::IPsecStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecStatsRequest* req, - ::opi_api::security::v1::IPsecStatsResponse* resp) { - return service->IPsecStats(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[2], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecInitiateRequest, ::opi_api::security::v1::IPsecInitiateResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecInitiateRequest* req, - ::opi_api::security::v1::IPsecInitiateResponse* resp) { - return service->IPsecInitiate(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[3], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecTerminateRequest, ::opi_api::security::v1::IPsecTerminateResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecTerminateRequest* req, - ::opi_api::security::v1::IPsecTerminateResponse* resp) { - return service->IPsecTerminate(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[4], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecRekeyRequest, ::opi_api::security::v1::IPsecRekeyResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecRekeyRequest* req, - ::opi_api::security::v1::IPsecRekeyResponse* resp) { - return service->IPsecRekey(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[5], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecListSasRequest, ::opi_api::security::v1::IPsecListSasResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecListSasRequest* req, - ::opi_api::security::v1::IPsecListSasResponse* resp) { - return service->IPsecListSas(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[6], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecListConnsRequest, ::opi_api::security::v1::IPsecListConnsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecListConnsRequest* req, - ::opi_api::security::v1::IPsecListConnsResponse* resp) { - return service->IPsecListConns(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[7], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecListCertsRequest, ::opi_api::security::v1::IPsecListCertsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecListCertsRequest* req, - ::opi_api::security::v1::IPsecListCertsResponse* resp) { - return service->IPsecListCerts(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[8], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecLoadConnRequest, ::opi_api::security::v1::IPsecLoadConnResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecLoadConnRequest* req, - ::opi_api::security::v1::IPsecLoadConnResponse* resp) { - return service->IPsecLoadConn(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - IPsecService_method_names[9], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IPsecService::Service, ::opi_api::security::v1::IPsecUnloadConnRequest, ::opi_api::security::v1::IPsecUnloadConnResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](IPsecService::Service* service, - ::grpc::ServerContext* ctx, - const ::opi_api::security::v1::IPsecUnloadConnRequest* req, - ::opi_api::security::v1::IPsecUnloadConnResponse* resp) { - return service->IPsecUnloadConn(ctx, req, resp); - }, this))); -} - -IPsecService::Service::~Service() { -} - -::grpc::Status IPsecService::Service::IPsecVersion(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecVersionRequest* request, ::opi_api::security::v1::IPsecVersionResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status IPsecService::Service::IPsecStats(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecStatsRequest* request, ::opi_api::security::v1::IPsecStatsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status IPsecService::Service::IPsecInitiate(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecInitiateRequest* request, ::opi_api::security::v1::IPsecInitiateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status IPsecService::Service::IPsecTerminate(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecTerminateRequest* request, ::opi_api::security::v1::IPsecTerminateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status IPsecService::Service::IPsecRekey(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecRekeyRequest* request, ::opi_api::security::v1::IPsecRekeyResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status IPsecService::Service::IPsecListSas(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecListSasRequest* request, ::opi_api::security::v1::IPsecListSasResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status IPsecService::Service::IPsecListConns(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecListConnsRequest* request, ::opi_api::security::v1::IPsecListConnsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status IPsecService::Service::IPsecListCerts(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecListCertsRequest* request, ::opi_api::security::v1::IPsecListCertsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status IPsecService::Service::IPsecLoadConn(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest* request, ::opi_api::security::v1::IPsecLoadConnResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status IPsecService::Service::IPsecUnloadConn(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::opi_api::security::v1::IPsecUnloadConnResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace opi_api -} // namespace security -} // namespace v1 - diff --git a/security/v1/gen/cpp/ipsec.grpc.pb.h b/security/v1/gen/cpp/ipsec.grpc.pb.h deleted file mode 100644 index d280062e..00000000 --- a/security/v1/gen/cpp/ipsec.grpc.pb.h +++ /dev/null @@ -1,1666 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: ipsec.proto -// Original file comments: -// -// Copyright (C) 2021 Intel Corporation -// Copyright (c) 2023 Dell Inc, or its subsidiaries. -// SPDX-License-Identifier: Apache-2.0 -// -// Major pieces taken from: -// https://github.com/ligato/cn-infra/blob/master/examples/cryptodata-proto-plugin/ipsec/ipsec.proto -#ifndef GRPC_ipsec_2eproto__INCLUDED -#define GRPC_ipsec_2eproto__INCLUDED - -#include "ipsec.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace opi_api { -namespace security { -namespace v1 { - -// Service functions for IPSec Protocol -class IPsecService final { - public: - static constexpr char const* service_full_name() { - return "opi_api.security.v1.IPsecService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - virtual ::grpc::Status IPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::opi_api::security::v1::IPsecVersionResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecVersionResponse>> AsyncIPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecVersionResponse>>(AsyncIPsecVersionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecVersionResponse>> PrepareAsyncIPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecVersionResponse>>(PrepareAsyncIPsecVersionRaw(context, request, cq)); - } - virtual ::grpc::Status IPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::opi_api::security::v1::IPsecStatsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecStatsResponse>> AsyncIPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecStatsResponse>>(AsyncIPsecStatsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecStatsResponse>> PrepareAsyncIPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecStatsResponse>>(PrepareAsyncIPsecStatsRaw(context, request, cq)); - } - virtual ::grpc::Status IPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::opi_api::security::v1::IPsecInitiateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecInitiateResponse>> AsyncIPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecInitiateResponse>>(AsyncIPsecInitiateRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecInitiateResponse>> PrepareAsyncIPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecInitiateResponse>>(PrepareAsyncIPsecInitiateRaw(context, request, cq)); - } - virtual ::grpc::Status IPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::opi_api::security::v1::IPsecTerminateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecTerminateResponse>> AsyncIPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecTerminateResponse>>(AsyncIPsecTerminateRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecTerminateResponse>> PrepareAsyncIPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecTerminateResponse>>(PrepareAsyncIPsecTerminateRaw(context, request, cq)); - } - virtual ::grpc::Status IPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::opi_api::security::v1::IPsecRekeyResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecRekeyResponse>> AsyncIPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecRekeyResponse>>(AsyncIPsecRekeyRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecRekeyResponse>> PrepareAsyncIPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecRekeyResponse>>(PrepareAsyncIPsecRekeyRaw(context, request, cq)); - } - virtual ::grpc::Status IPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::opi_api::security::v1::IPsecListSasResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListSasResponse>> AsyncIPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListSasResponse>>(AsyncIPsecListSasRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListSasResponse>> PrepareAsyncIPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListSasResponse>>(PrepareAsyncIPsecListSasRaw(context, request, cq)); - } - virtual ::grpc::Status IPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::opi_api::security::v1::IPsecListConnsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListConnsResponse>> AsyncIPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListConnsResponse>>(AsyncIPsecListConnsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListConnsResponse>> PrepareAsyncIPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListConnsResponse>>(PrepareAsyncIPsecListConnsRaw(context, request, cq)); - } - virtual ::grpc::Status IPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::opi_api::security::v1::IPsecListCertsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListCertsResponse>> AsyncIPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListCertsResponse>>(AsyncIPsecListCertsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListCertsResponse>> PrepareAsyncIPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListCertsResponse>>(PrepareAsyncIPsecListCertsRaw(context, request, cq)); - } - virtual ::grpc::Status IPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::opi_api::security::v1::IPsecLoadConnResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecLoadConnResponse>> AsyncIPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecLoadConnResponse>>(AsyncIPsecLoadConnRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecLoadConnResponse>> PrepareAsyncIPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecLoadConnResponse>>(PrepareAsyncIPsecLoadConnRaw(context, request, cq)); - } - virtual ::grpc::Status IPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::opi_api::security::v1::IPsecUnloadConnResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecUnloadConnResponse>> AsyncIPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecUnloadConnResponse>>(AsyncIPsecUnloadConnRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecUnloadConnResponse>> PrepareAsyncIPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecUnloadConnResponse>>(PrepareAsyncIPsecUnloadConnRaw(context, request, cq)); - } - class async_interface { - public: - virtual ~async_interface() {} - virtual void IPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest* request, ::opi_api::security::v1::IPsecVersionResponse* response, std::function) = 0; - virtual void IPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest* request, ::opi_api::security::v1::IPsecVersionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void IPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest* request, ::opi_api::security::v1::IPsecStatsResponse* response, std::function) = 0; - virtual void IPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest* request, ::opi_api::security::v1::IPsecStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void IPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest* request, ::opi_api::security::v1::IPsecInitiateResponse* response, std::function) = 0; - virtual void IPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest* request, ::opi_api::security::v1::IPsecInitiateResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void IPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest* request, ::opi_api::security::v1::IPsecTerminateResponse* response, std::function) = 0; - virtual void IPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest* request, ::opi_api::security::v1::IPsecTerminateResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void IPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest* request, ::opi_api::security::v1::IPsecRekeyResponse* response, std::function) = 0; - virtual void IPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest* request, ::opi_api::security::v1::IPsecRekeyResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void IPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest* request, ::opi_api::security::v1::IPsecListSasResponse* response, std::function) = 0; - virtual void IPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest* request, ::opi_api::security::v1::IPsecListSasResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void IPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest* request, ::opi_api::security::v1::IPsecListConnsResponse* response, std::function) = 0; - virtual void IPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest* request, ::opi_api::security::v1::IPsecListConnsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void IPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest* request, ::opi_api::security::v1::IPsecListCertsResponse* response, std::function) = 0; - virtual void IPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest* request, ::opi_api::security::v1::IPsecListCertsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void IPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest* request, ::opi_api::security::v1::IPsecLoadConnResponse* response, std::function) = 0; - virtual void IPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest* request, ::opi_api::security::v1::IPsecLoadConnResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void IPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::opi_api::security::v1::IPsecUnloadConnResponse* response, std::function) = 0; - virtual void IPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::opi_api::security::v1::IPsecUnloadConnResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - }; - typedef class async_interface experimental_async_interface; - virtual class async_interface* async() { return nullptr; } - class async_interface* experimental_async() { return async(); } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecVersionResponse>* AsyncIPsecVersionRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecVersionResponse>* PrepareAsyncIPsecVersionRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecStatsResponse>* AsyncIPsecStatsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecStatsResponse>* PrepareAsyncIPsecStatsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecInitiateResponse>* AsyncIPsecInitiateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecInitiateResponse>* PrepareAsyncIPsecInitiateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecTerminateResponse>* AsyncIPsecTerminateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecTerminateResponse>* PrepareAsyncIPsecTerminateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecRekeyResponse>* AsyncIPsecRekeyRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecRekeyResponse>* PrepareAsyncIPsecRekeyRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListSasResponse>* AsyncIPsecListSasRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListSasResponse>* PrepareAsyncIPsecListSasRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListConnsResponse>* AsyncIPsecListConnsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListConnsResponse>* PrepareAsyncIPsecListConnsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListCertsResponse>* AsyncIPsecListCertsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecListCertsResponse>* PrepareAsyncIPsecListCertsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecLoadConnResponse>* AsyncIPsecLoadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecLoadConnResponse>* PrepareAsyncIPsecLoadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecUnloadConnResponse>* AsyncIPsecUnloadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::security::v1::IPsecUnloadConnResponse>* PrepareAsyncIPsecUnloadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); - ::grpc::Status IPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::opi_api::security::v1::IPsecVersionResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecVersionResponse>> AsyncIPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecVersionResponse>>(AsyncIPsecVersionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecVersionResponse>> PrepareAsyncIPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecVersionResponse>>(PrepareAsyncIPsecVersionRaw(context, request, cq)); - } - ::grpc::Status IPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::opi_api::security::v1::IPsecStatsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecStatsResponse>> AsyncIPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecStatsResponse>>(AsyncIPsecStatsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecStatsResponse>> PrepareAsyncIPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecStatsResponse>>(PrepareAsyncIPsecStatsRaw(context, request, cq)); - } - ::grpc::Status IPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::opi_api::security::v1::IPsecInitiateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecInitiateResponse>> AsyncIPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecInitiateResponse>>(AsyncIPsecInitiateRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecInitiateResponse>> PrepareAsyncIPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecInitiateResponse>>(PrepareAsyncIPsecInitiateRaw(context, request, cq)); - } - ::grpc::Status IPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::opi_api::security::v1::IPsecTerminateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecTerminateResponse>> AsyncIPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecTerminateResponse>>(AsyncIPsecTerminateRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecTerminateResponse>> PrepareAsyncIPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecTerminateResponse>>(PrepareAsyncIPsecTerminateRaw(context, request, cq)); - } - ::grpc::Status IPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::opi_api::security::v1::IPsecRekeyResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecRekeyResponse>> AsyncIPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecRekeyResponse>>(AsyncIPsecRekeyRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecRekeyResponse>> PrepareAsyncIPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecRekeyResponse>>(PrepareAsyncIPsecRekeyRaw(context, request, cq)); - } - ::grpc::Status IPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::opi_api::security::v1::IPsecListSasResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListSasResponse>> AsyncIPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListSasResponse>>(AsyncIPsecListSasRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListSasResponse>> PrepareAsyncIPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListSasResponse>>(PrepareAsyncIPsecListSasRaw(context, request, cq)); - } - ::grpc::Status IPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::opi_api::security::v1::IPsecListConnsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListConnsResponse>> AsyncIPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListConnsResponse>>(AsyncIPsecListConnsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListConnsResponse>> PrepareAsyncIPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListConnsResponse>>(PrepareAsyncIPsecListConnsRaw(context, request, cq)); - } - ::grpc::Status IPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::opi_api::security::v1::IPsecListCertsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListCertsResponse>> AsyncIPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListCertsResponse>>(AsyncIPsecListCertsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListCertsResponse>> PrepareAsyncIPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListCertsResponse>>(PrepareAsyncIPsecListCertsRaw(context, request, cq)); - } - ::grpc::Status IPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::opi_api::security::v1::IPsecLoadConnResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecLoadConnResponse>> AsyncIPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecLoadConnResponse>>(AsyncIPsecLoadConnRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecLoadConnResponse>> PrepareAsyncIPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecLoadConnResponse>>(PrepareAsyncIPsecLoadConnRaw(context, request, cq)); - } - ::grpc::Status IPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::opi_api::security::v1::IPsecUnloadConnResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecUnloadConnResponse>> AsyncIPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecUnloadConnResponse>>(AsyncIPsecUnloadConnRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecUnloadConnResponse>> PrepareAsyncIPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecUnloadConnResponse>>(PrepareAsyncIPsecUnloadConnRaw(context, request, cq)); - } - class async final : - public StubInterface::async_interface { - public: - void IPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest* request, ::opi_api::security::v1::IPsecVersionResponse* response, std::function) override; - void IPsecVersion(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest* request, ::opi_api::security::v1::IPsecVersionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void IPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest* request, ::opi_api::security::v1::IPsecStatsResponse* response, std::function) override; - void IPsecStats(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest* request, ::opi_api::security::v1::IPsecStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void IPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest* request, ::opi_api::security::v1::IPsecInitiateResponse* response, std::function) override; - void IPsecInitiate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest* request, ::opi_api::security::v1::IPsecInitiateResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void IPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest* request, ::opi_api::security::v1::IPsecTerminateResponse* response, std::function) override; - void IPsecTerminate(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest* request, ::opi_api::security::v1::IPsecTerminateResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void IPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest* request, ::opi_api::security::v1::IPsecRekeyResponse* response, std::function) override; - void IPsecRekey(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest* request, ::opi_api::security::v1::IPsecRekeyResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void IPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest* request, ::opi_api::security::v1::IPsecListSasResponse* response, std::function) override; - void IPsecListSas(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest* request, ::opi_api::security::v1::IPsecListSasResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void IPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest* request, ::opi_api::security::v1::IPsecListConnsResponse* response, std::function) override; - void IPsecListConns(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest* request, ::opi_api::security::v1::IPsecListConnsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void IPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest* request, ::opi_api::security::v1::IPsecListCertsResponse* response, std::function) override; - void IPsecListCerts(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest* request, ::opi_api::security::v1::IPsecListCertsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void IPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest* request, ::opi_api::security::v1::IPsecLoadConnResponse* response, std::function) override; - void IPsecLoadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest* request, ::opi_api::security::v1::IPsecLoadConnResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void IPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::opi_api::security::v1::IPsecUnloadConnResponse* response, std::function) override; - void IPsecUnloadConn(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::opi_api::security::v1::IPsecUnloadConnResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - private: - friend class Stub; - explicit async(Stub* stub): stub_(stub) { } - Stub* stub() { return stub_; } - Stub* stub_; - }; - class async* async() override { return &async_stub_; } - - private: - std::shared_ptr< ::grpc::ChannelInterface> channel_; - class async async_stub_{this}; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecVersionResponse>* AsyncIPsecVersionRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecVersionResponse>* PrepareAsyncIPsecVersionRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecVersionRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecStatsResponse>* AsyncIPsecStatsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecStatsResponse>* PrepareAsyncIPsecStatsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecInitiateResponse>* AsyncIPsecInitiateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecInitiateResponse>* PrepareAsyncIPsecInitiateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecInitiateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecTerminateResponse>* AsyncIPsecTerminateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecTerminateResponse>* PrepareAsyncIPsecTerminateRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecTerminateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecRekeyResponse>* AsyncIPsecRekeyRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecRekeyResponse>* PrepareAsyncIPsecRekeyRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecRekeyRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListSasResponse>* AsyncIPsecListSasRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListSasResponse>* PrepareAsyncIPsecListSasRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListSasRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListConnsResponse>* AsyncIPsecListConnsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListConnsResponse>* PrepareAsyncIPsecListConnsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListConnsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListCertsResponse>* AsyncIPsecListCertsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecListCertsResponse>* PrepareAsyncIPsecListCertsRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecListCertsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecLoadConnResponse>* AsyncIPsecLoadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecLoadConnResponse>* PrepareAsyncIPsecLoadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecUnloadConnResponse>* AsyncIPsecUnloadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::security::v1::IPsecUnloadConnResponse>* PrepareAsyncIPsecUnloadConnRaw(::grpc::ClientContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_IPsecVersion_; - const ::grpc::internal::RpcMethod rpcmethod_IPsecStats_; - const ::grpc::internal::RpcMethod rpcmethod_IPsecInitiate_; - const ::grpc::internal::RpcMethod rpcmethod_IPsecTerminate_; - const ::grpc::internal::RpcMethod rpcmethod_IPsecRekey_; - const ::grpc::internal::RpcMethod rpcmethod_IPsecListSas_; - const ::grpc::internal::RpcMethod rpcmethod_IPsecListConns_; - const ::grpc::internal::RpcMethod rpcmethod_IPsecListCerts_; - const ::grpc::internal::RpcMethod rpcmethod_IPsecLoadConn_; - const ::grpc::internal::RpcMethod rpcmethod_IPsecUnloadConn_; - }; - static std::unique_ptr 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 IPsecVersion(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecVersionRequest* request, ::opi_api::security::v1::IPsecVersionResponse* response); - virtual ::grpc::Status IPsecStats(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecStatsRequest* request, ::opi_api::security::v1::IPsecStatsResponse* response); - virtual ::grpc::Status IPsecInitiate(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecInitiateRequest* request, ::opi_api::security::v1::IPsecInitiateResponse* response); - virtual ::grpc::Status IPsecTerminate(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecTerminateRequest* request, ::opi_api::security::v1::IPsecTerminateResponse* response); - virtual ::grpc::Status IPsecRekey(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecRekeyRequest* request, ::opi_api::security::v1::IPsecRekeyResponse* response); - virtual ::grpc::Status IPsecListSas(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecListSasRequest* request, ::opi_api::security::v1::IPsecListSasResponse* response); - virtual ::grpc::Status IPsecListConns(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecListConnsRequest* request, ::opi_api::security::v1::IPsecListConnsResponse* response); - virtual ::grpc::Status IPsecListCerts(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecListCertsRequest* request, ::opi_api::security::v1::IPsecListCertsResponse* response); - virtual ::grpc::Status IPsecLoadConn(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest* request, ::opi_api::security::v1::IPsecLoadConnResponse* response); - virtual ::grpc::Status IPsecUnloadConn(::grpc::ServerContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::opi_api::security::v1::IPsecUnloadConnResponse* response); - }; - template - class WithAsyncMethod_IPsecVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecVersion() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_IPsecVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecVersion(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecVersionRequest* /*request*/, ::opi_api::security::v1::IPsecVersionResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecVersion(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecVersionRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecVersionResponse>* 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 WithAsyncMethod_IPsecStats : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecStats() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_IPsecStats() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecStats(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecStatsRequest* /*request*/, ::opi_api::security::v1::IPsecStatsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecStats(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecStatsResponse>* 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 WithAsyncMethod_IPsecInitiate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecInitiate() { - ::grpc::Service::MarkMethodAsync(2); - } - ~WithAsyncMethod_IPsecInitiate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecInitiate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecInitiateRequest* /*request*/, ::opi_api::security::v1::IPsecInitiateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecInitiate(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecInitiateRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecInitiateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_IPsecTerminate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecTerminate() { - ::grpc::Service::MarkMethodAsync(3); - } - ~WithAsyncMethod_IPsecTerminate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecTerminate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecTerminateRequest* /*request*/, ::opi_api::security::v1::IPsecTerminateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecTerminate(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecTerminateRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecTerminateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_IPsecRekey : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecRekey() { - ::grpc::Service::MarkMethodAsync(4); - } - ~WithAsyncMethod_IPsecRekey() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecRekey(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecRekeyRequest* /*request*/, ::opi_api::security::v1::IPsecRekeyResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecRekey(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecRekeyRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecRekeyResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_IPsecListSas : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecListSas() { - ::grpc::Service::MarkMethodAsync(5); - } - ~WithAsyncMethod_IPsecListSas() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListSas(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListSasRequest* /*request*/, ::opi_api::security::v1::IPsecListSasResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecListSas(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecListSasRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecListSasResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_IPsecListConns : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecListConns() { - ::grpc::Service::MarkMethodAsync(6); - } - ~WithAsyncMethod_IPsecListConns() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListConns(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListConnsRequest* /*request*/, ::opi_api::security::v1::IPsecListConnsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecListConns(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecListConnsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecListConnsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_IPsecListCerts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecListCerts() { - ::grpc::Service::MarkMethodAsync(7); - } - ~WithAsyncMethod_IPsecListCerts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListCerts(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListCertsRequest* /*request*/, ::opi_api::security::v1::IPsecListCertsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecListCerts(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecListCertsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecListCertsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_IPsecLoadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecLoadConn() { - ::grpc::Service::MarkMethodAsync(8); - } - ~WithAsyncMethod_IPsecLoadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecLoadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecLoadConnRequest* /*request*/, ::opi_api::security::v1::IPsecLoadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecLoadConn(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecLoadConnRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecLoadConnResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_IPsecUnloadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IPsecUnloadConn() { - ::grpc::Service::MarkMethodAsync(9); - } - ~WithAsyncMethod_IPsecUnloadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecUnloadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecUnloadConnRequest* /*request*/, ::opi_api::security::v1::IPsecUnloadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecUnloadConn(::grpc::ServerContext* context, ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::security::v1::IPsecUnloadConnResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); - } - }; - typedef WithAsyncMethod_IPsecVersion > > > > > > > > > AsyncService; - template - class WithCallbackMethod_IPsecVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecVersion() { - ::grpc::Service::MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecVersionRequest, ::opi_api::security::v1::IPsecVersionResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecVersionRequest* request, ::opi_api::security::v1::IPsecVersionResponse* response) { return this->IPsecVersion(context, request, response); }));} - void SetMessageAllocatorFor_IPsecVersion( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecVersionRequest, ::opi_api::security::v1::IPsecVersionResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecVersionRequest, ::opi_api::security::v1::IPsecVersionResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecVersion(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecVersionRequest* /*request*/, ::opi_api::security::v1::IPsecVersionResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecVersion( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecVersionRequest* /*request*/, ::opi_api::security::v1::IPsecVersionResponse* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_IPsecStats : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecStats() { - ::grpc::Service::MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecStatsRequest, ::opi_api::security::v1::IPsecStatsResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecStatsRequest* request, ::opi_api::security::v1::IPsecStatsResponse* response) { return this->IPsecStats(context, request, response); }));} - void SetMessageAllocatorFor_IPsecStats( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecStatsRequest, ::opi_api::security::v1::IPsecStatsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecStatsRequest, ::opi_api::security::v1::IPsecStatsResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecStats() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecStats(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecStatsRequest* /*request*/, ::opi_api::security::v1::IPsecStatsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecStatsRequest* /*request*/, ::opi_api::security::v1::IPsecStatsResponse* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_IPsecInitiate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecInitiate() { - ::grpc::Service::MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecInitiateRequest, ::opi_api::security::v1::IPsecInitiateResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecInitiateRequest* request, ::opi_api::security::v1::IPsecInitiateResponse* response) { return this->IPsecInitiate(context, request, response); }));} - void SetMessageAllocatorFor_IPsecInitiate( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecInitiateRequest, ::opi_api::security::v1::IPsecInitiateResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecInitiateRequest, ::opi_api::security::v1::IPsecInitiateResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecInitiate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecInitiate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecInitiateRequest* /*request*/, ::opi_api::security::v1::IPsecInitiateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecInitiate( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecInitiateRequest* /*request*/, ::opi_api::security::v1::IPsecInitiateResponse* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_IPsecTerminate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecTerminate() { - ::grpc::Service::MarkMethodCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecTerminateRequest, ::opi_api::security::v1::IPsecTerminateResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecTerminateRequest* request, ::opi_api::security::v1::IPsecTerminateResponse* response) { return this->IPsecTerminate(context, request, response); }));} - void SetMessageAllocatorFor_IPsecTerminate( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecTerminateRequest, ::opi_api::security::v1::IPsecTerminateResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecTerminateRequest, ::opi_api::security::v1::IPsecTerminateResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecTerminate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecTerminate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecTerminateRequest* /*request*/, ::opi_api::security::v1::IPsecTerminateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecTerminate( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecTerminateRequest* /*request*/, ::opi_api::security::v1::IPsecTerminateResponse* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_IPsecRekey : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecRekey() { - ::grpc::Service::MarkMethodCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecRekeyRequest, ::opi_api::security::v1::IPsecRekeyResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecRekeyRequest* request, ::opi_api::security::v1::IPsecRekeyResponse* response) { return this->IPsecRekey(context, request, response); }));} - void SetMessageAllocatorFor_IPsecRekey( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecRekeyRequest, ::opi_api::security::v1::IPsecRekeyResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecRekeyRequest, ::opi_api::security::v1::IPsecRekeyResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecRekey() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecRekey(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecRekeyRequest* /*request*/, ::opi_api::security::v1::IPsecRekeyResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecRekey( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecRekeyRequest* /*request*/, ::opi_api::security::v1::IPsecRekeyResponse* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_IPsecListSas : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecListSas() { - ::grpc::Service::MarkMethodCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecListSasRequest, ::opi_api::security::v1::IPsecListSasResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecListSasRequest* request, ::opi_api::security::v1::IPsecListSasResponse* response) { return this->IPsecListSas(context, request, response); }));} - void SetMessageAllocatorFor_IPsecListSas( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecListSasRequest, ::opi_api::security::v1::IPsecListSasResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecListSasRequest, ::opi_api::security::v1::IPsecListSasResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecListSas() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListSas(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListSasRequest* /*request*/, ::opi_api::security::v1::IPsecListSasResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecListSas( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecListSasRequest* /*request*/, ::opi_api::security::v1::IPsecListSasResponse* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_IPsecListConns : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecListConns() { - ::grpc::Service::MarkMethodCallback(6, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecListConnsRequest, ::opi_api::security::v1::IPsecListConnsResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecListConnsRequest* request, ::opi_api::security::v1::IPsecListConnsResponse* response) { return this->IPsecListConns(context, request, response); }));} - void SetMessageAllocatorFor_IPsecListConns( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecListConnsRequest, ::opi_api::security::v1::IPsecListConnsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(6); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecListConnsRequest, ::opi_api::security::v1::IPsecListConnsResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecListConns() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListConns(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListConnsRequest* /*request*/, ::opi_api::security::v1::IPsecListConnsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecListConns( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecListConnsRequest* /*request*/, ::opi_api::security::v1::IPsecListConnsResponse* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_IPsecListCerts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecListCerts() { - ::grpc::Service::MarkMethodCallback(7, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecListCertsRequest, ::opi_api::security::v1::IPsecListCertsResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecListCertsRequest* request, ::opi_api::security::v1::IPsecListCertsResponse* response) { return this->IPsecListCerts(context, request, response); }));} - void SetMessageAllocatorFor_IPsecListCerts( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecListCertsRequest, ::opi_api::security::v1::IPsecListCertsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(7); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecListCertsRequest, ::opi_api::security::v1::IPsecListCertsResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecListCerts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListCerts(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListCertsRequest* /*request*/, ::opi_api::security::v1::IPsecListCertsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecListCerts( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecListCertsRequest* /*request*/, ::opi_api::security::v1::IPsecListCertsResponse* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_IPsecLoadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecLoadConn() { - ::grpc::Service::MarkMethodCallback(8, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecLoadConnRequest, ::opi_api::security::v1::IPsecLoadConnResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecLoadConnRequest* request, ::opi_api::security::v1::IPsecLoadConnResponse* response) { return this->IPsecLoadConn(context, request, response); }));} - void SetMessageAllocatorFor_IPsecLoadConn( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecLoadConnRequest, ::opi_api::security::v1::IPsecLoadConnResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(8); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecLoadConnRequest, ::opi_api::security::v1::IPsecLoadConnResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecLoadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecLoadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecLoadConnRequest* /*request*/, ::opi_api::security::v1::IPsecLoadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecLoadConn( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecLoadConnRequest* /*request*/, ::opi_api::security::v1::IPsecLoadConnResponse* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_IPsecUnloadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IPsecUnloadConn() { - ::grpc::Service::MarkMethodCallback(9, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecUnloadConnRequest, ::opi_api::security::v1::IPsecUnloadConnResponse>( - [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::security::v1::IPsecUnloadConnRequest* request, ::opi_api::security::v1::IPsecUnloadConnResponse* response) { return this->IPsecUnloadConn(context, request, response); }));} - void SetMessageAllocatorFor_IPsecUnloadConn( - ::grpc::MessageAllocator< ::opi_api::security::v1::IPsecUnloadConnRequest, ::opi_api::security::v1::IPsecUnloadConnResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(9); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::security::v1::IPsecUnloadConnRequest, ::opi_api::security::v1::IPsecUnloadConnResponse>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IPsecUnloadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecUnloadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecUnloadConnRequest* /*request*/, ::opi_api::security::v1::IPsecUnloadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecUnloadConn( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::security::v1::IPsecUnloadConnRequest* /*request*/, ::opi_api::security::v1::IPsecUnloadConnResponse* /*response*/) { return nullptr; } - }; - typedef WithCallbackMethod_IPsecVersion > > > > > > > > > CallbackService; - typedef CallbackService ExperimentalCallbackService; - template - class WithGenericMethod_IPsecVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecVersion() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_IPsecVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecVersion(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecVersionRequest* /*request*/, ::opi_api::security::v1::IPsecVersionResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_IPsecStats : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecStats() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_IPsecStats() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecStats(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecStatsRequest* /*request*/, ::opi_api::security::v1::IPsecStatsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_IPsecInitiate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecInitiate() { - ::grpc::Service::MarkMethodGeneric(2); - } - ~WithGenericMethod_IPsecInitiate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecInitiate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecInitiateRequest* /*request*/, ::opi_api::security::v1::IPsecInitiateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_IPsecTerminate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecTerminate() { - ::grpc::Service::MarkMethodGeneric(3); - } - ~WithGenericMethod_IPsecTerminate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecTerminate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecTerminateRequest* /*request*/, ::opi_api::security::v1::IPsecTerminateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_IPsecRekey : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecRekey() { - ::grpc::Service::MarkMethodGeneric(4); - } - ~WithGenericMethod_IPsecRekey() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecRekey(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecRekeyRequest* /*request*/, ::opi_api::security::v1::IPsecRekeyResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_IPsecListSas : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecListSas() { - ::grpc::Service::MarkMethodGeneric(5); - } - ~WithGenericMethod_IPsecListSas() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListSas(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListSasRequest* /*request*/, ::opi_api::security::v1::IPsecListSasResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_IPsecListConns : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecListConns() { - ::grpc::Service::MarkMethodGeneric(6); - } - ~WithGenericMethod_IPsecListConns() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListConns(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListConnsRequest* /*request*/, ::opi_api::security::v1::IPsecListConnsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_IPsecListCerts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecListCerts() { - ::grpc::Service::MarkMethodGeneric(7); - } - ~WithGenericMethod_IPsecListCerts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListCerts(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListCertsRequest* /*request*/, ::opi_api::security::v1::IPsecListCertsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_IPsecLoadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecLoadConn() { - ::grpc::Service::MarkMethodGeneric(8); - } - ~WithGenericMethod_IPsecLoadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecLoadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecLoadConnRequest* /*request*/, ::opi_api::security::v1::IPsecLoadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_IPsecUnloadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IPsecUnloadConn() { - ::grpc::Service::MarkMethodGeneric(9); - } - ~WithGenericMethod_IPsecUnloadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecUnloadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecUnloadConnRequest* /*request*/, ::opi_api::security::v1::IPsecUnloadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_IPsecVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecVersion() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_IPsecVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecVersion(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecVersionRequest* /*request*/, ::opi_api::security::v1::IPsecVersionResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecVersion(::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 WithRawMethod_IPsecStats : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecStats() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_IPsecStats() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecStats(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecStatsRequest* /*request*/, ::opi_api::security::v1::IPsecStatsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecStats(::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 WithRawMethod_IPsecInitiate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecInitiate() { - ::grpc::Service::MarkMethodRaw(2); - } - ~WithRawMethod_IPsecInitiate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecInitiate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecInitiateRequest* /*request*/, ::opi_api::security::v1::IPsecInitiateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecInitiate(::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(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_IPsecTerminate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecTerminate() { - ::grpc::Service::MarkMethodRaw(3); - } - ~WithRawMethod_IPsecTerminate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecTerminate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecTerminateRequest* /*request*/, ::opi_api::security::v1::IPsecTerminateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecTerminate(::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(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_IPsecRekey : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecRekey() { - ::grpc::Service::MarkMethodRaw(4); - } - ~WithRawMethod_IPsecRekey() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecRekey(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecRekeyRequest* /*request*/, ::opi_api::security::v1::IPsecRekeyResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecRekey(::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(4, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_IPsecListSas : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecListSas() { - ::grpc::Service::MarkMethodRaw(5); - } - ~WithRawMethod_IPsecListSas() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListSas(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListSasRequest* /*request*/, ::opi_api::security::v1::IPsecListSasResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecListSas(::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(5, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_IPsecListConns : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecListConns() { - ::grpc::Service::MarkMethodRaw(6); - } - ~WithRawMethod_IPsecListConns() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListConns(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListConnsRequest* /*request*/, ::opi_api::security::v1::IPsecListConnsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecListConns(::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(6, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_IPsecListCerts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecListCerts() { - ::grpc::Service::MarkMethodRaw(7); - } - ~WithRawMethod_IPsecListCerts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListCerts(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListCertsRequest* /*request*/, ::opi_api::security::v1::IPsecListCertsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecListCerts(::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(7, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_IPsecLoadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecLoadConn() { - ::grpc::Service::MarkMethodRaw(8); - } - ~WithRawMethod_IPsecLoadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecLoadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecLoadConnRequest* /*request*/, ::opi_api::security::v1::IPsecLoadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecLoadConn(::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(8, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_IPsecUnloadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IPsecUnloadConn() { - ::grpc::Service::MarkMethodRaw(9); - } - ~WithRawMethod_IPsecUnloadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecUnloadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecUnloadConnRequest* /*request*/, ::opi_api::security::v1::IPsecUnloadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIPsecUnloadConn(::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(9, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawCallbackMethod_IPsecVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecVersion() { - ::grpc::Service::MarkMethodRawCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecVersion(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecVersion(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecVersionRequest* /*request*/, ::opi_api::security::v1::IPsecVersionResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecVersion( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_IPsecStats : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecStats() { - ::grpc::Service::MarkMethodRawCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecStats(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecStats() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecStats(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecStatsRequest* /*request*/, ::opi_api::security::v1::IPsecStatsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecStats( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_IPsecInitiate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecInitiate() { - ::grpc::Service::MarkMethodRawCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecInitiate(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecInitiate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecInitiate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecInitiateRequest* /*request*/, ::opi_api::security::v1::IPsecInitiateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecInitiate( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_IPsecTerminate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecTerminate() { - ::grpc::Service::MarkMethodRawCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecTerminate(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecTerminate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecTerminate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecTerminateRequest* /*request*/, ::opi_api::security::v1::IPsecTerminateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecTerminate( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_IPsecRekey : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecRekey() { - ::grpc::Service::MarkMethodRawCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecRekey(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecRekey() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecRekey(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecRekeyRequest* /*request*/, ::opi_api::security::v1::IPsecRekeyResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecRekey( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_IPsecListSas : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecListSas() { - ::grpc::Service::MarkMethodRawCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecListSas(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecListSas() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListSas(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListSasRequest* /*request*/, ::opi_api::security::v1::IPsecListSasResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecListSas( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_IPsecListConns : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecListConns() { - ::grpc::Service::MarkMethodRawCallback(6, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecListConns(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecListConns() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListConns(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListConnsRequest* /*request*/, ::opi_api::security::v1::IPsecListConnsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecListConns( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_IPsecListCerts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecListCerts() { - ::grpc::Service::MarkMethodRawCallback(7, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecListCerts(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecListCerts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecListCerts(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListCertsRequest* /*request*/, ::opi_api::security::v1::IPsecListCertsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecListCerts( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_IPsecLoadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecLoadConn() { - ::grpc::Service::MarkMethodRawCallback(8, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecLoadConn(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecLoadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecLoadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecLoadConnRequest* /*request*/, ::opi_api::security::v1::IPsecLoadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecLoadConn( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_IPsecUnloadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IPsecUnloadConn() { - ::grpc::Service::MarkMethodRawCallback(9, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IPsecUnloadConn(context, request, response); })); - } - ~WithRawCallbackMethod_IPsecUnloadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IPsecUnloadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecUnloadConnRequest* /*request*/, ::opi_api::security::v1::IPsecUnloadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IPsecUnloadConn( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithStreamedUnaryMethod_IPsecVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecVersion() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecVersionRequest, ::opi_api::security::v1::IPsecVersionResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecVersionRequest, ::opi_api::security::v1::IPsecVersionResponse>* streamer) { - return this->StreamedIPsecVersion(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecVersion(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecVersionRequest* /*request*/, ::opi_api::security::v1::IPsecVersionResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecVersion(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecVersionRequest,::opi_api::security::v1::IPsecVersionResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_IPsecStats : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecStats() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecStatsRequest, ::opi_api::security::v1::IPsecStatsResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecStatsRequest, ::opi_api::security::v1::IPsecStatsResponse>* streamer) { - return this->StreamedIPsecStats(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecStats() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecStats(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecStatsRequest* /*request*/, ::opi_api::security::v1::IPsecStatsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecStatsRequest,::opi_api::security::v1::IPsecStatsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_IPsecInitiate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecInitiate() { - ::grpc::Service::MarkMethodStreamed(2, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecInitiateRequest, ::opi_api::security::v1::IPsecInitiateResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecInitiateRequest, ::opi_api::security::v1::IPsecInitiateResponse>* streamer) { - return this->StreamedIPsecInitiate(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecInitiate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecInitiate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecInitiateRequest* /*request*/, ::opi_api::security::v1::IPsecInitiateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecInitiate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecInitiateRequest,::opi_api::security::v1::IPsecInitiateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_IPsecTerminate : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecTerminate() { - ::grpc::Service::MarkMethodStreamed(3, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecTerminateRequest, ::opi_api::security::v1::IPsecTerminateResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecTerminateRequest, ::opi_api::security::v1::IPsecTerminateResponse>* streamer) { - return this->StreamedIPsecTerminate(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecTerminate() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecTerminate(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecTerminateRequest* /*request*/, ::opi_api::security::v1::IPsecTerminateResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecTerminate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecTerminateRequest,::opi_api::security::v1::IPsecTerminateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_IPsecRekey : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecRekey() { - ::grpc::Service::MarkMethodStreamed(4, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecRekeyRequest, ::opi_api::security::v1::IPsecRekeyResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecRekeyRequest, ::opi_api::security::v1::IPsecRekeyResponse>* streamer) { - return this->StreamedIPsecRekey(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecRekey() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecRekey(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecRekeyRequest* /*request*/, ::opi_api::security::v1::IPsecRekeyResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecRekey(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecRekeyRequest,::opi_api::security::v1::IPsecRekeyResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_IPsecListSas : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecListSas() { - ::grpc::Service::MarkMethodStreamed(5, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecListSasRequest, ::opi_api::security::v1::IPsecListSasResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecListSasRequest, ::opi_api::security::v1::IPsecListSasResponse>* streamer) { - return this->StreamedIPsecListSas(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecListSas() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecListSas(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListSasRequest* /*request*/, ::opi_api::security::v1::IPsecListSasResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecListSas(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecListSasRequest,::opi_api::security::v1::IPsecListSasResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_IPsecListConns : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecListConns() { - ::grpc::Service::MarkMethodStreamed(6, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecListConnsRequest, ::opi_api::security::v1::IPsecListConnsResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecListConnsRequest, ::opi_api::security::v1::IPsecListConnsResponse>* streamer) { - return this->StreamedIPsecListConns(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecListConns() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecListConns(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListConnsRequest* /*request*/, ::opi_api::security::v1::IPsecListConnsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecListConns(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecListConnsRequest,::opi_api::security::v1::IPsecListConnsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_IPsecListCerts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecListCerts() { - ::grpc::Service::MarkMethodStreamed(7, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecListCertsRequest, ::opi_api::security::v1::IPsecListCertsResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecListCertsRequest, ::opi_api::security::v1::IPsecListCertsResponse>* streamer) { - return this->StreamedIPsecListCerts(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecListCerts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecListCerts(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecListCertsRequest* /*request*/, ::opi_api::security::v1::IPsecListCertsResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecListCerts(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecListCertsRequest,::opi_api::security::v1::IPsecListCertsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_IPsecLoadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecLoadConn() { - ::grpc::Service::MarkMethodStreamed(8, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecLoadConnRequest, ::opi_api::security::v1::IPsecLoadConnResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecLoadConnRequest, ::opi_api::security::v1::IPsecLoadConnResponse>* streamer) { - return this->StreamedIPsecLoadConn(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecLoadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecLoadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecLoadConnRequest* /*request*/, ::opi_api::security::v1::IPsecLoadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecLoadConn(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecLoadConnRequest,::opi_api::security::v1::IPsecLoadConnResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_IPsecUnloadConn : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IPsecUnloadConn() { - ::grpc::Service::MarkMethodStreamed(9, - new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::security::v1::IPsecUnloadConnRequest, ::opi_api::security::v1::IPsecUnloadConnResponse>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::opi_api::security::v1::IPsecUnloadConnRequest, ::opi_api::security::v1::IPsecUnloadConnResponse>* streamer) { - return this->StreamedIPsecUnloadConn(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IPsecUnloadConn() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IPsecUnloadConn(::grpc::ServerContext* /*context*/, const ::opi_api::security::v1::IPsecUnloadConnRequest* /*request*/, ::opi_api::security::v1::IPsecUnloadConnResponse* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIPsecUnloadConn(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::security::v1::IPsecUnloadConnRequest,::opi_api::security::v1::IPsecUnloadConnResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_IPsecVersion > > > > > > > > > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_IPsecVersion > > > > > > > > > StreamedService; -}; - -} // namespace v1 -} // namespace security -} // namespace opi_api - - -#endif // GRPC_ipsec_2eproto__INCLUDED diff --git a/security/v1/gen/cpp/ipsec.pb.cc b/security/v1/gen/cpp/ipsec.pb.cc deleted file mode 100644 index 7d32a156..00000000 --- a/security/v1/gen/cpp/ipsec.pb.cc +++ /dev/null @@ -1,17073 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ipsec.proto - -#include "ipsec.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -namespace opi_api { -namespace security { -namespace v1 { -PROTOBUF_CONSTEXPR Proposals::Proposals( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.crypto_alg_)*/{} - , /*decltype(_impl_._crypto_alg_cached_byte_size_)*/{0} - , /*decltype(_impl_.integ_alg_)*/{} - , /*decltype(_impl_._integ_alg_cached_byte_size_)*/{0} - , /*decltype(_impl_.prf_)*/{} - , /*decltype(_impl_._prf_cached_byte_size_)*/{0} - , /*decltype(_impl_.dhgroups_)*/{} - , /*decltype(_impl_._dhgroups_cached_byte_size_)*/{0} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ProposalsDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProposalsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProposalsDefaultTypeInternal() {} - union { - Proposals _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProposalsDefaultTypeInternal _Proposals_default_instance_; -PROTOBUF_CONSTEXPR Vips::Vips( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.vip_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct VipsDefaultTypeInternal { - PROTOBUF_CONSTEXPR VipsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~VipsDefaultTypeInternal() {} - union { - Vips _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VipsDefaultTypeInternal _Vips_default_instance_; -PROTOBUF_CONSTEXPR Pools::Pools( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.pool_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct PoolsDefaultTypeInternal { - PROTOBUF_CONSTEXPR PoolsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PoolsDefaultTypeInternal() {} - union { - Pools _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PoolsDefaultTypeInternal _Pools_default_instance_; -PROTOBUF_CONSTEXPR Certs::Certs( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.cert_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CertsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CertsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CertsDefaultTypeInternal() {} - union { - Certs _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CertsDefaultTypeInternal _Certs_default_instance_; -PROTOBUF_CONSTEXPR PubKeys::PubKeys( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.pubkey_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct PubKeysDefaultTypeInternal { - PROTOBUF_CONSTEXPR PubKeysDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PubKeysDefaultTypeInternal() {} - union { - PubKeys _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PubKeysDefaultTypeInternal _PubKeys_default_instance_; -PROTOBUF_CONSTEXPR Groups::Groups( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.group_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct GroupsDefaultTypeInternal { - PROTOBUF_CONSTEXPR GroupsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~GroupsDefaultTypeInternal() {} - union { - Groups _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GroupsDefaultTypeInternal _Groups_default_instance_; -PROTOBUF_CONSTEXPR CertPolicy::CertPolicy( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.cert_policy_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CertPolicyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CertPolicyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CertPolicyDefaultTypeInternal() {} - union { - CertPolicy _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CertPolicyDefaultTypeInternal _CertPolicy_default_instance_; -PROTOBUF_CONSTEXPR CaCerts::CaCerts( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.cacert_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CaCertsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CaCertsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CaCertsDefaultTypeInternal() {} - union { - CaCerts _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CaCertsDefaultTypeInternal _CaCerts_default_instance_; -PROTOBUF_CONSTEXPR LocalAuth::LocalAuth( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eap_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.aaa_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.xauth_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.certs_)*/nullptr - , /*decltype(_impl_.pubkeys_)*/nullptr - , /*decltype(_impl_.auth_)*/0 - , /*decltype(_impl_._cached_size_)*/{}} {} -struct LocalAuthDefaultTypeInternal { - PROTOBUF_CONSTEXPR LocalAuthDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~LocalAuthDefaultTypeInternal() {} - union { - LocalAuth _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalAuthDefaultTypeInternal _LocalAuth_default_instance_; -PROTOBUF_CONSTEXPR RemoteAuth::RemoteAuth( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eap_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.groups_)*/nullptr - , /*decltype(_impl_.cert_policy_)*/nullptr - , /*decltype(_impl_.certs_)*/nullptr - , /*decltype(_impl_.ca_certs_)*/nullptr - , /*decltype(_impl_.pubkeys_)*/nullptr - , /*decltype(_impl_.auth_)*/0 - , /*decltype(_impl_._cached_size_)*/{}} {} -struct RemoteAuthDefaultTypeInternal { - PROTOBUF_CONSTEXPR RemoteAuthDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~RemoteAuthDefaultTypeInternal() {} - union { - RemoteAuth _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteAuthDefaultTypeInternal _RemoteAuth_default_instance_; -PROTOBUF_CONSTEXPR TrafficSelectors_TrafficSelector::TrafficSelectors_TrafficSelector( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.cidr_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.proto_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.port_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct TrafficSelectors_TrafficSelectorDefaultTypeInternal { - PROTOBUF_CONSTEXPR TrafficSelectors_TrafficSelectorDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TrafficSelectors_TrafficSelectorDefaultTypeInternal() {} - union { - TrafficSelectors_TrafficSelector _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrafficSelectors_TrafficSelectorDefaultTypeInternal _TrafficSelectors_TrafficSelector_default_instance_; -PROTOBUF_CONSTEXPR TrafficSelectors::TrafficSelectors( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.ts_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct TrafficSelectorsDefaultTypeInternal { - PROTOBUF_CONSTEXPR TrafficSelectorsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TrafficSelectorsDefaultTypeInternal() {} - union { - TrafficSelectors _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrafficSelectorsDefaultTypeInternal _TrafficSelectors_default_instance_; -PROTOBUF_CONSTEXPR Addrs::Addrs( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.addr_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct AddrsDefaultTypeInternal { - PROTOBUF_CONSTEXPR AddrsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AddrsDefaultTypeInternal() {} - union { - Addrs _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AddrsDefaultTypeInternal _Addrs_default_instance_; -PROTOBUF_CONSTEXPR Child::Child( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.updown_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.mark_in_sa_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.hw_offload_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ag_proposals_)*/nullptr - , /*decltype(_impl_.esp_proposals_)*/nullptr - , /*decltype(_impl_.local_ts_)*/nullptr - , /*decltype(_impl_.remote_ts_)*/nullptr - , /*decltype(_impl_.rekey_time_)*/0u - , /*decltype(_impl_.life_time_)*/0u - , /*decltype(_impl_.rand_time_)*/0u - , /*decltype(_impl_.inactivity_)*/0u - , /*decltype(_impl_.mark_in_)*/0u - , /*decltype(_impl_.mark_out_)*/0u - , /*decltype(_impl_.set_mark_in_)*/0u - , /*decltype(_impl_.set_mark_out_)*/0u - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ChildDefaultTypeInternal { - PROTOBUF_CONSTEXPR ChildDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ChildDefaultTypeInternal() {} - union { - Child _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChildDefaultTypeInternal _Child_default_instance_; -PROTOBUF_CONSTEXPR Connection::Connection( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.local_addrs_)*/{} - , /*decltype(_impl_.remote_addrs_)*/{} - , /*decltype(_impl_.children_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.version_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.encap_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.mobike_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.proposals_)*/nullptr - , /*decltype(_impl_.vips_)*/nullptr - , /*decltype(_impl_.pools_)*/nullptr - , /*decltype(_impl_.local_auth_)*/nullptr - , /*decltype(_impl_.remote_auth_)*/nullptr - , /*decltype(_impl_.local_port_)*/0u - , /*decltype(_impl_.remote_port_)*/0u - , /*decltype(_impl_.dscp_)*/uint64_t{0u} - , /*decltype(_impl_.dpd_delay_)*/0u - , /*decltype(_impl_.dpd_timeout_)*/0u - , /*decltype(_impl_.reauth_time_)*/0u - , /*decltype(_impl_.rekey_time_)*/0u - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ConnectionDefaultTypeInternal { - PROTOBUF_CONSTEXPR ConnectionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ConnectionDefaultTypeInternal() {} - union { - Connection _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConnectionDefaultTypeInternal _Connection_default_instance_; -PROTOBUF_CONSTEXPR IPsecVersionRequest::IPsecVersionRequest( - ::_pbi::ConstantInitialized) {} -struct IPsecVersionRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecVersionRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecVersionRequestDefaultTypeInternal() {} - union { - IPsecVersionRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecVersionRequestDefaultTypeInternal _IPsecVersionRequest_default_instance_; -PROTOBUF_CONSTEXPR IPsecVersionResponse::IPsecVersionResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.daemon_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.version_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.sysname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.release_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.machine_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecVersionResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecVersionResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecVersionResponseDefaultTypeInternal() {} - union { - IPsecVersionResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecVersionResponseDefaultTypeInternal _IPsecVersionResponse_default_instance_; -PROTOBUF_CONSTEXPR IPsecStatsRequest::IPsecStatsRequest( - ::_pbi::ConstantInitialized) {} -struct IPsecStatsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecStatsRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecStatsRequestDefaultTypeInternal() {} - union { - IPsecStatsRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecStatsRequestDefaultTypeInternal _IPsecStatsRequest_default_instance_; -PROTOBUF_CONSTEXPR IPsecStatsResponse::IPsecStatsResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.status_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecStatsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecStatsResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecStatsResponseDefaultTypeInternal() {} - union { - IPsecStatsResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecStatsResponseDefaultTypeInternal _IPsecStatsResponse_default_instance_; -PROTOBUF_CONSTEXPR IPsecInitiateRequest::IPsecInitiateRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.child_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ike_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.timeout_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.loglevel_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecInitiateRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecInitiateRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecInitiateRequestDefaultTypeInternal() {} - union { - IPsecInitiateRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecInitiateRequestDefaultTypeInternal _IPsecInitiateRequest_default_instance_; -PROTOBUF_CONSTEXPR IPsecInitiateResponse::IPsecInitiateResponse( - ::_pbi::ConstantInitialized) {} -struct IPsecInitiateResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecInitiateResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecInitiateResponseDefaultTypeInternal() {} - union { - IPsecInitiateResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecInitiateResponseDefaultTypeInternal _IPsecInitiateResponse_default_instance_; -PROTOBUF_CONSTEXPR IPsecTerminateRequest::IPsecTerminateRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.child_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ike_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.force_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.timeout_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.loglevel_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.child_id_)*/uint64_t{0u} - , /*decltype(_impl_.ike_id_)*/uint64_t{0u} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecTerminateRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecTerminateRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecTerminateRequestDefaultTypeInternal() {} - union { - IPsecTerminateRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecTerminateRequestDefaultTypeInternal _IPsecTerminateRequest_default_instance_; -PROTOBUF_CONSTEXPR IPsecTerminateResponse::IPsecTerminateResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.success_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.matches_)*/0u - , /*decltype(_impl_.terminated_)*/0u - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecTerminateResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecTerminateResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecTerminateResponseDefaultTypeInternal() {} - union { - IPsecTerminateResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecTerminateResponseDefaultTypeInternal _IPsecTerminateResponse_default_instance_; -PROTOBUF_CONSTEXPR IPsecRekeyRequest::IPsecRekeyRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.child_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ike_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reauth_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.child_id_)*/uint64_t{0u} - , /*decltype(_impl_.ike_id_)*/uint64_t{0u} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecRekeyRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecRekeyRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecRekeyRequestDefaultTypeInternal() {} - union { - IPsecRekeyRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecRekeyRequestDefaultTypeInternal _IPsecRekeyRequest_default_instance_; -PROTOBUF_CONSTEXPR IPsecRekeyResponse::IPsecRekeyResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.success_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.matches_)*/0u - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecRekeyResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecRekeyResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecRekeyResponseDefaultTypeInternal() {} - union { - IPsecRekeyResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecRekeyResponseDefaultTypeInternal _IPsecRekeyResponse_default_instance_; -PROTOBUF_CONSTEXPR IPsecListSasRequest::IPsecListSasRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.noblock_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ike_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.child_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ike_id_)*/uint64_t{0u} - , /*decltype(_impl_.child_id_)*/uint64_t{0u} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecListSasRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecListSasRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecListSasRequestDefaultTypeInternal() {} - union { - IPsecListSasRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecListSasRequestDefaultTypeInternal _IPsecListSasRequest_default_instance_; -PROTOBUF_CONSTEXPR ListChildSa::ListChildSa( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.protocol_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.encap_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.spi_in_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.spi_out_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cpi_in_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cpi_out_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.mark_in_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.mark_mask_in_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.mark_out_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.mark_mask_out_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.if_id_in_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.if_id_out_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.encr_alg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.encr_keysize_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.integ_alg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.integ_keysize_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dh_group_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.esn_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ListChildSaDefaultTypeInternal { - PROTOBUF_CONSTEXPR ListChildSaDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ListChildSaDefaultTypeInternal() {} - union { - ListChildSa _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListChildSaDefaultTypeInternal _ListChildSa_default_instance_; -PROTOBUF_CONSTEXPR ListIkeSa::ListIkeSa( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.local_vips_)*/{} - , /*decltype(_impl_.remote_vips_)*/{} - , /*decltype(_impl_.tasks_queued_)*/{} - , /*decltype(_impl_.tasks_active_)*/{} - , /*decltype(_impl_.tasks_passive_)*/{} - , /*decltype(_impl_.childsas_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.uniqueid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.version_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.local_host_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.local_port_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.local_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.remote_host_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.remote_port_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.remote_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.remote_xauth_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.remote_eap_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.initiator_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.initiator_spi_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.responder_spi_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.nat_local_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.nat_remote_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.nat_fake_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.nat_any_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.if_id_in_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.if_id_out_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.encr_alg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.encr_keysize_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.integ_alg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.integ_keysize_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.prf_alg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dh_group_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ppk_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.established_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.rekey_time_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reauth_time_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ikestate_)*/0 - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ListIkeSaDefaultTypeInternal { - PROTOBUF_CONSTEXPR ListIkeSaDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ListIkeSaDefaultTypeInternal() {} - union { - ListIkeSa _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListIkeSaDefaultTypeInternal _ListIkeSa_default_instance_; -PROTOBUF_CONSTEXPR IPsecListSasResponse::IPsecListSasResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.ikesas_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecListSasResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecListSasResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecListSasResponseDefaultTypeInternal() {} - union { - IPsecListSasResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecListSasResponseDefaultTypeInternal _IPsecListSasResponse_default_instance_; -PROTOBUF_CONSTEXPR IPsecListConnsRequest::IPsecListConnsRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.ike_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecListConnsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecListConnsRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecListConnsRequestDefaultTypeInternal() {} - union { - IPsecListConnsRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecListConnsRequestDefaultTypeInternal _IPsecListConnsRequest_default_instance_; -PROTOBUF_CONSTEXPR ListConnAuth::ListConnAuth( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.class__)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eaptype_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eapvendor_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.xauth_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.revocation_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ca_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.aaa_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eap_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.xauth_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.group_)*/nullptr - , /*decltype(_impl_.cert_policy_)*/nullptr - , /*decltype(_impl_.certs_)*/nullptr - , /*decltype(_impl_.cacerts_)*/nullptr - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ListConnAuthDefaultTypeInternal { - PROTOBUF_CONSTEXPR ListConnAuthDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ListConnAuthDefaultTypeInternal() {} - union { - ListConnAuth _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListConnAuthDefaultTypeInternal _ListConnAuth_default_instance_; -PROTOBUF_CONSTEXPR ListChild::ListChild( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.mode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.label_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dpd_action_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.close_action_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.interface_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.priority_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.local_ts_)*/nullptr - , /*decltype(_impl_.remote_ts_)*/nullptr - , /*decltype(_impl_.rekey_time_)*/0u - , /*decltype(_impl_.rekey_bytes_)*/0u - , /*decltype(_impl_.rekey_packets_)*/0u - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ListChildDefaultTypeInternal { - PROTOBUF_CONSTEXPR ListChildDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ListChildDefaultTypeInternal() {} - union { - ListChild _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListChildDefaultTypeInternal _ListChild_default_instance_; -PROTOBUF_CONSTEXPR ListConnResp::ListConnResp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.local_addrs_)*/{} - , /*decltype(_impl_.remote_addrs_)*/{} - , /*decltype(_impl_.local_auth_)*/{} - , /*decltype(_impl_.remote_auth_)*/{} - , /*decltype(_impl_.children_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.version_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.unique_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ppk_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ppk_required_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reauth_time_)*/0u - , /*decltype(_impl_.rekey_time_)*/0u - , /*decltype(_impl_.dpd_delay_)*/0u - , /*decltype(_impl_.dpd_timeout_)*/0u - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ListConnRespDefaultTypeInternal { - PROTOBUF_CONSTEXPR ListConnRespDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ListConnRespDefaultTypeInternal() {} - union { - ListConnResp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListConnRespDefaultTypeInternal _ListConnResp_default_instance_; -PROTOBUF_CONSTEXPR IPsecListConnsResponse::IPsecListConnsResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.connection_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecListConnsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecListConnsResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecListConnsResponseDefaultTypeInternal() {} - union { - IPsecListConnsResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecListConnsResponseDefaultTypeInternal _IPsecListConnsResponse_default_instance_; -PROTOBUF_CONSTEXPR IPsecListCertsRequest::IPsecListCertsRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.flag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.subject_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecListCertsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecListCertsRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecListCertsRequestDefaultTypeInternal() {} - union { - IPsecListCertsRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecListCertsRequestDefaultTypeInternal _IPsecListCertsRequest_default_instance_; -PROTOBUF_CONSTEXPR ListCert::ListCert( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.hasprivkey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.subject_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.notbefore_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.notafter_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.flag_)*/0 - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ListCertDefaultTypeInternal { - PROTOBUF_CONSTEXPR ListCertDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ListCertDefaultTypeInternal() {} - union { - ListCert _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListCertDefaultTypeInternal _ListCert_default_instance_; -PROTOBUF_CONSTEXPR IPsecListCertsResponse::IPsecListCertsResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.certs_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecListCertsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecListCertsResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecListCertsResponseDefaultTypeInternal() {} - union { - IPsecListCertsResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecListCertsResponseDefaultTypeInternal _IPsecListCertsResponse_default_instance_; -PROTOBUF_CONSTEXPR IPsecLoadConnRequest::IPsecLoadConnRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.connection_)*/nullptr - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecLoadConnRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecLoadConnRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecLoadConnRequestDefaultTypeInternal() {} - union { - IPsecLoadConnRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecLoadConnRequestDefaultTypeInternal _IPsecLoadConnRequest_default_instance_; -PROTOBUF_CONSTEXPR IPsecLoadConnResponse::IPsecLoadConnResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.success_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecLoadConnResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecLoadConnResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecLoadConnResponseDefaultTypeInternal() {} - union { - IPsecLoadConnResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecLoadConnResponseDefaultTypeInternal _IPsecLoadConnResponse_default_instance_; -PROTOBUF_CONSTEXPR IPsecUnloadConnRequest::IPsecUnloadConnRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecUnloadConnRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecUnloadConnRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecUnloadConnRequestDefaultTypeInternal() {} - union { - IPsecUnloadConnRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecUnloadConnRequestDefaultTypeInternal _IPsecUnloadConnRequest_default_instance_; -PROTOBUF_CONSTEXPR IPsecUnloadConnResponse::IPsecUnloadConnResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.success_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IPsecUnloadConnResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR IPsecUnloadConnResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IPsecUnloadConnResponseDefaultTypeInternal() {} - union { - IPsecUnloadConnResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IPsecUnloadConnResponseDefaultTypeInternal _IPsecUnloadConnResponse_default_instance_; -} // namespace v1 -} // namespace security -} // namespace opi_api -static ::_pb::Metadata file_level_metadata_ipsec_2eproto[41]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_ipsec_2eproto[10]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_ipsec_2eproto = nullptr; - -const uint32_t TableStruct_ipsec_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Proposals, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Proposals, _impl_.crypto_alg_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Proposals, _impl_.integ_alg_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Proposals, _impl_.prf_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Proposals, _impl_.dhgroups_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Vips, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Vips, _impl_.vip_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Pools, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Pools, _impl_.pool_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Certs, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Certs, _impl_.cert_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::PubKeys, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::PubKeys, _impl_.pubkey_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Groups, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Groups, _impl_.group_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::CertPolicy, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::CertPolicy, _impl_.cert_policy_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::CaCerts, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::CaCerts, _impl_.cacert_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::LocalAuth, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::LocalAuth, _impl_.auth_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::LocalAuth, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::LocalAuth, _impl_.eap_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::LocalAuth, _impl_.aaa_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::LocalAuth, _impl_.xauth_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::LocalAuth, _impl_.certs_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::LocalAuth, _impl_.pubkeys_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::RemoteAuth, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::RemoteAuth, _impl_.auth_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::RemoteAuth, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::RemoteAuth, _impl_.eap_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::RemoteAuth, _impl_.groups_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::RemoteAuth, _impl_.cert_policy_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::RemoteAuth, _impl_.certs_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::RemoteAuth, _impl_.ca_certs_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::RemoteAuth, _impl_.pubkeys_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::TrafficSelectors_TrafficSelector, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::TrafficSelectors_TrafficSelector, _impl_.cidr_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::TrafficSelectors_TrafficSelector, _impl_.proto_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::TrafficSelectors_TrafficSelector, _impl_.port_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::TrafficSelectors, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::TrafficSelectors, _impl_.ts_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Addrs, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Addrs, _impl_.addr_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.ag_proposals_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.esp_proposals_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.local_ts_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.remote_ts_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.rekey_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.life_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.rand_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.updown_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.inactivity_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.mark_in_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.mark_in_sa_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.mark_out_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.set_mark_in_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.set_mark_out_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Child, _impl_.hw_offload_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.local_addrs_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.remote_addrs_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.local_port_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.remote_port_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.proposals_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.vips_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.dscp_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.encap_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.mobike_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.dpd_delay_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.dpd_timeout_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.reauth_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.rekey_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.pools_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.local_auth_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.remote_auth_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::Connection, _impl_.children_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecVersionRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecVersionResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecVersionResponse, _impl_.daemon_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecVersionResponse, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecVersionResponse, _impl_.sysname_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecVersionResponse, _impl_.release_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecVersionResponse, _impl_.machine_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecStatsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecStatsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecStatsResponse, _impl_.status_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecInitiateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecInitiateRequest, _impl_.child_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecInitiateRequest, _impl_.ike_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecInitiateRequest, _impl_.timeout_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecInitiateRequest, _impl_.loglevel_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecInitiateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateRequest, _impl_.child_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateRequest, _impl_.ike_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateRequest, _impl_.child_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateRequest, _impl_.ike_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateRequest, _impl_.force_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateRequest, _impl_.timeout_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateRequest, _impl_.loglevel_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateResponse, _impl_.success_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateResponse, _impl_.matches_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecTerminateResponse, _impl_.terminated_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecRekeyRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecRekeyRequest, _impl_.child_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecRekeyRequest, _impl_.ike_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecRekeyRequest, _impl_.child_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecRekeyRequest, _impl_.ike_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecRekeyRequest, _impl_.reauth_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecRekeyResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecRekeyResponse, _impl_.success_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecRekeyResponse, _impl_.matches_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListSasRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListSasRequest, _impl_.noblock_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListSasRequest, _impl_.ike_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListSasRequest, _impl_.ike_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListSasRequest, _impl_.child_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListSasRequest, _impl_.child_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.protocol_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.encap_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.spi_in_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.spi_out_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.cpi_in_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.cpi_out_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.mark_in_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.mark_mask_in_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.mark_out_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.mark_mask_out_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.if_id_in_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.if_id_out_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.encr_alg_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.encr_keysize_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.integ_alg_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.integ_keysize_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.dh_group_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChildSa, _impl_.esn_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.uniqueid_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.ikestate_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.local_host_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.local_port_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.local_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.remote_host_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.remote_port_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.remote_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.remote_xauth_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.remote_eap_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.initiator_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.initiator_spi_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.responder_spi_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.nat_local_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.nat_remote_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.nat_fake_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.nat_any_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.if_id_in_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.if_id_out_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.encr_alg_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.encr_keysize_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.integ_alg_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.integ_keysize_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.prf_alg_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.dh_group_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.ppk_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.established_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.rekey_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.reauth_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.local_vips_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.remote_vips_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.tasks_queued_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.tasks_active_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.tasks_passive_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListIkeSa, _impl_.childsas_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListSasResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListSasResponse, _impl_.ikesas_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListConnsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListConnsRequest, _impl_.ike_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.class__), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.eaptype_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.eapvendor_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.xauth_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.revocation_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.ca_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.aaa_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.eap_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.xauth_id_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.group_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.cert_policy_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.certs_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnAuth, _impl_.cacerts_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.mode_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.label_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.rekey_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.rekey_bytes_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.rekey_packets_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.dpd_action_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.close_action_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.local_ts_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.remote_ts_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.interface_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListChild, _impl_.priority_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.local_addrs_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.remote_addrs_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.reauth_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.rekey_time_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.unique_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.dpd_delay_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.dpd_timeout_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.ppk_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.ppk_required_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.local_auth_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.remote_auth_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListConnResp, _impl_.children_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListConnsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListConnsResponse, _impl_.connection_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListCertsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListCertsRequest, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListCertsRequest, _impl_.flag_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListCertsRequest, _impl_.subject_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListCert, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListCert, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListCert, _impl_.flag_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListCert, _impl_.hasprivkey_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListCert, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListCert, _impl_.subject_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListCert, _impl_.notbefore_), - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::ListCert, _impl_.notafter_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListCertsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecListCertsResponse, _impl_.certs_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecLoadConnRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecLoadConnRequest, _impl_.connection_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecLoadConnResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecLoadConnResponse, _impl_.success_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecUnloadConnRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecUnloadConnRequest, _impl_.name_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecUnloadConnResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::security::v1::IPsecUnloadConnResponse, _impl_.success_), -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, -1, sizeof(::opi_api::security::v1::Proposals)}, - { 10, -1, -1, sizeof(::opi_api::security::v1::Vips)}, - { 17, -1, -1, sizeof(::opi_api::security::v1::Pools)}, - { 24, -1, -1, sizeof(::opi_api::security::v1::Certs)}, - { 31, -1, -1, sizeof(::opi_api::security::v1::PubKeys)}, - { 38, -1, -1, sizeof(::opi_api::security::v1::Groups)}, - { 45, -1, -1, sizeof(::opi_api::security::v1::CertPolicy)}, - { 52, -1, -1, sizeof(::opi_api::security::v1::CaCerts)}, - { 59, -1, -1, sizeof(::opi_api::security::v1::LocalAuth)}, - { 72, -1, -1, sizeof(::opi_api::security::v1::RemoteAuth)}, - { 86, -1, -1, sizeof(::opi_api::security::v1::TrafficSelectors_TrafficSelector)}, - { 95, -1, -1, sizeof(::opi_api::security::v1::TrafficSelectors)}, - { 102, -1, -1, sizeof(::opi_api::security::v1::Addrs)}, - { 109, -1, -1, sizeof(::opi_api::security::v1::Child)}, - { 131, -1, -1, sizeof(::opi_api::security::v1::Connection)}, - { 156, -1, -1, sizeof(::opi_api::security::v1::IPsecVersionRequest)}, - { 162, -1, -1, sizeof(::opi_api::security::v1::IPsecVersionResponse)}, - { 173, -1, -1, sizeof(::opi_api::security::v1::IPsecStatsRequest)}, - { 179, -1, -1, sizeof(::opi_api::security::v1::IPsecStatsResponse)}, - { 186, -1, -1, sizeof(::opi_api::security::v1::IPsecInitiateRequest)}, - { 196, -1, -1, sizeof(::opi_api::security::v1::IPsecInitiateResponse)}, - { 202, -1, -1, sizeof(::opi_api::security::v1::IPsecTerminateRequest)}, - { 215, -1, -1, sizeof(::opi_api::security::v1::IPsecTerminateResponse)}, - { 224, -1, -1, sizeof(::opi_api::security::v1::IPsecRekeyRequest)}, - { 235, -1, -1, sizeof(::opi_api::security::v1::IPsecRekeyResponse)}, - { 243, -1, -1, sizeof(::opi_api::security::v1::IPsecListSasRequest)}, - { 254, -1, -1, sizeof(::opi_api::security::v1::ListChildSa)}, - { 279, -1, -1, sizeof(::opi_api::security::v1::ListIkeSa)}, - { 322, -1, -1, sizeof(::opi_api::security::v1::IPsecListSasResponse)}, - { 329, -1, -1, sizeof(::opi_api::security::v1::IPsecListConnsRequest)}, - { 336, -1, -1, sizeof(::opi_api::security::v1::ListConnAuth)}, - { 356, -1, -1, sizeof(::opi_api::security::v1::ListChild)}, - { 374, -1, -1, sizeof(::opi_api::security::v1::ListConnResp)}, - { 394, -1, -1, sizeof(::opi_api::security::v1::IPsecListConnsResponse)}, - { 401, -1, -1, sizeof(::opi_api::security::v1::IPsecListCertsRequest)}, - { 410, -1, -1, sizeof(::opi_api::security::v1::ListCert)}, - { 423, -1, -1, sizeof(::opi_api::security::v1::IPsecListCertsResponse)}, - { 430, -1, -1, sizeof(::opi_api::security::v1::IPsecLoadConnRequest)}, - { 437, -1, -1, sizeof(::opi_api::security::v1::IPsecLoadConnResponse)}, - { 444, -1, -1, sizeof(::opi_api::security::v1::IPsecUnloadConnRequest)}, - { 451, -1, -1, sizeof(::opi_api::security::v1::IPsecUnloadConnResponse)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::opi_api::security::v1::_Proposals_default_instance_._instance, - &::opi_api::security::v1::_Vips_default_instance_._instance, - &::opi_api::security::v1::_Pools_default_instance_._instance, - &::opi_api::security::v1::_Certs_default_instance_._instance, - &::opi_api::security::v1::_PubKeys_default_instance_._instance, - &::opi_api::security::v1::_Groups_default_instance_._instance, - &::opi_api::security::v1::_CertPolicy_default_instance_._instance, - &::opi_api::security::v1::_CaCerts_default_instance_._instance, - &::opi_api::security::v1::_LocalAuth_default_instance_._instance, - &::opi_api::security::v1::_RemoteAuth_default_instance_._instance, - &::opi_api::security::v1::_TrafficSelectors_TrafficSelector_default_instance_._instance, - &::opi_api::security::v1::_TrafficSelectors_default_instance_._instance, - &::opi_api::security::v1::_Addrs_default_instance_._instance, - &::opi_api::security::v1::_Child_default_instance_._instance, - &::opi_api::security::v1::_Connection_default_instance_._instance, - &::opi_api::security::v1::_IPsecVersionRequest_default_instance_._instance, - &::opi_api::security::v1::_IPsecVersionResponse_default_instance_._instance, - &::opi_api::security::v1::_IPsecStatsRequest_default_instance_._instance, - &::opi_api::security::v1::_IPsecStatsResponse_default_instance_._instance, - &::opi_api::security::v1::_IPsecInitiateRequest_default_instance_._instance, - &::opi_api::security::v1::_IPsecInitiateResponse_default_instance_._instance, - &::opi_api::security::v1::_IPsecTerminateRequest_default_instance_._instance, - &::opi_api::security::v1::_IPsecTerminateResponse_default_instance_._instance, - &::opi_api::security::v1::_IPsecRekeyRequest_default_instance_._instance, - &::opi_api::security::v1::_IPsecRekeyResponse_default_instance_._instance, - &::opi_api::security::v1::_IPsecListSasRequest_default_instance_._instance, - &::opi_api::security::v1::_ListChildSa_default_instance_._instance, - &::opi_api::security::v1::_ListIkeSa_default_instance_._instance, - &::opi_api::security::v1::_IPsecListSasResponse_default_instance_._instance, - &::opi_api::security::v1::_IPsecListConnsRequest_default_instance_._instance, - &::opi_api::security::v1::_ListConnAuth_default_instance_._instance, - &::opi_api::security::v1::_ListChild_default_instance_._instance, - &::opi_api::security::v1::_ListConnResp_default_instance_._instance, - &::opi_api::security::v1::_IPsecListConnsResponse_default_instance_._instance, - &::opi_api::security::v1::_IPsecListCertsRequest_default_instance_._instance, - &::opi_api::security::v1::_ListCert_default_instance_._instance, - &::opi_api::security::v1::_IPsecListCertsResponse_default_instance_._instance, - &::opi_api::security::v1::_IPsecLoadConnRequest_default_instance_._instance, - &::opi_api::security::v1::_IPsecLoadConnResponse_default_instance_._instance, - &::opi_api::security::v1::_IPsecUnloadConnRequest_default_instance_._instance, - &::opi_api::security::v1::_IPsecUnloadConnResponse_default_instance_._instance, -}; - -const char descriptor_table_protodef_ipsec_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\013ipsec.proto\022\023opi_api.security.v1\"\334\001\n\tP" - "roposals\0228\n\ncrypto_alg\030\001 \003(\0162$.opi_api.s" - "ecurity.v1.CryptoAlgorithm\0226\n\tinteg_alg\030" - "\002 \003(\0162#.opi_api.security.v1.IntegAlgorit" - "hm\022,\n\003prf\030\003 \003(\0162\037.opi_api.security.v1.PR" - "Function\022/\n\010dhgroups\030\004 \003(\0162\035.opi_api.sec" - "urity.v1.DHGroups\"\023\n\004Vips\022\013\n\003vip\030\001 \003(\t\"\025" - "\n\005Pools\022\014\n\004pool\030\001 \003(\t\"\025\n\005Certs\022\014\n\004cert\030\001" - " \003(\t\"\031\n\007PubKeys\022\016\n\006pubkey\030\001 \003(\t\"\027\n\006Group" - "s\022\r\n\005group\030\001 \003(\t\"!\n\nCertPolicy\022\023\n\013cert_p" - "olicy\030\001 \003(\t\"\031\n\007CaCerts\022\016\n\006cacert\030\001 \003(\t\"\320" - "\001\n\tLocalAuth\022+\n\004auth\030\001 \001(\0162\035.opi_api.sec" - "urity.v1.AuthType\022\n\n\002id\030\002 \001(\t\022\016\n\006eap_id\030" - "\003 \001(\t\022\016\n\006aaa_id\030\004 \001(\t\022\020\n\010xauth_id\030\005 \001(\t\022" - ")\n\005certs\030\006 \001(\0132\032.opi_api.security.v1.Cer" - "ts\022-\n\007pubkeys\030\007 \001(\0132\034.opi_api.security.v" - "1.PubKeys\"\302\002\n\nRemoteAuth\022+\n\004auth\030\001 \001(\0162\035" - ".opi_api.security.v1.AuthType\022\n\n\002id\030\002 \001(" - "\t\022\016\n\006eap_id\030\003 \001(\t\022+\n\006groups\030\004 \001(\0132\033.opi_" - "api.security.v1.Groups\0224\n\013cert_policy\030\005 " - "\001(\0132\037.opi_api.security.v1.CertPolicy\022)\n\005" - "certs\030\006 \001(\0132\032.opi_api.security.v1.Certs\022" - ".\n\010ca_certs\030\007 \001(\0132\034.opi_api.security.v1." - "CaCerts\022-\n\007pubkeys\030\010 \001(\0132\034.opi_api.secur" - "ity.v1.PubKeys\"\223\001\n\020TrafficSelectors\022A\n\002t" - "s\030\001 \003(\01325.opi_api.security.v1.TrafficSel" - "ectors.TrafficSelector\032<\n\017TrafficSelecto" - "r\022\014\n\004cidr\030\001 \001(\t\022\r\n\005proto\030\002 \001(\t\022\014\n\004port\030\003" - " \001(\t\"\025\n\005Addrs\022\014\n\004addr\030\001 \001(\t\"\311\003\n\005Child\022\014\n" - "\004name\030\001 \001(\t\0224\n\014ag_proposals\030\002 \001(\0132\036.opi_" - "api.security.v1.Proposals\0225\n\resp_proposa" - "ls\030\003 \001(\0132\036.opi_api.security.v1.Proposals" - "\0227\n\010local_ts\030\004 \001(\0132%.opi_api.security.v1" - ".TrafficSelectors\0228\n\tremote_ts\030\005 \001(\0132%.o" - "pi_api.security.v1.TrafficSelectors\022\022\n\nr" - "ekey_time\030\006 \001(\r\022\021\n\tlife_time\030\007 \001(\r\022\021\n\tra" - "nd_time\030\010 \001(\r\022\016\n\006updown\030\t \001(\t\022\022\n\ninactiv" - "ity\030\n \001(\r\022\017\n\007mark_in\030\013 \001(\r\022\022\n\nmark_in_sa" - "\030\014 \001(\t\022\020\n\010mark_out\030\r \001(\r\022\023\n\013set_mark_in\030" - "\016 \001(\r\022\024\n\014set_mark_out\030\017 \001(\r\022\022\n\nhw_offloa" - "d\030\020 \001(\t\"\324\004\n\nConnection\022\014\n\004name\030\001 \001(\t\022\017\n\007" - "version\030\002 \001(\t\022/\n\013local_addrs\030\003 \003(\0132\032.opi" - "_api.security.v1.Addrs\0220\n\014remote_addrs\030\004" - " \003(\0132\032.opi_api.security.v1.Addrs\022\022\n\nloca" - "l_port\030\005 \001(\r\022\023\n\013remote_port\030\006 \001(\r\0221\n\tpro" - "posals\030\007 \001(\0132\036.opi_api.security.v1.Propo" - "sals\022\'\n\004vips\030\010 \001(\0132\031.opi_api.security.v1" - ".Vips\022\014\n\004dscp\030\t \001(\004\022\r\n\005encap\030\n \001(\t\022\016\n\006mo" - "bike\030\013 \001(\t\022\021\n\tdpd_delay\030\014 \001(\r\022\023\n\013dpd_tim" - "eout\030\r \001(\r\022\023\n\013reauth_time\030\016 \001(\r\022\022\n\nrekey" - "_time\030\017 \001(\r\022)\n\005pools\030\020 \001(\0132\032.opi_api.sec" - "urity.v1.Pools\0222\n\nlocal_auth\030\021 \001(\0132\036.opi" - "_api.security.v1.LocalAuth\0224\n\013remote_aut" - "h\030\022 \001(\0132\037.opi_api.security.v1.RemoteAuth" - "\022,\n\010children\030\023 \003(\0132\032.opi_api.security.v1" - ".Child\"\025\n\023IPsecVersionRequest\"j\n\024IPsecVe" - "rsionResponse\022\016\n\006daemon\030\001 \001(\t\022\017\n\007version" - "\030\002 \001(\t\022\017\n\007sysname\030\003 \001(\t\022\017\n\007release\030\004 \001(\t" - "\022\017\n\007machine\030\005 \001(\t\"\023\n\021IPsecStatsRequest\"$" - "\n\022IPsecStatsResponse\022\016\n\006status\030\001 \001(\t\"U\n\024" - "IPsecInitiateRequest\022\r\n\005child\030\001 \001(\t\022\013\n\003i" - "ke\030\002 \001(\t\022\017\n\007timeout\030\003 \001(\t\022\020\n\010loglevel\030\004 " - "\001(\t\"\027\n\025IPsecInitiateResponse\"\207\001\n\025IPsecTe" - "rminateRequest\022\r\n\005child\030\001 \001(\t\022\013\n\003ike\030\002 \001" - "(\t\022\020\n\010child_id\030\003 \001(\004\022\016\n\006ike_id\030\004 \001(\004\022\r\n\005" - "force\030\005 \001(\t\022\017\n\007timeout\030\006 \001(\t\022\020\n\010loglevel" - "\030\007 \001(\t\"N\n\026IPsecTerminateResponse\022\017\n\007succ" - "ess\030\001 \001(\t\022\017\n\007matches\030\002 \001(\r\022\022\n\nterminated" - "\030\003 \001(\r\"a\n\021IPsecRekeyRequest\022\r\n\005child\030\001 \001" - "(\t\022\013\n\003ike\030\002 \001(\t\022\020\n\010child_id\030\003 \001(\004\022\016\n\006ike" - "_id\030\004 \001(\004\022\016\n\006reauth\030\005 \001(\t\"6\n\022IPsecRekeyR" - "esponse\022\017\n\007success\030\001 \001(\t\022\017\n\007matches\030\002 \001(" - "\r\"d\n\023IPsecListSasRequest\022\017\n\007noblock\030\001 \001(" - "\t\022\013\n\003ike\030\002 \001(\t\022\016\n\006ike_id\030\003 \001(\004\022\r\n\005child\030" - "\004 \001(\t\022\020\n\010child_id\030\005 \001(\004\"\344\002\n\013ListChildSa\022" - "\014\n\004name\030\001 \001(\t\022\020\n\010protocol\030\002 \001(\t\022\r\n\005encap" - "\030\003 \001(\t\022\016\n\006spi_in\030\004 \001(\t\022\017\n\007spi_out\030\005 \001(\t\022" - "\016\n\006cpi_in\030\006 \001(\t\022\017\n\007cpi_out\030\007 \001(\t\022\017\n\007mark" - "_in\030\010 \001(\t\022\024\n\014mark_mask_in\030\t \001(\t\022\020\n\010mark_" - "out\030\n \001(\t\022\025\n\rmark_mask_out\030\013 \001(\t\022\020\n\010if_i" - "d_in\030\014 \001(\t\022\021\n\tif_id_out\030\r \001(\t\022\020\n\010encr_al" - "g\030\016 \001(\t\022\024\n\014encr_keysize\030\017 \001(\t\022\021\n\tinteg_a" - "lg\030\020 \001(\t\022\025\n\rinteg_keysize\030\021 \001(\t\022\020\n\010dh_gr" - "oup\030\022 \001(\t\022\013\n\003esn\030\023 \001(\t\"\246\006\n\tListIkeSa\022\014\n\004" - "name\030\001 \001(\t\022\020\n\010uniqueid\030\002 \001(\t\022\017\n\007version\030" - "\003 \001(\t\0221\n\010ikestate\030\004 \001(\0162\037.opi_api.securi" - "ty.v1.IkeSaState\022\022\n\nlocal_host\030\005 \001(\t\022\022\n\n" - "local_port\030\006 \001(\t\022\020\n\010local_id\030\007 \001(\t\022\023\n\013re" - "mote_host\030\010 \001(\t\022\023\n\013remote_port\030\t \001(\t\022\021\n\t" - "remote_id\030\n \001(\t\022\027\n\017remote_xauth_id\030\013 \001(\t" - "\022\025\n\rremote_eap_id\030\014 \001(\t\022\021\n\tinitiator\030\r \001" - "(\t\022\025\n\rinitiator_spi\030\016 \001(\t\022\025\n\rresponder_s" - "pi\030\017 \001(\t\022\021\n\tnat_local\030\020 \001(\t\022\022\n\nnat_remot" - "e\030\021 \001(\t\022\020\n\010nat_fake\030\022 \001(\t\022\017\n\007nat_any\030\023 \001" - "(\t\022\020\n\010if_id_in\030\024 \001(\t\022\021\n\tif_id_out\030\025 \001(\t\022" - "\020\n\010encr_alg\030\026 \001(\t\022\024\n\014encr_keysize\030\027 \001(\t\022" - "\021\n\tinteg_alg\030\030 \001(\t\022\025\n\rinteg_keysize\030\031 \001(" - "\t\022\017\n\007prf_alg\030\032 \001(\t\022\020\n\010dh_group\030\033 \001(\t\022\013\n\003" - "ppk\030\034 \001(\t\022\023\n\013established\030\035 \001(\t\022\022\n\nrekey_" - "time\030\036 \001(\t\022\023\n\013reauth_time\030\037 \001(\t\022\022\n\nlocal" - "_vips\030 \003(\t\022\023\n\013remote_vips\030! \003(\t\022\024\n\014task" - "s_queued\030\" \003(\t\022\024\n\014tasks_active\030# \003(\t\022\025\n\r" - "tasks_passive\030$ \003(\t\0222\n\010childsas\030% \003(\0132 ." - "opi_api.security.v1.ListChildSa\"F\n\024IPsec" - "ListSasResponse\022.\n\006ikesas\030\001 \003(\0132\036.opi_ap" - "i.security.v1.ListIkeSa\"$\n\025IPsecListConn" - "sRequest\022\013\n\003ike\030\001 \001(\t\"\355\002\n\014ListConnAuth\022\r" - "\n\005class\030\001 \001(\t\022\017\n\007eaptype\030\002 \001(\t\022\021\n\teapven" - "dor\030\003 \001(\t\022\r\n\005xauth\030\004 \001(\t\022\022\n\nrevocation\030\005" - " \001(\t\022\n\n\002id\030\006 \001(\t\022\r\n\005ca_id\030\007 \001(\t\022\016\n\006aaa_i" - "d\030\010 \001(\t\022\016\n\006eap_id\030\t \001(\t\022\020\n\010xauth_id\030\n \001(" - "\t\022*\n\005group\030\013 \001(\0132\033.opi_api.security.v1.G" - "roups\0224\n\013cert_policy\030\014 \001(\0132\037.opi_api.sec" - "urity.v1.CertPolicy\022)\n\005certs\030\r \001(\0132\032.opi" - "_api.security.v1.Certs\022-\n\007cacerts\030\016 \001(\0132" - "\034.opi_api.security.v1.CaCerts\"\270\002\n\tListCh" - "ild\022\014\n\004name\030\001 \001(\t\022\014\n\004mode\030\002 \001(\t\022\r\n\005label" - "\030\003 \001(\t\022\022\n\nrekey_time\030\004 \001(\r\022\023\n\013rekey_byte" - "s\030\005 \001(\r\022\025\n\rrekey_packets\030\006 \001(\r\022\022\n\ndpd_ac" - "tion\030\007 \001(\t\022\024\n\014close_action\030\010 \001(\t\0227\n\010loca" - "l_ts\030\t \001(\0132%.opi_api.security.v1.Traffic" - "Selectors\0228\n\tremote_ts\030\n \001(\0132%.opi_api.s" - "ecurity.v1.TrafficSelectors\022\021\n\tinterface" - "\030\013 \001(\t\022\020\n\010priority\030\014 \001(\t\"\265\003\n\014ListConnRes" - "p\022\014\n\004name\030\001 \001(\t\022/\n\013local_addrs\030\002 \003(\0132\032.o" - "pi_api.security.v1.Addrs\0220\n\014remote_addrs" - "\030\003 \003(\0132\032.opi_api.security.v1.Addrs\022\017\n\007ve" - "rsion\030\004 \001(\t\022\023\n\013reauth_time\030\005 \001(\r\022\022\n\nreke" - "y_time\030\006 \001(\r\022\016\n\006unique\030\007 \001(\t\022\021\n\tdpd_dela" - "y\030\010 \001(\r\022\023\n\013dpd_timeout\030\t \001(\r\022\013\n\003ppk\030\n \001(" - "\t\022\024\n\014ppk_required\030\013 \001(\t\0225\n\nlocal_auth\030\014 " - "\003(\0132!.opi_api.security.v1.ListConnAuth\0226" - "\n\013remote_auth\030\r \003(\0132!.opi_api.security.v" - "1.ListConnAuth\0220\n\010children\030\016 \003(\0132\036.opi_a" - "pi.security.v1.ListChild\"O\n\026IPsecListCon" - "nsResponse\0225\n\nconnection\030\001 \003(\0132!.opi_api" - ".security.v1.ListConnResp\"D\n\025IPsecListCe" - "rtsRequest\022\014\n\004type\030\001 \001(\t\022\014\n\004flag\030\002 \001(\t\022\017" - "\n\007subject\030\003 \001(\t\"\316\001\n\010ListCert\0222\n\004type\030\001 \001" - "(\0162$.opi_api.security.v1.CertificateType" - "\0226\n\004flag\030\002 \001(\0162(.opi_api.security.v1.X50" - "9CertificateFlag\022\022\n\nhasprivkey\030\003 \001(\t\022\014\n\004" - "data\030\004 \001(\t\022\017\n\007subject\030\005 \001(\t\022\021\n\tnotbefore" - "\030\006 \001(\t\022\020\n\010notafter\030\007 \001(\t\"F\n\026IPsecListCer" - "tsResponse\022,\n\005certs\030\001 \003(\0132\035.opi_api.secu" - "rity.v1.ListCert\"K\n\024IPsecLoadConnRequest" - "\0223\n\nconnection\030\001 \001(\0132\037.opi_api.security." - "v1.Connection\"(\n\025IPsecLoadConnResponse\022\017" - "\n\007success\030\001 \001(\t\"&\n\026IPsecUnloadConnReques" - "t\022\014\n\004name\030\001 \001(\t\"*\n\027IPsecUnloadConnRespon" - "se\022\017\n\007success\030\001 \001(\t*\222\002\n\017CryptoAlgorithm\022" - " \n\034CRYPTO_ALGORITHM_UNSPECIFIED\020\000\022\033\n\027CRY" - "PTO_ALGORITHM_AES128\020\001\022\033\n\027CRYPTO_ALGORIT" - "HM_AES192\020\002\022\033\n\027CRYPTO_ALGORITHM_AES256\020\003" - "\022!\n\035CRYPTO_ALGORITHM_AES128GCM128\020\004\022!\n\035C" - "RYPTO_ALGORITHM_AES256GCM128\020\005\022\037\n\033CRYPTO" - "_ALGORITHM_AES128GMAC\020\006\022\037\n\033CRYPTO_ALGORI" - "THM_AES256GMAC\020\007*\222\002\n\016IntegAlgorithm\022\037\n\033I" - "NTEG_ALGORITHM_UNSPECIFIED\020\000\022\027\n\023INTEG_AL" - "GORITHM_MD5\020\001\022\033\n\027INTEG_ALGORITHM_MD5_128" - "\020\002\022\030\n\024INTEG_ALGORITHM_SHA1\020\003\022\034\n\030INTEG_AL" - "GORITHM_SHA1_160\020\004\022\032\n\026INTEG_ALGORITHM_SH" - "A256\020\005\022\032\n\026INTEG_ALGORITHM_SHA384\020\007\022\032\n\026IN" - "TEG_ALGORITHM_SHA512\020\010\022\035\n\031INTEG_ALGORITH" - "M_SHA256_96\020\t*\322\002\n\010DHGroups\022\031\n\025DH_GROUPS_" - "UNSPECIFIED\020\000\022\025\n\021DH_GROUPS_MODP768\020\001\022\026\n\022" - "DH_GROUPS_MODP1024\020\002\022\026\n\022DH_GROUPS_MODP15" - "36\020\003\022\026\n\022DH_GROUPS_MODP2048\020\004\022\026\n\022DH_GROUP" - "S_MODP3072\020\005\022\026\n\022DH_GROUPS_MODP4096\020\006\022\026\n\022" - "DH_GROUPS_MODP6144\020\007\022\026\n\022DH_GROUPS_MODP81" - "92\020\010\022\032\n\026DH_GROUPS_MODP1024S160\020\t\022\032\n\026DH_G" - "ROUPS_MODP2048S224\020\n\022\032\n\026DH_GROUPS_MODP20" - "48S256\020\013\022\030\n\024DH_GROUPS_CURVE25519\020\014*\316\001\n\nP" - "RFunction\022\033\n\027PR_FUNCTION_UNSPECIFIED\020\000\022\023" - "\n\017PR_FUNCTION_MD5\020\001\022\024\n\020PR_FUNCTION_SHA1\020" - "\002\022\027\n\023PR_FUNCTION_AESXCBC\020\003\022\027\n\023PR_FUNCTIO" - "N_AESCMAC\020\004\022\026\n\022PR_FUNCTION_SHA256\020\005\022\026\n\022P" - "R_FUNCTION_SHA384\020\006\022\026\n\022PR_FUNCTION_SHA51" - "2\020\007*b\n\tIpsecMode\022\032\n\026IPSEC_MODE_UNSPECIFI" - "ED\020\000\022\032\n\026IPSEC_MODE_TUNNEL_MODE\020\001\022\035\n\031IPSE" - "C_MODE_TRANSPORT_MODE\020\002*v\n\010AuthType\022\031\n\025A" - "UTH_TYPE_UNSPECIFIED\020\000\022\024\n\020AUTH_TYPE_PUBK" - "EY\020\001\022\021\n\rAUTH_TYPE_PSK\020\002\022\023\n\017AUTH_TYPE_XAU" - "TH\020\003\022\021\n\rAUTH_TYPE_EAP\020\004*\206\002\n\nIkeSaState\022\034" - "\n\030IKE_SA_STATE_UNSPECIFIED\020\000\022\030\n\024IKE_SA_S" - "TATE_CREATED\020\001\022\033\n\027IKE_SA_STATE_CONNECTIN" - "G\020\002\022\034\n\030IKE_SA_STATE_ESTABLISHED\020\003\022\030\n\024IKE" - "_SA_STATE_PASSIVE\020\004\022\031\n\025IKE_SA_STATE_REKE" - "YING\020\005\022\030\n\024IKE_SA_STATE_REKEYED\020\006\022\031\n\025IKE_" - "SA_STATE_DELETING\020\007\022\033\n\027IKE_SA_STATE_DEST" - "ROYING\020\010*\355\002\n\014ChildSaState\022\036\n\032CHILD_SA_ST" - "ATE_UNSPECIFIED\020\000\022\032\n\026CHILD_SA_STATE_CREA" - "TED\020\001\022\031\n\025CHILD_SA_STATE_ROUTED\020\002\022\035\n\031CHIL" - "D_SA_STATE_INSTALLING\020\003\022\034\n\030CHILD_SA_STAT" - "E_INSTALLED\020\004\022\033\n\027CHILD_SA_STATE_UPDATING" - "\020\005\022\033\n\027CHILD_SA_STATE_REKEYING\020\006\022\032\n\026CHILD" - "_SA_STATE_REKEYED\020\007\022\033\n\027CHILD_SA_STATE_RE" - "TRYING\020\010\022\033\n\027CHILD_SA_STATE_DELETING\020\t\022\032\n" - "\026CHILD_SA_STATE_DELETED\020\n\022\035\n\031CHILD_SA_ST" - "ATE_DESTROYING\020\013*\266\001\n\017CertificateType\022%\n!" - "CERTIFICATE_TYPE_X509_UNSPECIFIED\020\000\022\034\n\030C" - "ERTIFICATE_TYPE_X509_AC\020\001\022\035\n\031CERTIFICATE" - "_TYPE_X509_CRL\020\002\022\"\n\036CERTIFICATE_TYPE_OCS" - "P_RESPONSE\020\003\022\033\n\027CERTIFICATE_TYPE_PUBKEY\020" - "\004*\230\001\n\023X509CertificateFlag\022%\n!X509_CERTIF" - "ICATE_FLAG_UNSPECIFIED\020\000\022\034\n\030X509_CERTIFI" - "CATE_FLAG_CA\020\001\022\034\n\030X509_CERTIFICATE_FLAG_" - "AA\020\002\022\036\n\032X509_CERTIFICATE_FLAG_OCSP\020\0032\251\010\n" - "\014IPsecService\022e\n\014IPsecVersion\022(.opi_api." - "security.v1.IPsecVersionRequest\032).opi_ap" - "i.security.v1.IPsecVersionResponse\"\000\022_\n\n" - "IPsecStats\022&.opi_api.security.v1.IPsecSt" - "atsRequest\032\'.opi_api.security.v1.IPsecSt" - "atsResponse\"\000\022h\n\rIPsecInitiate\022).opi_api" - ".security.v1.IPsecInitiateRequest\032*.opi_" - "api.security.v1.IPsecInitiateResponse\"\000\022" - "k\n\016IPsecTerminate\022*.opi_api.security.v1." - "IPsecTerminateRequest\032+.opi_api.security" - ".v1.IPsecTerminateResponse\"\000\022_\n\nIPsecRek" - "ey\022&.opi_api.security.v1.IPsecRekeyReque" - "st\032\'.opi_api.security.v1.IPsecRekeyRespo" - "nse\"\000\022e\n\014IPsecListSas\022(.opi_api.security" - ".v1.IPsecListSasRequest\032).opi_api.securi" - "ty.v1.IPsecListSasResponse\"\000\022k\n\016IPsecLis" - "tConns\022*.opi_api.security.v1.IPsecListCo" - "nnsRequest\032+.opi_api.security.v1.IPsecLi" - "stConnsResponse\"\000\022k\n\016IPsecListCerts\022*.op" - "i_api.security.v1.IPsecListCertsRequest\032" - "+.opi_api.security.v1.IPsecListCertsResp" - "onse\"\000\022h\n\rIPsecLoadConn\022).opi_api.securi" - "ty.v1.IPsecLoadConnRequest\032*.opi_api.sec" - "urity.v1.IPsecLoadConnResponse\"\000\022n\n\017IPse" - "cUnloadConn\022+.opi_api.security.v1.IPsecU" - "nloadConnRequest\032,.opi_api.security.v1.I" - "PsecUnloadConnResponse\"\000B2Z0github.com/o" - "piproject/opi-api/security/v1/gen/gob\006pr" - "oto3" - ; -static ::_pbi::once_flag descriptor_table_ipsec_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_ipsec_2eproto = { - false, false, 9444, descriptor_table_protodef_ipsec_2eproto, - "ipsec.proto", - &descriptor_table_ipsec_2eproto_once, nullptr, 0, 41, - schemas, file_default_instances, TableStruct_ipsec_2eproto::offsets, - file_level_metadata_ipsec_2eproto, file_level_enum_descriptors_ipsec_2eproto, - file_level_service_descriptors_ipsec_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_ipsec_2eproto_getter() { - return &descriptor_table_ipsec_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_ipsec_2eproto(&descriptor_table_ipsec_2eproto); -namespace opi_api { -namespace security { -namespace v1 { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CryptoAlgorithm_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[0]; -} -bool CryptoAlgorithm_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* IntegAlgorithm_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[1]; -} -bool IntegAlgorithm_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 7: - case 8: - case 9: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DHGroups_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[2]; -} -bool DHGroups_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PRFunction_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[3]; -} -bool PRFunction_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* IpsecMode_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[4]; -} -bool IpsecMode_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AuthType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[5]; -} -bool AuthType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IkeSaState_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[6]; -} -bool IkeSaState_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ChildSaState_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[7]; -} -bool ChildSaState_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CertificateType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[8]; -} -bool CertificateType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* X509CertificateFlag_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ipsec_2eproto); - return file_level_enum_descriptors_ipsec_2eproto[9]; -} -bool X509CertificateFlag_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - - -// =================================================================== - -class Proposals::_Internal { - public: -}; - -Proposals::Proposals(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.Proposals) -} -Proposals::Proposals(const Proposals& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Proposals* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.crypto_alg_){from._impl_.crypto_alg_} - , /*decltype(_impl_._crypto_alg_cached_byte_size_)*/{0} - , decltype(_impl_.integ_alg_){from._impl_.integ_alg_} - , /*decltype(_impl_._integ_alg_cached_byte_size_)*/{0} - , decltype(_impl_.prf_){from._impl_.prf_} - , /*decltype(_impl_._prf_cached_byte_size_)*/{0} - , decltype(_impl_.dhgroups_){from._impl_.dhgroups_} - , /*decltype(_impl_._dhgroups_cached_byte_size_)*/{0} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.Proposals) -} - -inline void Proposals::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.crypto_alg_){arena} - , /*decltype(_impl_._crypto_alg_cached_byte_size_)*/{0} - , decltype(_impl_.integ_alg_){arena} - , /*decltype(_impl_._integ_alg_cached_byte_size_)*/{0} - , decltype(_impl_.prf_){arena} - , /*decltype(_impl_._prf_cached_byte_size_)*/{0} - , decltype(_impl_.dhgroups_){arena} - , /*decltype(_impl_._dhgroups_cached_byte_size_)*/{0} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -Proposals::~Proposals() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.Proposals) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Proposals::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.crypto_alg_.~RepeatedField(); - _impl_.integ_alg_.~RepeatedField(); - _impl_.prf_.~RepeatedField(); - _impl_.dhgroups_.~RepeatedField(); -} - -void Proposals::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Proposals::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.Proposals) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.crypto_alg_.Clear(); - _impl_.integ_alg_.Clear(); - _impl_.prf_.Clear(); - _impl_.dhgroups_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Proposals::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .opi_api.security.v1.CryptoAlgorithm crypto_alg = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser(_internal_mutable_crypto_alg(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 8) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_add_crypto_alg(static_cast<::opi_api::security::v1::CryptoAlgorithm>(val)); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.IntegAlgorithm integ_alg = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser(_internal_mutable_integ_alg(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 16) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_add_integ_alg(static_cast<::opi_api::security::v1::IntegAlgorithm>(val)); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.PRFunction prf = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser(_internal_mutable_prf(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 24) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_add_prf(static_cast<::opi_api::security::v1::PRFunction>(val)); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.DHGroups dhgroups = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser(_internal_mutable_dhgroups(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 32) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_add_dhgroups(static_cast<::opi_api::security::v1::DHGroups>(val)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Proposals::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.Proposals) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .opi_api.security.v1.CryptoAlgorithm crypto_alg = 1; - { - int byte_size = _impl_._crypto_alg_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteEnumPacked( - 1, _impl_.crypto_alg_, byte_size, target); - } - } - - // repeated .opi_api.security.v1.IntegAlgorithm integ_alg = 2; - { - int byte_size = _impl_._integ_alg_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteEnumPacked( - 2, _impl_.integ_alg_, byte_size, target); - } - } - - // repeated .opi_api.security.v1.PRFunction prf = 3; - { - int byte_size = _impl_._prf_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteEnumPacked( - 3, _impl_.prf_, byte_size, target); - } - } - - // repeated .opi_api.security.v1.DHGroups dhgroups = 4; - { - int byte_size = _impl_._dhgroups_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteEnumPacked( - 4, _impl_.dhgroups_, byte_size, target); - } - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.Proposals) - return target; -} - -size_t Proposals::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.Proposals) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .opi_api.security.v1.CryptoAlgorithm crypto_alg = 1; - { - size_t data_size = 0; - unsigned int count = static_cast(this->_internal_crypto_alg_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::_pbi::WireFormatLite::EnumSize( - this->_internal_crypto_alg(static_cast(i))); - } - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._crypto_alg_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - // repeated .opi_api.security.v1.IntegAlgorithm integ_alg = 2; - { - size_t data_size = 0; - unsigned int count = static_cast(this->_internal_integ_alg_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::_pbi::WireFormatLite::EnumSize( - this->_internal_integ_alg(static_cast(i))); - } - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._integ_alg_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - // repeated .opi_api.security.v1.PRFunction prf = 3; - { - size_t data_size = 0; - unsigned int count = static_cast(this->_internal_prf_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::_pbi::WireFormatLite::EnumSize( - this->_internal_prf(static_cast(i))); - } - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._prf_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - // repeated .opi_api.security.v1.DHGroups dhgroups = 4; - { - size_t data_size = 0; - unsigned int count = static_cast(this->_internal_dhgroups_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::_pbi::WireFormatLite::EnumSize( - this->_internal_dhgroups(static_cast(i))); - } - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._dhgroups_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Proposals::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Proposals::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Proposals::GetClassData() const { return &_class_data_; } - - -void Proposals::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.Proposals) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.crypto_alg_.MergeFrom(from._impl_.crypto_alg_); - _this->_impl_.integ_alg_.MergeFrom(from._impl_.integ_alg_); - _this->_impl_.prf_.MergeFrom(from._impl_.prf_); - _this->_impl_.dhgroups_.MergeFrom(from._impl_.dhgroups_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Proposals::CopyFrom(const Proposals& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.Proposals) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Proposals::IsInitialized() const { - return true; -} - -void Proposals::InternalSwap(Proposals* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.crypto_alg_.InternalSwap(&other->_impl_.crypto_alg_); - _impl_.integ_alg_.InternalSwap(&other->_impl_.integ_alg_); - _impl_.prf_.InternalSwap(&other->_impl_.prf_); - _impl_.dhgroups_.InternalSwap(&other->_impl_.dhgroups_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Proposals::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[0]); -} - -// =================================================================== - -class Vips::_Internal { - public: -}; - -Vips::Vips(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.Vips) -} -Vips::Vips(const Vips& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Vips* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.vip_){from._impl_.vip_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.Vips) -} - -inline void Vips::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.vip_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -Vips::~Vips() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.Vips) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Vips::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.vip_.~RepeatedPtrField(); -} - -void Vips::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Vips::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.Vips) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.vip_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Vips::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string vip = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_vip(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Vips.vip")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Vips::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.Vips) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string vip = 1; - for (int i = 0, n = this->_internal_vip_size(); i < n; i++) { - const auto& s = this->_internal_vip(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Vips.vip"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.Vips) - return target; -} - -size_t Vips::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.Vips) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string vip = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.vip_.size()); - for (int i = 0, n = _impl_.vip_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.vip_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Vips::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Vips::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Vips::GetClassData() const { return &_class_data_; } - - -void Vips::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.Vips) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.vip_.MergeFrom(from._impl_.vip_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Vips::CopyFrom(const Vips& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.Vips) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Vips::IsInitialized() const { - return true; -} - -void Vips::InternalSwap(Vips* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.vip_.InternalSwap(&other->_impl_.vip_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Vips::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[1]); -} - -// =================================================================== - -class Pools::_Internal { - public: -}; - -Pools::Pools(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.Pools) -} -Pools::Pools(const Pools& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Pools* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.pool_){from._impl_.pool_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.Pools) -} - -inline void Pools::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.pool_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -Pools::~Pools() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.Pools) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Pools::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.pool_.~RepeatedPtrField(); -} - -void Pools::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Pools::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.Pools) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.pool_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Pools::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string pool = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_pool(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Pools.pool")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Pools::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.Pools) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string pool = 1; - for (int i = 0, n = this->_internal_pool_size(); i < n; i++) { - const auto& s = this->_internal_pool(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Pools.pool"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.Pools) - return target; -} - -size_t Pools::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.Pools) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string pool = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.pool_.size()); - for (int i = 0, n = _impl_.pool_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.pool_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Pools::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Pools::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Pools::GetClassData() const { return &_class_data_; } - - -void Pools::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.Pools) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.pool_.MergeFrom(from._impl_.pool_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Pools::CopyFrom(const Pools& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.Pools) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Pools::IsInitialized() const { - return true; -} - -void Pools::InternalSwap(Pools* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.pool_.InternalSwap(&other->_impl_.pool_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Pools::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[2]); -} - -// =================================================================== - -class Certs::_Internal { - public: -}; - -Certs::Certs(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.Certs) -} -Certs::Certs(const Certs& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Certs* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.cert_){from._impl_.cert_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.Certs) -} - -inline void Certs::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.cert_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -Certs::~Certs() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.Certs) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Certs::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cert_.~RepeatedPtrField(); -} - -void Certs::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Certs::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.Certs) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.cert_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Certs::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string cert = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_cert(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Certs.cert")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Certs::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.Certs) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string cert = 1; - for (int i = 0, n = this->_internal_cert_size(); i < n; i++) { - const auto& s = this->_internal_cert(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Certs.cert"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.Certs) - return target; -} - -size_t Certs::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.Certs) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string cert = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.cert_.size()); - for (int i = 0, n = _impl_.cert_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.cert_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Certs::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Certs::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Certs::GetClassData() const { return &_class_data_; } - - -void Certs::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.Certs) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.cert_.MergeFrom(from._impl_.cert_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Certs::CopyFrom(const Certs& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.Certs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Certs::IsInitialized() const { - return true; -} - -void Certs::InternalSwap(Certs* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.cert_.InternalSwap(&other->_impl_.cert_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Certs::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[3]); -} - -// =================================================================== - -class PubKeys::_Internal { - public: -}; - -PubKeys::PubKeys(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.PubKeys) -} -PubKeys::PubKeys(const PubKeys& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PubKeys* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.pubkey_){from._impl_.pubkey_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.PubKeys) -} - -inline void PubKeys::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.pubkey_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -PubKeys::~PubKeys() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.PubKeys) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PubKeys::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.pubkey_.~RepeatedPtrField(); -} - -void PubKeys::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PubKeys::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.PubKeys) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.pubkey_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PubKeys::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string pubkey = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_pubkey(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.PubKeys.pubkey")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PubKeys::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.PubKeys) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string pubkey = 1; - for (int i = 0, n = this->_internal_pubkey_size(); i < n; i++) { - const auto& s = this->_internal_pubkey(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.PubKeys.pubkey"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.PubKeys) - return target; -} - -size_t PubKeys::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.PubKeys) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string pubkey = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.pubkey_.size()); - for (int i = 0, n = _impl_.pubkey_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.pubkey_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PubKeys::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PubKeys::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PubKeys::GetClassData() const { return &_class_data_; } - - -void PubKeys::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.PubKeys) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.pubkey_.MergeFrom(from._impl_.pubkey_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PubKeys::CopyFrom(const PubKeys& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.PubKeys) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PubKeys::IsInitialized() const { - return true; -} - -void PubKeys::InternalSwap(PubKeys* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.pubkey_.InternalSwap(&other->_impl_.pubkey_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PubKeys::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[4]); -} - -// =================================================================== - -class Groups::_Internal { - public: -}; - -Groups::Groups(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.Groups) -} -Groups::Groups(const Groups& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Groups* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.group_){from._impl_.group_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.Groups) -} - -inline void Groups::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.group_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -Groups::~Groups() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.Groups) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Groups::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.group_.~RepeatedPtrField(); -} - -void Groups::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Groups::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.Groups) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.group_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Groups::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string group = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_group(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Groups.group")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Groups::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.Groups) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string group = 1; - for (int i = 0, n = this->_internal_group_size(); i < n; i++) { - const auto& s = this->_internal_group(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Groups.group"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.Groups) - return target; -} - -size_t Groups::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.Groups) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string group = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.group_.size()); - for (int i = 0, n = _impl_.group_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.group_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Groups::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Groups::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Groups::GetClassData() const { return &_class_data_; } - - -void Groups::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.Groups) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.group_.MergeFrom(from._impl_.group_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Groups::CopyFrom(const Groups& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.Groups) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Groups::IsInitialized() const { - return true; -} - -void Groups::InternalSwap(Groups* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.group_.InternalSwap(&other->_impl_.group_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Groups::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[5]); -} - -// =================================================================== - -class CertPolicy::_Internal { - public: -}; - -CertPolicy::CertPolicy(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.CertPolicy) -} -CertPolicy::CertPolicy(const CertPolicy& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CertPolicy* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.cert_policy_){from._impl_.cert_policy_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.CertPolicy) -} - -inline void CertPolicy::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.cert_policy_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CertPolicy::~CertPolicy() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.CertPolicy) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CertPolicy::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cert_policy_.~RepeatedPtrField(); -} - -void CertPolicy::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CertPolicy::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.CertPolicy) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.cert_policy_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CertPolicy::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string cert_policy = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_cert_policy(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.CertPolicy.cert_policy")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CertPolicy::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.CertPolicy) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string cert_policy = 1; - for (int i = 0, n = this->_internal_cert_policy_size(); i < n; i++) { - const auto& s = this->_internal_cert_policy(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.CertPolicy.cert_policy"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.CertPolicy) - return target; -} - -size_t CertPolicy::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.CertPolicy) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string cert_policy = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.cert_policy_.size()); - for (int i = 0, n = _impl_.cert_policy_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.cert_policy_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CertPolicy::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CertPolicy::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CertPolicy::GetClassData() const { return &_class_data_; } - - -void CertPolicy::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.CertPolicy) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.cert_policy_.MergeFrom(from._impl_.cert_policy_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CertPolicy::CopyFrom(const CertPolicy& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.CertPolicy) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CertPolicy::IsInitialized() const { - return true; -} - -void CertPolicy::InternalSwap(CertPolicy* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.cert_policy_.InternalSwap(&other->_impl_.cert_policy_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CertPolicy::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[6]); -} - -// =================================================================== - -class CaCerts::_Internal { - public: -}; - -CaCerts::CaCerts(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.CaCerts) -} -CaCerts::CaCerts(const CaCerts& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CaCerts* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.cacert_){from._impl_.cacert_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.CaCerts) -} - -inline void CaCerts::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.cacert_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CaCerts::~CaCerts() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.CaCerts) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CaCerts::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cacert_.~RepeatedPtrField(); -} - -void CaCerts::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CaCerts::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.CaCerts) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.cacert_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CaCerts::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string cacert = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_cacert(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.CaCerts.cacert")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CaCerts::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.CaCerts) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string cacert = 1; - for (int i = 0, n = this->_internal_cacert_size(); i < n; i++) { - const auto& s = this->_internal_cacert(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.CaCerts.cacert"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.CaCerts) - return target; -} - -size_t CaCerts::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.CaCerts) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string cacert = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.cacert_.size()); - for (int i = 0, n = _impl_.cacert_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.cacert_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CaCerts::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CaCerts::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CaCerts::GetClassData() const { return &_class_data_; } - - -void CaCerts::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.CaCerts) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.cacert_.MergeFrom(from._impl_.cacert_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CaCerts::CopyFrom(const CaCerts& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.CaCerts) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CaCerts::IsInitialized() const { - return true; -} - -void CaCerts::InternalSwap(CaCerts* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.cacert_.InternalSwap(&other->_impl_.cacert_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CaCerts::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[7]); -} - -// =================================================================== - -class LocalAuth::_Internal { - public: - static const ::opi_api::security::v1::Certs& certs(const LocalAuth* msg); - static const ::opi_api::security::v1::PubKeys& pubkeys(const LocalAuth* msg); -}; - -const ::opi_api::security::v1::Certs& -LocalAuth::_Internal::certs(const LocalAuth* msg) { - return *msg->_impl_.certs_; -} -const ::opi_api::security::v1::PubKeys& -LocalAuth::_Internal::pubkeys(const LocalAuth* msg) { - return *msg->_impl_.pubkeys_; -} -LocalAuth::LocalAuth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.LocalAuth) -} -LocalAuth::LocalAuth(const LocalAuth& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - LocalAuth* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.id_){} - , decltype(_impl_.eap_id_){} - , decltype(_impl_.aaa_id_){} - , decltype(_impl_.xauth_id_){} - , decltype(_impl_.certs_){nullptr} - , decltype(_impl_.pubkeys_){nullptr} - , decltype(_impl_.auth_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - _this->_impl_.id_.Set(from._internal_id(), - _this->GetArenaForAllocation()); - } - _impl_.eap_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eap_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_eap_id().empty()) { - _this->_impl_.eap_id_.Set(from._internal_eap_id(), - _this->GetArenaForAllocation()); - } - _impl_.aaa_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.aaa_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_aaa_id().empty()) { - _this->_impl_.aaa_id_.Set(from._internal_aaa_id(), - _this->GetArenaForAllocation()); - } - _impl_.xauth_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.xauth_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_xauth_id().empty()) { - _this->_impl_.xauth_id_.Set(from._internal_xauth_id(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_certs()) { - _this->_impl_.certs_ = new ::opi_api::security::v1::Certs(*from._impl_.certs_); - } - if (from._internal_has_pubkeys()) { - _this->_impl_.pubkeys_ = new ::opi_api::security::v1::PubKeys(*from._impl_.pubkeys_); - } - _this->_impl_.auth_ = from._impl_.auth_; - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.LocalAuth) -} - -inline void LocalAuth::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.id_){} - , decltype(_impl_.eap_id_){} - , decltype(_impl_.aaa_id_){} - , decltype(_impl_.xauth_id_){} - , decltype(_impl_.certs_){nullptr} - , decltype(_impl_.pubkeys_){nullptr} - , decltype(_impl_.auth_){0} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eap_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eap_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.aaa_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.aaa_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.xauth_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.xauth_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -LocalAuth::~LocalAuth() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.LocalAuth) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void LocalAuth::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.id_.Destroy(); - _impl_.eap_id_.Destroy(); - _impl_.aaa_id_.Destroy(); - _impl_.xauth_id_.Destroy(); - if (this != internal_default_instance()) delete _impl_.certs_; - if (this != internal_default_instance()) delete _impl_.pubkeys_; -} - -void LocalAuth::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void LocalAuth::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.LocalAuth) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.id_.ClearToEmpty(); - _impl_.eap_id_.ClearToEmpty(); - _impl_.aaa_id_.ClearToEmpty(); - _impl_.xauth_id_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && _impl_.certs_ != nullptr) { - delete _impl_.certs_; - } - _impl_.certs_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.pubkeys_ != nullptr) { - delete _impl_.pubkeys_; - } - _impl_.pubkeys_ = nullptr; - _impl_.auth_ = 0; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* LocalAuth::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .opi_api.security.v1.AuthType auth = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_set_auth(static_cast<::opi_api::security::v1::AuthType>(val)); - } else - goto handle_unusual; - continue; - // string id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.LocalAuth.id")); - } else - goto handle_unusual; - continue; - // string eap_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_eap_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.LocalAuth.eap_id")); - } else - goto handle_unusual; - continue; - // string aaa_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_aaa_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.LocalAuth.aaa_id")); - } else - goto handle_unusual; - continue; - // string xauth_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_xauth_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.LocalAuth.xauth_id")); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Certs certs = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_certs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.PubKeys pubkeys = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_pubkeys(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* LocalAuth::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.LocalAuth) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // .opi_api.security.v1.AuthType auth = 1; - if (this->_internal_auth() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_auth(), target); - } - - // string id = 2; - if (!this->_internal_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.LocalAuth.id"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_id(), target); - } - - // string eap_id = 3; - if (!this->_internal_eap_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_eap_id().data(), static_cast(this->_internal_eap_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.LocalAuth.eap_id"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_eap_id(), target); - } - - // string aaa_id = 4; - if (!this->_internal_aaa_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_aaa_id().data(), static_cast(this->_internal_aaa_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.LocalAuth.aaa_id"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_aaa_id(), target); - } - - // string xauth_id = 5; - if (!this->_internal_xauth_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_xauth_id().data(), static_cast(this->_internal_xauth_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.LocalAuth.xauth_id"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_xauth_id(), target); - } - - // .opi_api.security.v1.Certs certs = 6; - if (this->_internal_has_certs()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::certs(this), - _Internal::certs(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.PubKeys pubkeys = 7; - if (this->_internal_has_pubkeys()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::pubkeys(this), - _Internal::pubkeys(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.LocalAuth) - return target; -} - -size_t LocalAuth::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.LocalAuth) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string id = 2; - if (!this->_internal_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); - } - - // string eap_id = 3; - if (!this->_internal_eap_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_eap_id()); - } - - // string aaa_id = 4; - if (!this->_internal_aaa_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_aaa_id()); - } - - // string xauth_id = 5; - if (!this->_internal_xauth_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_xauth_id()); - } - - // .opi_api.security.v1.Certs certs = 6; - if (this->_internal_has_certs()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.certs_); - } - - // .opi_api.security.v1.PubKeys pubkeys = 7; - if (this->_internal_has_pubkeys()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pubkeys_); - } - - // .opi_api.security.v1.AuthType auth = 1; - if (this->_internal_auth() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_auth()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LocalAuth::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - LocalAuth::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LocalAuth::GetClassData() const { return &_class_data_; } - - -void LocalAuth::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.LocalAuth) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_id().empty()) { - _this->_internal_set_id(from._internal_id()); - } - if (!from._internal_eap_id().empty()) { - _this->_internal_set_eap_id(from._internal_eap_id()); - } - if (!from._internal_aaa_id().empty()) { - _this->_internal_set_aaa_id(from._internal_aaa_id()); - } - if (!from._internal_xauth_id().empty()) { - _this->_internal_set_xauth_id(from._internal_xauth_id()); - } - if (from._internal_has_certs()) { - _this->_internal_mutable_certs()->::opi_api::security::v1::Certs::MergeFrom( - from._internal_certs()); - } - if (from._internal_has_pubkeys()) { - _this->_internal_mutable_pubkeys()->::opi_api::security::v1::PubKeys::MergeFrom( - from._internal_pubkeys()); - } - if (from._internal_auth() != 0) { - _this->_internal_set_auth(from._internal_auth()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void LocalAuth::CopyFrom(const LocalAuth& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.LocalAuth) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LocalAuth::IsInitialized() const { - return true; -} - -void LocalAuth::InternalSwap(LocalAuth* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.id_, lhs_arena, - &other->_impl_.id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.eap_id_, lhs_arena, - &other->_impl_.eap_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.aaa_id_, lhs_arena, - &other->_impl_.aaa_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.xauth_id_, lhs_arena, - &other->_impl_.xauth_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(LocalAuth, _impl_.auth_) - + sizeof(LocalAuth::_impl_.auth_) - - PROTOBUF_FIELD_OFFSET(LocalAuth, _impl_.certs_)>( - reinterpret_cast(&_impl_.certs_), - reinterpret_cast(&other->_impl_.certs_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata LocalAuth::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[8]); -} - -// =================================================================== - -class RemoteAuth::_Internal { - public: - static const ::opi_api::security::v1::Groups& groups(const RemoteAuth* msg); - static const ::opi_api::security::v1::CertPolicy& cert_policy(const RemoteAuth* msg); - static const ::opi_api::security::v1::Certs& certs(const RemoteAuth* msg); - static const ::opi_api::security::v1::CaCerts& ca_certs(const RemoteAuth* msg); - static const ::opi_api::security::v1::PubKeys& pubkeys(const RemoteAuth* msg); -}; - -const ::opi_api::security::v1::Groups& -RemoteAuth::_Internal::groups(const RemoteAuth* msg) { - return *msg->_impl_.groups_; -} -const ::opi_api::security::v1::CertPolicy& -RemoteAuth::_Internal::cert_policy(const RemoteAuth* msg) { - return *msg->_impl_.cert_policy_; -} -const ::opi_api::security::v1::Certs& -RemoteAuth::_Internal::certs(const RemoteAuth* msg) { - return *msg->_impl_.certs_; -} -const ::opi_api::security::v1::CaCerts& -RemoteAuth::_Internal::ca_certs(const RemoteAuth* msg) { - return *msg->_impl_.ca_certs_; -} -const ::opi_api::security::v1::PubKeys& -RemoteAuth::_Internal::pubkeys(const RemoteAuth* msg) { - return *msg->_impl_.pubkeys_; -} -RemoteAuth::RemoteAuth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.RemoteAuth) -} -RemoteAuth::RemoteAuth(const RemoteAuth& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - RemoteAuth* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.id_){} - , decltype(_impl_.eap_id_){} - , decltype(_impl_.groups_){nullptr} - , decltype(_impl_.cert_policy_){nullptr} - , decltype(_impl_.certs_){nullptr} - , decltype(_impl_.ca_certs_){nullptr} - , decltype(_impl_.pubkeys_){nullptr} - , decltype(_impl_.auth_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - _this->_impl_.id_.Set(from._internal_id(), - _this->GetArenaForAllocation()); - } - _impl_.eap_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eap_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_eap_id().empty()) { - _this->_impl_.eap_id_.Set(from._internal_eap_id(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_groups()) { - _this->_impl_.groups_ = new ::opi_api::security::v1::Groups(*from._impl_.groups_); - } - if (from._internal_has_cert_policy()) { - _this->_impl_.cert_policy_ = new ::opi_api::security::v1::CertPolicy(*from._impl_.cert_policy_); - } - if (from._internal_has_certs()) { - _this->_impl_.certs_ = new ::opi_api::security::v1::Certs(*from._impl_.certs_); - } - if (from._internal_has_ca_certs()) { - _this->_impl_.ca_certs_ = new ::opi_api::security::v1::CaCerts(*from._impl_.ca_certs_); - } - if (from._internal_has_pubkeys()) { - _this->_impl_.pubkeys_ = new ::opi_api::security::v1::PubKeys(*from._impl_.pubkeys_); - } - _this->_impl_.auth_ = from._impl_.auth_; - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.RemoteAuth) -} - -inline void RemoteAuth::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.id_){} - , decltype(_impl_.eap_id_){} - , decltype(_impl_.groups_){nullptr} - , decltype(_impl_.cert_policy_){nullptr} - , decltype(_impl_.certs_){nullptr} - , decltype(_impl_.ca_certs_){nullptr} - , decltype(_impl_.pubkeys_){nullptr} - , decltype(_impl_.auth_){0} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eap_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eap_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -RemoteAuth::~RemoteAuth() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.RemoteAuth) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void RemoteAuth::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.id_.Destroy(); - _impl_.eap_id_.Destroy(); - if (this != internal_default_instance()) delete _impl_.groups_; - if (this != internal_default_instance()) delete _impl_.cert_policy_; - if (this != internal_default_instance()) delete _impl_.certs_; - if (this != internal_default_instance()) delete _impl_.ca_certs_; - if (this != internal_default_instance()) delete _impl_.pubkeys_; -} - -void RemoteAuth::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void RemoteAuth::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.RemoteAuth) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.id_.ClearToEmpty(); - _impl_.eap_id_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && _impl_.groups_ != nullptr) { - delete _impl_.groups_; - } - _impl_.groups_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.cert_policy_ != nullptr) { - delete _impl_.cert_policy_; - } - _impl_.cert_policy_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.certs_ != nullptr) { - delete _impl_.certs_; - } - _impl_.certs_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.ca_certs_ != nullptr) { - delete _impl_.ca_certs_; - } - _impl_.ca_certs_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.pubkeys_ != nullptr) { - delete _impl_.pubkeys_; - } - _impl_.pubkeys_ = nullptr; - _impl_.auth_ = 0; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* RemoteAuth::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .opi_api.security.v1.AuthType auth = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_set_auth(static_cast<::opi_api::security::v1::AuthType>(val)); - } else - goto handle_unusual; - continue; - // string id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.RemoteAuth.id")); - } else - goto handle_unusual; - continue; - // string eap_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_eap_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.RemoteAuth.eap_id")); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Groups groups = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_groups(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.CertPolicy cert_policy = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_cert_policy(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Certs certs = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_certs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.CaCerts ca_certs = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_ca_certs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.PubKeys pubkeys = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_pubkeys(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* RemoteAuth::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.RemoteAuth) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // .opi_api.security.v1.AuthType auth = 1; - if (this->_internal_auth() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_auth(), target); - } - - // string id = 2; - if (!this->_internal_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.RemoteAuth.id"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_id(), target); - } - - // string eap_id = 3; - if (!this->_internal_eap_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_eap_id().data(), static_cast(this->_internal_eap_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.RemoteAuth.eap_id"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_eap_id(), target); - } - - // .opi_api.security.v1.Groups groups = 4; - if (this->_internal_has_groups()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::groups(this), - _Internal::groups(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.CertPolicy cert_policy = 5; - if (this->_internal_has_cert_policy()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::cert_policy(this), - _Internal::cert_policy(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.Certs certs = 6; - if (this->_internal_has_certs()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::certs(this), - _Internal::certs(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.CaCerts ca_certs = 7; - if (this->_internal_has_ca_certs()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::ca_certs(this), - _Internal::ca_certs(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.PubKeys pubkeys = 8; - if (this->_internal_has_pubkeys()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::pubkeys(this), - _Internal::pubkeys(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.RemoteAuth) - return target; -} - -size_t RemoteAuth::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.RemoteAuth) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string id = 2; - if (!this->_internal_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); - } - - // string eap_id = 3; - if (!this->_internal_eap_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_eap_id()); - } - - // .opi_api.security.v1.Groups groups = 4; - if (this->_internal_has_groups()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.groups_); - } - - // .opi_api.security.v1.CertPolicy cert_policy = 5; - if (this->_internal_has_cert_policy()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_policy_); - } - - // .opi_api.security.v1.Certs certs = 6; - if (this->_internal_has_certs()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.certs_); - } - - // .opi_api.security.v1.CaCerts ca_certs = 7; - if (this->_internal_has_ca_certs()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ca_certs_); - } - - // .opi_api.security.v1.PubKeys pubkeys = 8; - if (this->_internal_has_pubkeys()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pubkeys_); - } - - // .opi_api.security.v1.AuthType auth = 1; - if (this->_internal_auth() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_auth()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RemoteAuth::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - RemoteAuth::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RemoteAuth::GetClassData() const { return &_class_data_; } - - -void RemoteAuth::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.RemoteAuth) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_id().empty()) { - _this->_internal_set_id(from._internal_id()); - } - if (!from._internal_eap_id().empty()) { - _this->_internal_set_eap_id(from._internal_eap_id()); - } - if (from._internal_has_groups()) { - _this->_internal_mutable_groups()->::opi_api::security::v1::Groups::MergeFrom( - from._internal_groups()); - } - if (from._internal_has_cert_policy()) { - _this->_internal_mutable_cert_policy()->::opi_api::security::v1::CertPolicy::MergeFrom( - from._internal_cert_policy()); - } - if (from._internal_has_certs()) { - _this->_internal_mutable_certs()->::opi_api::security::v1::Certs::MergeFrom( - from._internal_certs()); - } - if (from._internal_has_ca_certs()) { - _this->_internal_mutable_ca_certs()->::opi_api::security::v1::CaCerts::MergeFrom( - from._internal_ca_certs()); - } - if (from._internal_has_pubkeys()) { - _this->_internal_mutable_pubkeys()->::opi_api::security::v1::PubKeys::MergeFrom( - from._internal_pubkeys()); - } - if (from._internal_auth() != 0) { - _this->_internal_set_auth(from._internal_auth()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void RemoteAuth::CopyFrom(const RemoteAuth& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.RemoteAuth) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RemoteAuth::IsInitialized() const { - return true; -} - -void RemoteAuth::InternalSwap(RemoteAuth* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.id_, lhs_arena, - &other->_impl_.id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.eap_id_, lhs_arena, - &other->_impl_.eap_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(RemoteAuth, _impl_.auth_) - + sizeof(RemoteAuth::_impl_.auth_) - - PROTOBUF_FIELD_OFFSET(RemoteAuth, _impl_.groups_)>( - reinterpret_cast(&_impl_.groups_), - reinterpret_cast(&other->_impl_.groups_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata RemoteAuth::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[9]); -} - -// =================================================================== - -class TrafficSelectors_TrafficSelector::_Internal { - public: -}; - -TrafficSelectors_TrafficSelector::TrafficSelectors_TrafficSelector(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.TrafficSelectors.TrafficSelector) -} -TrafficSelectors_TrafficSelector::TrafficSelectors_TrafficSelector(const TrafficSelectors_TrafficSelector& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TrafficSelectors_TrafficSelector* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.cidr_){} - , decltype(_impl_.proto_){} - , decltype(_impl_.port_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.cidr_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cidr_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_cidr().empty()) { - _this->_impl_.cidr_.Set(from._internal_cidr(), - _this->GetArenaForAllocation()); - } - _impl_.proto_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.proto_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_proto().empty()) { - _this->_impl_.proto_.Set(from._internal_proto(), - _this->GetArenaForAllocation()); - } - _impl_.port_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.port_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_port().empty()) { - _this->_impl_.port_.Set(from._internal_port(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.TrafficSelectors.TrafficSelector) -} - -inline void TrafficSelectors_TrafficSelector::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.cidr_){} - , decltype(_impl_.proto_){} - , decltype(_impl_.port_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.cidr_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cidr_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.proto_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.proto_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.port_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.port_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -TrafficSelectors_TrafficSelector::~TrafficSelectors_TrafficSelector() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.TrafficSelectors.TrafficSelector) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TrafficSelectors_TrafficSelector::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cidr_.Destroy(); - _impl_.proto_.Destroy(); - _impl_.port_.Destroy(); -} - -void TrafficSelectors_TrafficSelector::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TrafficSelectors_TrafficSelector::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.TrafficSelectors.TrafficSelector) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.cidr_.ClearToEmpty(); - _impl_.proto_.ClearToEmpty(); - _impl_.port_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TrafficSelectors_TrafficSelector::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string cidr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_cidr(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.TrafficSelectors.TrafficSelector.cidr")); - } else - goto handle_unusual; - continue; - // string proto = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_proto(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.TrafficSelectors.TrafficSelector.proto")); - } else - goto handle_unusual; - continue; - // string port = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_port(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.TrafficSelectors.TrafficSelector.port")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TrafficSelectors_TrafficSelector::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.TrafficSelectors.TrafficSelector) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string cidr = 1; - if (!this->_internal_cidr().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_cidr().data(), static_cast(this->_internal_cidr().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.TrafficSelectors.TrafficSelector.cidr"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_cidr(), target); - } - - // string proto = 2; - if (!this->_internal_proto().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_proto().data(), static_cast(this->_internal_proto().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.TrafficSelectors.TrafficSelector.proto"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_proto(), target); - } - - // string port = 3; - if (!this->_internal_port().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_port().data(), static_cast(this->_internal_port().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.TrafficSelectors.TrafficSelector.port"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_port(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.TrafficSelectors.TrafficSelector) - return target; -} - -size_t TrafficSelectors_TrafficSelector::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.TrafficSelectors.TrafficSelector) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string cidr = 1; - if (!this->_internal_cidr().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cidr()); - } - - // string proto = 2; - if (!this->_internal_proto().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_proto()); - } - - // string port = 3; - if (!this->_internal_port().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_port()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TrafficSelectors_TrafficSelector::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TrafficSelectors_TrafficSelector::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TrafficSelectors_TrafficSelector::GetClassData() const { return &_class_data_; } - - -void TrafficSelectors_TrafficSelector::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.TrafficSelectors.TrafficSelector) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_cidr().empty()) { - _this->_internal_set_cidr(from._internal_cidr()); - } - if (!from._internal_proto().empty()) { - _this->_internal_set_proto(from._internal_proto()); - } - if (!from._internal_port().empty()) { - _this->_internal_set_port(from._internal_port()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TrafficSelectors_TrafficSelector::CopyFrom(const TrafficSelectors_TrafficSelector& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.TrafficSelectors.TrafficSelector) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TrafficSelectors_TrafficSelector::IsInitialized() const { - return true; -} - -void TrafficSelectors_TrafficSelector::InternalSwap(TrafficSelectors_TrafficSelector* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cidr_, lhs_arena, - &other->_impl_.cidr_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.proto_, lhs_arena, - &other->_impl_.proto_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.port_, lhs_arena, - &other->_impl_.port_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TrafficSelectors_TrafficSelector::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[10]); -} - -// =================================================================== - -class TrafficSelectors::_Internal { - public: -}; - -TrafficSelectors::TrafficSelectors(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.TrafficSelectors) -} -TrafficSelectors::TrafficSelectors(const TrafficSelectors& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TrafficSelectors* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.ts_){from._impl_.ts_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.TrafficSelectors) -} - -inline void TrafficSelectors::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.ts_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -TrafficSelectors::~TrafficSelectors() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.TrafficSelectors) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TrafficSelectors::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ts_.~RepeatedPtrField(); -} - -void TrafficSelectors::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TrafficSelectors::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.TrafficSelectors) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ts_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TrafficSelectors::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .opi_api.security.v1.TrafficSelectors.TrafficSelector ts = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_ts(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TrafficSelectors::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.TrafficSelectors) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .opi_api.security.v1.TrafficSelectors.TrafficSelector ts = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_ts_size()); i < n; i++) { - const auto& repfield = this->_internal_ts(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.TrafficSelectors) - return target; -} - -size_t TrafficSelectors::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.TrafficSelectors) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .opi_api.security.v1.TrafficSelectors.TrafficSelector ts = 1; - total_size += 1UL * this->_internal_ts_size(); - for (const auto& msg : this->_impl_.ts_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TrafficSelectors::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TrafficSelectors::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TrafficSelectors::GetClassData() const { return &_class_data_; } - - -void TrafficSelectors::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.TrafficSelectors) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ts_.MergeFrom(from._impl_.ts_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TrafficSelectors::CopyFrom(const TrafficSelectors& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.TrafficSelectors) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TrafficSelectors::IsInitialized() const { - return true; -} - -void TrafficSelectors::InternalSwap(TrafficSelectors* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.ts_.InternalSwap(&other->_impl_.ts_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TrafficSelectors::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[11]); -} - -// =================================================================== - -class Addrs::_Internal { - public: -}; - -Addrs::Addrs(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.Addrs) -} -Addrs::Addrs(const Addrs& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Addrs* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.addr_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.addr_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addr_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_addr().empty()) { - _this->_impl_.addr_.Set(from._internal_addr(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.Addrs) -} - -inline void Addrs::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.addr_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.addr_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addr_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -Addrs::~Addrs() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.Addrs) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Addrs::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.addr_.Destroy(); -} - -void Addrs::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Addrs::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.Addrs) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.addr_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Addrs::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string addr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_addr(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Addrs.addr")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Addrs::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.Addrs) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string addr = 1; - if (!this->_internal_addr().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_addr().data(), static_cast(this->_internal_addr().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Addrs.addr"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_addr(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.Addrs) - return target; -} - -size_t Addrs::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.Addrs) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string addr = 1; - if (!this->_internal_addr().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_addr()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Addrs::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Addrs::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Addrs::GetClassData() const { return &_class_data_; } - - -void Addrs::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.Addrs) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_addr().empty()) { - _this->_internal_set_addr(from._internal_addr()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Addrs::CopyFrom(const Addrs& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.Addrs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Addrs::IsInitialized() const { - return true; -} - -void Addrs::InternalSwap(Addrs* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.addr_, lhs_arena, - &other->_impl_.addr_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Addrs::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[12]); -} - -// =================================================================== - -class Child::_Internal { - public: - static const ::opi_api::security::v1::Proposals& ag_proposals(const Child* msg); - static const ::opi_api::security::v1::Proposals& esp_proposals(const Child* msg); - static const ::opi_api::security::v1::TrafficSelectors& local_ts(const Child* msg); - static const ::opi_api::security::v1::TrafficSelectors& remote_ts(const Child* msg); -}; - -const ::opi_api::security::v1::Proposals& -Child::_Internal::ag_proposals(const Child* msg) { - return *msg->_impl_.ag_proposals_; -} -const ::opi_api::security::v1::Proposals& -Child::_Internal::esp_proposals(const Child* msg) { - return *msg->_impl_.esp_proposals_; -} -const ::opi_api::security::v1::TrafficSelectors& -Child::_Internal::local_ts(const Child* msg) { - return *msg->_impl_.local_ts_; -} -const ::opi_api::security::v1::TrafficSelectors& -Child::_Internal::remote_ts(const Child* msg) { - return *msg->_impl_.remote_ts_; -} -Child::Child(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.Child) -} -Child::Child(const Child& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Child* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.name_){} - , decltype(_impl_.updown_){} - , decltype(_impl_.mark_in_sa_){} - , decltype(_impl_.hw_offload_){} - , decltype(_impl_.ag_proposals_){nullptr} - , decltype(_impl_.esp_proposals_){nullptr} - , decltype(_impl_.local_ts_){nullptr} - , decltype(_impl_.remote_ts_){nullptr} - , decltype(_impl_.rekey_time_){} - , decltype(_impl_.life_time_){} - , decltype(_impl_.rand_time_){} - , decltype(_impl_.inactivity_){} - , decltype(_impl_.mark_in_){} - , decltype(_impl_.mark_out_){} - , decltype(_impl_.set_mark_in_){} - , decltype(_impl_.set_mark_out_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.updown_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.updown_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_updown().empty()) { - _this->_impl_.updown_.Set(from._internal_updown(), - _this->GetArenaForAllocation()); - } - _impl_.mark_in_sa_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_in_sa_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_mark_in_sa().empty()) { - _this->_impl_.mark_in_sa_.Set(from._internal_mark_in_sa(), - _this->GetArenaForAllocation()); - } - _impl_.hw_offload_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hw_offload_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_hw_offload().empty()) { - _this->_impl_.hw_offload_.Set(from._internal_hw_offload(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_ag_proposals()) { - _this->_impl_.ag_proposals_ = new ::opi_api::security::v1::Proposals(*from._impl_.ag_proposals_); - } - if (from._internal_has_esp_proposals()) { - _this->_impl_.esp_proposals_ = new ::opi_api::security::v1::Proposals(*from._impl_.esp_proposals_); - } - if (from._internal_has_local_ts()) { - _this->_impl_.local_ts_ = new ::opi_api::security::v1::TrafficSelectors(*from._impl_.local_ts_); - } - if (from._internal_has_remote_ts()) { - _this->_impl_.remote_ts_ = new ::opi_api::security::v1::TrafficSelectors(*from._impl_.remote_ts_); - } - ::memcpy(&_impl_.rekey_time_, &from._impl_.rekey_time_, - static_cast(reinterpret_cast(&_impl_.set_mark_out_) - - reinterpret_cast(&_impl_.rekey_time_)) + sizeof(_impl_.set_mark_out_)); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.Child) -} - -inline void Child::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.name_){} - , decltype(_impl_.updown_){} - , decltype(_impl_.mark_in_sa_){} - , decltype(_impl_.hw_offload_){} - , decltype(_impl_.ag_proposals_){nullptr} - , decltype(_impl_.esp_proposals_){nullptr} - , decltype(_impl_.local_ts_){nullptr} - , decltype(_impl_.remote_ts_){nullptr} - , decltype(_impl_.rekey_time_){0u} - , decltype(_impl_.life_time_){0u} - , decltype(_impl_.rand_time_){0u} - , decltype(_impl_.inactivity_){0u} - , decltype(_impl_.mark_in_){0u} - , decltype(_impl_.mark_out_){0u} - , decltype(_impl_.set_mark_in_){0u} - , decltype(_impl_.set_mark_out_){0u} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.updown_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.updown_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_in_sa_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_in_sa_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hw_offload_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hw_offload_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -Child::~Child() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.Child) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Child::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.updown_.Destroy(); - _impl_.mark_in_sa_.Destroy(); - _impl_.hw_offload_.Destroy(); - if (this != internal_default_instance()) delete _impl_.ag_proposals_; - if (this != internal_default_instance()) delete _impl_.esp_proposals_; - if (this != internal_default_instance()) delete _impl_.local_ts_; - if (this != internal_default_instance()) delete _impl_.remote_ts_; -} - -void Child::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Child::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.Child) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.name_.ClearToEmpty(); - _impl_.updown_.ClearToEmpty(); - _impl_.mark_in_sa_.ClearToEmpty(); - _impl_.hw_offload_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && _impl_.ag_proposals_ != nullptr) { - delete _impl_.ag_proposals_; - } - _impl_.ag_proposals_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.esp_proposals_ != nullptr) { - delete _impl_.esp_proposals_; - } - _impl_.esp_proposals_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.local_ts_ != nullptr) { - delete _impl_.local_ts_; - } - _impl_.local_ts_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.remote_ts_ != nullptr) { - delete _impl_.remote_ts_; - } - _impl_.remote_ts_ = nullptr; - ::memset(&_impl_.rekey_time_, 0, static_cast( - reinterpret_cast(&_impl_.set_mark_out_) - - reinterpret_cast(&_impl_.rekey_time_)) + sizeof(_impl_.set_mark_out_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Child::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Child.name")); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Proposals ag_proposals = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_ag_proposals(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Proposals esp_proposals = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_esp_proposals(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.TrafficSelectors local_ts = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_local_ts(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.TrafficSelectors remote_ts = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_remote_ts(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 rekey_time = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _impl_.rekey_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 life_time = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _impl_.life_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 rand_time = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _impl_.rand_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string updown = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_updown(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Child.updown")); - } else - goto handle_unusual; - continue; - // uint32 inactivity = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _impl_.inactivity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 mark_in = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _impl_.mark_in_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string mark_in_sa = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_mark_in_sa(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Child.mark_in_sa")); - } else - goto handle_unusual; - continue; - // uint32 mark_out = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _impl_.mark_out_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 set_mark_in = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _impl_.set_mark_in_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 set_mark_out = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _impl_.set_mark_out_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string hw_offload = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_hw_offload(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Child.hw_offload")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Child::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.Child) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Child.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // .opi_api.security.v1.Proposals ag_proposals = 2; - if (this->_internal_has_ag_proposals()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::ag_proposals(this), - _Internal::ag_proposals(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.Proposals esp_proposals = 3; - if (this->_internal_has_esp_proposals()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::esp_proposals(this), - _Internal::esp_proposals(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.TrafficSelectors local_ts = 4; - if (this->_internal_has_local_ts()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::local_ts(this), - _Internal::local_ts(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.TrafficSelectors remote_ts = 5; - if (this->_internal_has_remote_ts()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::remote_ts(this), - _Internal::remote_ts(this).GetCachedSize(), target, stream); - } - - // uint32 rekey_time = 6; - if (this->_internal_rekey_time() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_rekey_time(), target); - } - - // uint32 life_time = 7; - if (this->_internal_life_time() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_life_time(), target); - } - - // uint32 rand_time = 8; - if (this->_internal_rand_time() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_rand_time(), target); - } - - // string updown = 9; - if (!this->_internal_updown().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_updown().data(), static_cast(this->_internal_updown().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Child.updown"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_updown(), target); - } - - // uint32 inactivity = 10; - if (this->_internal_inactivity() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_inactivity(), target); - } - - // uint32 mark_in = 11; - if (this->_internal_mark_in() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_mark_in(), target); - } - - // string mark_in_sa = 12; - if (!this->_internal_mark_in_sa().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_mark_in_sa().data(), static_cast(this->_internal_mark_in_sa().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Child.mark_in_sa"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_mark_in_sa(), target); - } - - // uint32 mark_out = 13; - if (this->_internal_mark_out() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_mark_out(), target); - } - - // uint32 set_mark_in = 14; - if (this->_internal_set_mark_in() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_set_mark_in(), target); - } - - // uint32 set_mark_out = 15; - if (this->_internal_set_mark_out() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_set_mark_out(), target); - } - - // string hw_offload = 16; - if (!this->_internal_hw_offload().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_hw_offload().data(), static_cast(this->_internal_hw_offload().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Child.hw_offload"); - target = stream->WriteStringMaybeAliased( - 16, this->_internal_hw_offload(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.Child) - return target; -} - -size_t Child::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.Child) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // string updown = 9; - if (!this->_internal_updown().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_updown()); - } - - // string mark_in_sa = 12; - if (!this->_internal_mark_in_sa().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_mark_in_sa()); - } - - // string hw_offload = 16; - if (!this->_internal_hw_offload().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_hw_offload()); - } - - // .opi_api.security.v1.Proposals ag_proposals = 2; - if (this->_internal_has_ag_proposals()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ag_proposals_); - } - - // .opi_api.security.v1.Proposals esp_proposals = 3; - if (this->_internal_has_esp_proposals()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.esp_proposals_); - } - - // .opi_api.security.v1.TrafficSelectors local_ts = 4; - if (this->_internal_has_local_ts()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.local_ts_); - } - - // .opi_api.security.v1.TrafficSelectors remote_ts = 5; - if (this->_internal_has_remote_ts()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.remote_ts_); - } - - // uint32 rekey_time = 6; - if (this->_internal_rekey_time() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rekey_time()); - } - - // uint32 life_time = 7; - if (this->_internal_life_time() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_life_time()); - } - - // uint32 rand_time = 8; - if (this->_internal_rand_time() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rand_time()); - } - - // uint32 inactivity = 10; - if (this->_internal_inactivity() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_inactivity()); - } - - // uint32 mark_in = 11; - if (this->_internal_mark_in() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mark_in()); - } - - // uint32 mark_out = 13; - if (this->_internal_mark_out() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mark_out()); - } - - // uint32 set_mark_in = 14; - if (this->_internal_set_mark_in() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_set_mark_in()); - } - - // uint32 set_mark_out = 15; - if (this->_internal_set_mark_out() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_set_mark_out()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Child::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Child::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Child::GetClassData() const { return &_class_data_; } - - -void Child::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.Child) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - if (!from._internal_updown().empty()) { - _this->_internal_set_updown(from._internal_updown()); - } - if (!from._internal_mark_in_sa().empty()) { - _this->_internal_set_mark_in_sa(from._internal_mark_in_sa()); - } - if (!from._internal_hw_offload().empty()) { - _this->_internal_set_hw_offload(from._internal_hw_offload()); - } - if (from._internal_has_ag_proposals()) { - _this->_internal_mutable_ag_proposals()->::opi_api::security::v1::Proposals::MergeFrom( - from._internal_ag_proposals()); - } - if (from._internal_has_esp_proposals()) { - _this->_internal_mutable_esp_proposals()->::opi_api::security::v1::Proposals::MergeFrom( - from._internal_esp_proposals()); - } - if (from._internal_has_local_ts()) { - _this->_internal_mutable_local_ts()->::opi_api::security::v1::TrafficSelectors::MergeFrom( - from._internal_local_ts()); - } - if (from._internal_has_remote_ts()) { - _this->_internal_mutable_remote_ts()->::opi_api::security::v1::TrafficSelectors::MergeFrom( - from._internal_remote_ts()); - } - if (from._internal_rekey_time() != 0) { - _this->_internal_set_rekey_time(from._internal_rekey_time()); - } - if (from._internal_life_time() != 0) { - _this->_internal_set_life_time(from._internal_life_time()); - } - if (from._internal_rand_time() != 0) { - _this->_internal_set_rand_time(from._internal_rand_time()); - } - if (from._internal_inactivity() != 0) { - _this->_internal_set_inactivity(from._internal_inactivity()); - } - if (from._internal_mark_in() != 0) { - _this->_internal_set_mark_in(from._internal_mark_in()); - } - if (from._internal_mark_out() != 0) { - _this->_internal_set_mark_out(from._internal_mark_out()); - } - if (from._internal_set_mark_in() != 0) { - _this->_internal_set_set_mark_in(from._internal_set_mark_in()); - } - if (from._internal_set_mark_out() != 0) { - _this->_internal_set_set_mark_out(from._internal_set_mark_out()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Child::CopyFrom(const Child& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.Child) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Child::IsInitialized() const { - return true; -} - -void Child::InternalSwap(Child* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.updown_, lhs_arena, - &other->_impl_.updown_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.mark_in_sa_, lhs_arena, - &other->_impl_.mark_in_sa_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.hw_offload_, lhs_arena, - &other->_impl_.hw_offload_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Child, _impl_.set_mark_out_) - + sizeof(Child::_impl_.set_mark_out_) - - PROTOBUF_FIELD_OFFSET(Child, _impl_.ag_proposals_)>( - reinterpret_cast(&_impl_.ag_proposals_), - reinterpret_cast(&other->_impl_.ag_proposals_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Child::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[13]); -} - -// =================================================================== - -class Connection::_Internal { - public: - static const ::opi_api::security::v1::Proposals& proposals(const Connection* msg); - static const ::opi_api::security::v1::Vips& vips(const Connection* msg); - static const ::opi_api::security::v1::Pools& pools(const Connection* msg); - static const ::opi_api::security::v1::LocalAuth& local_auth(const Connection* msg); - static const ::opi_api::security::v1::RemoteAuth& remote_auth(const Connection* msg); -}; - -const ::opi_api::security::v1::Proposals& -Connection::_Internal::proposals(const Connection* msg) { - return *msg->_impl_.proposals_; -} -const ::opi_api::security::v1::Vips& -Connection::_Internal::vips(const Connection* msg) { - return *msg->_impl_.vips_; -} -const ::opi_api::security::v1::Pools& -Connection::_Internal::pools(const Connection* msg) { - return *msg->_impl_.pools_; -} -const ::opi_api::security::v1::LocalAuth& -Connection::_Internal::local_auth(const Connection* msg) { - return *msg->_impl_.local_auth_; -} -const ::opi_api::security::v1::RemoteAuth& -Connection::_Internal::remote_auth(const Connection* msg) { - return *msg->_impl_.remote_auth_; -} -Connection::Connection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.Connection) -} -Connection::Connection(const Connection& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - Connection* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.local_addrs_){from._impl_.local_addrs_} - , decltype(_impl_.remote_addrs_){from._impl_.remote_addrs_} - , decltype(_impl_.children_){from._impl_.children_} - , decltype(_impl_.name_){} - , decltype(_impl_.version_){} - , decltype(_impl_.encap_){} - , decltype(_impl_.mobike_){} - , decltype(_impl_.proposals_){nullptr} - , decltype(_impl_.vips_){nullptr} - , decltype(_impl_.pools_){nullptr} - , decltype(_impl_.local_auth_){nullptr} - , decltype(_impl_.remote_auth_){nullptr} - , decltype(_impl_.local_port_){} - , decltype(_impl_.remote_port_){} - , decltype(_impl_.dscp_){} - , decltype(_impl_.dpd_delay_){} - , decltype(_impl_.dpd_timeout_){} - , decltype(_impl_.reauth_time_){} - , decltype(_impl_.rekey_time_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.version_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_version().empty()) { - _this->_impl_.version_.Set(from._internal_version(), - _this->GetArenaForAllocation()); - } - _impl_.encap_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encap_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_encap().empty()) { - _this->_impl_.encap_.Set(from._internal_encap(), - _this->GetArenaForAllocation()); - } - _impl_.mobike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mobike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_mobike().empty()) { - _this->_impl_.mobike_.Set(from._internal_mobike(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_proposals()) { - _this->_impl_.proposals_ = new ::opi_api::security::v1::Proposals(*from._impl_.proposals_); - } - if (from._internal_has_vips()) { - _this->_impl_.vips_ = new ::opi_api::security::v1::Vips(*from._impl_.vips_); - } - if (from._internal_has_pools()) { - _this->_impl_.pools_ = new ::opi_api::security::v1::Pools(*from._impl_.pools_); - } - if (from._internal_has_local_auth()) { - _this->_impl_.local_auth_ = new ::opi_api::security::v1::LocalAuth(*from._impl_.local_auth_); - } - if (from._internal_has_remote_auth()) { - _this->_impl_.remote_auth_ = new ::opi_api::security::v1::RemoteAuth(*from._impl_.remote_auth_); - } - ::memcpy(&_impl_.local_port_, &from._impl_.local_port_, - static_cast(reinterpret_cast(&_impl_.rekey_time_) - - reinterpret_cast(&_impl_.local_port_)) + sizeof(_impl_.rekey_time_)); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.Connection) -} - -inline void Connection::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.local_addrs_){arena} - , decltype(_impl_.remote_addrs_){arena} - , decltype(_impl_.children_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.version_){} - , decltype(_impl_.encap_){} - , decltype(_impl_.mobike_){} - , decltype(_impl_.proposals_){nullptr} - , decltype(_impl_.vips_){nullptr} - , decltype(_impl_.pools_){nullptr} - , decltype(_impl_.local_auth_){nullptr} - , decltype(_impl_.remote_auth_){nullptr} - , decltype(_impl_.local_port_){0u} - , decltype(_impl_.remote_port_){0u} - , decltype(_impl_.dscp_){uint64_t{0u}} - , decltype(_impl_.dpd_delay_){0u} - , decltype(_impl_.dpd_timeout_){0u} - , decltype(_impl_.reauth_time_){0u} - , decltype(_impl_.rekey_time_){0u} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encap_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encap_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mobike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mobike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -Connection::~Connection() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.Connection) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void Connection::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.local_addrs_.~RepeatedPtrField(); - _impl_.remote_addrs_.~RepeatedPtrField(); - _impl_.children_.~RepeatedPtrField(); - _impl_.name_.Destroy(); - _impl_.version_.Destroy(); - _impl_.encap_.Destroy(); - _impl_.mobike_.Destroy(); - if (this != internal_default_instance()) delete _impl_.proposals_; - if (this != internal_default_instance()) delete _impl_.vips_; - if (this != internal_default_instance()) delete _impl_.pools_; - if (this != internal_default_instance()) delete _impl_.local_auth_; - if (this != internal_default_instance()) delete _impl_.remote_auth_; -} - -void Connection::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void Connection::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.Connection) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.local_addrs_.Clear(); - _impl_.remote_addrs_.Clear(); - _impl_.children_.Clear(); - _impl_.name_.ClearToEmpty(); - _impl_.version_.ClearToEmpty(); - _impl_.encap_.ClearToEmpty(); - _impl_.mobike_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && _impl_.proposals_ != nullptr) { - delete _impl_.proposals_; - } - _impl_.proposals_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.vips_ != nullptr) { - delete _impl_.vips_; - } - _impl_.vips_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.pools_ != nullptr) { - delete _impl_.pools_; - } - _impl_.pools_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.local_auth_ != nullptr) { - delete _impl_.local_auth_; - } - _impl_.local_auth_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.remote_auth_ != nullptr) { - delete _impl_.remote_auth_; - } - _impl_.remote_auth_ = nullptr; - ::memset(&_impl_.local_port_, 0, static_cast( - reinterpret_cast(&_impl_.rekey_time_) - - reinterpret_cast(&_impl_.local_port_)) + sizeof(_impl_.rekey_time_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Connection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Connection.name")); - } else - goto handle_unusual; - continue; - // string version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_version(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Connection.version")); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.Addrs local_addrs = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_local_addrs(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.Addrs remote_addrs = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_remote_addrs(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // uint32 local_port = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _impl_.local_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 remote_port = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _impl_.remote_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Proposals proposals = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_proposals(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Vips vips = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_vips(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint64 dscp = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _impl_.dscp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string encap = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_encap(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Connection.encap")); - } else - goto handle_unusual; - continue; - // string mobike = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_mobike(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.Connection.mobike")); - } else - goto handle_unusual; - continue; - // uint32 dpd_delay = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _impl_.dpd_delay_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 dpd_timeout = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _impl_.dpd_timeout_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 reauth_time = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _impl_.reauth_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 rekey_time = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _impl_.rekey_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Pools pools = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - ptr = ctx->ParseMessage(_internal_mutable_pools(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.LocalAuth local_auth = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - ptr = ctx->ParseMessage(_internal_mutable_local_auth(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.RemoteAuth remote_auth = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - ptr = ctx->ParseMessage(_internal_mutable_remote_auth(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.Child children = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_children(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<154>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* Connection::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.Connection) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Connection.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // string version = 2; - if (!this->_internal_version().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_version().data(), static_cast(this->_internal_version().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Connection.version"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_version(), target); - } - - // repeated .opi_api.security.v1.Addrs local_addrs = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_local_addrs_size()); i < n; i++) { - const auto& repfield = this->_internal_local_addrs(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .opi_api.security.v1.Addrs remote_addrs = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_remote_addrs_size()); i < n; i++) { - const auto& repfield = this->_internal_remote_addrs(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // uint32 local_port = 5; - if (this->_internal_local_port() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_local_port(), target); - } - - // uint32 remote_port = 6; - if (this->_internal_remote_port() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_remote_port(), target); - } - - // .opi_api.security.v1.Proposals proposals = 7; - if (this->_internal_has_proposals()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::proposals(this), - _Internal::proposals(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.Vips vips = 8; - if (this->_internal_has_vips()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::vips(this), - _Internal::vips(this).GetCachedSize(), target, stream); - } - - // uint64 dscp = 9; - if (this->_internal_dscp() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_dscp(), target); - } - - // string encap = 10; - if (!this->_internal_encap().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_encap().data(), static_cast(this->_internal_encap().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Connection.encap"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_encap(), target); - } - - // string mobike = 11; - if (!this->_internal_mobike().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_mobike().data(), static_cast(this->_internal_mobike().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.Connection.mobike"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_mobike(), target); - } - - // uint32 dpd_delay = 12; - if (this->_internal_dpd_delay() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_dpd_delay(), target); - } - - // uint32 dpd_timeout = 13; - if (this->_internal_dpd_timeout() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_dpd_timeout(), target); - } - - // uint32 reauth_time = 14; - if (this->_internal_reauth_time() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_reauth_time(), target); - } - - // uint32 rekey_time = 15; - if (this->_internal_rekey_time() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_rekey_time(), target); - } - - // .opi_api.security.v1.Pools pools = 16; - if (this->_internal_has_pools()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(16, _Internal::pools(this), - _Internal::pools(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.LocalAuth local_auth = 17; - if (this->_internal_has_local_auth()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(17, _Internal::local_auth(this), - _Internal::local_auth(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.RemoteAuth remote_auth = 18; - if (this->_internal_has_remote_auth()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(18, _Internal::remote_auth(this), - _Internal::remote_auth(this).GetCachedSize(), target, stream); - } - - // repeated .opi_api.security.v1.Child children = 19; - for (unsigned i = 0, - n = static_cast(this->_internal_children_size()); i < n; i++) { - const auto& repfield = this->_internal_children(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(19, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.Connection) - return target; -} - -size_t Connection::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.Connection) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .opi_api.security.v1.Addrs local_addrs = 3; - total_size += 1UL * this->_internal_local_addrs_size(); - for (const auto& msg : this->_impl_.local_addrs_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .opi_api.security.v1.Addrs remote_addrs = 4; - total_size += 1UL * this->_internal_remote_addrs_size(); - for (const auto& msg : this->_impl_.remote_addrs_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .opi_api.security.v1.Child children = 19; - total_size += 2UL * this->_internal_children_size(); - for (const auto& msg : this->_impl_.children_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // string version = 2; - if (!this->_internal_version().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_version()); - } - - // string encap = 10; - if (!this->_internal_encap().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_encap()); - } - - // string mobike = 11; - if (!this->_internal_mobike().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_mobike()); - } - - // .opi_api.security.v1.Proposals proposals = 7; - if (this->_internal_has_proposals()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.proposals_); - } - - // .opi_api.security.v1.Vips vips = 8; - if (this->_internal_has_vips()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.vips_); - } - - // .opi_api.security.v1.Pools pools = 16; - if (this->_internal_has_pools()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pools_); - } - - // .opi_api.security.v1.LocalAuth local_auth = 17; - if (this->_internal_has_local_auth()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.local_auth_); - } - - // .opi_api.security.v1.RemoteAuth remote_auth = 18; - if (this->_internal_has_remote_auth()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.remote_auth_); - } - - // uint32 local_port = 5; - if (this->_internal_local_port() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_local_port()); - } - - // uint32 remote_port = 6; - if (this->_internal_remote_port() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_remote_port()); - } - - // uint64 dscp = 9; - if (this->_internal_dscp() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dscp()); - } - - // uint32 dpd_delay = 12; - if (this->_internal_dpd_delay() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dpd_delay()); - } - - // uint32 dpd_timeout = 13; - if (this->_internal_dpd_timeout() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dpd_timeout()); - } - - // uint32 reauth_time = 14; - if (this->_internal_reauth_time() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reauth_time()); - } - - // uint32 rekey_time = 15; - if (this->_internal_rekey_time() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rekey_time()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Connection::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - Connection::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Connection::GetClassData() const { return &_class_data_; } - - -void Connection::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.Connection) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.local_addrs_.MergeFrom(from._impl_.local_addrs_); - _this->_impl_.remote_addrs_.MergeFrom(from._impl_.remote_addrs_); - _this->_impl_.children_.MergeFrom(from._impl_.children_); - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - if (!from._internal_version().empty()) { - _this->_internal_set_version(from._internal_version()); - } - if (!from._internal_encap().empty()) { - _this->_internal_set_encap(from._internal_encap()); - } - if (!from._internal_mobike().empty()) { - _this->_internal_set_mobike(from._internal_mobike()); - } - if (from._internal_has_proposals()) { - _this->_internal_mutable_proposals()->::opi_api::security::v1::Proposals::MergeFrom( - from._internal_proposals()); - } - if (from._internal_has_vips()) { - _this->_internal_mutable_vips()->::opi_api::security::v1::Vips::MergeFrom( - from._internal_vips()); - } - if (from._internal_has_pools()) { - _this->_internal_mutable_pools()->::opi_api::security::v1::Pools::MergeFrom( - from._internal_pools()); - } - if (from._internal_has_local_auth()) { - _this->_internal_mutable_local_auth()->::opi_api::security::v1::LocalAuth::MergeFrom( - from._internal_local_auth()); - } - if (from._internal_has_remote_auth()) { - _this->_internal_mutable_remote_auth()->::opi_api::security::v1::RemoteAuth::MergeFrom( - from._internal_remote_auth()); - } - if (from._internal_local_port() != 0) { - _this->_internal_set_local_port(from._internal_local_port()); - } - if (from._internal_remote_port() != 0) { - _this->_internal_set_remote_port(from._internal_remote_port()); - } - if (from._internal_dscp() != 0) { - _this->_internal_set_dscp(from._internal_dscp()); - } - if (from._internal_dpd_delay() != 0) { - _this->_internal_set_dpd_delay(from._internal_dpd_delay()); - } - if (from._internal_dpd_timeout() != 0) { - _this->_internal_set_dpd_timeout(from._internal_dpd_timeout()); - } - if (from._internal_reauth_time() != 0) { - _this->_internal_set_reauth_time(from._internal_reauth_time()); - } - if (from._internal_rekey_time() != 0) { - _this->_internal_set_rekey_time(from._internal_rekey_time()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void Connection::CopyFrom(const Connection& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.Connection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Connection::IsInitialized() const { - return true; -} - -void Connection::InternalSwap(Connection* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.local_addrs_.InternalSwap(&other->_impl_.local_addrs_); - _impl_.remote_addrs_.InternalSwap(&other->_impl_.remote_addrs_); - _impl_.children_.InternalSwap(&other->_impl_.children_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.version_, lhs_arena, - &other->_impl_.version_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encap_, lhs_arena, - &other->_impl_.encap_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.mobike_, lhs_arena, - &other->_impl_.mobike_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Connection, _impl_.rekey_time_) - + sizeof(Connection::_impl_.rekey_time_) - - PROTOBUF_FIELD_OFFSET(Connection, _impl_.proposals_)>( - reinterpret_cast(&_impl_.proposals_), - reinterpret_cast(&other->_impl_.proposals_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata Connection::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[14]); -} - -// =================================================================== - -class IPsecVersionRequest::_Internal { - public: -}; - -IPsecVersionRequest::IPsecVersionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecVersionRequest) -} -IPsecVersionRequest::IPsecVersionRequest(const IPsecVersionRequest& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - IPsecVersionRequest* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecVersionRequest) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecVersionRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecVersionRequest::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecVersionRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[15]); -} - -// =================================================================== - -class IPsecVersionResponse::_Internal { - public: -}; - -IPsecVersionResponse::IPsecVersionResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecVersionResponse) -} -IPsecVersionResponse::IPsecVersionResponse(const IPsecVersionResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecVersionResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.daemon_){} - , decltype(_impl_.version_){} - , decltype(_impl_.sysname_){} - , decltype(_impl_.release_){} - , decltype(_impl_.machine_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.daemon_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.daemon_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_daemon().empty()) { - _this->_impl_.daemon_.Set(from._internal_daemon(), - _this->GetArenaForAllocation()); - } - _impl_.version_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_version().empty()) { - _this->_impl_.version_.Set(from._internal_version(), - _this->GetArenaForAllocation()); - } - _impl_.sysname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sysname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_sysname().empty()) { - _this->_impl_.sysname_.Set(from._internal_sysname(), - _this->GetArenaForAllocation()); - } - _impl_.release_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.release_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_release().empty()) { - _this->_impl_.release_.Set(from._internal_release(), - _this->GetArenaForAllocation()); - } - _impl_.machine_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.machine_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_machine().empty()) { - _this->_impl_.machine_.Set(from._internal_machine(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecVersionResponse) -} - -inline void IPsecVersionResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.daemon_){} - , decltype(_impl_.version_){} - , decltype(_impl_.sysname_){} - , decltype(_impl_.release_){} - , decltype(_impl_.machine_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.daemon_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.daemon_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sysname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sysname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.release_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.release_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.machine_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.machine_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecVersionResponse::~IPsecVersionResponse() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecVersionResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecVersionResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.daemon_.Destroy(); - _impl_.version_.Destroy(); - _impl_.sysname_.Destroy(); - _impl_.release_.Destroy(); - _impl_.machine_.Destroy(); -} - -void IPsecVersionResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecVersionResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecVersionResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.daemon_.ClearToEmpty(); - _impl_.version_.ClearToEmpty(); - _impl_.sysname_.ClearToEmpty(); - _impl_.release_.ClearToEmpty(); - _impl_.machine_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecVersionResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string daemon = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_daemon(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecVersionResponse.daemon")); - } else - goto handle_unusual; - continue; - // string version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_version(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecVersionResponse.version")); - } else - goto handle_unusual; - continue; - // string sysname = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_sysname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecVersionResponse.sysname")); - } else - goto handle_unusual; - continue; - // string release = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_release(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecVersionResponse.release")); - } else - goto handle_unusual; - continue; - // string machine = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_machine(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecVersionResponse.machine")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecVersionResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecVersionResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string daemon = 1; - if (!this->_internal_daemon().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_daemon().data(), static_cast(this->_internal_daemon().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecVersionResponse.daemon"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_daemon(), target); - } - - // string version = 2; - if (!this->_internal_version().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_version().data(), static_cast(this->_internal_version().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecVersionResponse.version"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_version(), target); - } - - // string sysname = 3; - if (!this->_internal_sysname().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_sysname().data(), static_cast(this->_internal_sysname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecVersionResponse.sysname"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_sysname(), target); - } - - // string release = 4; - if (!this->_internal_release().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_release().data(), static_cast(this->_internal_release().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecVersionResponse.release"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_release(), target); - } - - // string machine = 5; - if (!this->_internal_machine().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_machine().data(), static_cast(this->_internal_machine().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecVersionResponse.machine"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_machine(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecVersionResponse) - return target; -} - -size_t IPsecVersionResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecVersionResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string daemon = 1; - if (!this->_internal_daemon().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_daemon()); - } - - // string version = 2; - if (!this->_internal_version().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_version()); - } - - // string sysname = 3; - if (!this->_internal_sysname().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sysname()); - } - - // string release = 4; - if (!this->_internal_release().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_release()); - } - - // string machine = 5; - if (!this->_internal_machine().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_machine()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecVersionResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecVersionResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecVersionResponse::GetClassData() const { return &_class_data_; } - - -void IPsecVersionResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecVersionResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_daemon().empty()) { - _this->_internal_set_daemon(from._internal_daemon()); - } - if (!from._internal_version().empty()) { - _this->_internal_set_version(from._internal_version()); - } - if (!from._internal_sysname().empty()) { - _this->_internal_set_sysname(from._internal_sysname()); - } - if (!from._internal_release().empty()) { - _this->_internal_set_release(from._internal_release()); - } - if (!from._internal_machine().empty()) { - _this->_internal_set_machine(from._internal_machine()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecVersionResponse::CopyFrom(const IPsecVersionResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecVersionResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecVersionResponse::IsInitialized() const { - return true; -} - -void IPsecVersionResponse::InternalSwap(IPsecVersionResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.daemon_, lhs_arena, - &other->_impl_.daemon_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.version_, lhs_arena, - &other->_impl_.version_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sysname_, lhs_arena, - &other->_impl_.sysname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.release_, lhs_arena, - &other->_impl_.release_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.machine_, lhs_arena, - &other->_impl_.machine_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecVersionResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[16]); -} - -// =================================================================== - -class IPsecStatsRequest::_Internal { - public: -}; - -IPsecStatsRequest::IPsecStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecStatsRequest) -} -IPsecStatsRequest::IPsecStatsRequest(const IPsecStatsRequest& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - IPsecStatsRequest* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecStatsRequest) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecStatsRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecStatsRequest::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecStatsRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[17]); -} - -// =================================================================== - -class IPsecStatsResponse::_Internal { - public: -}; - -IPsecStatsResponse::IPsecStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecStatsResponse) -} -IPsecStatsResponse::IPsecStatsResponse(const IPsecStatsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecStatsResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.status_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.status_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.status_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_status().empty()) { - _this->_impl_.status_.Set(from._internal_status(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecStatsResponse) -} - -inline void IPsecStatsResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.status_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.status_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.status_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecStatsResponse::~IPsecStatsResponse() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecStatsResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecStatsResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.status_.Destroy(); -} - -void IPsecStatsResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecStatsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecStatsResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.status_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecStatsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string status = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_status(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecStatsResponse.status")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecStatsResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecStatsResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string status = 1; - if (!this->_internal_status().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_status().data(), static_cast(this->_internal_status().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecStatsResponse.status"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_status(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecStatsResponse) - return target; -} - -size_t IPsecStatsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecStatsResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string status = 1; - if (!this->_internal_status().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecStatsResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecStatsResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecStatsResponse::GetClassData() const { return &_class_data_; } - - -void IPsecStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecStatsResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_status().empty()) { - _this->_internal_set_status(from._internal_status()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecStatsResponse::CopyFrom(const IPsecStatsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecStatsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecStatsResponse::IsInitialized() const { - return true; -} - -void IPsecStatsResponse::InternalSwap(IPsecStatsResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.status_, lhs_arena, - &other->_impl_.status_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecStatsResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[18]); -} - -// =================================================================== - -class IPsecInitiateRequest::_Internal { - public: -}; - -IPsecInitiateRequest::IPsecInitiateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecInitiateRequest) -} -IPsecInitiateRequest::IPsecInitiateRequest(const IPsecInitiateRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecInitiateRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.child_){} - , decltype(_impl_.ike_){} - , decltype(_impl_.timeout_){} - , decltype(_impl_.loglevel_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.child_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.child_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_child().empty()) { - _this->_impl_.child_.Set(from._internal_child(), - _this->GetArenaForAllocation()); - } - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_ike().empty()) { - _this->_impl_.ike_.Set(from._internal_ike(), - _this->GetArenaForAllocation()); - } - _impl_.timeout_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.timeout_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_timeout().empty()) { - _this->_impl_.timeout_.Set(from._internal_timeout(), - _this->GetArenaForAllocation()); - } - _impl_.loglevel_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.loglevel_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_loglevel().empty()) { - _this->_impl_.loglevel_.Set(from._internal_loglevel(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecInitiateRequest) -} - -inline void IPsecInitiateRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.child_){} - , decltype(_impl_.ike_){} - , decltype(_impl_.timeout_){} - , decltype(_impl_.loglevel_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.child_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.child_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.timeout_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.timeout_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.loglevel_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.loglevel_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecInitiateRequest::~IPsecInitiateRequest() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecInitiateRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecInitiateRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.child_.Destroy(); - _impl_.ike_.Destroy(); - _impl_.timeout_.Destroy(); - _impl_.loglevel_.Destroy(); -} - -void IPsecInitiateRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecInitiateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecInitiateRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.child_.ClearToEmpty(); - _impl_.ike_.ClearToEmpty(); - _impl_.timeout_.ClearToEmpty(); - _impl_.loglevel_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecInitiateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string child = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_child(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecInitiateRequest.child")); - } else - goto handle_unusual; - continue; - // string ike = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_ike(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecInitiateRequest.ike")); - } else - goto handle_unusual; - continue; - // string timeout = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_timeout(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecInitiateRequest.timeout")); - } else - goto handle_unusual; - continue; - // string loglevel = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_loglevel(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecInitiateRequest.loglevel")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecInitiateRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecInitiateRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string child = 1; - if (!this->_internal_child().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_child().data(), static_cast(this->_internal_child().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecInitiateRequest.child"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_child(), target); - } - - // string ike = 2; - if (!this->_internal_ike().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_ike().data(), static_cast(this->_internal_ike().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecInitiateRequest.ike"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_ike(), target); - } - - // string timeout = 3; - if (!this->_internal_timeout().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_timeout().data(), static_cast(this->_internal_timeout().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecInitiateRequest.timeout"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_timeout(), target); - } - - // string loglevel = 4; - if (!this->_internal_loglevel().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_loglevel().data(), static_cast(this->_internal_loglevel().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecInitiateRequest.loglevel"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_loglevel(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecInitiateRequest) - return target; -} - -size_t IPsecInitiateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecInitiateRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string child = 1; - if (!this->_internal_child().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_child()); - } - - // string ike = 2; - if (!this->_internal_ike().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ike()); - } - - // string timeout = 3; - if (!this->_internal_timeout().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_timeout()); - } - - // string loglevel = 4; - if (!this->_internal_loglevel().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_loglevel()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecInitiateRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecInitiateRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecInitiateRequest::GetClassData() const { return &_class_data_; } - - -void IPsecInitiateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecInitiateRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_child().empty()) { - _this->_internal_set_child(from._internal_child()); - } - if (!from._internal_ike().empty()) { - _this->_internal_set_ike(from._internal_ike()); - } - if (!from._internal_timeout().empty()) { - _this->_internal_set_timeout(from._internal_timeout()); - } - if (!from._internal_loglevel().empty()) { - _this->_internal_set_loglevel(from._internal_loglevel()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecInitiateRequest::CopyFrom(const IPsecInitiateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecInitiateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecInitiateRequest::IsInitialized() const { - return true; -} - -void IPsecInitiateRequest::InternalSwap(IPsecInitiateRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.child_, lhs_arena, - &other->_impl_.child_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ike_, lhs_arena, - &other->_impl_.ike_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.timeout_, lhs_arena, - &other->_impl_.timeout_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.loglevel_, lhs_arena, - &other->_impl_.loglevel_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecInitiateRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[19]); -} - -// =================================================================== - -class IPsecInitiateResponse::_Internal { - public: -}; - -IPsecInitiateResponse::IPsecInitiateResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecInitiateResponse) -} -IPsecInitiateResponse::IPsecInitiateResponse(const IPsecInitiateResponse& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - IPsecInitiateResponse* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecInitiateResponse) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecInitiateResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecInitiateResponse::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecInitiateResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[20]); -} - -// =================================================================== - -class IPsecTerminateRequest::_Internal { - public: -}; - -IPsecTerminateRequest::IPsecTerminateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecTerminateRequest) -} -IPsecTerminateRequest::IPsecTerminateRequest(const IPsecTerminateRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecTerminateRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.child_){} - , decltype(_impl_.ike_){} - , decltype(_impl_.force_){} - , decltype(_impl_.timeout_){} - , decltype(_impl_.loglevel_){} - , decltype(_impl_.child_id_){} - , decltype(_impl_.ike_id_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.child_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.child_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_child().empty()) { - _this->_impl_.child_.Set(from._internal_child(), - _this->GetArenaForAllocation()); - } - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_ike().empty()) { - _this->_impl_.ike_.Set(from._internal_ike(), - _this->GetArenaForAllocation()); - } - _impl_.force_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.force_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_force().empty()) { - _this->_impl_.force_.Set(from._internal_force(), - _this->GetArenaForAllocation()); - } - _impl_.timeout_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.timeout_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_timeout().empty()) { - _this->_impl_.timeout_.Set(from._internal_timeout(), - _this->GetArenaForAllocation()); - } - _impl_.loglevel_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.loglevel_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_loglevel().empty()) { - _this->_impl_.loglevel_.Set(from._internal_loglevel(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.child_id_, &from._impl_.child_id_, - static_cast(reinterpret_cast(&_impl_.ike_id_) - - reinterpret_cast(&_impl_.child_id_)) + sizeof(_impl_.ike_id_)); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecTerminateRequest) -} - -inline void IPsecTerminateRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.child_){} - , decltype(_impl_.ike_){} - , decltype(_impl_.force_){} - , decltype(_impl_.timeout_){} - , decltype(_impl_.loglevel_){} - , decltype(_impl_.child_id_){uint64_t{0u}} - , decltype(_impl_.ike_id_){uint64_t{0u}} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.child_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.child_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.force_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.force_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.timeout_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.timeout_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.loglevel_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.loglevel_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecTerminateRequest::~IPsecTerminateRequest() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecTerminateRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecTerminateRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.child_.Destroy(); - _impl_.ike_.Destroy(); - _impl_.force_.Destroy(); - _impl_.timeout_.Destroy(); - _impl_.loglevel_.Destroy(); -} - -void IPsecTerminateRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecTerminateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecTerminateRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.child_.ClearToEmpty(); - _impl_.ike_.ClearToEmpty(); - _impl_.force_.ClearToEmpty(); - _impl_.timeout_.ClearToEmpty(); - _impl_.loglevel_.ClearToEmpty(); - ::memset(&_impl_.child_id_, 0, static_cast( - reinterpret_cast(&_impl_.ike_id_) - - reinterpret_cast(&_impl_.child_id_)) + sizeof(_impl_.ike_id_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecTerminateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string child = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_child(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecTerminateRequest.child")); - } else - goto handle_unusual; - continue; - // string ike = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_ike(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecTerminateRequest.ike")); - } else - goto handle_unusual; - continue; - // uint64 child_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _impl_.child_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint64 ike_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _impl_.ike_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string force = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_force(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecTerminateRequest.force")); - } else - goto handle_unusual; - continue; - // string timeout = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_timeout(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecTerminateRequest.timeout")); - } else - goto handle_unusual; - continue; - // string loglevel = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_loglevel(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecTerminateRequest.loglevel")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecTerminateRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecTerminateRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string child = 1; - if (!this->_internal_child().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_child().data(), static_cast(this->_internal_child().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecTerminateRequest.child"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_child(), target); - } - - // string ike = 2; - if (!this->_internal_ike().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_ike().data(), static_cast(this->_internal_ike().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecTerminateRequest.ike"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_ike(), target); - } - - // uint64 child_id = 3; - if (this->_internal_child_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_child_id(), target); - } - - // uint64 ike_id = 4; - if (this->_internal_ike_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_ike_id(), target); - } - - // string force = 5; - if (!this->_internal_force().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_force().data(), static_cast(this->_internal_force().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecTerminateRequest.force"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_force(), target); - } - - // string timeout = 6; - if (!this->_internal_timeout().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_timeout().data(), static_cast(this->_internal_timeout().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecTerminateRequest.timeout"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_timeout(), target); - } - - // string loglevel = 7; - if (!this->_internal_loglevel().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_loglevel().data(), static_cast(this->_internal_loglevel().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecTerminateRequest.loglevel"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_loglevel(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecTerminateRequest) - return target; -} - -size_t IPsecTerminateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecTerminateRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string child = 1; - if (!this->_internal_child().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_child()); - } - - // string ike = 2; - if (!this->_internal_ike().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ike()); - } - - // string force = 5; - if (!this->_internal_force().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_force()); - } - - // string timeout = 6; - if (!this->_internal_timeout().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_timeout()); - } - - // string loglevel = 7; - if (!this->_internal_loglevel().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_loglevel()); - } - - // uint64 child_id = 3; - if (this->_internal_child_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_child_id()); - } - - // uint64 ike_id = 4; - if (this->_internal_ike_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ike_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecTerminateRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecTerminateRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecTerminateRequest::GetClassData() const { return &_class_data_; } - - -void IPsecTerminateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecTerminateRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_child().empty()) { - _this->_internal_set_child(from._internal_child()); - } - if (!from._internal_ike().empty()) { - _this->_internal_set_ike(from._internal_ike()); - } - if (!from._internal_force().empty()) { - _this->_internal_set_force(from._internal_force()); - } - if (!from._internal_timeout().empty()) { - _this->_internal_set_timeout(from._internal_timeout()); - } - if (!from._internal_loglevel().empty()) { - _this->_internal_set_loglevel(from._internal_loglevel()); - } - if (from._internal_child_id() != 0) { - _this->_internal_set_child_id(from._internal_child_id()); - } - if (from._internal_ike_id() != 0) { - _this->_internal_set_ike_id(from._internal_ike_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecTerminateRequest::CopyFrom(const IPsecTerminateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecTerminateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecTerminateRequest::IsInitialized() const { - return true; -} - -void IPsecTerminateRequest::InternalSwap(IPsecTerminateRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.child_, lhs_arena, - &other->_impl_.child_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ike_, lhs_arena, - &other->_impl_.ike_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.force_, lhs_arena, - &other->_impl_.force_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.timeout_, lhs_arena, - &other->_impl_.timeout_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.loglevel_, lhs_arena, - &other->_impl_.loglevel_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IPsecTerminateRequest, _impl_.ike_id_) - + sizeof(IPsecTerminateRequest::_impl_.ike_id_) - - PROTOBUF_FIELD_OFFSET(IPsecTerminateRequest, _impl_.child_id_)>( - reinterpret_cast(&_impl_.child_id_), - reinterpret_cast(&other->_impl_.child_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecTerminateRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[21]); -} - -// =================================================================== - -class IPsecTerminateResponse::_Internal { - public: -}; - -IPsecTerminateResponse::IPsecTerminateResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecTerminateResponse) -} -IPsecTerminateResponse::IPsecTerminateResponse(const IPsecTerminateResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecTerminateResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.success_){} - , decltype(_impl_.matches_){} - , decltype(_impl_.terminated_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.success_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.success_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_success().empty()) { - _this->_impl_.success_.Set(from._internal_success(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.matches_, &from._impl_.matches_, - static_cast(reinterpret_cast(&_impl_.terminated_) - - reinterpret_cast(&_impl_.matches_)) + sizeof(_impl_.terminated_)); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecTerminateResponse) -} - -inline void IPsecTerminateResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.success_){} - , decltype(_impl_.matches_){0u} - , decltype(_impl_.terminated_){0u} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.success_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.success_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecTerminateResponse::~IPsecTerminateResponse() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecTerminateResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecTerminateResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.success_.Destroy(); -} - -void IPsecTerminateResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecTerminateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecTerminateResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.success_.ClearToEmpty(); - ::memset(&_impl_.matches_, 0, static_cast( - reinterpret_cast(&_impl_.terminated_) - - reinterpret_cast(&_impl_.matches_)) + sizeof(_impl_.terminated_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecTerminateResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string success = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_success(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecTerminateResponse.success")); - } else - goto handle_unusual; - continue; - // uint32 matches = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _impl_.matches_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 terminated = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _impl_.terminated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecTerminateResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecTerminateResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string success = 1; - if (!this->_internal_success().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_success().data(), static_cast(this->_internal_success().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecTerminateResponse.success"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_success(), target); - } - - // uint32 matches = 2; - if (this->_internal_matches() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_matches(), target); - } - - // uint32 terminated = 3; - if (this->_internal_terminated() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_terminated(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecTerminateResponse) - return target; -} - -size_t IPsecTerminateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecTerminateResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string success = 1; - if (!this->_internal_success().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_success()); - } - - // uint32 matches = 2; - if (this->_internal_matches() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_matches()); - } - - // uint32 terminated = 3; - if (this->_internal_terminated() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_terminated()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecTerminateResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecTerminateResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecTerminateResponse::GetClassData() const { return &_class_data_; } - - -void IPsecTerminateResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecTerminateResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_success().empty()) { - _this->_internal_set_success(from._internal_success()); - } - if (from._internal_matches() != 0) { - _this->_internal_set_matches(from._internal_matches()); - } - if (from._internal_terminated() != 0) { - _this->_internal_set_terminated(from._internal_terminated()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecTerminateResponse::CopyFrom(const IPsecTerminateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecTerminateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecTerminateResponse::IsInitialized() const { - return true; -} - -void IPsecTerminateResponse::InternalSwap(IPsecTerminateResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.success_, lhs_arena, - &other->_impl_.success_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IPsecTerminateResponse, _impl_.terminated_) - + sizeof(IPsecTerminateResponse::_impl_.terminated_) - - PROTOBUF_FIELD_OFFSET(IPsecTerminateResponse, _impl_.matches_)>( - reinterpret_cast(&_impl_.matches_), - reinterpret_cast(&other->_impl_.matches_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecTerminateResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[22]); -} - -// =================================================================== - -class IPsecRekeyRequest::_Internal { - public: -}; - -IPsecRekeyRequest::IPsecRekeyRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecRekeyRequest) -} -IPsecRekeyRequest::IPsecRekeyRequest(const IPsecRekeyRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecRekeyRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.child_){} - , decltype(_impl_.ike_){} - , decltype(_impl_.reauth_){} - , decltype(_impl_.child_id_){} - , decltype(_impl_.ike_id_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.child_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.child_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_child().empty()) { - _this->_impl_.child_.Set(from._internal_child(), - _this->GetArenaForAllocation()); - } - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_ike().empty()) { - _this->_impl_.ike_.Set(from._internal_ike(), - _this->GetArenaForAllocation()); - } - _impl_.reauth_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.reauth_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_reauth().empty()) { - _this->_impl_.reauth_.Set(from._internal_reauth(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.child_id_, &from._impl_.child_id_, - static_cast(reinterpret_cast(&_impl_.ike_id_) - - reinterpret_cast(&_impl_.child_id_)) + sizeof(_impl_.ike_id_)); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecRekeyRequest) -} - -inline void IPsecRekeyRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.child_){} - , decltype(_impl_.ike_){} - , decltype(_impl_.reauth_){} - , decltype(_impl_.child_id_){uint64_t{0u}} - , decltype(_impl_.ike_id_){uint64_t{0u}} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.child_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.child_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.reauth_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.reauth_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecRekeyRequest::~IPsecRekeyRequest() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecRekeyRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecRekeyRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.child_.Destroy(); - _impl_.ike_.Destroy(); - _impl_.reauth_.Destroy(); -} - -void IPsecRekeyRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecRekeyRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecRekeyRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.child_.ClearToEmpty(); - _impl_.ike_.ClearToEmpty(); - _impl_.reauth_.ClearToEmpty(); - ::memset(&_impl_.child_id_, 0, static_cast( - reinterpret_cast(&_impl_.ike_id_) - - reinterpret_cast(&_impl_.child_id_)) + sizeof(_impl_.ike_id_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecRekeyRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string child = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_child(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecRekeyRequest.child")); - } else - goto handle_unusual; - continue; - // string ike = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_ike(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecRekeyRequest.ike")); - } else - goto handle_unusual; - continue; - // uint64 child_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _impl_.child_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint64 ike_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _impl_.ike_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string reauth = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_reauth(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecRekeyRequest.reauth")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecRekeyRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecRekeyRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string child = 1; - if (!this->_internal_child().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_child().data(), static_cast(this->_internal_child().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecRekeyRequest.child"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_child(), target); - } - - // string ike = 2; - if (!this->_internal_ike().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_ike().data(), static_cast(this->_internal_ike().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecRekeyRequest.ike"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_ike(), target); - } - - // uint64 child_id = 3; - if (this->_internal_child_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_child_id(), target); - } - - // uint64 ike_id = 4; - if (this->_internal_ike_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_ike_id(), target); - } - - // string reauth = 5; - if (!this->_internal_reauth().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_reauth().data(), static_cast(this->_internal_reauth().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecRekeyRequest.reauth"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_reauth(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecRekeyRequest) - return target; -} - -size_t IPsecRekeyRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecRekeyRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string child = 1; - if (!this->_internal_child().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_child()); - } - - // string ike = 2; - if (!this->_internal_ike().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ike()); - } - - // string reauth = 5; - if (!this->_internal_reauth().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_reauth()); - } - - // uint64 child_id = 3; - if (this->_internal_child_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_child_id()); - } - - // uint64 ike_id = 4; - if (this->_internal_ike_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ike_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecRekeyRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecRekeyRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecRekeyRequest::GetClassData() const { return &_class_data_; } - - -void IPsecRekeyRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecRekeyRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_child().empty()) { - _this->_internal_set_child(from._internal_child()); - } - if (!from._internal_ike().empty()) { - _this->_internal_set_ike(from._internal_ike()); - } - if (!from._internal_reauth().empty()) { - _this->_internal_set_reauth(from._internal_reauth()); - } - if (from._internal_child_id() != 0) { - _this->_internal_set_child_id(from._internal_child_id()); - } - if (from._internal_ike_id() != 0) { - _this->_internal_set_ike_id(from._internal_ike_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecRekeyRequest::CopyFrom(const IPsecRekeyRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecRekeyRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecRekeyRequest::IsInitialized() const { - return true; -} - -void IPsecRekeyRequest::InternalSwap(IPsecRekeyRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.child_, lhs_arena, - &other->_impl_.child_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ike_, lhs_arena, - &other->_impl_.ike_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.reauth_, lhs_arena, - &other->_impl_.reauth_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IPsecRekeyRequest, _impl_.ike_id_) - + sizeof(IPsecRekeyRequest::_impl_.ike_id_) - - PROTOBUF_FIELD_OFFSET(IPsecRekeyRequest, _impl_.child_id_)>( - reinterpret_cast(&_impl_.child_id_), - reinterpret_cast(&other->_impl_.child_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecRekeyRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[23]); -} - -// =================================================================== - -class IPsecRekeyResponse::_Internal { - public: -}; - -IPsecRekeyResponse::IPsecRekeyResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecRekeyResponse) -} -IPsecRekeyResponse::IPsecRekeyResponse(const IPsecRekeyResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecRekeyResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.success_){} - , decltype(_impl_.matches_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.success_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.success_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_success().empty()) { - _this->_impl_.success_.Set(from._internal_success(), - _this->GetArenaForAllocation()); - } - _this->_impl_.matches_ = from._impl_.matches_; - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecRekeyResponse) -} - -inline void IPsecRekeyResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.success_){} - , decltype(_impl_.matches_){0u} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.success_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.success_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecRekeyResponse::~IPsecRekeyResponse() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecRekeyResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecRekeyResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.success_.Destroy(); -} - -void IPsecRekeyResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecRekeyResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecRekeyResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.success_.ClearToEmpty(); - _impl_.matches_ = 0u; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecRekeyResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string success = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_success(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecRekeyResponse.success")); - } else - goto handle_unusual; - continue; - // uint32 matches = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _impl_.matches_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecRekeyResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecRekeyResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string success = 1; - if (!this->_internal_success().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_success().data(), static_cast(this->_internal_success().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecRekeyResponse.success"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_success(), target); - } - - // uint32 matches = 2; - if (this->_internal_matches() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_matches(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecRekeyResponse) - return target; -} - -size_t IPsecRekeyResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecRekeyResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string success = 1; - if (!this->_internal_success().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_success()); - } - - // uint32 matches = 2; - if (this->_internal_matches() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_matches()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecRekeyResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecRekeyResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecRekeyResponse::GetClassData() const { return &_class_data_; } - - -void IPsecRekeyResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecRekeyResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_success().empty()) { - _this->_internal_set_success(from._internal_success()); - } - if (from._internal_matches() != 0) { - _this->_internal_set_matches(from._internal_matches()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecRekeyResponse::CopyFrom(const IPsecRekeyResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecRekeyResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecRekeyResponse::IsInitialized() const { - return true; -} - -void IPsecRekeyResponse::InternalSwap(IPsecRekeyResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.success_, lhs_arena, - &other->_impl_.success_, rhs_arena - ); - swap(_impl_.matches_, other->_impl_.matches_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecRekeyResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[24]); -} - -// =================================================================== - -class IPsecListSasRequest::_Internal { - public: -}; - -IPsecListSasRequest::IPsecListSasRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecListSasRequest) -} -IPsecListSasRequest::IPsecListSasRequest(const IPsecListSasRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecListSasRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.noblock_){} - , decltype(_impl_.ike_){} - , decltype(_impl_.child_){} - , decltype(_impl_.ike_id_){} - , decltype(_impl_.child_id_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.noblock_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.noblock_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_noblock().empty()) { - _this->_impl_.noblock_.Set(from._internal_noblock(), - _this->GetArenaForAllocation()); - } - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_ike().empty()) { - _this->_impl_.ike_.Set(from._internal_ike(), - _this->GetArenaForAllocation()); - } - _impl_.child_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.child_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_child().empty()) { - _this->_impl_.child_.Set(from._internal_child(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.ike_id_, &from._impl_.ike_id_, - static_cast(reinterpret_cast(&_impl_.child_id_) - - reinterpret_cast(&_impl_.ike_id_)) + sizeof(_impl_.child_id_)); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecListSasRequest) -} - -inline void IPsecListSasRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.noblock_){} - , decltype(_impl_.ike_){} - , decltype(_impl_.child_){} - , decltype(_impl_.ike_id_){uint64_t{0u}} - , decltype(_impl_.child_id_){uint64_t{0u}} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.noblock_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.noblock_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.child_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.child_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecListSasRequest::~IPsecListSasRequest() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecListSasRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecListSasRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.noblock_.Destroy(); - _impl_.ike_.Destroy(); - _impl_.child_.Destroy(); -} - -void IPsecListSasRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecListSasRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecListSasRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.noblock_.ClearToEmpty(); - _impl_.ike_.ClearToEmpty(); - _impl_.child_.ClearToEmpty(); - ::memset(&_impl_.ike_id_, 0, static_cast( - reinterpret_cast(&_impl_.child_id_) - - reinterpret_cast(&_impl_.ike_id_)) + sizeof(_impl_.child_id_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecListSasRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string noblock = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_noblock(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecListSasRequest.noblock")); - } else - goto handle_unusual; - continue; - // string ike = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_ike(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecListSasRequest.ike")); - } else - goto handle_unusual; - continue; - // uint64 ike_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _impl_.ike_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string child = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_child(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecListSasRequest.child")); - } else - goto handle_unusual; - continue; - // uint64 child_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _impl_.child_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecListSasRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecListSasRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string noblock = 1; - if (!this->_internal_noblock().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_noblock().data(), static_cast(this->_internal_noblock().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecListSasRequest.noblock"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_noblock(), target); - } - - // string ike = 2; - if (!this->_internal_ike().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_ike().data(), static_cast(this->_internal_ike().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecListSasRequest.ike"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_ike(), target); - } - - // uint64 ike_id = 3; - if (this->_internal_ike_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_ike_id(), target); - } - - // string child = 4; - if (!this->_internal_child().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_child().data(), static_cast(this->_internal_child().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecListSasRequest.child"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_child(), target); - } - - // uint64 child_id = 5; - if (this->_internal_child_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_child_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecListSasRequest) - return target; -} - -size_t IPsecListSasRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecListSasRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string noblock = 1; - if (!this->_internal_noblock().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_noblock()); - } - - // string ike = 2; - if (!this->_internal_ike().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ike()); - } - - // string child = 4; - if (!this->_internal_child().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_child()); - } - - // uint64 ike_id = 3; - if (this->_internal_ike_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ike_id()); - } - - // uint64 child_id = 5; - if (this->_internal_child_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_child_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecListSasRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecListSasRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecListSasRequest::GetClassData() const { return &_class_data_; } - - -void IPsecListSasRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecListSasRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_noblock().empty()) { - _this->_internal_set_noblock(from._internal_noblock()); - } - if (!from._internal_ike().empty()) { - _this->_internal_set_ike(from._internal_ike()); - } - if (!from._internal_child().empty()) { - _this->_internal_set_child(from._internal_child()); - } - if (from._internal_ike_id() != 0) { - _this->_internal_set_ike_id(from._internal_ike_id()); - } - if (from._internal_child_id() != 0) { - _this->_internal_set_child_id(from._internal_child_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecListSasRequest::CopyFrom(const IPsecListSasRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecListSasRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecListSasRequest::IsInitialized() const { - return true; -} - -void IPsecListSasRequest::InternalSwap(IPsecListSasRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.noblock_, lhs_arena, - &other->_impl_.noblock_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ike_, lhs_arena, - &other->_impl_.ike_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.child_, lhs_arena, - &other->_impl_.child_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IPsecListSasRequest, _impl_.child_id_) - + sizeof(IPsecListSasRequest::_impl_.child_id_) - - PROTOBUF_FIELD_OFFSET(IPsecListSasRequest, _impl_.ike_id_)>( - reinterpret_cast(&_impl_.ike_id_), - reinterpret_cast(&other->_impl_.ike_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecListSasRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[25]); -} - -// =================================================================== - -class ListChildSa::_Internal { - public: -}; - -ListChildSa::ListChildSa(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.ListChildSa) -} -ListChildSa::ListChildSa(const ListChildSa& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ListChildSa* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.name_){} - , decltype(_impl_.protocol_){} - , decltype(_impl_.encap_){} - , decltype(_impl_.spi_in_){} - , decltype(_impl_.spi_out_){} - , decltype(_impl_.cpi_in_){} - , decltype(_impl_.cpi_out_){} - , decltype(_impl_.mark_in_){} - , decltype(_impl_.mark_mask_in_){} - , decltype(_impl_.mark_out_){} - , decltype(_impl_.mark_mask_out_){} - , decltype(_impl_.if_id_in_){} - , decltype(_impl_.if_id_out_){} - , decltype(_impl_.encr_alg_){} - , decltype(_impl_.encr_keysize_){} - , decltype(_impl_.integ_alg_){} - , decltype(_impl_.integ_keysize_){} - , decltype(_impl_.dh_group_){} - , decltype(_impl_.esn_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.protocol_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.protocol_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_protocol().empty()) { - _this->_impl_.protocol_.Set(from._internal_protocol(), - _this->GetArenaForAllocation()); - } - _impl_.encap_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encap_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_encap().empty()) { - _this->_impl_.encap_.Set(from._internal_encap(), - _this->GetArenaForAllocation()); - } - _impl_.spi_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spi_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_spi_in().empty()) { - _this->_impl_.spi_in_.Set(from._internal_spi_in(), - _this->GetArenaForAllocation()); - } - _impl_.spi_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spi_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_spi_out().empty()) { - _this->_impl_.spi_out_.Set(from._internal_spi_out(), - _this->GetArenaForAllocation()); - } - _impl_.cpi_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpi_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_cpi_in().empty()) { - _this->_impl_.cpi_in_.Set(from._internal_cpi_in(), - _this->GetArenaForAllocation()); - } - _impl_.cpi_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpi_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_cpi_out().empty()) { - _this->_impl_.cpi_out_.Set(from._internal_cpi_out(), - _this->GetArenaForAllocation()); - } - _impl_.mark_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_mark_in().empty()) { - _this->_impl_.mark_in_.Set(from._internal_mark_in(), - _this->GetArenaForAllocation()); - } - _impl_.mark_mask_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_mask_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_mark_mask_in().empty()) { - _this->_impl_.mark_mask_in_.Set(from._internal_mark_mask_in(), - _this->GetArenaForAllocation()); - } - _impl_.mark_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_mark_out().empty()) { - _this->_impl_.mark_out_.Set(from._internal_mark_out(), - _this->GetArenaForAllocation()); - } - _impl_.mark_mask_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_mask_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_mark_mask_out().empty()) { - _this->_impl_.mark_mask_out_.Set(from._internal_mark_mask_out(), - _this->GetArenaForAllocation()); - } - _impl_.if_id_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_if_id_in().empty()) { - _this->_impl_.if_id_in_.Set(from._internal_if_id_in(), - _this->GetArenaForAllocation()); - } - _impl_.if_id_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_if_id_out().empty()) { - _this->_impl_.if_id_out_.Set(from._internal_if_id_out(), - _this->GetArenaForAllocation()); - } - _impl_.encr_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_encr_alg().empty()) { - _this->_impl_.encr_alg_.Set(from._internal_encr_alg(), - _this->GetArenaForAllocation()); - } - _impl_.encr_keysize_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_keysize_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_encr_keysize().empty()) { - _this->_impl_.encr_keysize_.Set(from._internal_encr_keysize(), - _this->GetArenaForAllocation()); - } - _impl_.integ_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_integ_alg().empty()) { - _this->_impl_.integ_alg_.Set(from._internal_integ_alg(), - _this->GetArenaForAllocation()); - } - _impl_.integ_keysize_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_keysize_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_integ_keysize().empty()) { - _this->_impl_.integ_keysize_.Set(from._internal_integ_keysize(), - _this->GetArenaForAllocation()); - } - _impl_.dh_group_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dh_group_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_dh_group().empty()) { - _this->_impl_.dh_group_.Set(from._internal_dh_group(), - _this->GetArenaForAllocation()); - } - _impl_.esn_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.esn_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_esn().empty()) { - _this->_impl_.esn_.Set(from._internal_esn(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.ListChildSa) -} - -inline void ListChildSa::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.name_){} - , decltype(_impl_.protocol_){} - , decltype(_impl_.encap_){} - , decltype(_impl_.spi_in_){} - , decltype(_impl_.spi_out_){} - , decltype(_impl_.cpi_in_){} - , decltype(_impl_.cpi_out_){} - , decltype(_impl_.mark_in_){} - , decltype(_impl_.mark_mask_in_){} - , decltype(_impl_.mark_out_){} - , decltype(_impl_.mark_mask_out_){} - , decltype(_impl_.if_id_in_){} - , decltype(_impl_.if_id_out_){} - , decltype(_impl_.encr_alg_){} - , decltype(_impl_.encr_keysize_){} - , decltype(_impl_.integ_alg_){} - , decltype(_impl_.integ_keysize_){} - , decltype(_impl_.dh_group_){} - , decltype(_impl_.esn_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.protocol_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.protocol_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encap_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encap_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spi_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spi_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spi_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spi_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpi_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpi_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpi_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpi_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_mask_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_mask_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_mask_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mark_mask_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_keysize_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_keysize_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_keysize_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_keysize_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dh_group_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dh_group_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.esn_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.esn_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -ListChildSa::~ListChildSa() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.ListChildSa) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ListChildSa::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.protocol_.Destroy(); - _impl_.encap_.Destroy(); - _impl_.spi_in_.Destroy(); - _impl_.spi_out_.Destroy(); - _impl_.cpi_in_.Destroy(); - _impl_.cpi_out_.Destroy(); - _impl_.mark_in_.Destroy(); - _impl_.mark_mask_in_.Destroy(); - _impl_.mark_out_.Destroy(); - _impl_.mark_mask_out_.Destroy(); - _impl_.if_id_in_.Destroy(); - _impl_.if_id_out_.Destroy(); - _impl_.encr_alg_.Destroy(); - _impl_.encr_keysize_.Destroy(); - _impl_.integ_alg_.Destroy(); - _impl_.integ_keysize_.Destroy(); - _impl_.dh_group_.Destroy(); - _impl_.esn_.Destroy(); -} - -void ListChildSa::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ListChildSa::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.ListChildSa) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.name_.ClearToEmpty(); - _impl_.protocol_.ClearToEmpty(); - _impl_.encap_.ClearToEmpty(); - _impl_.spi_in_.ClearToEmpty(); - _impl_.spi_out_.ClearToEmpty(); - _impl_.cpi_in_.ClearToEmpty(); - _impl_.cpi_out_.ClearToEmpty(); - _impl_.mark_in_.ClearToEmpty(); - _impl_.mark_mask_in_.ClearToEmpty(); - _impl_.mark_out_.ClearToEmpty(); - _impl_.mark_mask_out_.ClearToEmpty(); - _impl_.if_id_in_.ClearToEmpty(); - _impl_.if_id_out_.ClearToEmpty(); - _impl_.encr_alg_.ClearToEmpty(); - _impl_.encr_keysize_.ClearToEmpty(); - _impl_.integ_alg_.ClearToEmpty(); - _impl_.integ_keysize_.ClearToEmpty(); - _impl_.dh_group_.ClearToEmpty(); - _impl_.esn_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ListChildSa::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.name")); - } else - goto handle_unusual; - continue; - // string protocol = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_protocol(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.protocol")); - } else - goto handle_unusual; - continue; - // string encap = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_encap(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.encap")); - } else - goto handle_unusual; - continue; - // string spi_in = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_spi_in(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.spi_in")); - } else - goto handle_unusual; - continue; - // string spi_out = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_spi_out(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.spi_out")); - } else - goto handle_unusual; - continue; - // string cpi_in = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_cpi_in(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.cpi_in")); - } else - goto handle_unusual; - continue; - // string cpi_out = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_cpi_out(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.cpi_out")); - } else - goto handle_unusual; - continue; - // string mark_in = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_mark_in(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.mark_in")); - } else - goto handle_unusual; - continue; - // string mark_mask_in = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_mark_mask_in(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.mark_mask_in")); - } else - goto handle_unusual; - continue; - // string mark_out = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_mark_out(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.mark_out")); - } else - goto handle_unusual; - continue; - // string mark_mask_out = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_mark_mask_out(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.mark_mask_out")); - } else - goto handle_unusual; - continue; - // string if_id_in = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_if_id_in(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.if_id_in")); - } else - goto handle_unusual; - continue; - // string if_id_out = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_if_id_out(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.if_id_out")); - } else - goto handle_unusual; - continue; - // string encr_alg = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_encr_alg(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.encr_alg")); - } else - goto handle_unusual; - continue; - // string encr_keysize = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - auto str = _internal_mutable_encr_keysize(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.encr_keysize")); - } else - goto handle_unusual; - continue; - // string integ_alg = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_integ_alg(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.integ_alg")); - } else - goto handle_unusual; - continue; - // string integ_keysize = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - auto str = _internal_mutable_integ_keysize(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.integ_keysize")); - } else - goto handle_unusual; - continue; - // string dh_group = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - auto str = _internal_mutable_dh_group(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.dh_group")); - } else - goto handle_unusual; - continue; - // string esn = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - auto str = _internal_mutable_esn(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChildSa.esn")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ListChildSa::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.ListChildSa) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // string protocol = 2; - if (!this->_internal_protocol().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_protocol().data(), static_cast(this->_internal_protocol().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.protocol"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_protocol(), target); - } - - // string encap = 3; - if (!this->_internal_encap().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_encap().data(), static_cast(this->_internal_encap().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.encap"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_encap(), target); - } - - // string spi_in = 4; - if (!this->_internal_spi_in().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_spi_in().data(), static_cast(this->_internal_spi_in().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.spi_in"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_spi_in(), target); - } - - // string spi_out = 5; - if (!this->_internal_spi_out().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_spi_out().data(), static_cast(this->_internal_spi_out().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.spi_out"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_spi_out(), target); - } - - // string cpi_in = 6; - if (!this->_internal_cpi_in().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_cpi_in().data(), static_cast(this->_internal_cpi_in().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.cpi_in"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_cpi_in(), target); - } - - // string cpi_out = 7; - if (!this->_internal_cpi_out().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_cpi_out().data(), static_cast(this->_internal_cpi_out().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.cpi_out"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_cpi_out(), target); - } - - // string mark_in = 8; - if (!this->_internal_mark_in().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_mark_in().data(), static_cast(this->_internal_mark_in().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.mark_in"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_mark_in(), target); - } - - // string mark_mask_in = 9; - if (!this->_internal_mark_mask_in().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_mark_mask_in().data(), static_cast(this->_internal_mark_mask_in().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.mark_mask_in"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_mark_mask_in(), target); - } - - // string mark_out = 10; - if (!this->_internal_mark_out().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_mark_out().data(), static_cast(this->_internal_mark_out().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.mark_out"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_mark_out(), target); - } - - // string mark_mask_out = 11; - if (!this->_internal_mark_mask_out().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_mark_mask_out().data(), static_cast(this->_internal_mark_mask_out().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.mark_mask_out"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_mark_mask_out(), target); - } - - // string if_id_in = 12; - if (!this->_internal_if_id_in().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_if_id_in().data(), static_cast(this->_internal_if_id_in().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.if_id_in"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_if_id_in(), target); - } - - // string if_id_out = 13; - if (!this->_internal_if_id_out().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_if_id_out().data(), static_cast(this->_internal_if_id_out().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.if_id_out"); - target = stream->WriteStringMaybeAliased( - 13, this->_internal_if_id_out(), target); - } - - // string encr_alg = 14; - if (!this->_internal_encr_alg().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_encr_alg().data(), static_cast(this->_internal_encr_alg().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.encr_alg"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_encr_alg(), target); - } - - // string encr_keysize = 15; - if (!this->_internal_encr_keysize().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_encr_keysize().data(), static_cast(this->_internal_encr_keysize().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.encr_keysize"); - target = stream->WriteStringMaybeAliased( - 15, this->_internal_encr_keysize(), target); - } - - // string integ_alg = 16; - if (!this->_internal_integ_alg().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_integ_alg().data(), static_cast(this->_internal_integ_alg().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.integ_alg"); - target = stream->WriteStringMaybeAliased( - 16, this->_internal_integ_alg(), target); - } - - // string integ_keysize = 17; - if (!this->_internal_integ_keysize().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_integ_keysize().data(), static_cast(this->_internal_integ_keysize().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.integ_keysize"); - target = stream->WriteStringMaybeAliased( - 17, this->_internal_integ_keysize(), target); - } - - // string dh_group = 18; - if (!this->_internal_dh_group().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_dh_group().data(), static_cast(this->_internal_dh_group().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.dh_group"); - target = stream->WriteStringMaybeAliased( - 18, this->_internal_dh_group(), target); - } - - // string esn = 19; - if (!this->_internal_esn().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_esn().data(), static_cast(this->_internal_esn().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChildSa.esn"); - target = stream->WriteStringMaybeAliased( - 19, this->_internal_esn(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.ListChildSa) - return target; -} - -size_t ListChildSa::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.ListChildSa) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // string protocol = 2; - if (!this->_internal_protocol().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_protocol()); - } - - // string encap = 3; - if (!this->_internal_encap().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_encap()); - } - - // string spi_in = 4; - if (!this->_internal_spi_in().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_spi_in()); - } - - // string spi_out = 5; - if (!this->_internal_spi_out().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_spi_out()); - } - - // string cpi_in = 6; - if (!this->_internal_cpi_in().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cpi_in()); - } - - // string cpi_out = 7; - if (!this->_internal_cpi_out().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cpi_out()); - } - - // string mark_in = 8; - if (!this->_internal_mark_in().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_mark_in()); - } - - // string mark_mask_in = 9; - if (!this->_internal_mark_mask_in().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_mark_mask_in()); - } - - // string mark_out = 10; - if (!this->_internal_mark_out().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_mark_out()); - } - - // string mark_mask_out = 11; - if (!this->_internal_mark_mask_out().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_mark_mask_out()); - } - - // string if_id_in = 12; - if (!this->_internal_if_id_in().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_if_id_in()); - } - - // string if_id_out = 13; - if (!this->_internal_if_id_out().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_if_id_out()); - } - - // string encr_alg = 14; - if (!this->_internal_encr_alg().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_encr_alg()); - } - - // string encr_keysize = 15; - if (!this->_internal_encr_keysize().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_encr_keysize()); - } - - // string integ_alg = 16; - if (!this->_internal_integ_alg().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_integ_alg()); - } - - // string integ_keysize = 17; - if (!this->_internal_integ_keysize().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_integ_keysize()); - } - - // string dh_group = 18; - if (!this->_internal_dh_group().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_dh_group()); - } - - // string esn = 19; - if (!this->_internal_esn().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_esn()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListChildSa::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ListChildSa::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListChildSa::GetClassData() const { return &_class_data_; } - - -void ListChildSa::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.ListChildSa) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - if (!from._internal_protocol().empty()) { - _this->_internal_set_protocol(from._internal_protocol()); - } - if (!from._internal_encap().empty()) { - _this->_internal_set_encap(from._internal_encap()); - } - if (!from._internal_spi_in().empty()) { - _this->_internal_set_spi_in(from._internal_spi_in()); - } - if (!from._internal_spi_out().empty()) { - _this->_internal_set_spi_out(from._internal_spi_out()); - } - if (!from._internal_cpi_in().empty()) { - _this->_internal_set_cpi_in(from._internal_cpi_in()); - } - if (!from._internal_cpi_out().empty()) { - _this->_internal_set_cpi_out(from._internal_cpi_out()); - } - if (!from._internal_mark_in().empty()) { - _this->_internal_set_mark_in(from._internal_mark_in()); - } - if (!from._internal_mark_mask_in().empty()) { - _this->_internal_set_mark_mask_in(from._internal_mark_mask_in()); - } - if (!from._internal_mark_out().empty()) { - _this->_internal_set_mark_out(from._internal_mark_out()); - } - if (!from._internal_mark_mask_out().empty()) { - _this->_internal_set_mark_mask_out(from._internal_mark_mask_out()); - } - if (!from._internal_if_id_in().empty()) { - _this->_internal_set_if_id_in(from._internal_if_id_in()); - } - if (!from._internal_if_id_out().empty()) { - _this->_internal_set_if_id_out(from._internal_if_id_out()); - } - if (!from._internal_encr_alg().empty()) { - _this->_internal_set_encr_alg(from._internal_encr_alg()); - } - if (!from._internal_encr_keysize().empty()) { - _this->_internal_set_encr_keysize(from._internal_encr_keysize()); - } - if (!from._internal_integ_alg().empty()) { - _this->_internal_set_integ_alg(from._internal_integ_alg()); - } - if (!from._internal_integ_keysize().empty()) { - _this->_internal_set_integ_keysize(from._internal_integ_keysize()); - } - if (!from._internal_dh_group().empty()) { - _this->_internal_set_dh_group(from._internal_dh_group()); - } - if (!from._internal_esn().empty()) { - _this->_internal_set_esn(from._internal_esn()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ListChildSa::CopyFrom(const ListChildSa& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.ListChildSa) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListChildSa::IsInitialized() const { - return true; -} - -void ListChildSa::InternalSwap(ListChildSa* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.protocol_, lhs_arena, - &other->_impl_.protocol_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encap_, lhs_arena, - &other->_impl_.encap_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.spi_in_, lhs_arena, - &other->_impl_.spi_in_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.spi_out_, lhs_arena, - &other->_impl_.spi_out_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cpi_in_, lhs_arena, - &other->_impl_.cpi_in_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cpi_out_, lhs_arena, - &other->_impl_.cpi_out_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.mark_in_, lhs_arena, - &other->_impl_.mark_in_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.mark_mask_in_, lhs_arena, - &other->_impl_.mark_mask_in_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.mark_out_, lhs_arena, - &other->_impl_.mark_out_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.mark_mask_out_, lhs_arena, - &other->_impl_.mark_mask_out_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.if_id_in_, lhs_arena, - &other->_impl_.if_id_in_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.if_id_out_, lhs_arena, - &other->_impl_.if_id_out_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encr_alg_, lhs_arena, - &other->_impl_.encr_alg_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encr_keysize_, lhs_arena, - &other->_impl_.encr_keysize_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.integ_alg_, lhs_arena, - &other->_impl_.integ_alg_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.integ_keysize_, lhs_arena, - &other->_impl_.integ_keysize_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dh_group_, lhs_arena, - &other->_impl_.dh_group_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.esn_, lhs_arena, - &other->_impl_.esn_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ListChildSa::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[26]); -} - -// =================================================================== - -class ListIkeSa::_Internal { - public: -}; - -ListIkeSa::ListIkeSa(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.ListIkeSa) -} -ListIkeSa::ListIkeSa(const ListIkeSa& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ListIkeSa* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.local_vips_){from._impl_.local_vips_} - , decltype(_impl_.remote_vips_){from._impl_.remote_vips_} - , decltype(_impl_.tasks_queued_){from._impl_.tasks_queued_} - , decltype(_impl_.tasks_active_){from._impl_.tasks_active_} - , decltype(_impl_.tasks_passive_){from._impl_.tasks_passive_} - , decltype(_impl_.childsas_){from._impl_.childsas_} - , decltype(_impl_.name_){} - , decltype(_impl_.uniqueid_){} - , decltype(_impl_.version_){} - , decltype(_impl_.local_host_){} - , decltype(_impl_.local_port_){} - , decltype(_impl_.local_id_){} - , decltype(_impl_.remote_host_){} - , decltype(_impl_.remote_port_){} - , decltype(_impl_.remote_id_){} - , decltype(_impl_.remote_xauth_id_){} - , decltype(_impl_.remote_eap_id_){} - , decltype(_impl_.initiator_){} - , decltype(_impl_.initiator_spi_){} - , decltype(_impl_.responder_spi_){} - , decltype(_impl_.nat_local_){} - , decltype(_impl_.nat_remote_){} - , decltype(_impl_.nat_fake_){} - , decltype(_impl_.nat_any_){} - , decltype(_impl_.if_id_in_){} - , decltype(_impl_.if_id_out_){} - , decltype(_impl_.encr_alg_){} - , decltype(_impl_.encr_keysize_){} - , decltype(_impl_.integ_alg_){} - , decltype(_impl_.integ_keysize_){} - , decltype(_impl_.prf_alg_){} - , decltype(_impl_.dh_group_){} - , decltype(_impl_.ppk_){} - , decltype(_impl_.established_){} - , decltype(_impl_.rekey_time_){} - , decltype(_impl_.reauth_time_){} - , decltype(_impl_.ikestate_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.uniqueid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.uniqueid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_uniqueid().empty()) { - _this->_impl_.uniqueid_.Set(from._internal_uniqueid(), - _this->GetArenaForAllocation()); - } - _impl_.version_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_version().empty()) { - _this->_impl_.version_.Set(from._internal_version(), - _this->GetArenaForAllocation()); - } - _impl_.local_host_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.local_host_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_local_host().empty()) { - _this->_impl_.local_host_.Set(from._internal_local_host(), - _this->GetArenaForAllocation()); - } - _impl_.local_port_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.local_port_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_local_port().empty()) { - _this->_impl_.local_port_.Set(from._internal_local_port(), - _this->GetArenaForAllocation()); - } - _impl_.local_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.local_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_local_id().empty()) { - _this->_impl_.local_id_.Set(from._internal_local_id(), - _this->GetArenaForAllocation()); - } - _impl_.remote_host_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_host_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_remote_host().empty()) { - _this->_impl_.remote_host_.Set(from._internal_remote_host(), - _this->GetArenaForAllocation()); - } - _impl_.remote_port_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_port_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_remote_port().empty()) { - _this->_impl_.remote_port_.Set(from._internal_remote_port(), - _this->GetArenaForAllocation()); - } - _impl_.remote_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_remote_id().empty()) { - _this->_impl_.remote_id_.Set(from._internal_remote_id(), - _this->GetArenaForAllocation()); - } - _impl_.remote_xauth_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_xauth_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_remote_xauth_id().empty()) { - _this->_impl_.remote_xauth_id_.Set(from._internal_remote_xauth_id(), - _this->GetArenaForAllocation()); - } - _impl_.remote_eap_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_eap_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_remote_eap_id().empty()) { - _this->_impl_.remote_eap_id_.Set(from._internal_remote_eap_id(), - _this->GetArenaForAllocation()); - } - _impl_.initiator_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.initiator_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_initiator().empty()) { - _this->_impl_.initiator_.Set(from._internal_initiator(), - _this->GetArenaForAllocation()); - } - _impl_.initiator_spi_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.initiator_spi_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_initiator_spi().empty()) { - _this->_impl_.initiator_spi_.Set(from._internal_initiator_spi(), - _this->GetArenaForAllocation()); - } - _impl_.responder_spi_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.responder_spi_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_responder_spi().empty()) { - _this->_impl_.responder_spi_.Set(from._internal_responder_spi(), - _this->GetArenaForAllocation()); - } - _impl_.nat_local_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_local_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_nat_local().empty()) { - _this->_impl_.nat_local_.Set(from._internal_nat_local(), - _this->GetArenaForAllocation()); - } - _impl_.nat_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_nat_remote().empty()) { - _this->_impl_.nat_remote_.Set(from._internal_nat_remote(), - _this->GetArenaForAllocation()); - } - _impl_.nat_fake_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_fake_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_nat_fake().empty()) { - _this->_impl_.nat_fake_.Set(from._internal_nat_fake(), - _this->GetArenaForAllocation()); - } - _impl_.nat_any_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_any_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_nat_any().empty()) { - _this->_impl_.nat_any_.Set(from._internal_nat_any(), - _this->GetArenaForAllocation()); - } - _impl_.if_id_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_if_id_in().empty()) { - _this->_impl_.if_id_in_.Set(from._internal_if_id_in(), - _this->GetArenaForAllocation()); - } - _impl_.if_id_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_if_id_out().empty()) { - _this->_impl_.if_id_out_.Set(from._internal_if_id_out(), - _this->GetArenaForAllocation()); - } - _impl_.encr_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_encr_alg().empty()) { - _this->_impl_.encr_alg_.Set(from._internal_encr_alg(), - _this->GetArenaForAllocation()); - } - _impl_.encr_keysize_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_keysize_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_encr_keysize().empty()) { - _this->_impl_.encr_keysize_.Set(from._internal_encr_keysize(), - _this->GetArenaForAllocation()); - } - _impl_.integ_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_integ_alg().empty()) { - _this->_impl_.integ_alg_.Set(from._internal_integ_alg(), - _this->GetArenaForAllocation()); - } - _impl_.integ_keysize_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_keysize_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_integ_keysize().empty()) { - _this->_impl_.integ_keysize_.Set(from._internal_integ_keysize(), - _this->GetArenaForAllocation()); - } - _impl_.prf_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.prf_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_prf_alg().empty()) { - _this->_impl_.prf_alg_.Set(from._internal_prf_alg(), - _this->GetArenaForAllocation()); - } - _impl_.dh_group_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dh_group_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_dh_group().empty()) { - _this->_impl_.dh_group_.Set(from._internal_dh_group(), - _this->GetArenaForAllocation()); - } - _impl_.ppk_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ppk_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_ppk().empty()) { - _this->_impl_.ppk_.Set(from._internal_ppk(), - _this->GetArenaForAllocation()); - } - _impl_.established_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.established_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_established().empty()) { - _this->_impl_.established_.Set(from._internal_established(), - _this->GetArenaForAllocation()); - } - _impl_.rekey_time_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rekey_time_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_rekey_time().empty()) { - _this->_impl_.rekey_time_.Set(from._internal_rekey_time(), - _this->GetArenaForAllocation()); - } - _impl_.reauth_time_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.reauth_time_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_reauth_time().empty()) { - _this->_impl_.reauth_time_.Set(from._internal_reauth_time(), - _this->GetArenaForAllocation()); - } - _this->_impl_.ikestate_ = from._impl_.ikestate_; - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.ListIkeSa) -} - -inline void ListIkeSa::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.local_vips_){arena} - , decltype(_impl_.remote_vips_){arena} - , decltype(_impl_.tasks_queued_){arena} - , decltype(_impl_.tasks_active_){arena} - , decltype(_impl_.tasks_passive_){arena} - , decltype(_impl_.childsas_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.uniqueid_){} - , decltype(_impl_.version_){} - , decltype(_impl_.local_host_){} - , decltype(_impl_.local_port_){} - , decltype(_impl_.local_id_){} - , decltype(_impl_.remote_host_){} - , decltype(_impl_.remote_port_){} - , decltype(_impl_.remote_id_){} - , decltype(_impl_.remote_xauth_id_){} - , decltype(_impl_.remote_eap_id_){} - , decltype(_impl_.initiator_){} - , decltype(_impl_.initiator_spi_){} - , decltype(_impl_.responder_spi_){} - , decltype(_impl_.nat_local_){} - , decltype(_impl_.nat_remote_){} - , decltype(_impl_.nat_fake_){} - , decltype(_impl_.nat_any_){} - , decltype(_impl_.if_id_in_){} - , decltype(_impl_.if_id_out_){} - , decltype(_impl_.encr_alg_){} - , decltype(_impl_.encr_keysize_){} - , decltype(_impl_.integ_alg_){} - , decltype(_impl_.integ_keysize_){} - , decltype(_impl_.prf_alg_){} - , decltype(_impl_.dh_group_){} - , decltype(_impl_.ppk_){} - , decltype(_impl_.established_){} - , decltype(_impl_.rekey_time_){} - , decltype(_impl_.reauth_time_){} - , decltype(_impl_.ikestate_){0} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.uniqueid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.uniqueid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.local_host_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.local_host_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.local_port_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.local_port_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.local_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.local_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_host_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_host_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_port_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_port_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_xauth_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_xauth_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_eap_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_eap_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.initiator_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.initiator_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.initiator_spi_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.initiator_spi_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.responder_spi_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.responder_spi_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_local_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_local_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_fake_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_fake_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_any_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nat_any_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_in_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_in_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_out_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.if_id_out_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_keysize_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encr_keysize_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_keysize_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.integ_keysize_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.prf_alg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.prf_alg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dh_group_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dh_group_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ppk_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ppk_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.established_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.established_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rekey_time_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rekey_time_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.reauth_time_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.reauth_time_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -ListIkeSa::~ListIkeSa() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.ListIkeSa) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ListIkeSa::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.local_vips_.~RepeatedPtrField(); - _impl_.remote_vips_.~RepeatedPtrField(); - _impl_.tasks_queued_.~RepeatedPtrField(); - _impl_.tasks_active_.~RepeatedPtrField(); - _impl_.tasks_passive_.~RepeatedPtrField(); - _impl_.childsas_.~RepeatedPtrField(); - _impl_.name_.Destroy(); - _impl_.uniqueid_.Destroy(); - _impl_.version_.Destroy(); - _impl_.local_host_.Destroy(); - _impl_.local_port_.Destroy(); - _impl_.local_id_.Destroy(); - _impl_.remote_host_.Destroy(); - _impl_.remote_port_.Destroy(); - _impl_.remote_id_.Destroy(); - _impl_.remote_xauth_id_.Destroy(); - _impl_.remote_eap_id_.Destroy(); - _impl_.initiator_.Destroy(); - _impl_.initiator_spi_.Destroy(); - _impl_.responder_spi_.Destroy(); - _impl_.nat_local_.Destroy(); - _impl_.nat_remote_.Destroy(); - _impl_.nat_fake_.Destroy(); - _impl_.nat_any_.Destroy(); - _impl_.if_id_in_.Destroy(); - _impl_.if_id_out_.Destroy(); - _impl_.encr_alg_.Destroy(); - _impl_.encr_keysize_.Destroy(); - _impl_.integ_alg_.Destroy(); - _impl_.integ_keysize_.Destroy(); - _impl_.prf_alg_.Destroy(); - _impl_.dh_group_.Destroy(); - _impl_.ppk_.Destroy(); - _impl_.established_.Destroy(); - _impl_.rekey_time_.Destroy(); - _impl_.reauth_time_.Destroy(); -} - -void ListIkeSa::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ListIkeSa::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.ListIkeSa) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.local_vips_.Clear(); - _impl_.remote_vips_.Clear(); - _impl_.tasks_queued_.Clear(); - _impl_.tasks_active_.Clear(); - _impl_.tasks_passive_.Clear(); - _impl_.childsas_.Clear(); - _impl_.name_.ClearToEmpty(); - _impl_.uniqueid_.ClearToEmpty(); - _impl_.version_.ClearToEmpty(); - _impl_.local_host_.ClearToEmpty(); - _impl_.local_port_.ClearToEmpty(); - _impl_.local_id_.ClearToEmpty(); - _impl_.remote_host_.ClearToEmpty(); - _impl_.remote_port_.ClearToEmpty(); - _impl_.remote_id_.ClearToEmpty(); - _impl_.remote_xauth_id_.ClearToEmpty(); - _impl_.remote_eap_id_.ClearToEmpty(); - _impl_.initiator_.ClearToEmpty(); - _impl_.initiator_spi_.ClearToEmpty(); - _impl_.responder_spi_.ClearToEmpty(); - _impl_.nat_local_.ClearToEmpty(); - _impl_.nat_remote_.ClearToEmpty(); - _impl_.nat_fake_.ClearToEmpty(); - _impl_.nat_any_.ClearToEmpty(); - _impl_.if_id_in_.ClearToEmpty(); - _impl_.if_id_out_.ClearToEmpty(); - _impl_.encr_alg_.ClearToEmpty(); - _impl_.encr_keysize_.ClearToEmpty(); - _impl_.integ_alg_.ClearToEmpty(); - _impl_.integ_keysize_.ClearToEmpty(); - _impl_.prf_alg_.ClearToEmpty(); - _impl_.dh_group_.ClearToEmpty(); - _impl_.ppk_.ClearToEmpty(); - _impl_.established_.ClearToEmpty(); - _impl_.rekey_time_.ClearToEmpty(); - _impl_.reauth_time_.ClearToEmpty(); - _impl_.ikestate_ = 0; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ListIkeSa::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.name")); - } else - goto handle_unusual; - continue; - // string uniqueid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_uniqueid(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.uniqueid")); - } else - goto handle_unusual; - continue; - // string version = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_version(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.version")); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.IkeSaState ikestate = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_set_ikestate(static_cast<::opi_api::security::v1::IkeSaState>(val)); - } else - goto handle_unusual; - continue; - // string local_host = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_local_host(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.local_host")); - } else - goto handle_unusual; - continue; - // string local_port = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_local_port(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.local_port")); - } else - goto handle_unusual; - continue; - // string local_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_local_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.local_id")); - } else - goto handle_unusual; - continue; - // string remote_host = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_remote_host(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.remote_host")); - } else - goto handle_unusual; - continue; - // string remote_port = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_remote_port(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.remote_port")); - } else - goto handle_unusual; - continue; - // string remote_id = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_remote_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.remote_id")); - } else - goto handle_unusual; - continue; - // string remote_xauth_id = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_remote_xauth_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.remote_xauth_id")); - } else - goto handle_unusual; - continue; - // string remote_eap_id = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_remote_eap_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.remote_eap_id")); - } else - goto handle_unusual; - continue; - // string initiator = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_initiator(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.initiator")); - } else - goto handle_unusual; - continue; - // string initiator_spi = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_initiator_spi(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.initiator_spi")); - } else - goto handle_unusual; - continue; - // string responder_spi = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - auto str = _internal_mutable_responder_spi(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.responder_spi")); - } else - goto handle_unusual; - continue; - // string nat_local = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_nat_local(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.nat_local")); - } else - goto handle_unusual; - continue; - // string nat_remote = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - auto str = _internal_mutable_nat_remote(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.nat_remote")); - } else - goto handle_unusual; - continue; - // string nat_fake = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - auto str = _internal_mutable_nat_fake(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.nat_fake")); - } else - goto handle_unusual; - continue; - // string nat_any = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - auto str = _internal_mutable_nat_any(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.nat_any")); - } else - goto handle_unusual; - continue; - // string if_id_in = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - auto str = _internal_mutable_if_id_in(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.if_id_in")); - } else - goto handle_unusual; - continue; - // string if_id_out = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { - auto str = _internal_mutable_if_id_out(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.if_id_out")); - } else - goto handle_unusual; - continue; - // string encr_alg = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { - auto str = _internal_mutable_encr_alg(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.encr_alg")); - } else - goto handle_unusual; - continue; - // string encr_keysize = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { - auto str = _internal_mutable_encr_keysize(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.encr_keysize")); - } else - goto handle_unusual; - continue; - // string integ_alg = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 194)) { - auto str = _internal_mutable_integ_alg(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.integ_alg")); - } else - goto handle_unusual; - continue; - // string integ_keysize = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 202)) { - auto str = _internal_mutable_integ_keysize(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.integ_keysize")); - } else - goto handle_unusual; - continue; - // string prf_alg = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 210)) { - auto str = _internal_mutable_prf_alg(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.prf_alg")); - } else - goto handle_unusual; - continue; - // string dh_group = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 218)) { - auto str = _internal_mutable_dh_group(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.dh_group")); - } else - goto handle_unusual; - continue; - // string ppk = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 226)) { - auto str = _internal_mutable_ppk(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.ppk")); - } else - goto handle_unusual; - continue; - // string established = 29; - case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 234)) { - auto str = _internal_mutable_established(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.established")); - } else - goto handle_unusual; - continue; - // string rekey_time = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { - auto str = _internal_mutable_rekey_time(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.rekey_time")); - } else - goto handle_unusual; - continue; - // string reauth_time = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { - auto str = _internal_mutable_reauth_time(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.reauth_time")); - } else - goto handle_unusual; - continue; - // repeated string local_vips = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 2)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_local_vips(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.local_vips")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<258>(ptr)); - } else - goto handle_unusual; - continue; - // repeated string remote_vips = 33; - case 33: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_remote_vips(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.remote_vips")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<266>(ptr)); - } else - goto handle_unusual; - continue; - // repeated string tasks_queued = 34; - case 34: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_tasks_queued(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.tasks_queued")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<274>(ptr)); - } else - goto handle_unusual; - continue; - // repeated string tasks_active = 35; - case 35: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_tasks_active(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.tasks_active")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<282>(ptr)); - } else - goto handle_unusual; - continue; - // repeated string tasks_passive = 36; - case 36: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 2; - do { - ptr += 2; - auto str = _internal_add_tasks_passive(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListIkeSa.tasks_passive")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<290>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.ListChildSa childsas = 37; - case 37: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_childsas(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<298>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ListIkeSa::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.ListIkeSa) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // string uniqueid = 2; - if (!this->_internal_uniqueid().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_uniqueid().data(), static_cast(this->_internal_uniqueid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.uniqueid"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_uniqueid(), target); - } - - // string version = 3; - if (!this->_internal_version().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_version().data(), static_cast(this->_internal_version().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.version"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_version(), target); - } - - // .opi_api.security.v1.IkeSaState ikestate = 4; - if (this->_internal_ikestate() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 4, this->_internal_ikestate(), target); - } - - // string local_host = 5; - if (!this->_internal_local_host().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_local_host().data(), static_cast(this->_internal_local_host().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.local_host"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_local_host(), target); - } - - // string local_port = 6; - if (!this->_internal_local_port().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_local_port().data(), static_cast(this->_internal_local_port().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.local_port"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_local_port(), target); - } - - // string local_id = 7; - if (!this->_internal_local_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_local_id().data(), static_cast(this->_internal_local_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.local_id"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_local_id(), target); - } - - // string remote_host = 8; - if (!this->_internal_remote_host().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_remote_host().data(), static_cast(this->_internal_remote_host().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.remote_host"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_remote_host(), target); - } - - // string remote_port = 9; - if (!this->_internal_remote_port().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_remote_port().data(), static_cast(this->_internal_remote_port().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.remote_port"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_remote_port(), target); - } - - // string remote_id = 10; - if (!this->_internal_remote_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_remote_id().data(), static_cast(this->_internal_remote_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.remote_id"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_remote_id(), target); - } - - // string remote_xauth_id = 11; - if (!this->_internal_remote_xauth_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_remote_xauth_id().data(), static_cast(this->_internal_remote_xauth_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.remote_xauth_id"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_remote_xauth_id(), target); - } - - // string remote_eap_id = 12; - if (!this->_internal_remote_eap_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_remote_eap_id().data(), static_cast(this->_internal_remote_eap_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.remote_eap_id"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_remote_eap_id(), target); - } - - // string initiator = 13; - if (!this->_internal_initiator().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_initiator().data(), static_cast(this->_internal_initiator().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.initiator"); - target = stream->WriteStringMaybeAliased( - 13, this->_internal_initiator(), target); - } - - // string initiator_spi = 14; - if (!this->_internal_initiator_spi().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_initiator_spi().data(), static_cast(this->_internal_initiator_spi().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.initiator_spi"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_initiator_spi(), target); - } - - // string responder_spi = 15; - if (!this->_internal_responder_spi().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_responder_spi().data(), static_cast(this->_internal_responder_spi().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.responder_spi"); - target = stream->WriteStringMaybeAliased( - 15, this->_internal_responder_spi(), target); - } - - // string nat_local = 16; - if (!this->_internal_nat_local().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_nat_local().data(), static_cast(this->_internal_nat_local().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.nat_local"); - target = stream->WriteStringMaybeAliased( - 16, this->_internal_nat_local(), target); - } - - // string nat_remote = 17; - if (!this->_internal_nat_remote().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_nat_remote().data(), static_cast(this->_internal_nat_remote().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.nat_remote"); - target = stream->WriteStringMaybeAliased( - 17, this->_internal_nat_remote(), target); - } - - // string nat_fake = 18; - if (!this->_internal_nat_fake().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_nat_fake().data(), static_cast(this->_internal_nat_fake().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.nat_fake"); - target = stream->WriteStringMaybeAliased( - 18, this->_internal_nat_fake(), target); - } - - // string nat_any = 19; - if (!this->_internal_nat_any().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_nat_any().data(), static_cast(this->_internal_nat_any().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.nat_any"); - target = stream->WriteStringMaybeAliased( - 19, this->_internal_nat_any(), target); - } - - // string if_id_in = 20; - if (!this->_internal_if_id_in().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_if_id_in().data(), static_cast(this->_internal_if_id_in().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.if_id_in"); - target = stream->WriteStringMaybeAliased( - 20, this->_internal_if_id_in(), target); - } - - // string if_id_out = 21; - if (!this->_internal_if_id_out().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_if_id_out().data(), static_cast(this->_internal_if_id_out().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.if_id_out"); - target = stream->WriteStringMaybeAliased( - 21, this->_internal_if_id_out(), target); - } - - // string encr_alg = 22; - if (!this->_internal_encr_alg().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_encr_alg().data(), static_cast(this->_internal_encr_alg().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.encr_alg"); - target = stream->WriteStringMaybeAliased( - 22, this->_internal_encr_alg(), target); - } - - // string encr_keysize = 23; - if (!this->_internal_encr_keysize().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_encr_keysize().data(), static_cast(this->_internal_encr_keysize().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.encr_keysize"); - target = stream->WriteStringMaybeAliased( - 23, this->_internal_encr_keysize(), target); - } - - // string integ_alg = 24; - if (!this->_internal_integ_alg().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_integ_alg().data(), static_cast(this->_internal_integ_alg().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.integ_alg"); - target = stream->WriteStringMaybeAliased( - 24, this->_internal_integ_alg(), target); - } - - // string integ_keysize = 25; - if (!this->_internal_integ_keysize().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_integ_keysize().data(), static_cast(this->_internal_integ_keysize().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.integ_keysize"); - target = stream->WriteStringMaybeAliased( - 25, this->_internal_integ_keysize(), target); - } - - // string prf_alg = 26; - if (!this->_internal_prf_alg().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_prf_alg().data(), static_cast(this->_internal_prf_alg().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.prf_alg"); - target = stream->WriteStringMaybeAliased( - 26, this->_internal_prf_alg(), target); - } - - // string dh_group = 27; - if (!this->_internal_dh_group().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_dh_group().data(), static_cast(this->_internal_dh_group().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.dh_group"); - target = stream->WriteStringMaybeAliased( - 27, this->_internal_dh_group(), target); - } - - // string ppk = 28; - if (!this->_internal_ppk().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_ppk().data(), static_cast(this->_internal_ppk().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.ppk"); - target = stream->WriteStringMaybeAliased( - 28, this->_internal_ppk(), target); - } - - // string established = 29; - if (!this->_internal_established().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_established().data(), static_cast(this->_internal_established().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.established"); - target = stream->WriteStringMaybeAliased( - 29, this->_internal_established(), target); - } - - // string rekey_time = 30; - if (!this->_internal_rekey_time().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_rekey_time().data(), static_cast(this->_internal_rekey_time().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.rekey_time"); - target = stream->WriteStringMaybeAliased( - 30, this->_internal_rekey_time(), target); - } - - // string reauth_time = 31; - if (!this->_internal_reauth_time().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_reauth_time().data(), static_cast(this->_internal_reauth_time().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.reauth_time"); - target = stream->WriteStringMaybeAliased( - 31, this->_internal_reauth_time(), target); - } - - // repeated string local_vips = 32; - for (int i = 0, n = this->_internal_local_vips_size(); i < n; i++) { - const auto& s = this->_internal_local_vips(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.local_vips"); - target = stream->WriteString(32, s, target); - } - - // repeated string remote_vips = 33; - for (int i = 0, n = this->_internal_remote_vips_size(); i < n; i++) { - const auto& s = this->_internal_remote_vips(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.remote_vips"); - target = stream->WriteString(33, s, target); - } - - // repeated string tasks_queued = 34; - for (int i = 0, n = this->_internal_tasks_queued_size(); i < n; i++) { - const auto& s = this->_internal_tasks_queued(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.tasks_queued"); - target = stream->WriteString(34, s, target); - } - - // repeated string tasks_active = 35; - for (int i = 0, n = this->_internal_tasks_active_size(); i < n; i++) { - const auto& s = this->_internal_tasks_active(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.tasks_active"); - target = stream->WriteString(35, s, target); - } - - // repeated string tasks_passive = 36; - for (int i = 0, n = this->_internal_tasks_passive_size(); i < n; i++) { - const auto& s = this->_internal_tasks_passive(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListIkeSa.tasks_passive"); - target = stream->WriteString(36, s, target); - } - - // repeated .opi_api.security.v1.ListChildSa childsas = 37; - for (unsigned i = 0, - n = static_cast(this->_internal_childsas_size()); i < n; i++) { - const auto& repfield = this->_internal_childsas(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(37, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.ListIkeSa) - return target; -} - -size_t ListIkeSa::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.ListIkeSa) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string local_vips = 32; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.local_vips_.size()); - for (int i = 0, n = _impl_.local_vips_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.local_vips_.Get(i)); - } - - // repeated string remote_vips = 33; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.remote_vips_.size()); - for (int i = 0, n = _impl_.remote_vips_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.remote_vips_.Get(i)); - } - - // repeated string tasks_queued = 34; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.tasks_queued_.size()); - for (int i = 0, n = _impl_.tasks_queued_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.tasks_queued_.Get(i)); - } - - // repeated string tasks_active = 35; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.tasks_active_.size()); - for (int i = 0, n = _impl_.tasks_active_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.tasks_active_.Get(i)); - } - - // repeated string tasks_passive = 36; - total_size += 2 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.tasks_passive_.size()); - for (int i = 0, n = _impl_.tasks_passive_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.tasks_passive_.Get(i)); - } - - // repeated .opi_api.security.v1.ListChildSa childsas = 37; - total_size += 2UL * this->_internal_childsas_size(); - for (const auto& msg : this->_impl_.childsas_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // string uniqueid = 2; - if (!this->_internal_uniqueid().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_uniqueid()); - } - - // string version = 3; - if (!this->_internal_version().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_version()); - } - - // string local_host = 5; - if (!this->_internal_local_host().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_local_host()); - } - - // string local_port = 6; - if (!this->_internal_local_port().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_local_port()); - } - - // string local_id = 7; - if (!this->_internal_local_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_local_id()); - } - - // string remote_host = 8; - if (!this->_internal_remote_host().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_remote_host()); - } - - // string remote_port = 9; - if (!this->_internal_remote_port().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_remote_port()); - } - - // string remote_id = 10; - if (!this->_internal_remote_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_remote_id()); - } - - // string remote_xauth_id = 11; - if (!this->_internal_remote_xauth_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_remote_xauth_id()); - } - - // string remote_eap_id = 12; - if (!this->_internal_remote_eap_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_remote_eap_id()); - } - - // string initiator = 13; - if (!this->_internal_initiator().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_initiator()); - } - - // string initiator_spi = 14; - if (!this->_internal_initiator_spi().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_initiator_spi()); - } - - // string responder_spi = 15; - if (!this->_internal_responder_spi().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_responder_spi()); - } - - // string nat_local = 16; - if (!this->_internal_nat_local().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nat_local()); - } - - // string nat_remote = 17; - if (!this->_internal_nat_remote().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nat_remote()); - } - - // string nat_fake = 18; - if (!this->_internal_nat_fake().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nat_fake()); - } - - // string nat_any = 19; - if (!this->_internal_nat_any().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nat_any()); - } - - // string if_id_in = 20; - if (!this->_internal_if_id_in().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_if_id_in()); - } - - // string if_id_out = 21; - if (!this->_internal_if_id_out().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_if_id_out()); - } - - // string encr_alg = 22; - if (!this->_internal_encr_alg().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_encr_alg()); - } - - // string encr_keysize = 23; - if (!this->_internal_encr_keysize().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_encr_keysize()); - } - - // string integ_alg = 24; - if (!this->_internal_integ_alg().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_integ_alg()); - } - - // string integ_keysize = 25; - if (!this->_internal_integ_keysize().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_integ_keysize()); - } - - // string prf_alg = 26; - if (!this->_internal_prf_alg().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_prf_alg()); - } - - // string dh_group = 27; - if (!this->_internal_dh_group().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_dh_group()); - } - - // string ppk = 28; - if (!this->_internal_ppk().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ppk()); - } - - // string established = 29; - if (!this->_internal_established().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_established()); - } - - // string rekey_time = 30; - if (!this->_internal_rekey_time().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_rekey_time()); - } - - // string reauth_time = 31; - if (!this->_internal_reauth_time().empty()) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_reauth_time()); - } - - // .opi_api.security.v1.IkeSaState ikestate = 4; - if (this->_internal_ikestate() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_ikestate()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListIkeSa::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ListIkeSa::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListIkeSa::GetClassData() const { return &_class_data_; } - - -void ListIkeSa::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.ListIkeSa) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.local_vips_.MergeFrom(from._impl_.local_vips_); - _this->_impl_.remote_vips_.MergeFrom(from._impl_.remote_vips_); - _this->_impl_.tasks_queued_.MergeFrom(from._impl_.tasks_queued_); - _this->_impl_.tasks_active_.MergeFrom(from._impl_.tasks_active_); - _this->_impl_.tasks_passive_.MergeFrom(from._impl_.tasks_passive_); - _this->_impl_.childsas_.MergeFrom(from._impl_.childsas_); - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - if (!from._internal_uniqueid().empty()) { - _this->_internal_set_uniqueid(from._internal_uniqueid()); - } - if (!from._internal_version().empty()) { - _this->_internal_set_version(from._internal_version()); - } - if (!from._internal_local_host().empty()) { - _this->_internal_set_local_host(from._internal_local_host()); - } - if (!from._internal_local_port().empty()) { - _this->_internal_set_local_port(from._internal_local_port()); - } - if (!from._internal_local_id().empty()) { - _this->_internal_set_local_id(from._internal_local_id()); - } - if (!from._internal_remote_host().empty()) { - _this->_internal_set_remote_host(from._internal_remote_host()); - } - if (!from._internal_remote_port().empty()) { - _this->_internal_set_remote_port(from._internal_remote_port()); - } - if (!from._internal_remote_id().empty()) { - _this->_internal_set_remote_id(from._internal_remote_id()); - } - if (!from._internal_remote_xauth_id().empty()) { - _this->_internal_set_remote_xauth_id(from._internal_remote_xauth_id()); - } - if (!from._internal_remote_eap_id().empty()) { - _this->_internal_set_remote_eap_id(from._internal_remote_eap_id()); - } - if (!from._internal_initiator().empty()) { - _this->_internal_set_initiator(from._internal_initiator()); - } - if (!from._internal_initiator_spi().empty()) { - _this->_internal_set_initiator_spi(from._internal_initiator_spi()); - } - if (!from._internal_responder_spi().empty()) { - _this->_internal_set_responder_spi(from._internal_responder_spi()); - } - if (!from._internal_nat_local().empty()) { - _this->_internal_set_nat_local(from._internal_nat_local()); - } - if (!from._internal_nat_remote().empty()) { - _this->_internal_set_nat_remote(from._internal_nat_remote()); - } - if (!from._internal_nat_fake().empty()) { - _this->_internal_set_nat_fake(from._internal_nat_fake()); - } - if (!from._internal_nat_any().empty()) { - _this->_internal_set_nat_any(from._internal_nat_any()); - } - if (!from._internal_if_id_in().empty()) { - _this->_internal_set_if_id_in(from._internal_if_id_in()); - } - if (!from._internal_if_id_out().empty()) { - _this->_internal_set_if_id_out(from._internal_if_id_out()); - } - if (!from._internal_encr_alg().empty()) { - _this->_internal_set_encr_alg(from._internal_encr_alg()); - } - if (!from._internal_encr_keysize().empty()) { - _this->_internal_set_encr_keysize(from._internal_encr_keysize()); - } - if (!from._internal_integ_alg().empty()) { - _this->_internal_set_integ_alg(from._internal_integ_alg()); - } - if (!from._internal_integ_keysize().empty()) { - _this->_internal_set_integ_keysize(from._internal_integ_keysize()); - } - if (!from._internal_prf_alg().empty()) { - _this->_internal_set_prf_alg(from._internal_prf_alg()); - } - if (!from._internal_dh_group().empty()) { - _this->_internal_set_dh_group(from._internal_dh_group()); - } - if (!from._internal_ppk().empty()) { - _this->_internal_set_ppk(from._internal_ppk()); - } - if (!from._internal_established().empty()) { - _this->_internal_set_established(from._internal_established()); - } - if (!from._internal_rekey_time().empty()) { - _this->_internal_set_rekey_time(from._internal_rekey_time()); - } - if (!from._internal_reauth_time().empty()) { - _this->_internal_set_reauth_time(from._internal_reauth_time()); - } - if (from._internal_ikestate() != 0) { - _this->_internal_set_ikestate(from._internal_ikestate()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ListIkeSa::CopyFrom(const ListIkeSa& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.ListIkeSa) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListIkeSa::IsInitialized() const { - return true; -} - -void ListIkeSa::InternalSwap(ListIkeSa* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.local_vips_.InternalSwap(&other->_impl_.local_vips_); - _impl_.remote_vips_.InternalSwap(&other->_impl_.remote_vips_); - _impl_.tasks_queued_.InternalSwap(&other->_impl_.tasks_queued_); - _impl_.tasks_active_.InternalSwap(&other->_impl_.tasks_active_); - _impl_.tasks_passive_.InternalSwap(&other->_impl_.tasks_passive_); - _impl_.childsas_.InternalSwap(&other->_impl_.childsas_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.uniqueid_, lhs_arena, - &other->_impl_.uniqueid_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.version_, lhs_arena, - &other->_impl_.version_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.local_host_, lhs_arena, - &other->_impl_.local_host_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.local_port_, lhs_arena, - &other->_impl_.local_port_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.local_id_, lhs_arena, - &other->_impl_.local_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.remote_host_, lhs_arena, - &other->_impl_.remote_host_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.remote_port_, lhs_arena, - &other->_impl_.remote_port_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.remote_id_, lhs_arena, - &other->_impl_.remote_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.remote_xauth_id_, lhs_arena, - &other->_impl_.remote_xauth_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.remote_eap_id_, lhs_arena, - &other->_impl_.remote_eap_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.initiator_, lhs_arena, - &other->_impl_.initiator_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.initiator_spi_, lhs_arena, - &other->_impl_.initiator_spi_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.responder_spi_, lhs_arena, - &other->_impl_.responder_spi_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.nat_local_, lhs_arena, - &other->_impl_.nat_local_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.nat_remote_, lhs_arena, - &other->_impl_.nat_remote_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.nat_fake_, lhs_arena, - &other->_impl_.nat_fake_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.nat_any_, lhs_arena, - &other->_impl_.nat_any_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.if_id_in_, lhs_arena, - &other->_impl_.if_id_in_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.if_id_out_, lhs_arena, - &other->_impl_.if_id_out_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encr_alg_, lhs_arena, - &other->_impl_.encr_alg_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encr_keysize_, lhs_arena, - &other->_impl_.encr_keysize_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.integ_alg_, lhs_arena, - &other->_impl_.integ_alg_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.integ_keysize_, lhs_arena, - &other->_impl_.integ_keysize_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.prf_alg_, lhs_arena, - &other->_impl_.prf_alg_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dh_group_, lhs_arena, - &other->_impl_.dh_group_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ppk_, lhs_arena, - &other->_impl_.ppk_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.established_, lhs_arena, - &other->_impl_.established_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.rekey_time_, lhs_arena, - &other->_impl_.rekey_time_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.reauth_time_, lhs_arena, - &other->_impl_.reauth_time_, rhs_arena - ); - swap(_impl_.ikestate_, other->_impl_.ikestate_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ListIkeSa::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[27]); -} - -// =================================================================== - -class IPsecListSasResponse::_Internal { - public: -}; - -IPsecListSasResponse::IPsecListSasResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecListSasResponse) -} -IPsecListSasResponse::IPsecListSasResponse(const IPsecListSasResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecListSasResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.ikesas_){from._impl_.ikesas_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecListSasResponse) -} - -inline void IPsecListSasResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.ikesas_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -IPsecListSasResponse::~IPsecListSasResponse() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecListSasResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecListSasResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ikesas_.~RepeatedPtrField(); -} - -void IPsecListSasResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecListSasResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecListSasResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ikesas_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecListSasResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .opi_api.security.v1.ListIkeSa ikesas = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_ikesas(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecListSasResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecListSasResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .opi_api.security.v1.ListIkeSa ikesas = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_ikesas_size()); i < n; i++) { - const auto& repfield = this->_internal_ikesas(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecListSasResponse) - return target; -} - -size_t IPsecListSasResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecListSasResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .opi_api.security.v1.ListIkeSa ikesas = 1; - total_size += 1UL * this->_internal_ikesas_size(); - for (const auto& msg : this->_impl_.ikesas_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecListSasResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecListSasResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecListSasResponse::GetClassData() const { return &_class_data_; } - - -void IPsecListSasResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecListSasResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ikesas_.MergeFrom(from._impl_.ikesas_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecListSasResponse::CopyFrom(const IPsecListSasResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecListSasResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecListSasResponse::IsInitialized() const { - return true; -} - -void IPsecListSasResponse::InternalSwap(IPsecListSasResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.ikesas_.InternalSwap(&other->_impl_.ikesas_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecListSasResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[28]); -} - -// =================================================================== - -class IPsecListConnsRequest::_Internal { - public: -}; - -IPsecListConnsRequest::IPsecListConnsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecListConnsRequest) -} -IPsecListConnsRequest::IPsecListConnsRequest(const IPsecListConnsRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecListConnsRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.ike_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_ike().empty()) { - _this->_impl_.ike_.Set(from._internal_ike(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecListConnsRequest) -} - -inline void IPsecListConnsRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.ike_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.ike_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ike_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecListConnsRequest::~IPsecListConnsRequest() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecListConnsRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecListConnsRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ike_.Destroy(); -} - -void IPsecListConnsRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecListConnsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecListConnsRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ike_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecListConnsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string ike = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_ike(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecListConnsRequest.ike")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecListConnsRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecListConnsRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string ike = 1; - if (!this->_internal_ike().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_ike().data(), static_cast(this->_internal_ike().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecListConnsRequest.ike"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_ike(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecListConnsRequest) - return target; -} - -size_t IPsecListConnsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecListConnsRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string ike = 1; - if (!this->_internal_ike().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ike()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecListConnsRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecListConnsRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecListConnsRequest::GetClassData() const { return &_class_data_; } - - -void IPsecListConnsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecListConnsRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_ike().empty()) { - _this->_internal_set_ike(from._internal_ike()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecListConnsRequest::CopyFrom(const IPsecListConnsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecListConnsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecListConnsRequest::IsInitialized() const { - return true; -} - -void IPsecListConnsRequest::InternalSwap(IPsecListConnsRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ike_, lhs_arena, - &other->_impl_.ike_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecListConnsRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[29]); -} - -// =================================================================== - -class ListConnAuth::_Internal { - public: - static const ::opi_api::security::v1::Groups& group(const ListConnAuth* msg); - static const ::opi_api::security::v1::CertPolicy& cert_policy(const ListConnAuth* msg); - static const ::opi_api::security::v1::Certs& certs(const ListConnAuth* msg); - static const ::opi_api::security::v1::CaCerts& cacerts(const ListConnAuth* msg); -}; - -const ::opi_api::security::v1::Groups& -ListConnAuth::_Internal::group(const ListConnAuth* msg) { - return *msg->_impl_.group_; -} -const ::opi_api::security::v1::CertPolicy& -ListConnAuth::_Internal::cert_policy(const ListConnAuth* msg) { - return *msg->_impl_.cert_policy_; -} -const ::opi_api::security::v1::Certs& -ListConnAuth::_Internal::certs(const ListConnAuth* msg) { - return *msg->_impl_.certs_; -} -const ::opi_api::security::v1::CaCerts& -ListConnAuth::_Internal::cacerts(const ListConnAuth* msg) { - return *msg->_impl_.cacerts_; -} -ListConnAuth::ListConnAuth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.ListConnAuth) -} -ListConnAuth::ListConnAuth(const ListConnAuth& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ListConnAuth* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.class__){} - , decltype(_impl_.eaptype_){} - , decltype(_impl_.eapvendor_){} - , decltype(_impl_.xauth_){} - , decltype(_impl_.revocation_){} - , decltype(_impl_.id_){} - , decltype(_impl_.ca_id_){} - , decltype(_impl_.aaa_id_){} - , decltype(_impl_.eap_id_){} - , decltype(_impl_.xauth_id_){} - , decltype(_impl_.group_){nullptr} - , decltype(_impl_.cert_policy_){nullptr} - , decltype(_impl_.certs_){nullptr} - , decltype(_impl_.cacerts_){nullptr} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.class__.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.class__.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_class_().empty()) { - _this->_impl_.class__.Set(from._internal_class_(), - _this->GetArenaForAllocation()); - } - _impl_.eaptype_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eaptype_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_eaptype().empty()) { - _this->_impl_.eaptype_.Set(from._internal_eaptype(), - _this->GetArenaForAllocation()); - } - _impl_.eapvendor_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eapvendor_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_eapvendor().empty()) { - _this->_impl_.eapvendor_.Set(from._internal_eapvendor(), - _this->GetArenaForAllocation()); - } - _impl_.xauth_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.xauth_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_xauth().empty()) { - _this->_impl_.xauth_.Set(from._internal_xauth(), - _this->GetArenaForAllocation()); - } - _impl_.revocation_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.revocation_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_revocation().empty()) { - _this->_impl_.revocation_.Set(from._internal_revocation(), - _this->GetArenaForAllocation()); - } - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - _this->_impl_.id_.Set(from._internal_id(), - _this->GetArenaForAllocation()); - } - _impl_.ca_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ca_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_ca_id().empty()) { - _this->_impl_.ca_id_.Set(from._internal_ca_id(), - _this->GetArenaForAllocation()); - } - _impl_.aaa_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.aaa_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_aaa_id().empty()) { - _this->_impl_.aaa_id_.Set(from._internal_aaa_id(), - _this->GetArenaForAllocation()); - } - _impl_.eap_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eap_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_eap_id().empty()) { - _this->_impl_.eap_id_.Set(from._internal_eap_id(), - _this->GetArenaForAllocation()); - } - _impl_.xauth_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.xauth_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_xauth_id().empty()) { - _this->_impl_.xauth_id_.Set(from._internal_xauth_id(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_group()) { - _this->_impl_.group_ = new ::opi_api::security::v1::Groups(*from._impl_.group_); - } - if (from._internal_has_cert_policy()) { - _this->_impl_.cert_policy_ = new ::opi_api::security::v1::CertPolicy(*from._impl_.cert_policy_); - } - if (from._internal_has_certs()) { - _this->_impl_.certs_ = new ::opi_api::security::v1::Certs(*from._impl_.certs_); - } - if (from._internal_has_cacerts()) { - _this->_impl_.cacerts_ = new ::opi_api::security::v1::CaCerts(*from._impl_.cacerts_); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.ListConnAuth) -} - -inline void ListConnAuth::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.class__){} - , decltype(_impl_.eaptype_){} - , decltype(_impl_.eapvendor_){} - , decltype(_impl_.xauth_){} - , decltype(_impl_.revocation_){} - , decltype(_impl_.id_){} - , decltype(_impl_.ca_id_){} - , decltype(_impl_.aaa_id_){} - , decltype(_impl_.eap_id_){} - , decltype(_impl_.xauth_id_){} - , decltype(_impl_.group_){nullptr} - , decltype(_impl_.cert_policy_){nullptr} - , decltype(_impl_.certs_){nullptr} - , decltype(_impl_.cacerts_){nullptr} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.class__.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.class__.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eaptype_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eaptype_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eapvendor_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eapvendor_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.xauth_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.xauth_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.revocation_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.revocation_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ca_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ca_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.aaa_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.aaa_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eap_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.eap_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.xauth_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.xauth_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -ListConnAuth::~ListConnAuth() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.ListConnAuth) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ListConnAuth::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.class__.Destroy(); - _impl_.eaptype_.Destroy(); - _impl_.eapvendor_.Destroy(); - _impl_.xauth_.Destroy(); - _impl_.revocation_.Destroy(); - _impl_.id_.Destroy(); - _impl_.ca_id_.Destroy(); - _impl_.aaa_id_.Destroy(); - _impl_.eap_id_.Destroy(); - _impl_.xauth_id_.Destroy(); - if (this != internal_default_instance()) delete _impl_.group_; - if (this != internal_default_instance()) delete _impl_.cert_policy_; - if (this != internal_default_instance()) delete _impl_.certs_; - if (this != internal_default_instance()) delete _impl_.cacerts_; -} - -void ListConnAuth::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ListConnAuth::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.ListConnAuth) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.class__.ClearToEmpty(); - _impl_.eaptype_.ClearToEmpty(); - _impl_.eapvendor_.ClearToEmpty(); - _impl_.xauth_.ClearToEmpty(); - _impl_.revocation_.ClearToEmpty(); - _impl_.id_.ClearToEmpty(); - _impl_.ca_id_.ClearToEmpty(); - _impl_.aaa_id_.ClearToEmpty(); - _impl_.eap_id_.ClearToEmpty(); - _impl_.xauth_id_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && _impl_.group_ != nullptr) { - delete _impl_.group_; - } - _impl_.group_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.cert_policy_ != nullptr) { - delete _impl_.cert_policy_; - } - _impl_.cert_policy_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.certs_ != nullptr) { - delete _impl_.certs_; - } - _impl_.certs_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.cacerts_ != nullptr) { - delete _impl_.cacerts_; - } - _impl_.cacerts_ = nullptr; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ListConnAuth::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string class = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_class_(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.class")); - } else - goto handle_unusual; - continue; - // string eaptype = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_eaptype(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.eaptype")); - } else - goto handle_unusual; - continue; - // string eapvendor = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_eapvendor(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.eapvendor")); - } else - goto handle_unusual; - continue; - // string xauth = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_xauth(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.xauth")); - } else - goto handle_unusual; - continue; - // string revocation = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_revocation(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.revocation")); - } else - goto handle_unusual; - continue; - // string id = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.id")); - } else - goto handle_unusual; - continue; - // string ca_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_ca_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.ca_id")); - } else - goto handle_unusual; - continue; - // string aaa_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_aaa_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.aaa_id")); - } else - goto handle_unusual; - continue; - // string eap_id = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_eap_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.eap_id")); - } else - goto handle_unusual; - continue; - // string xauth_id = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_xauth_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnAuth.xauth_id")); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Groups group = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_group(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.CertPolicy cert_policy = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_cert_policy(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.Certs certs = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_certs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.CaCerts cacerts = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr = ctx->ParseMessage(_internal_mutable_cacerts(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ListConnAuth::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.ListConnAuth) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string class = 1; - if (!this->_internal_class_().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_class_().data(), static_cast(this->_internal_class_().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.class"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_class_(), target); - } - - // string eaptype = 2; - if (!this->_internal_eaptype().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_eaptype().data(), static_cast(this->_internal_eaptype().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.eaptype"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_eaptype(), target); - } - - // string eapvendor = 3; - if (!this->_internal_eapvendor().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_eapvendor().data(), static_cast(this->_internal_eapvendor().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.eapvendor"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_eapvendor(), target); - } - - // string xauth = 4; - if (!this->_internal_xauth().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_xauth().data(), static_cast(this->_internal_xauth().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.xauth"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_xauth(), target); - } - - // string revocation = 5; - if (!this->_internal_revocation().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_revocation().data(), static_cast(this->_internal_revocation().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.revocation"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_revocation(), target); - } - - // string id = 6; - if (!this->_internal_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.id"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_id(), target); - } - - // string ca_id = 7; - if (!this->_internal_ca_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_ca_id().data(), static_cast(this->_internal_ca_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.ca_id"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_ca_id(), target); - } - - // string aaa_id = 8; - if (!this->_internal_aaa_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_aaa_id().data(), static_cast(this->_internal_aaa_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.aaa_id"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_aaa_id(), target); - } - - // string eap_id = 9; - if (!this->_internal_eap_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_eap_id().data(), static_cast(this->_internal_eap_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.eap_id"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_eap_id(), target); - } - - // string xauth_id = 10; - if (!this->_internal_xauth_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_xauth_id().data(), static_cast(this->_internal_xauth_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnAuth.xauth_id"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_xauth_id(), target); - } - - // .opi_api.security.v1.Groups group = 11; - if (this->_internal_has_group()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::group(this), - _Internal::group(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.CertPolicy cert_policy = 12; - if (this->_internal_has_cert_policy()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::cert_policy(this), - _Internal::cert_policy(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.Certs certs = 13; - if (this->_internal_has_certs()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::certs(this), - _Internal::certs(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.CaCerts cacerts = 14; - if (this->_internal_has_cacerts()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, _Internal::cacerts(this), - _Internal::cacerts(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.ListConnAuth) - return target; -} - -size_t ListConnAuth::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.ListConnAuth) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string class = 1; - if (!this->_internal_class_().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_class_()); - } - - // string eaptype = 2; - if (!this->_internal_eaptype().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_eaptype()); - } - - // string eapvendor = 3; - if (!this->_internal_eapvendor().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_eapvendor()); - } - - // string xauth = 4; - if (!this->_internal_xauth().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_xauth()); - } - - // string revocation = 5; - if (!this->_internal_revocation().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_revocation()); - } - - // string id = 6; - if (!this->_internal_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); - } - - // string ca_id = 7; - if (!this->_internal_ca_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ca_id()); - } - - // string aaa_id = 8; - if (!this->_internal_aaa_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_aaa_id()); - } - - // string eap_id = 9; - if (!this->_internal_eap_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_eap_id()); - } - - // string xauth_id = 10; - if (!this->_internal_xauth_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_xauth_id()); - } - - // .opi_api.security.v1.Groups group = 11; - if (this->_internal_has_group()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.group_); - } - - // .opi_api.security.v1.CertPolicy cert_policy = 12; - if (this->_internal_has_cert_policy()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_policy_); - } - - // .opi_api.security.v1.Certs certs = 13; - if (this->_internal_has_certs()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.certs_); - } - - // .opi_api.security.v1.CaCerts cacerts = 14; - if (this->_internal_has_cacerts()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cacerts_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListConnAuth::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ListConnAuth::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListConnAuth::GetClassData() const { return &_class_data_; } - - -void ListConnAuth::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.ListConnAuth) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_class_().empty()) { - _this->_internal_set_class_(from._internal_class_()); - } - if (!from._internal_eaptype().empty()) { - _this->_internal_set_eaptype(from._internal_eaptype()); - } - if (!from._internal_eapvendor().empty()) { - _this->_internal_set_eapvendor(from._internal_eapvendor()); - } - if (!from._internal_xauth().empty()) { - _this->_internal_set_xauth(from._internal_xauth()); - } - if (!from._internal_revocation().empty()) { - _this->_internal_set_revocation(from._internal_revocation()); - } - if (!from._internal_id().empty()) { - _this->_internal_set_id(from._internal_id()); - } - if (!from._internal_ca_id().empty()) { - _this->_internal_set_ca_id(from._internal_ca_id()); - } - if (!from._internal_aaa_id().empty()) { - _this->_internal_set_aaa_id(from._internal_aaa_id()); - } - if (!from._internal_eap_id().empty()) { - _this->_internal_set_eap_id(from._internal_eap_id()); - } - if (!from._internal_xauth_id().empty()) { - _this->_internal_set_xauth_id(from._internal_xauth_id()); - } - if (from._internal_has_group()) { - _this->_internal_mutable_group()->::opi_api::security::v1::Groups::MergeFrom( - from._internal_group()); - } - if (from._internal_has_cert_policy()) { - _this->_internal_mutable_cert_policy()->::opi_api::security::v1::CertPolicy::MergeFrom( - from._internal_cert_policy()); - } - if (from._internal_has_certs()) { - _this->_internal_mutable_certs()->::opi_api::security::v1::Certs::MergeFrom( - from._internal_certs()); - } - if (from._internal_has_cacerts()) { - _this->_internal_mutable_cacerts()->::opi_api::security::v1::CaCerts::MergeFrom( - from._internal_cacerts()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ListConnAuth::CopyFrom(const ListConnAuth& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.ListConnAuth) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListConnAuth::IsInitialized() const { - return true; -} - -void ListConnAuth::InternalSwap(ListConnAuth* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.class__, lhs_arena, - &other->_impl_.class__, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.eaptype_, lhs_arena, - &other->_impl_.eaptype_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.eapvendor_, lhs_arena, - &other->_impl_.eapvendor_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.xauth_, lhs_arena, - &other->_impl_.xauth_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.revocation_, lhs_arena, - &other->_impl_.revocation_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.id_, lhs_arena, - &other->_impl_.id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ca_id_, lhs_arena, - &other->_impl_.ca_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.aaa_id_, lhs_arena, - &other->_impl_.aaa_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.eap_id_, lhs_arena, - &other->_impl_.eap_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.xauth_id_, lhs_arena, - &other->_impl_.xauth_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ListConnAuth, _impl_.cacerts_) - + sizeof(ListConnAuth::_impl_.cacerts_) - - PROTOBUF_FIELD_OFFSET(ListConnAuth, _impl_.group_)>( - reinterpret_cast(&_impl_.group_), - reinterpret_cast(&other->_impl_.group_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ListConnAuth::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[30]); -} - -// =================================================================== - -class ListChild::_Internal { - public: - static const ::opi_api::security::v1::TrafficSelectors& local_ts(const ListChild* msg); - static const ::opi_api::security::v1::TrafficSelectors& remote_ts(const ListChild* msg); -}; - -const ::opi_api::security::v1::TrafficSelectors& -ListChild::_Internal::local_ts(const ListChild* msg) { - return *msg->_impl_.local_ts_; -} -const ::opi_api::security::v1::TrafficSelectors& -ListChild::_Internal::remote_ts(const ListChild* msg) { - return *msg->_impl_.remote_ts_; -} -ListChild::ListChild(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.ListChild) -} -ListChild::ListChild(const ListChild& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ListChild* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.name_){} - , decltype(_impl_.mode_){} - , decltype(_impl_.label_){} - , decltype(_impl_.dpd_action_){} - , decltype(_impl_.close_action_){} - , decltype(_impl_.interface_){} - , decltype(_impl_.priority_){} - , decltype(_impl_.local_ts_){nullptr} - , decltype(_impl_.remote_ts_){nullptr} - , decltype(_impl_.rekey_time_){} - , decltype(_impl_.rekey_bytes_){} - , decltype(_impl_.rekey_packets_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.mode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_mode().empty()) { - _this->_impl_.mode_.Set(from._internal_mode(), - _this->GetArenaForAllocation()); - } - _impl_.label_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.label_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_label().empty()) { - _this->_impl_.label_.Set(from._internal_label(), - _this->GetArenaForAllocation()); - } - _impl_.dpd_action_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dpd_action_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_dpd_action().empty()) { - _this->_impl_.dpd_action_.Set(from._internal_dpd_action(), - _this->GetArenaForAllocation()); - } - _impl_.close_action_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.close_action_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_close_action().empty()) { - _this->_impl_.close_action_.Set(from._internal_close_action(), - _this->GetArenaForAllocation()); - } - _impl_.interface_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.interface_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_interface().empty()) { - _this->_impl_.interface_.Set(from._internal_interface(), - _this->GetArenaForAllocation()); - } - _impl_.priority_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.priority_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_priority().empty()) { - _this->_impl_.priority_.Set(from._internal_priority(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_local_ts()) { - _this->_impl_.local_ts_ = new ::opi_api::security::v1::TrafficSelectors(*from._impl_.local_ts_); - } - if (from._internal_has_remote_ts()) { - _this->_impl_.remote_ts_ = new ::opi_api::security::v1::TrafficSelectors(*from._impl_.remote_ts_); - } - ::memcpy(&_impl_.rekey_time_, &from._impl_.rekey_time_, - static_cast(reinterpret_cast(&_impl_.rekey_packets_) - - reinterpret_cast(&_impl_.rekey_time_)) + sizeof(_impl_.rekey_packets_)); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.ListChild) -} - -inline void ListChild::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.name_){} - , decltype(_impl_.mode_){} - , decltype(_impl_.label_){} - , decltype(_impl_.dpd_action_){} - , decltype(_impl_.close_action_){} - , decltype(_impl_.interface_){} - , decltype(_impl_.priority_){} - , decltype(_impl_.local_ts_){nullptr} - , decltype(_impl_.remote_ts_){nullptr} - , decltype(_impl_.rekey_time_){0u} - , decltype(_impl_.rekey_bytes_){0u} - , decltype(_impl_.rekey_packets_){0u} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.label_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.label_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dpd_action_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dpd_action_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.close_action_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.close_action_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.interface_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.interface_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.priority_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.priority_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -ListChild::~ListChild() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.ListChild) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ListChild::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.mode_.Destroy(); - _impl_.label_.Destroy(); - _impl_.dpd_action_.Destroy(); - _impl_.close_action_.Destroy(); - _impl_.interface_.Destroy(); - _impl_.priority_.Destroy(); - if (this != internal_default_instance()) delete _impl_.local_ts_; - if (this != internal_default_instance()) delete _impl_.remote_ts_; -} - -void ListChild::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ListChild::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.ListChild) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.name_.ClearToEmpty(); - _impl_.mode_.ClearToEmpty(); - _impl_.label_.ClearToEmpty(); - _impl_.dpd_action_.ClearToEmpty(); - _impl_.close_action_.ClearToEmpty(); - _impl_.interface_.ClearToEmpty(); - _impl_.priority_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && _impl_.local_ts_ != nullptr) { - delete _impl_.local_ts_; - } - _impl_.local_ts_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.remote_ts_ != nullptr) { - delete _impl_.remote_ts_; - } - _impl_.remote_ts_ = nullptr; - ::memset(&_impl_.rekey_time_, 0, static_cast( - reinterpret_cast(&_impl_.rekey_packets_) - - reinterpret_cast(&_impl_.rekey_time_)) + sizeof(_impl_.rekey_packets_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ListChild::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChild.name")); - } else - goto handle_unusual; - continue; - // string mode = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_mode(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChild.mode")); - } else - goto handle_unusual; - continue; - // string label = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_label(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChild.label")); - } else - goto handle_unusual; - continue; - // uint32 rekey_time = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _impl_.rekey_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 rekey_bytes = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _impl_.rekey_bytes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 rekey_packets = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _impl_.rekey_packets_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string dpd_action = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_dpd_action(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChild.dpd_action")); - } else - goto handle_unusual; - continue; - // string close_action = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_close_action(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChild.close_action")); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.TrafficSelectors local_ts = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_local_ts(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.TrafficSelectors remote_ts = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_remote_ts(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string interface = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_interface(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChild.interface")); - } else - goto handle_unusual; - continue; - // string priority = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_priority(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListChild.priority")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ListChild::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.ListChild) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChild.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // string mode = 2; - if (!this->_internal_mode().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_mode().data(), static_cast(this->_internal_mode().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChild.mode"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_mode(), target); - } - - // string label = 3; - if (!this->_internal_label().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_label().data(), static_cast(this->_internal_label().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChild.label"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_label(), target); - } - - // uint32 rekey_time = 4; - if (this->_internal_rekey_time() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_rekey_time(), target); - } - - // uint32 rekey_bytes = 5; - if (this->_internal_rekey_bytes() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rekey_bytes(), target); - } - - // uint32 rekey_packets = 6; - if (this->_internal_rekey_packets() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_rekey_packets(), target); - } - - // string dpd_action = 7; - if (!this->_internal_dpd_action().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_dpd_action().data(), static_cast(this->_internal_dpd_action().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChild.dpd_action"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_dpd_action(), target); - } - - // string close_action = 8; - if (!this->_internal_close_action().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_close_action().data(), static_cast(this->_internal_close_action().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChild.close_action"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_close_action(), target); - } - - // .opi_api.security.v1.TrafficSelectors local_ts = 9; - if (this->_internal_has_local_ts()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::local_ts(this), - _Internal::local_ts(this).GetCachedSize(), target, stream); - } - - // .opi_api.security.v1.TrafficSelectors remote_ts = 10; - if (this->_internal_has_remote_ts()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::remote_ts(this), - _Internal::remote_ts(this).GetCachedSize(), target, stream); - } - - // string interface = 11; - if (!this->_internal_interface().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_interface().data(), static_cast(this->_internal_interface().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChild.interface"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_interface(), target); - } - - // string priority = 12; - if (!this->_internal_priority().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_priority().data(), static_cast(this->_internal_priority().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListChild.priority"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_priority(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.ListChild) - return target; -} - -size_t ListChild::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.ListChild) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // string mode = 2; - if (!this->_internal_mode().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_mode()); - } - - // string label = 3; - if (!this->_internal_label().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_label()); - } - - // string dpd_action = 7; - if (!this->_internal_dpd_action().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_dpd_action()); - } - - // string close_action = 8; - if (!this->_internal_close_action().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_close_action()); - } - - // string interface = 11; - if (!this->_internal_interface().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_interface()); - } - - // string priority = 12; - if (!this->_internal_priority().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_priority()); - } - - // .opi_api.security.v1.TrafficSelectors local_ts = 9; - if (this->_internal_has_local_ts()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.local_ts_); - } - - // .opi_api.security.v1.TrafficSelectors remote_ts = 10; - if (this->_internal_has_remote_ts()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.remote_ts_); - } - - // uint32 rekey_time = 4; - if (this->_internal_rekey_time() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rekey_time()); - } - - // uint32 rekey_bytes = 5; - if (this->_internal_rekey_bytes() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rekey_bytes()); - } - - // uint32 rekey_packets = 6; - if (this->_internal_rekey_packets() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rekey_packets()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListChild::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ListChild::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListChild::GetClassData() const { return &_class_data_; } - - -void ListChild::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.ListChild) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - if (!from._internal_mode().empty()) { - _this->_internal_set_mode(from._internal_mode()); - } - if (!from._internal_label().empty()) { - _this->_internal_set_label(from._internal_label()); - } - if (!from._internal_dpd_action().empty()) { - _this->_internal_set_dpd_action(from._internal_dpd_action()); - } - if (!from._internal_close_action().empty()) { - _this->_internal_set_close_action(from._internal_close_action()); - } - if (!from._internal_interface().empty()) { - _this->_internal_set_interface(from._internal_interface()); - } - if (!from._internal_priority().empty()) { - _this->_internal_set_priority(from._internal_priority()); - } - if (from._internal_has_local_ts()) { - _this->_internal_mutable_local_ts()->::opi_api::security::v1::TrafficSelectors::MergeFrom( - from._internal_local_ts()); - } - if (from._internal_has_remote_ts()) { - _this->_internal_mutable_remote_ts()->::opi_api::security::v1::TrafficSelectors::MergeFrom( - from._internal_remote_ts()); - } - if (from._internal_rekey_time() != 0) { - _this->_internal_set_rekey_time(from._internal_rekey_time()); - } - if (from._internal_rekey_bytes() != 0) { - _this->_internal_set_rekey_bytes(from._internal_rekey_bytes()); - } - if (from._internal_rekey_packets() != 0) { - _this->_internal_set_rekey_packets(from._internal_rekey_packets()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ListChild::CopyFrom(const ListChild& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.ListChild) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListChild::IsInitialized() const { - return true; -} - -void ListChild::InternalSwap(ListChild* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.mode_, lhs_arena, - &other->_impl_.mode_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.label_, lhs_arena, - &other->_impl_.label_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dpd_action_, lhs_arena, - &other->_impl_.dpd_action_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.close_action_, lhs_arena, - &other->_impl_.close_action_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.interface_, lhs_arena, - &other->_impl_.interface_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.priority_, lhs_arena, - &other->_impl_.priority_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ListChild, _impl_.rekey_packets_) - + sizeof(ListChild::_impl_.rekey_packets_) - - PROTOBUF_FIELD_OFFSET(ListChild, _impl_.local_ts_)>( - reinterpret_cast(&_impl_.local_ts_), - reinterpret_cast(&other->_impl_.local_ts_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ListChild::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[31]); -} - -// =================================================================== - -class ListConnResp::_Internal { - public: -}; - -ListConnResp::ListConnResp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.ListConnResp) -} -ListConnResp::ListConnResp(const ListConnResp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ListConnResp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.local_addrs_){from._impl_.local_addrs_} - , decltype(_impl_.remote_addrs_){from._impl_.remote_addrs_} - , decltype(_impl_.local_auth_){from._impl_.local_auth_} - , decltype(_impl_.remote_auth_){from._impl_.remote_auth_} - , decltype(_impl_.children_){from._impl_.children_} - , decltype(_impl_.name_){} - , decltype(_impl_.version_){} - , decltype(_impl_.unique_){} - , decltype(_impl_.ppk_){} - , decltype(_impl_.ppk_required_){} - , decltype(_impl_.reauth_time_){} - , decltype(_impl_.rekey_time_){} - , decltype(_impl_.dpd_delay_){} - , decltype(_impl_.dpd_timeout_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.version_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_version().empty()) { - _this->_impl_.version_.Set(from._internal_version(), - _this->GetArenaForAllocation()); - } - _impl_.unique_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.unique_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_unique().empty()) { - _this->_impl_.unique_.Set(from._internal_unique(), - _this->GetArenaForAllocation()); - } - _impl_.ppk_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ppk_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_ppk().empty()) { - _this->_impl_.ppk_.Set(from._internal_ppk(), - _this->GetArenaForAllocation()); - } - _impl_.ppk_required_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ppk_required_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_ppk_required().empty()) { - _this->_impl_.ppk_required_.Set(from._internal_ppk_required(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.reauth_time_, &from._impl_.reauth_time_, - static_cast(reinterpret_cast(&_impl_.dpd_timeout_) - - reinterpret_cast(&_impl_.reauth_time_)) + sizeof(_impl_.dpd_timeout_)); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.ListConnResp) -} - -inline void ListConnResp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.local_addrs_){arena} - , decltype(_impl_.remote_addrs_){arena} - , decltype(_impl_.local_auth_){arena} - , decltype(_impl_.remote_auth_){arena} - , decltype(_impl_.children_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.version_){} - , decltype(_impl_.unique_){} - , decltype(_impl_.ppk_){} - , decltype(_impl_.ppk_required_){} - , decltype(_impl_.reauth_time_){0u} - , decltype(_impl_.rekey_time_){0u} - , decltype(_impl_.dpd_delay_){0u} - , decltype(_impl_.dpd_timeout_){0u} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.unique_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.unique_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ppk_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ppk_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ppk_required_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ppk_required_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -ListConnResp::~ListConnResp() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.ListConnResp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ListConnResp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.local_addrs_.~RepeatedPtrField(); - _impl_.remote_addrs_.~RepeatedPtrField(); - _impl_.local_auth_.~RepeatedPtrField(); - _impl_.remote_auth_.~RepeatedPtrField(); - _impl_.children_.~RepeatedPtrField(); - _impl_.name_.Destroy(); - _impl_.version_.Destroy(); - _impl_.unique_.Destroy(); - _impl_.ppk_.Destroy(); - _impl_.ppk_required_.Destroy(); -} - -void ListConnResp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ListConnResp::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.ListConnResp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.local_addrs_.Clear(); - _impl_.remote_addrs_.Clear(); - _impl_.local_auth_.Clear(); - _impl_.remote_auth_.Clear(); - _impl_.children_.Clear(); - _impl_.name_.ClearToEmpty(); - _impl_.version_.ClearToEmpty(); - _impl_.unique_.ClearToEmpty(); - _impl_.ppk_.ClearToEmpty(); - _impl_.ppk_required_.ClearToEmpty(); - ::memset(&_impl_.reauth_time_, 0, static_cast( - reinterpret_cast(&_impl_.dpd_timeout_) - - reinterpret_cast(&_impl_.reauth_time_)) + sizeof(_impl_.dpd_timeout_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ListConnResp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnResp.name")); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.Addrs local_addrs = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_local_addrs(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.Addrs remote_addrs = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_remote_addrs(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // string version = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_version(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnResp.version")); - } else - goto handle_unusual; - continue; - // uint32 reauth_time = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _impl_.reauth_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 rekey_time = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _impl_.rekey_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string unique = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_unique(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnResp.unique")); - } else - goto handle_unusual; - continue; - // uint32 dpd_delay = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _impl_.dpd_delay_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // uint32 dpd_timeout = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _impl_.dpd_timeout_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string ppk = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_ppk(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnResp.ppk")); - } else - goto handle_unusual; - continue; - // string ppk_required = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_ppk_required(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListConnResp.ppk_required")); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.ListConnAuth local_auth = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_local_auth(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.ListConnAuth remote_auth = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_remote_auth(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .opi_api.security.v1.ListChild children = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_children(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<114>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ListConnResp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.ListConnResp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnResp.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // repeated .opi_api.security.v1.Addrs local_addrs = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_local_addrs_size()); i < n; i++) { - const auto& repfield = this->_internal_local_addrs(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .opi_api.security.v1.Addrs remote_addrs = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_remote_addrs_size()); i < n; i++) { - const auto& repfield = this->_internal_remote_addrs(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // string version = 4; - if (!this->_internal_version().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_version().data(), static_cast(this->_internal_version().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnResp.version"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_version(), target); - } - - // uint32 reauth_time = 5; - if (this->_internal_reauth_time() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_reauth_time(), target); - } - - // uint32 rekey_time = 6; - if (this->_internal_rekey_time() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_rekey_time(), target); - } - - // string unique = 7; - if (!this->_internal_unique().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_unique().data(), static_cast(this->_internal_unique().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnResp.unique"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_unique(), target); - } - - // uint32 dpd_delay = 8; - if (this->_internal_dpd_delay() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_dpd_delay(), target); - } - - // uint32 dpd_timeout = 9; - if (this->_internal_dpd_timeout() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_dpd_timeout(), target); - } - - // string ppk = 10; - if (!this->_internal_ppk().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_ppk().data(), static_cast(this->_internal_ppk().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnResp.ppk"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_ppk(), target); - } - - // string ppk_required = 11; - if (!this->_internal_ppk_required().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_ppk_required().data(), static_cast(this->_internal_ppk_required().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListConnResp.ppk_required"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_ppk_required(), target); - } - - // repeated .opi_api.security.v1.ListConnAuth local_auth = 12; - for (unsigned i = 0, - n = static_cast(this->_internal_local_auth_size()); i < n; i++) { - const auto& repfield = this->_internal_local_auth(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .opi_api.security.v1.ListConnAuth remote_auth = 13; - for (unsigned i = 0, - n = static_cast(this->_internal_remote_auth_size()); i < n; i++) { - const auto& repfield = this->_internal_remote_auth(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .opi_api.security.v1.ListChild children = 14; - for (unsigned i = 0, - n = static_cast(this->_internal_children_size()); i < n; i++) { - const auto& repfield = this->_internal_children(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.ListConnResp) - return target; -} - -size_t ListConnResp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.ListConnResp) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .opi_api.security.v1.Addrs local_addrs = 2; - total_size += 1UL * this->_internal_local_addrs_size(); - for (const auto& msg : this->_impl_.local_addrs_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .opi_api.security.v1.Addrs remote_addrs = 3; - total_size += 1UL * this->_internal_remote_addrs_size(); - for (const auto& msg : this->_impl_.remote_addrs_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .opi_api.security.v1.ListConnAuth local_auth = 12; - total_size += 1UL * this->_internal_local_auth_size(); - for (const auto& msg : this->_impl_.local_auth_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .opi_api.security.v1.ListConnAuth remote_auth = 13; - total_size += 1UL * this->_internal_remote_auth_size(); - for (const auto& msg : this->_impl_.remote_auth_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .opi_api.security.v1.ListChild children = 14; - total_size += 1UL * this->_internal_children_size(); - for (const auto& msg : this->_impl_.children_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // string version = 4; - if (!this->_internal_version().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_version()); - } - - // string unique = 7; - if (!this->_internal_unique().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_unique()); - } - - // string ppk = 10; - if (!this->_internal_ppk().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ppk()); - } - - // string ppk_required = 11; - if (!this->_internal_ppk_required().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ppk_required()); - } - - // uint32 reauth_time = 5; - if (this->_internal_reauth_time() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reauth_time()); - } - - // uint32 rekey_time = 6; - if (this->_internal_rekey_time() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rekey_time()); - } - - // uint32 dpd_delay = 8; - if (this->_internal_dpd_delay() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dpd_delay()); - } - - // uint32 dpd_timeout = 9; - if (this->_internal_dpd_timeout() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dpd_timeout()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListConnResp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ListConnResp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListConnResp::GetClassData() const { return &_class_data_; } - - -void ListConnResp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.ListConnResp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.local_addrs_.MergeFrom(from._impl_.local_addrs_); - _this->_impl_.remote_addrs_.MergeFrom(from._impl_.remote_addrs_); - _this->_impl_.local_auth_.MergeFrom(from._impl_.local_auth_); - _this->_impl_.remote_auth_.MergeFrom(from._impl_.remote_auth_); - _this->_impl_.children_.MergeFrom(from._impl_.children_); - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - if (!from._internal_version().empty()) { - _this->_internal_set_version(from._internal_version()); - } - if (!from._internal_unique().empty()) { - _this->_internal_set_unique(from._internal_unique()); - } - if (!from._internal_ppk().empty()) { - _this->_internal_set_ppk(from._internal_ppk()); - } - if (!from._internal_ppk_required().empty()) { - _this->_internal_set_ppk_required(from._internal_ppk_required()); - } - if (from._internal_reauth_time() != 0) { - _this->_internal_set_reauth_time(from._internal_reauth_time()); - } - if (from._internal_rekey_time() != 0) { - _this->_internal_set_rekey_time(from._internal_rekey_time()); - } - if (from._internal_dpd_delay() != 0) { - _this->_internal_set_dpd_delay(from._internal_dpd_delay()); - } - if (from._internal_dpd_timeout() != 0) { - _this->_internal_set_dpd_timeout(from._internal_dpd_timeout()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ListConnResp::CopyFrom(const ListConnResp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.ListConnResp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListConnResp::IsInitialized() const { - return true; -} - -void ListConnResp::InternalSwap(ListConnResp* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.local_addrs_.InternalSwap(&other->_impl_.local_addrs_); - _impl_.remote_addrs_.InternalSwap(&other->_impl_.remote_addrs_); - _impl_.local_auth_.InternalSwap(&other->_impl_.local_auth_); - _impl_.remote_auth_.InternalSwap(&other->_impl_.remote_auth_); - _impl_.children_.InternalSwap(&other->_impl_.children_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.version_, lhs_arena, - &other->_impl_.version_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.unique_, lhs_arena, - &other->_impl_.unique_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ppk_, lhs_arena, - &other->_impl_.ppk_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ppk_required_, lhs_arena, - &other->_impl_.ppk_required_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ListConnResp, _impl_.dpd_timeout_) - + sizeof(ListConnResp::_impl_.dpd_timeout_) - - PROTOBUF_FIELD_OFFSET(ListConnResp, _impl_.reauth_time_)>( - reinterpret_cast(&_impl_.reauth_time_), - reinterpret_cast(&other->_impl_.reauth_time_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ListConnResp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[32]); -} - -// =================================================================== - -class IPsecListConnsResponse::_Internal { - public: -}; - -IPsecListConnsResponse::IPsecListConnsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecListConnsResponse) -} -IPsecListConnsResponse::IPsecListConnsResponse(const IPsecListConnsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecListConnsResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.connection_){from._impl_.connection_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecListConnsResponse) -} - -inline void IPsecListConnsResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.connection_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -IPsecListConnsResponse::~IPsecListConnsResponse() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecListConnsResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecListConnsResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.connection_.~RepeatedPtrField(); -} - -void IPsecListConnsResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecListConnsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecListConnsResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.connection_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecListConnsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .opi_api.security.v1.ListConnResp connection = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_connection(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecListConnsResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecListConnsResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .opi_api.security.v1.ListConnResp connection = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_connection_size()); i < n; i++) { - const auto& repfield = this->_internal_connection(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecListConnsResponse) - return target; -} - -size_t IPsecListConnsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecListConnsResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .opi_api.security.v1.ListConnResp connection = 1; - total_size += 1UL * this->_internal_connection_size(); - for (const auto& msg : this->_impl_.connection_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecListConnsResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecListConnsResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecListConnsResponse::GetClassData() const { return &_class_data_; } - - -void IPsecListConnsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecListConnsResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.connection_.MergeFrom(from._impl_.connection_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecListConnsResponse::CopyFrom(const IPsecListConnsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecListConnsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecListConnsResponse::IsInitialized() const { - return true; -} - -void IPsecListConnsResponse::InternalSwap(IPsecListConnsResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.connection_.InternalSwap(&other->_impl_.connection_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecListConnsResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[33]); -} - -// =================================================================== - -class IPsecListCertsRequest::_Internal { - public: -}; - -IPsecListCertsRequest::IPsecListCertsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecListCertsRequest) -} -IPsecListCertsRequest::IPsecListCertsRequest(const IPsecListCertsRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecListCertsRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.type_){} - , decltype(_impl_.flag_){} - , decltype(_impl_.subject_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_type().empty()) { - _this->_impl_.type_.Set(from._internal_type(), - _this->GetArenaForAllocation()); - } - _impl_.flag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.flag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_flag().empty()) { - _this->_impl_.flag_.Set(from._internal_flag(), - _this->GetArenaForAllocation()); - } - _impl_.subject_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.subject_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_subject().empty()) { - _this->_impl_.subject_.Set(from._internal_subject(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecListCertsRequest) -} - -inline void IPsecListCertsRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.type_){} - , decltype(_impl_.flag_){} - , decltype(_impl_.subject_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.flag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.flag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.subject_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.subject_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecListCertsRequest::~IPsecListCertsRequest() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecListCertsRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecListCertsRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.type_.Destroy(); - _impl_.flag_.Destroy(); - _impl_.subject_.Destroy(); -} - -void IPsecListCertsRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecListCertsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecListCertsRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.type_.ClearToEmpty(); - _impl_.flag_.ClearToEmpty(); - _impl_.subject_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecListCertsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_type(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecListCertsRequest.type")); - } else - goto handle_unusual; - continue; - // string flag = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_flag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecListCertsRequest.flag")); - } else - goto handle_unusual; - continue; - // string subject = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_subject(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecListCertsRequest.subject")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecListCertsRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecListCertsRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string type = 1; - if (!this->_internal_type().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_type().data(), static_cast(this->_internal_type().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecListCertsRequest.type"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_type(), target); - } - - // string flag = 2; - if (!this->_internal_flag().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_flag().data(), static_cast(this->_internal_flag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecListCertsRequest.flag"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_flag(), target); - } - - // string subject = 3; - if (!this->_internal_subject().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_subject().data(), static_cast(this->_internal_subject().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecListCertsRequest.subject"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_subject(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecListCertsRequest) - return target; -} - -size_t IPsecListCertsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecListCertsRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string type = 1; - if (!this->_internal_type().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_type()); - } - - // string flag = 2; - if (!this->_internal_flag().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_flag()); - } - - // string subject = 3; - if (!this->_internal_subject().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_subject()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecListCertsRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecListCertsRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecListCertsRequest::GetClassData() const { return &_class_data_; } - - -void IPsecListCertsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecListCertsRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_type().empty()) { - _this->_internal_set_type(from._internal_type()); - } - if (!from._internal_flag().empty()) { - _this->_internal_set_flag(from._internal_flag()); - } - if (!from._internal_subject().empty()) { - _this->_internal_set_subject(from._internal_subject()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecListCertsRequest::CopyFrom(const IPsecListCertsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecListCertsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecListCertsRequest::IsInitialized() const { - return true; -} - -void IPsecListCertsRequest::InternalSwap(IPsecListCertsRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.type_, lhs_arena, - &other->_impl_.type_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.flag_, lhs_arena, - &other->_impl_.flag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.subject_, lhs_arena, - &other->_impl_.subject_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecListCertsRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[34]); -} - -// =================================================================== - -class ListCert::_Internal { - public: -}; - -ListCert::ListCert(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.ListCert) -} -ListCert::ListCert(const ListCert& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ListCert* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.hasprivkey_){} - , decltype(_impl_.data_){} - , decltype(_impl_.subject_){} - , decltype(_impl_.notbefore_){} - , decltype(_impl_.notafter_){} - , decltype(_impl_.type_){} - , decltype(_impl_.flag_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.hasprivkey_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hasprivkey_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_hasprivkey().empty()) { - _this->_impl_.hasprivkey_.Set(from._internal_hasprivkey(), - _this->GetArenaForAllocation()); - } - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_data().empty()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - _impl_.subject_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.subject_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_subject().empty()) { - _this->_impl_.subject_.Set(from._internal_subject(), - _this->GetArenaForAllocation()); - } - _impl_.notbefore_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notbefore_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_notbefore().empty()) { - _this->_impl_.notbefore_.Set(from._internal_notbefore(), - _this->GetArenaForAllocation()); - } - _impl_.notafter_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notafter_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_notafter().empty()) { - _this->_impl_.notafter_.Set(from._internal_notafter(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.flag_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.flag_)); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.ListCert) -} - -inline void ListCert::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.hasprivkey_){} - , decltype(_impl_.data_){} - , decltype(_impl_.subject_){} - , decltype(_impl_.notbefore_){} - , decltype(_impl_.notafter_){} - , decltype(_impl_.type_){0} - , decltype(_impl_.flag_){0} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.hasprivkey_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hasprivkey_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.subject_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.subject_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notbefore_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notbefore_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notafter_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notafter_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -ListCert::~ListCert() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.ListCert) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ListCert::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.hasprivkey_.Destroy(); - _impl_.data_.Destroy(); - _impl_.subject_.Destroy(); - _impl_.notbefore_.Destroy(); - _impl_.notafter_.Destroy(); -} - -void ListCert::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ListCert::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.ListCert) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.hasprivkey_.ClearToEmpty(); - _impl_.data_.ClearToEmpty(); - _impl_.subject_.ClearToEmpty(); - _impl_.notbefore_.ClearToEmpty(); - _impl_.notafter_.ClearToEmpty(); - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.flag_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.flag_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ListCert::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .opi_api.security.v1.CertificateType type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_set_type(static_cast<::opi_api::security::v1::CertificateType>(val)); - } else - goto handle_unusual; - continue; - // .opi_api.security.v1.X509CertificateFlag flag = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_set_flag(static_cast<::opi_api::security::v1::X509CertificateFlag>(val)); - } else - goto handle_unusual; - continue; - // string hasprivkey = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_hasprivkey(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListCert.hasprivkey")); - } else - goto handle_unusual; - continue; - // string data = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListCert.data")); - } else - goto handle_unusual; - continue; - // string subject = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_subject(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListCert.subject")); - } else - goto handle_unusual; - continue; - // string notbefore = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_notbefore(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListCert.notbefore")); - } else - goto handle_unusual; - continue; - // string notafter = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_notafter(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.ListCert.notafter")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ListCert::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.ListCert) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // .opi_api.security.v1.CertificateType type = 1; - if (this->_internal_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_type(), target); - } - - // .opi_api.security.v1.X509CertificateFlag flag = 2; - if (this->_internal_flag() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_flag(), target); - } - - // string hasprivkey = 3; - if (!this->_internal_hasprivkey().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_hasprivkey().data(), static_cast(this->_internal_hasprivkey().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListCert.hasprivkey"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_hasprivkey(), target); - } - - // string data = 4; - if (!this->_internal_data().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_data().data(), static_cast(this->_internal_data().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListCert.data"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_data(), target); - } - - // string subject = 5; - if (!this->_internal_subject().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_subject().data(), static_cast(this->_internal_subject().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListCert.subject"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_subject(), target); - } - - // string notbefore = 6; - if (!this->_internal_notbefore().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_notbefore().data(), static_cast(this->_internal_notbefore().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListCert.notbefore"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_notbefore(), target); - } - - // string notafter = 7; - if (!this->_internal_notafter().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_notafter().data(), static_cast(this->_internal_notafter().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.ListCert.notafter"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_notafter(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.ListCert) - return target; -} - -size_t ListCert::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.ListCert) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string hasprivkey = 3; - if (!this->_internal_hasprivkey().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_hasprivkey()); - } - - // string data = 4; - if (!this->_internal_data().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_data()); - } - - // string subject = 5; - if (!this->_internal_subject().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_subject()); - } - - // string notbefore = 6; - if (!this->_internal_notbefore().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_notbefore()); - } - - // string notafter = 7; - if (!this->_internal_notafter().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_notafter()); - } - - // .opi_api.security.v1.CertificateType type = 1; - if (this->_internal_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - } - - // .opi_api.security.v1.X509CertificateFlag flag = 2; - if (this->_internal_flag() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_flag()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListCert::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ListCert::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListCert::GetClassData() const { return &_class_data_; } - - -void ListCert::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.ListCert) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_hasprivkey().empty()) { - _this->_internal_set_hasprivkey(from._internal_hasprivkey()); - } - if (!from._internal_data().empty()) { - _this->_internal_set_data(from._internal_data()); - } - if (!from._internal_subject().empty()) { - _this->_internal_set_subject(from._internal_subject()); - } - if (!from._internal_notbefore().empty()) { - _this->_internal_set_notbefore(from._internal_notbefore()); - } - if (!from._internal_notafter().empty()) { - _this->_internal_set_notafter(from._internal_notafter()); - } - if (from._internal_type() != 0) { - _this->_internal_set_type(from._internal_type()); - } - if (from._internal_flag() != 0) { - _this->_internal_set_flag(from._internal_flag()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ListCert::CopyFrom(const ListCert& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.ListCert) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListCert::IsInitialized() const { - return true; -} - -void ListCert::InternalSwap(ListCert* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.hasprivkey_, lhs_arena, - &other->_impl_.hasprivkey_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.subject_, lhs_arena, - &other->_impl_.subject_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.notbefore_, lhs_arena, - &other->_impl_.notbefore_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.notafter_, lhs_arena, - &other->_impl_.notafter_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ListCert, _impl_.flag_) - + sizeof(ListCert::_impl_.flag_) - - PROTOBUF_FIELD_OFFSET(ListCert, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ListCert::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[35]); -} - -// =================================================================== - -class IPsecListCertsResponse::_Internal { - public: -}; - -IPsecListCertsResponse::IPsecListCertsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecListCertsResponse) -} -IPsecListCertsResponse::IPsecListCertsResponse(const IPsecListCertsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecListCertsResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.certs_){from._impl_.certs_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecListCertsResponse) -} - -inline void IPsecListCertsResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.certs_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -IPsecListCertsResponse::~IPsecListCertsResponse() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecListCertsResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecListCertsResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.certs_.~RepeatedPtrField(); -} - -void IPsecListCertsResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecListCertsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecListCertsResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.certs_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecListCertsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .opi_api.security.v1.ListCert certs = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_certs(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecListCertsResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecListCertsResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .opi_api.security.v1.ListCert certs = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_certs_size()); i < n; i++) { - const auto& repfield = this->_internal_certs(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecListCertsResponse) - return target; -} - -size_t IPsecListCertsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecListCertsResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .opi_api.security.v1.ListCert certs = 1; - total_size += 1UL * this->_internal_certs_size(); - for (const auto& msg : this->_impl_.certs_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecListCertsResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecListCertsResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecListCertsResponse::GetClassData() const { return &_class_data_; } - - -void IPsecListCertsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecListCertsResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.certs_.MergeFrom(from._impl_.certs_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecListCertsResponse::CopyFrom(const IPsecListCertsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecListCertsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecListCertsResponse::IsInitialized() const { - return true; -} - -void IPsecListCertsResponse::InternalSwap(IPsecListCertsResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.certs_.InternalSwap(&other->_impl_.certs_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecListCertsResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[36]); -} - -// =================================================================== - -class IPsecLoadConnRequest::_Internal { - public: - static const ::opi_api::security::v1::Connection& connection(const IPsecLoadConnRequest* msg); -}; - -const ::opi_api::security::v1::Connection& -IPsecLoadConnRequest::_Internal::connection(const IPsecLoadConnRequest* msg) { - return *msg->_impl_.connection_; -} -IPsecLoadConnRequest::IPsecLoadConnRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecLoadConnRequest) -} -IPsecLoadConnRequest::IPsecLoadConnRequest(const IPsecLoadConnRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecLoadConnRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.connection_){nullptr} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_connection()) { - _this->_impl_.connection_ = new ::opi_api::security::v1::Connection(*from._impl_.connection_); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecLoadConnRequest) -} - -inline void IPsecLoadConnRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.connection_){nullptr} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -IPsecLoadConnRequest::~IPsecLoadConnRequest() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecLoadConnRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecLoadConnRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.connection_; -} - -void IPsecLoadConnRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecLoadConnRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecLoadConnRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaForAllocation() == nullptr && _impl_.connection_ != nullptr) { - delete _impl_.connection_; - } - _impl_.connection_ = nullptr; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecLoadConnRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // .opi_api.security.v1.Connection connection = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_connection(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecLoadConnRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecLoadConnRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // .opi_api.security.v1.Connection connection = 1; - if (this->_internal_has_connection()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::connection(this), - _Internal::connection(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecLoadConnRequest) - return target; -} - -size_t IPsecLoadConnRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecLoadConnRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .opi_api.security.v1.Connection connection = 1; - if (this->_internal_has_connection()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.connection_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecLoadConnRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecLoadConnRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecLoadConnRequest::GetClassData() const { return &_class_data_; } - - -void IPsecLoadConnRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecLoadConnRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_connection()) { - _this->_internal_mutable_connection()->::opi_api::security::v1::Connection::MergeFrom( - from._internal_connection()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecLoadConnRequest::CopyFrom(const IPsecLoadConnRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecLoadConnRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecLoadConnRequest::IsInitialized() const { - return true; -} - -void IPsecLoadConnRequest::InternalSwap(IPsecLoadConnRequest* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.connection_, other->_impl_.connection_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecLoadConnRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[37]); -} - -// =================================================================== - -class IPsecLoadConnResponse::_Internal { - public: -}; - -IPsecLoadConnResponse::IPsecLoadConnResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecLoadConnResponse) -} -IPsecLoadConnResponse::IPsecLoadConnResponse(const IPsecLoadConnResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecLoadConnResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.success_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.success_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.success_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_success().empty()) { - _this->_impl_.success_.Set(from._internal_success(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecLoadConnResponse) -} - -inline void IPsecLoadConnResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.success_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.success_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.success_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecLoadConnResponse::~IPsecLoadConnResponse() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecLoadConnResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecLoadConnResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.success_.Destroy(); -} - -void IPsecLoadConnResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecLoadConnResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecLoadConnResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.success_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecLoadConnResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string success = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_success(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecLoadConnResponse.success")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecLoadConnResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecLoadConnResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string success = 1; - if (!this->_internal_success().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_success().data(), static_cast(this->_internal_success().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecLoadConnResponse.success"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_success(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecLoadConnResponse) - return target; -} - -size_t IPsecLoadConnResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecLoadConnResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string success = 1; - if (!this->_internal_success().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_success()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecLoadConnResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecLoadConnResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecLoadConnResponse::GetClassData() const { return &_class_data_; } - - -void IPsecLoadConnResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecLoadConnResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_success().empty()) { - _this->_internal_set_success(from._internal_success()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecLoadConnResponse::CopyFrom(const IPsecLoadConnResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecLoadConnResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecLoadConnResponse::IsInitialized() const { - return true; -} - -void IPsecLoadConnResponse::InternalSwap(IPsecLoadConnResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.success_, lhs_arena, - &other->_impl_.success_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecLoadConnResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[38]); -} - -// =================================================================== - -class IPsecUnloadConnRequest::_Internal { - public: -}; - -IPsecUnloadConnRequest::IPsecUnloadConnRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecUnloadConnRequest) -} -IPsecUnloadConnRequest::IPsecUnloadConnRequest(const IPsecUnloadConnRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecUnloadConnRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.name_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecUnloadConnRequest) -} - -inline void IPsecUnloadConnRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.name_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecUnloadConnRequest::~IPsecUnloadConnRequest() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecUnloadConnRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecUnloadConnRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void IPsecUnloadConnRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecUnloadConnRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecUnloadConnRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.name_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecUnloadConnRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecUnloadConnRequest.name")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecUnloadConnRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecUnloadConnRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecUnloadConnRequest.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecUnloadConnRequest) - return target; -} - -size_t IPsecUnloadConnRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecUnloadConnRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string name = 1; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecUnloadConnRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecUnloadConnRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecUnloadConnRequest::GetClassData() const { return &_class_data_; } - - -void IPsecUnloadConnRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecUnloadConnRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecUnloadConnRequest::CopyFrom(const IPsecUnloadConnRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecUnloadConnRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecUnloadConnRequest::IsInitialized() const { - return true; -} - -void IPsecUnloadConnRequest::InternalSwap(IPsecUnloadConnRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecUnloadConnRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[39]); -} - -// =================================================================== - -class IPsecUnloadConnResponse::_Internal { - public: -}; - -IPsecUnloadConnResponse::IPsecUnloadConnResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:opi_api.security.v1.IPsecUnloadConnResponse) -} -IPsecUnloadConnResponse::IPsecUnloadConnResponse(const IPsecUnloadConnResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IPsecUnloadConnResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.success_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.success_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.success_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_success().empty()) { - _this->_impl_.success_.Set(from._internal_success(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:opi_api.security.v1.IPsecUnloadConnResponse) -} - -inline void IPsecUnloadConnResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.success_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.success_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.success_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -IPsecUnloadConnResponse::~IPsecUnloadConnResponse() { - // @@protoc_insertion_point(destructor:opi_api.security.v1.IPsecUnloadConnResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IPsecUnloadConnResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.success_.Destroy(); -} - -void IPsecUnloadConnResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IPsecUnloadConnResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.security.v1.IPsecUnloadConnResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.success_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IPsecUnloadConnResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // string success = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_success(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "opi_api.security.v1.IPsecUnloadConnResponse.success")); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IPsecUnloadConnResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.security.v1.IPsecUnloadConnResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string success = 1; - if (!this->_internal_success().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_success().data(), static_cast(this->_internal_success().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.security.v1.IPsecUnloadConnResponse.success"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_success(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.security.v1.IPsecUnloadConnResponse) - return target; -} - -size_t IPsecUnloadConnResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.security.v1.IPsecUnloadConnResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string success = 1; - if (!this->_internal_success().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_success()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IPsecUnloadConnResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IPsecUnloadConnResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IPsecUnloadConnResponse::GetClassData() const { return &_class_data_; } - - -void IPsecUnloadConnResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:opi_api.security.v1.IPsecUnloadConnResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_success().empty()) { - _this->_internal_set_success(from._internal_success()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IPsecUnloadConnResponse::CopyFrom(const IPsecUnloadConnResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.security.v1.IPsecUnloadConnResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IPsecUnloadConnResponse::IsInitialized() const { - return true; -} - -void IPsecUnloadConnResponse::InternalSwap(IPsecUnloadConnResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.success_, lhs_arena, - &other->_impl_.success_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IPsecUnloadConnResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_ipsec_2eproto_getter, &descriptor_table_ipsec_2eproto_once, - file_level_metadata_ipsec_2eproto[40]); -} - -// @@protoc_insertion_point(namespace_scope) -} // namespace v1 -} // namespace security -} // namespace opi_api -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::Proposals* -Arena::CreateMaybeMessage< ::opi_api::security::v1::Proposals >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::Proposals >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::Vips* -Arena::CreateMaybeMessage< ::opi_api::security::v1::Vips >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::Vips >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::Pools* -Arena::CreateMaybeMessage< ::opi_api::security::v1::Pools >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::Pools >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::Certs* -Arena::CreateMaybeMessage< ::opi_api::security::v1::Certs >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::Certs >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::PubKeys* -Arena::CreateMaybeMessage< ::opi_api::security::v1::PubKeys >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::PubKeys >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::Groups* -Arena::CreateMaybeMessage< ::opi_api::security::v1::Groups >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::Groups >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::CertPolicy* -Arena::CreateMaybeMessage< ::opi_api::security::v1::CertPolicy >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::CertPolicy >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::CaCerts* -Arena::CreateMaybeMessage< ::opi_api::security::v1::CaCerts >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::CaCerts >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::LocalAuth* -Arena::CreateMaybeMessage< ::opi_api::security::v1::LocalAuth >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::LocalAuth >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::RemoteAuth* -Arena::CreateMaybeMessage< ::opi_api::security::v1::RemoteAuth >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::RemoteAuth >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::TrafficSelectors_TrafficSelector* -Arena::CreateMaybeMessage< ::opi_api::security::v1::TrafficSelectors_TrafficSelector >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::TrafficSelectors_TrafficSelector >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::TrafficSelectors* -Arena::CreateMaybeMessage< ::opi_api::security::v1::TrafficSelectors >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::TrafficSelectors >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::Addrs* -Arena::CreateMaybeMessage< ::opi_api::security::v1::Addrs >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::Addrs >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::Child* -Arena::CreateMaybeMessage< ::opi_api::security::v1::Child >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::Child >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::Connection* -Arena::CreateMaybeMessage< ::opi_api::security::v1::Connection >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::Connection >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecVersionRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecVersionRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecVersionRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecVersionResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecVersionResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecVersionResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecStatsRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecStatsRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecStatsResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecStatsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecStatsResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecInitiateRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecInitiateRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecInitiateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecInitiateResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecInitiateResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecInitiateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecTerminateRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecTerminateRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecTerminateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecTerminateResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecTerminateResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecTerminateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecRekeyRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecRekeyRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecRekeyRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecRekeyResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecRekeyResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecRekeyResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecListSasRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecListSasRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecListSasRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::ListChildSa* -Arena::CreateMaybeMessage< ::opi_api::security::v1::ListChildSa >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::ListChildSa >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::ListIkeSa* -Arena::CreateMaybeMessage< ::opi_api::security::v1::ListIkeSa >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::ListIkeSa >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecListSasResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecListSasResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecListSasResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecListConnsRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecListConnsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecListConnsRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::ListConnAuth* -Arena::CreateMaybeMessage< ::opi_api::security::v1::ListConnAuth >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::ListConnAuth >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::ListChild* -Arena::CreateMaybeMessage< ::opi_api::security::v1::ListChild >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::ListChild >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::ListConnResp* -Arena::CreateMaybeMessage< ::opi_api::security::v1::ListConnResp >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::ListConnResp >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecListConnsResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecListConnsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecListConnsResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecListCertsRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecListCertsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecListCertsRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::ListCert* -Arena::CreateMaybeMessage< ::opi_api::security::v1::ListCert >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::ListCert >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecListCertsResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecListCertsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecListCertsResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecLoadConnRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecLoadConnRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecLoadConnRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecLoadConnResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecLoadConnResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecLoadConnResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecUnloadConnRequest* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecUnloadConnRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecUnloadConnRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::security::v1::IPsecUnloadConnResponse* -Arena::CreateMaybeMessage< ::opi_api::security::v1::IPsecUnloadConnResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::security::v1::IPsecUnloadConnResponse >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/security/v1/gen/cpp/ipsec.pb.h b/security/v1/gen/cpp/ipsec.pb.h deleted file mode 100644 index b9b7531e..00000000 --- a/security/v1/gen/cpp/ipsec.pb.h +++ /dev/null @@ -1,20486 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ipsec.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_ipsec_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_ipsec_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#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 3021006 < 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 -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_ipsec_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_ipsec_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ipsec_2eproto; -namespace opi_api { -namespace security { -namespace v1 { -class Addrs; -struct AddrsDefaultTypeInternal; -extern AddrsDefaultTypeInternal _Addrs_default_instance_; -class CaCerts; -struct CaCertsDefaultTypeInternal; -extern CaCertsDefaultTypeInternal _CaCerts_default_instance_; -class CertPolicy; -struct CertPolicyDefaultTypeInternal; -extern CertPolicyDefaultTypeInternal _CertPolicy_default_instance_; -class Certs; -struct CertsDefaultTypeInternal; -extern CertsDefaultTypeInternal _Certs_default_instance_; -class Child; -struct ChildDefaultTypeInternal; -extern ChildDefaultTypeInternal _Child_default_instance_; -class Connection; -struct ConnectionDefaultTypeInternal; -extern ConnectionDefaultTypeInternal _Connection_default_instance_; -class Groups; -struct GroupsDefaultTypeInternal; -extern GroupsDefaultTypeInternal _Groups_default_instance_; -class IPsecInitiateRequest; -struct IPsecInitiateRequestDefaultTypeInternal; -extern IPsecInitiateRequestDefaultTypeInternal _IPsecInitiateRequest_default_instance_; -class IPsecInitiateResponse; -struct IPsecInitiateResponseDefaultTypeInternal; -extern IPsecInitiateResponseDefaultTypeInternal _IPsecInitiateResponse_default_instance_; -class IPsecListCertsRequest; -struct IPsecListCertsRequestDefaultTypeInternal; -extern IPsecListCertsRequestDefaultTypeInternal _IPsecListCertsRequest_default_instance_; -class IPsecListCertsResponse; -struct IPsecListCertsResponseDefaultTypeInternal; -extern IPsecListCertsResponseDefaultTypeInternal _IPsecListCertsResponse_default_instance_; -class IPsecListConnsRequest; -struct IPsecListConnsRequestDefaultTypeInternal; -extern IPsecListConnsRequestDefaultTypeInternal _IPsecListConnsRequest_default_instance_; -class IPsecListConnsResponse; -struct IPsecListConnsResponseDefaultTypeInternal; -extern IPsecListConnsResponseDefaultTypeInternal _IPsecListConnsResponse_default_instance_; -class IPsecListSasRequest; -struct IPsecListSasRequestDefaultTypeInternal; -extern IPsecListSasRequestDefaultTypeInternal _IPsecListSasRequest_default_instance_; -class IPsecListSasResponse; -struct IPsecListSasResponseDefaultTypeInternal; -extern IPsecListSasResponseDefaultTypeInternal _IPsecListSasResponse_default_instance_; -class IPsecLoadConnRequest; -struct IPsecLoadConnRequestDefaultTypeInternal; -extern IPsecLoadConnRequestDefaultTypeInternal _IPsecLoadConnRequest_default_instance_; -class IPsecLoadConnResponse; -struct IPsecLoadConnResponseDefaultTypeInternal; -extern IPsecLoadConnResponseDefaultTypeInternal _IPsecLoadConnResponse_default_instance_; -class IPsecRekeyRequest; -struct IPsecRekeyRequestDefaultTypeInternal; -extern IPsecRekeyRequestDefaultTypeInternal _IPsecRekeyRequest_default_instance_; -class IPsecRekeyResponse; -struct IPsecRekeyResponseDefaultTypeInternal; -extern IPsecRekeyResponseDefaultTypeInternal _IPsecRekeyResponse_default_instance_; -class IPsecStatsRequest; -struct IPsecStatsRequestDefaultTypeInternal; -extern IPsecStatsRequestDefaultTypeInternal _IPsecStatsRequest_default_instance_; -class IPsecStatsResponse; -struct IPsecStatsResponseDefaultTypeInternal; -extern IPsecStatsResponseDefaultTypeInternal _IPsecStatsResponse_default_instance_; -class IPsecTerminateRequest; -struct IPsecTerminateRequestDefaultTypeInternal; -extern IPsecTerminateRequestDefaultTypeInternal _IPsecTerminateRequest_default_instance_; -class IPsecTerminateResponse; -struct IPsecTerminateResponseDefaultTypeInternal; -extern IPsecTerminateResponseDefaultTypeInternal _IPsecTerminateResponse_default_instance_; -class IPsecUnloadConnRequest; -struct IPsecUnloadConnRequestDefaultTypeInternal; -extern IPsecUnloadConnRequestDefaultTypeInternal _IPsecUnloadConnRequest_default_instance_; -class IPsecUnloadConnResponse; -struct IPsecUnloadConnResponseDefaultTypeInternal; -extern IPsecUnloadConnResponseDefaultTypeInternal _IPsecUnloadConnResponse_default_instance_; -class IPsecVersionRequest; -struct IPsecVersionRequestDefaultTypeInternal; -extern IPsecVersionRequestDefaultTypeInternal _IPsecVersionRequest_default_instance_; -class IPsecVersionResponse; -struct IPsecVersionResponseDefaultTypeInternal; -extern IPsecVersionResponseDefaultTypeInternal _IPsecVersionResponse_default_instance_; -class ListCert; -struct ListCertDefaultTypeInternal; -extern ListCertDefaultTypeInternal _ListCert_default_instance_; -class ListChild; -struct ListChildDefaultTypeInternal; -extern ListChildDefaultTypeInternal _ListChild_default_instance_; -class ListChildSa; -struct ListChildSaDefaultTypeInternal; -extern ListChildSaDefaultTypeInternal _ListChildSa_default_instance_; -class ListConnAuth; -struct ListConnAuthDefaultTypeInternal; -extern ListConnAuthDefaultTypeInternal _ListConnAuth_default_instance_; -class ListConnResp; -struct ListConnRespDefaultTypeInternal; -extern ListConnRespDefaultTypeInternal _ListConnResp_default_instance_; -class ListIkeSa; -struct ListIkeSaDefaultTypeInternal; -extern ListIkeSaDefaultTypeInternal _ListIkeSa_default_instance_; -class LocalAuth; -struct LocalAuthDefaultTypeInternal; -extern LocalAuthDefaultTypeInternal _LocalAuth_default_instance_; -class Pools; -struct PoolsDefaultTypeInternal; -extern PoolsDefaultTypeInternal _Pools_default_instance_; -class Proposals; -struct ProposalsDefaultTypeInternal; -extern ProposalsDefaultTypeInternal _Proposals_default_instance_; -class PubKeys; -struct PubKeysDefaultTypeInternal; -extern PubKeysDefaultTypeInternal _PubKeys_default_instance_; -class RemoteAuth; -struct RemoteAuthDefaultTypeInternal; -extern RemoteAuthDefaultTypeInternal _RemoteAuth_default_instance_; -class TrafficSelectors; -struct TrafficSelectorsDefaultTypeInternal; -extern TrafficSelectorsDefaultTypeInternal _TrafficSelectors_default_instance_; -class TrafficSelectors_TrafficSelector; -struct TrafficSelectors_TrafficSelectorDefaultTypeInternal; -extern TrafficSelectors_TrafficSelectorDefaultTypeInternal _TrafficSelectors_TrafficSelector_default_instance_; -class Vips; -struct VipsDefaultTypeInternal; -extern VipsDefaultTypeInternal _Vips_default_instance_; -} // namespace v1 -} // namespace security -} // namespace opi_api -PROTOBUF_NAMESPACE_OPEN -template<> ::opi_api::security::v1::Addrs* Arena::CreateMaybeMessage<::opi_api::security::v1::Addrs>(Arena*); -template<> ::opi_api::security::v1::CaCerts* Arena::CreateMaybeMessage<::opi_api::security::v1::CaCerts>(Arena*); -template<> ::opi_api::security::v1::CertPolicy* Arena::CreateMaybeMessage<::opi_api::security::v1::CertPolicy>(Arena*); -template<> ::opi_api::security::v1::Certs* Arena::CreateMaybeMessage<::opi_api::security::v1::Certs>(Arena*); -template<> ::opi_api::security::v1::Child* Arena::CreateMaybeMessage<::opi_api::security::v1::Child>(Arena*); -template<> ::opi_api::security::v1::Connection* Arena::CreateMaybeMessage<::opi_api::security::v1::Connection>(Arena*); -template<> ::opi_api::security::v1::Groups* Arena::CreateMaybeMessage<::opi_api::security::v1::Groups>(Arena*); -template<> ::opi_api::security::v1::IPsecInitiateRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecInitiateRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecInitiateResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecInitiateResponse>(Arena*); -template<> ::opi_api::security::v1::IPsecListCertsRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecListCertsRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecListCertsResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecListCertsResponse>(Arena*); -template<> ::opi_api::security::v1::IPsecListConnsRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecListConnsRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecListConnsResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecListConnsResponse>(Arena*); -template<> ::opi_api::security::v1::IPsecListSasRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecListSasRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecListSasResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecListSasResponse>(Arena*); -template<> ::opi_api::security::v1::IPsecLoadConnRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecLoadConnRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecLoadConnResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecLoadConnResponse>(Arena*); -template<> ::opi_api::security::v1::IPsecRekeyRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecRekeyRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecRekeyResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecRekeyResponse>(Arena*); -template<> ::opi_api::security::v1::IPsecStatsRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecStatsRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecStatsResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecStatsResponse>(Arena*); -template<> ::opi_api::security::v1::IPsecTerminateRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecTerminateRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecTerminateResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecTerminateResponse>(Arena*); -template<> ::opi_api::security::v1::IPsecUnloadConnRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecUnloadConnRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecUnloadConnResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecUnloadConnResponse>(Arena*); -template<> ::opi_api::security::v1::IPsecVersionRequest* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecVersionRequest>(Arena*); -template<> ::opi_api::security::v1::IPsecVersionResponse* Arena::CreateMaybeMessage<::opi_api::security::v1::IPsecVersionResponse>(Arena*); -template<> ::opi_api::security::v1::ListCert* Arena::CreateMaybeMessage<::opi_api::security::v1::ListCert>(Arena*); -template<> ::opi_api::security::v1::ListChild* Arena::CreateMaybeMessage<::opi_api::security::v1::ListChild>(Arena*); -template<> ::opi_api::security::v1::ListChildSa* Arena::CreateMaybeMessage<::opi_api::security::v1::ListChildSa>(Arena*); -template<> ::opi_api::security::v1::ListConnAuth* Arena::CreateMaybeMessage<::opi_api::security::v1::ListConnAuth>(Arena*); -template<> ::opi_api::security::v1::ListConnResp* Arena::CreateMaybeMessage<::opi_api::security::v1::ListConnResp>(Arena*); -template<> ::opi_api::security::v1::ListIkeSa* Arena::CreateMaybeMessage<::opi_api::security::v1::ListIkeSa>(Arena*); -template<> ::opi_api::security::v1::LocalAuth* Arena::CreateMaybeMessage<::opi_api::security::v1::LocalAuth>(Arena*); -template<> ::opi_api::security::v1::Pools* Arena::CreateMaybeMessage<::opi_api::security::v1::Pools>(Arena*); -template<> ::opi_api::security::v1::Proposals* Arena::CreateMaybeMessage<::opi_api::security::v1::Proposals>(Arena*); -template<> ::opi_api::security::v1::PubKeys* Arena::CreateMaybeMessage<::opi_api::security::v1::PubKeys>(Arena*); -template<> ::opi_api::security::v1::RemoteAuth* Arena::CreateMaybeMessage<::opi_api::security::v1::RemoteAuth>(Arena*); -template<> ::opi_api::security::v1::TrafficSelectors* Arena::CreateMaybeMessage<::opi_api::security::v1::TrafficSelectors>(Arena*); -template<> ::opi_api::security::v1::TrafficSelectors_TrafficSelector* Arena::CreateMaybeMessage<::opi_api::security::v1::TrafficSelectors_TrafficSelector>(Arena*); -template<> ::opi_api::security::v1::Vips* Arena::CreateMaybeMessage<::opi_api::security::v1::Vips>(Arena*); -PROTOBUF_NAMESPACE_CLOSE -namespace opi_api { -namespace security { -namespace v1 { - -enum CryptoAlgorithm : int { - CRYPTO_ALGORITHM_UNSPECIFIED = 0, - CRYPTO_ALGORITHM_AES128 = 1, - CRYPTO_ALGORITHM_AES192 = 2, - CRYPTO_ALGORITHM_AES256 = 3, - CRYPTO_ALGORITHM_AES128GCM128 = 4, - CRYPTO_ALGORITHM_AES256GCM128 = 5, - CRYPTO_ALGORITHM_AES128GMAC = 6, - CRYPTO_ALGORITHM_AES256GMAC = 7, - CryptoAlgorithm_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - CryptoAlgorithm_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool CryptoAlgorithm_IsValid(int value); -constexpr CryptoAlgorithm CryptoAlgorithm_MIN = CRYPTO_ALGORITHM_UNSPECIFIED; -constexpr CryptoAlgorithm CryptoAlgorithm_MAX = CRYPTO_ALGORITHM_AES256GMAC; -constexpr int CryptoAlgorithm_ARRAYSIZE = CryptoAlgorithm_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CryptoAlgorithm_descriptor(); -template -inline const std::string& CryptoAlgorithm_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CryptoAlgorithm_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CryptoAlgorithm_descriptor(), enum_t_value); -} -inline bool CryptoAlgorithm_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CryptoAlgorithm* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CryptoAlgorithm_descriptor(), name, value); -} -enum IntegAlgorithm : int { - INTEG_ALGORITHM_UNSPECIFIED = 0, - INTEG_ALGORITHM_MD5 = 1, - INTEG_ALGORITHM_MD5_128 = 2, - INTEG_ALGORITHM_SHA1 = 3, - INTEG_ALGORITHM_SHA1_160 = 4, - INTEG_ALGORITHM_SHA256 = 5, - INTEG_ALGORITHM_SHA384 = 7, - INTEG_ALGORITHM_SHA512 = 8, - INTEG_ALGORITHM_SHA256_96 = 9, - IntegAlgorithm_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - IntegAlgorithm_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool IntegAlgorithm_IsValid(int value); -constexpr IntegAlgorithm IntegAlgorithm_MIN = INTEG_ALGORITHM_UNSPECIFIED; -constexpr IntegAlgorithm IntegAlgorithm_MAX = INTEG_ALGORITHM_SHA256_96; -constexpr int IntegAlgorithm_ARRAYSIZE = IntegAlgorithm_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IntegAlgorithm_descriptor(); -template -inline const std::string& IntegAlgorithm_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function IntegAlgorithm_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - IntegAlgorithm_descriptor(), enum_t_value); -} -inline bool IntegAlgorithm_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IntegAlgorithm* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - IntegAlgorithm_descriptor(), name, value); -} -enum DHGroups : int { - DH_GROUPS_UNSPECIFIED = 0, - DH_GROUPS_MODP768 = 1, - DH_GROUPS_MODP1024 = 2, - DH_GROUPS_MODP1536 = 3, - DH_GROUPS_MODP2048 = 4, - DH_GROUPS_MODP3072 = 5, - DH_GROUPS_MODP4096 = 6, - DH_GROUPS_MODP6144 = 7, - DH_GROUPS_MODP8192 = 8, - DH_GROUPS_MODP1024S160 = 9, - DH_GROUPS_MODP2048S224 = 10, - DH_GROUPS_MODP2048S256 = 11, - DH_GROUPS_CURVE25519 = 12, - DHGroups_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - DHGroups_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool DHGroups_IsValid(int value); -constexpr DHGroups DHGroups_MIN = DH_GROUPS_UNSPECIFIED; -constexpr DHGroups DHGroups_MAX = DH_GROUPS_CURVE25519; -constexpr int DHGroups_ARRAYSIZE = DHGroups_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DHGroups_descriptor(); -template -inline const std::string& DHGroups_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function DHGroups_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - DHGroups_descriptor(), enum_t_value); -} -inline bool DHGroups_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DHGroups* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - DHGroups_descriptor(), name, value); -} -enum PRFunction : int { - PR_FUNCTION_UNSPECIFIED = 0, - PR_FUNCTION_MD5 = 1, - PR_FUNCTION_SHA1 = 2, - PR_FUNCTION_AESXCBC = 3, - PR_FUNCTION_AESCMAC = 4, - PR_FUNCTION_SHA256 = 5, - PR_FUNCTION_SHA384 = 6, - PR_FUNCTION_SHA512 = 7, - PRFunction_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - PRFunction_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool PRFunction_IsValid(int value); -constexpr PRFunction PRFunction_MIN = PR_FUNCTION_UNSPECIFIED; -constexpr PRFunction PRFunction_MAX = PR_FUNCTION_SHA512; -constexpr int PRFunction_ARRAYSIZE = PRFunction_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PRFunction_descriptor(); -template -inline const std::string& PRFunction_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function PRFunction_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - PRFunction_descriptor(), enum_t_value); -} -inline bool PRFunction_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PRFunction* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - PRFunction_descriptor(), name, value); -} -enum IpsecMode : int { - IPSEC_MODE_UNSPECIFIED = 0, - IPSEC_MODE_TUNNEL_MODE = 1, - IPSEC_MODE_TRANSPORT_MODE = 2, - IpsecMode_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - IpsecMode_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool IpsecMode_IsValid(int value); -constexpr IpsecMode IpsecMode_MIN = IPSEC_MODE_UNSPECIFIED; -constexpr IpsecMode IpsecMode_MAX = IPSEC_MODE_TRANSPORT_MODE; -constexpr int IpsecMode_ARRAYSIZE = IpsecMode_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IpsecMode_descriptor(); -template -inline const std::string& IpsecMode_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function IpsecMode_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - IpsecMode_descriptor(), enum_t_value); -} -inline bool IpsecMode_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IpsecMode* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - IpsecMode_descriptor(), name, value); -} -enum AuthType : int { - AUTH_TYPE_UNSPECIFIED = 0, - AUTH_TYPE_PUBKEY = 1, - AUTH_TYPE_PSK = 2, - AUTH_TYPE_XAUTH = 3, - AUTH_TYPE_EAP = 4, - AuthType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - AuthType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool AuthType_IsValid(int value); -constexpr AuthType AuthType_MIN = AUTH_TYPE_UNSPECIFIED; -constexpr AuthType AuthType_MAX = AUTH_TYPE_EAP; -constexpr int AuthType_ARRAYSIZE = AuthType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AuthType_descriptor(); -template -inline const std::string& AuthType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function AuthType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - AuthType_descriptor(), enum_t_value); -} -inline bool AuthType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AuthType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - AuthType_descriptor(), name, value); -} -enum IkeSaState : int { - IKE_SA_STATE_UNSPECIFIED = 0, - IKE_SA_STATE_CREATED = 1, - IKE_SA_STATE_CONNECTING = 2, - IKE_SA_STATE_ESTABLISHED = 3, - IKE_SA_STATE_PASSIVE = 4, - IKE_SA_STATE_REKEYING = 5, - IKE_SA_STATE_REKEYED = 6, - IKE_SA_STATE_DELETING = 7, - IKE_SA_STATE_DESTROYING = 8, - IkeSaState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - IkeSaState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool IkeSaState_IsValid(int value); -constexpr IkeSaState IkeSaState_MIN = IKE_SA_STATE_UNSPECIFIED; -constexpr IkeSaState IkeSaState_MAX = IKE_SA_STATE_DESTROYING; -constexpr int IkeSaState_ARRAYSIZE = IkeSaState_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IkeSaState_descriptor(); -template -inline const std::string& IkeSaState_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function IkeSaState_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - IkeSaState_descriptor(), enum_t_value); -} -inline bool IkeSaState_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IkeSaState* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - IkeSaState_descriptor(), name, value); -} -enum ChildSaState : int { - CHILD_SA_STATE_UNSPECIFIED = 0, - CHILD_SA_STATE_CREATED = 1, - CHILD_SA_STATE_ROUTED = 2, - CHILD_SA_STATE_INSTALLING = 3, - CHILD_SA_STATE_INSTALLED = 4, - CHILD_SA_STATE_UPDATING = 5, - CHILD_SA_STATE_REKEYING = 6, - CHILD_SA_STATE_REKEYED = 7, - CHILD_SA_STATE_RETRYING = 8, - CHILD_SA_STATE_DELETING = 9, - CHILD_SA_STATE_DELETED = 10, - CHILD_SA_STATE_DESTROYING = 11, - ChildSaState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - ChildSaState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool ChildSaState_IsValid(int value); -constexpr ChildSaState ChildSaState_MIN = CHILD_SA_STATE_UNSPECIFIED; -constexpr ChildSaState ChildSaState_MAX = CHILD_SA_STATE_DESTROYING; -constexpr int ChildSaState_ARRAYSIZE = ChildSaState_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ChildSaState_descriptor(); -template -inline const std::string& ChildSaState_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ChildSaState_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ChildSaState_descriptor(), enum_t_value); -} -inline bool ChildSaState_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ChildSaState* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ChildSaState_descriptor(), name, value); -} -enum CertificateType : int { - CERTIFICATE_TYPE_X509_UNSPECIFIED = 0, - CERTIFICATE_TYPE_X509_AC = 1, - CERTIFICATE_TYPE_X509_CRL = 2, - CERTIFICATE_TYPE_OCSP_RESPONSE = 3, - CERTIFICATE_TYPE_PUBKEY = 4, - CertificateType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - CertificateType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool CertificateType_IsValid(int value); -constexpr CertificateType CertificateType_MIN = CERTIFICATE_TYPE_X509_UNSPECIFIED; -constexpr CertificateType CertificateType_MAX = CERTIFICATE_TYPE_PUBKEY; -constexpr int CertificateType_ARRAYSIZE = CertificateType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CertificateType_descriptor(); -template -inline const std::string& CertificateType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CertificateType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CertificateType_descriptor(), enum_t_value); -} -inline bool CertificateType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CertificateType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CertificateType_descriptor(), name, value); -} -enum X509CertificateFlag : int { - X509_CERTIFICATE_FLAG_UNSPECIFIED = 0, - X509_CERTIFICATE_FLAG_CA = 1, - X509_CERTIFICATE_FLAG_AA = 2, - X509_CERTIFICATE_FLAG_OCSP = 3, - X509CertificateFlag_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - X509CertificateFlag_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() -}; -bool X509CertificateFlag_IsValid(int value); -constexpr X509CertificateFlag X509CertificateFlag_MIN = X509_CERTIFICATE_FLAG_UNSPECIFIED; -constexpr X509CertificateFlag X509CertificateFlag_MAX = X509_CERTIFICATE_FLAG_OCSP; -constexpr int X509CertificateFlag_ARRAYSIZE = X509CertificateFlag_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* X509CertificateFlag_descriptor(); -template -inline const std::string& X509CertificateFlag_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function X509CertificateFlag_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - X509CertificateFlag_descriptor(), enum_t_value); -} -inline bool X509CertificateFlag_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, X509CertificateFlag* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - X509CertificateFlag_descriptor(), name, value); -} -// =================================================================== - -class Proposals final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.Proposals) */ { - public: - inline Proposals() : Proposals(nullptr) {} - ~Proposals() override; - explicit PROTOBUF_CONSTEXPR Proposals(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Proposals(const Proposals& from); - Proposals(Proposals&& from) noexcept - : Proposals() { - *this = ::std::move(from); - } - - inline Proposals& operator=(const Proposals& from) { - CopyFrom(from); - return *this; - } - inline Proposals& operator=(Proposals&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Proposals& default_instance() { - return *internal_default_instance(); - } - static inline const Proposals* internal_default_instance() { - return reinterpret_cast( - &_Proposals_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Proposals& a, Proposals& b) { - a.Swap(&b); - } - inline void Swap(Proposals* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Proposals* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Proposals* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Proposals& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Proposals& from) { - Proposals::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Proposals* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.Proposals"; - } - protected: - explicit Proposals(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCryptoAlgFieldNumber = 1, - kIntegAlgFieldNumber = 2, - kPrfFieldNumber = 3, - kDhgroupsFieldNumber = 4, - }; - // repeated .opi_api.security.v1.CryptoAlgorithm crypto_alg = 1; - int crypto_alg_size() const; - private: - int _internal_crypto_alg_size() const; - public: - void clear_crypto_alg(); - private: - ::opi_api::security::v1::CryptoAlgorithm _internal_crypto_alg(int index) const; - void _internal_add_crypto_alg(::opi_api::security::v1::CryptoAlgorithm value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_crypto_alg(); - public: - ::opi_api::security::v1::CryptoAlgorithm crypto_alg(int index) const; - void set_crypto_alg(int index, ::opi_api::security::v1::CryptoAlgorithm value); - void add_crypto_alg(::opi_api::security::v1::CryptoAlgorithm value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField& crypto_alg() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_crypto_alg(); - - // repeated .opi_api.security.v1.IntegAlgorithm integ_alg = 2; - int integ_alg_size() const; - private: - int _internal_integ_alg_size() const; - public: - void clear_integ_alg(); - private: - ::opi_api::security::v1::IntegAlgorithm _internal_integ_alg(int index) const; - void _internal_add_integ_alg(::opi_api::security::v1::IntegAlgorithm value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_integ_alg(); - public: - ::opi_api::security::v1::IntegAlgorithm integ_alg(int index) const; - void set_integ_alg(int index, ::opi_api::security::v1::IntegAlgorithm value); - void add_integ_alg(::opi_api::security::v1::IntegAlgorithm value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField& integ_alg() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_integ_alg(); - - // repeated .opi_api.security.v1.PRFunction prf = 3; - int prf_size() const; - private: - int _internal_prf_size() const; - public: - void clear_prf(); - private: - ::opi_api::security::v1::PRFunction _internal_prf(int index) const; - void _internal_add_prf(::opi_api::security::v1::PRFunction value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_prf(); - public: - ::opi_api::security::v1::PRFunction prf(int index) const; - void set_prf(int index, ::opi_api::security::v1::PRFunction value); - void add_prf(::opi_api::security::v1::PRFunction value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField& prf() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_prf(); - - // repeated .opi_api.security.v1.DHGroups dhgroups = 4; - int dhgroups_size() const; - private: - int _internal_dhgroups_size() const; - public: - void clear_dhgroups(); - private: - ::opi_api::security::v1::DHGroups _internal_dhgroups(int index) const; - void _internal_add_dhgroups(::opi_api::security::v1::DHGroups value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_dhgroups(); - public: - ::opi_api::security::v1::DHGroups dhgroups(int index) const; - void set_dhgroups(int index, ::opi_api::security::v1::DHGroups value); - void add_dhgroups(::opi_api::security::v1::DHGroups value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField& dhgroups() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_dhgroups(); - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.Proposals) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedField crypto_alg_; - mutable std::atomic _crypto_alg_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField integ_alg_; - mutable std::atomic _integ_alg_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField prf_; - mutable std::atomic _prf_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField dhgroups_; - mutable std::atomic _dhgroups_cached_byte_size_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class Vips final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.Vips) */ { - public: - inline Vips() : Vips(nullptr) {} - ~Vips() override; - explicit PROTOBUF_CONSTEXPR Vips(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Vips(const Vips& from); - Vips(Vips&& from) noexcept - : Vips() { - *this = ::std::move(from); - } - - inline Vips& operator=(const Vips& from) { - CopyFrom(from); - return *this; - } - inline Vips& operator=(Vips&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Vips& default_instance() { - return *internal_default_instance(); - } - static inline const Vips* internal_default_instance() { - return reinterpret_cast( - &_Vips_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(Vips& a, Vips& b) { - a.Swap(&b); - } - inline void Swap(Vips* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Vips* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Vips* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Vips& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Vips& from) { - Vips::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Vips* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.Vips"; - } - protected: - explicit Vips(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVipFieldNumber = 1, - }; - // repeated string vip = 1; - int vip_size() const; - private: - int _internal_vip_size() const; - public: - void clear_vip(); - const std::string& vip(int index) const; - std::string* mutable_vip(int index); - void set_vip(int index, const std::string& value); - void set_vip(int index, std::string&& value); - void set_vip(int index, const char* value); - void set_vip(int index, const char* value, size_t size); - std::string* add_vip(); - void add_vip(const std::string& value); - void add_vip(std::string&& value); - void add_vip(const char* value); - void add_vip(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& vip() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_vip(); - private: - const std::string& _internal_vip(int index) const; - std::string* _internal_add_vip(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.Vips) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField vip_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class Pools final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.Pools) */ { - public: - inline Pools() : Pools(nullptr) {} - ~Pools() override; - explicit PROTOBUF_CONSTEXPR Pools(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Pools(const Pools& from); - Pools(Pools&& from) noexcept - : Pools() { - *this = ::std::move(from); - } - - inline Pools& operator=(const Pools& from) { - CopyFrom(from); - return *this; - } - inline Pools& operator=(Pools&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Pools& default_instance() { - return *internal_default_instance(); - } - static inline const Pools* internal_default_instance() { - return reinterpret_cast( - &_Pools_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(Pools& a, Pools& b) { - a.Swap(&b); - } - inline void Swap(Pools* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Pools* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Pools* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Pools& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Pools& from) { - Pools::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Pools* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.Pools"; - } - protected: - explicit Pools(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPoolFieldNumber = 1, - }; - // repeated string pool = 1; - int pool_size() const; - private: - int _internal_pool_size() const; - public: - void clear_pool(); - const std::string& pool(int index) const; - std::string* mutable_pool(int index); - void set_pool(int index, const std::string& value); - void set_pool(int index, std::string&& value); - void set_pool(int index, const char* value); - void set_pool(int index, const char* value, size_t size); - std::string* add_pool(); - void add_pool(const std::string& value); - void add_pool(std::string&& value); - void add_pool(const char* value); - void add_pool(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& pool() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_pool(); - private: - const std::string& _internal_pool(int index) const; - std::string* _internal_add_pool(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.Pools) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField pool_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class Certs final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.Certs) */ { - public: - inline Certs() : Certs(nullptr) {} - ~Certs() override; - explicit PROTOBUF_CONSTEXPR Certs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Certs(const Certs& from); - Certs(Certs&& from) noexcept - : Certs() { - *this = ::std::move(from); - } - - inline Certs& operator=(const Certs& from) { - CopyFrom(from); - return *this; - } - inline Certs& operator=(Certs&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Certs& default_instance() { - return *internal_default_instance(); - } - static inline const Certs* internal_default_instance() { - return reinterpret_cast( - &_Certs_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(Certs& a, Certs& b) { - a.Swap(&b); - } - inline void Swap(Certs* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Certs* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Certs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Certs& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Certs& from) { - Certs::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Certs* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.Certs"; - } - protected: - explicit Certs(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCertFieldNumber = 1, - }; - // repeated string cert = 1; - int cert_size() const; - private: - int _internal_cert_size() const; - public: - void clear_cert(); - const std::string& cert(int index) const; - std::string* mutable_cert(int index); - void set_cert(int index, const std::string& value); - void set_cert(int index, std::string&& value); - void set_cert(int index, const char* value); - void set_cert(int index, const char* value, size_t size); - std::string* add_cert(); - void add_cert(const std::string& value); - void add_cert(std::string&& value); - void add_cert(const char* value); - void add_cert(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& cert() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_cert(); - private: - const std::string& _internal_cert(int index) const; - std::string* _internal_add_cert(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.Certs) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField cert_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class PubKeys final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.PubKeys) */ { - public: - inline PubKeys() : PubKeys(nullptr) {} - ~PubKeys() override; - explicit PROTOBUF_CONSTEXPR PubKeys(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PubKeys(const PubKeys& from); - PubKeys(PubKeys&& from) noexcept - : PubKeys() { - *this = ::std::move(from); - } - - inline PubKeys& operator=(const PubKeys& from) { - CopyFrom(from); - return *this; - } - inline PubKeys& operator=(PubKeys&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PubKeys& default_instance() { - return *internal_default_instance(); - } - static inline const PubKeys* internal_default_instance() { - return reinterpret_cast( - &_PubKeys_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(PubKeys& a, PubKeys& b) { - a.Swap(&b); - } - inline void Swap(PubKeys* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PubKeys* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PubKeys* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PubKeys& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PubKeys& from) { - PubKeys::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PubKeys* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.PubKeys"; - } - protected: - explicit PubKeys(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPubkeyFieldNumber = 1, - }; - // repeated string pubkey = 1; - int pubkey_size() const; - private: - int _internal_pubkey_size() const; - public: - void clear_pubkey(); - const std::string& pubkey(int index) const; - std::string* mutable_pubkey(int index); - void set_pubkey(int index, const std::string& value); - void set_pubkey(int index, std::string&& value); - void set_pubkey(int index, const char* value); - void set_pubkey(int index, const char* value, size_t size); - std::string* add_pubkey(); - void add_pubkey(const std::string& value); - void add_pubkey(std::string&& value); - void add_pubkey(const char* value); - void add_pubkey(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& pubkey() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_pubkey(); - private: - const std::string& _internal_pubkey(int index) const; - std::string* _internal_add_pubkey(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.PubKeys) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField pubkey_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class Groups final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.Groups) */ { - public: - inline Groups() : Groups(nullptr) {} - ~Groups() override; - explicit PROTOBUF_CONSTEXPR Groups(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Groups(const Groups& from); - Groups(Groups&& from) noexcept - : Groups() { - *this = ::std::move(from); - } - - inline Groups& operator=(const Groups& from) { - CopyFrom(from); - return *this; - } - inline Groups& operator=(Groups&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Groups& default_instance() { - return *internal_default_instance(); - } - static inline const Groups* internal_default_instance() { - return reinterpret_cast( - &_Groups_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(Groups& a, Groups& b) { - a.Swap(&b); - } - inline void Swap(Groups* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Groups* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Groups* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Groups& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Groups& from) { - Groups::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Groups* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.Groups"; - } - protected: - explicit Groups(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGroupFieldNumber = 1, - }; - // repeated string group = 1; - int group_size() const; - private: - int _internal_group_size() const; - public: - void clear_group(); - const std::string& group(int index) const; - std::string* mutable_group(int index); - void set_group(int index, const std::string& value); - void set_group(int index, std::string&& value); - void set_group(int index, const char* value); - void set_group(int index, const char* value, size_t size); - std::string* add_group(); - void add_group(const std::string& value); - void add_group(std::string&& value); - void add_group(const char* value); - void add_group(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& group() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_group(); - private: - const std::string& _internal_group(int index) const; - std::string* _internal_add_group(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.Groups) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField group_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class CertPolicy final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.CertPolicy) */ { - public: - inline CertPolicy() : CertPolicy(nullptr) {} - ~CertPolicy() override; - explicit PROTOBUF_CONSTEXPR CertPolicy(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CertPolicy(const CertPolicy& from); - CertPolicy(CertPolicy&& from) noexcept - : CertPolicy() { - *this = ::std::move(from); - } - - inline CertPolicy& operator=(const CertPolicy& from) { - CopyFrom(from); - return *this; - } - inline CertPolicy& operator=(CertPolicy&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CertPolicy& default_instance() { - return *internal_default_instance(); - } - static inline const CertPolicy* internal_default_instance() { - return reinterpret_cast( - &_CertPolicy_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CertPolicy& a, CertPolicy& b) { - a.Swap(&b); - } - inline void Swap(CertPolicy* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CertPolicy* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CertPolicy* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CertPolicy& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CertPolicy& from) { - CertPolicy::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CertPolicy* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.CertPolicy"; - } - protected: - explicit CertPolicy(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCertPolicyFieldNumber = 1, - }; - // repeated string cert_policy = 1; - int cert_policy_size() const; - private: - int _internal_cert_policy_size() const; - public: - void clear_cert_policy(); - const std::string& cert_policy(int index) const; - std::string* mutable_cert_policy(int index); - void set_cert_policy(int index, const std::string& value); - void set_cert_policy(int index, std::string&& value); - void set_cert_policy(int index, const char* value); - void set_cert_policy(int index, const char* value, size_t size); - std::string* add_cert_policy(); - void add_cert_policy(const std::string& value); - void add_cert_policy(std::string&& value); - void add_cert_policy(const char* value); - void add_cert_policy(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& cert_policy() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_cert_policy(); - private: - const std::string& _internal_cert_policy(int index) const; - std::string* _internal_add_cert_policy(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.CertPolicy) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField cert_policy_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class CaCerts final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.CaCerts) */ { - public: - inline CaCerts() : CaCerts(nullptr) {} - ~CaCerts() override; - explicit PROTOBUF_CONSTEXPR CaCerts(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CaCerts(const CaCerts& from); - CaCerts(CaCerts&& from) noexcept - : CaCerts() { - *this = ::std::move(from); - } - - inline CaCerts& operator=(const CaCerts& from) { - CopyFrom(from); - return *this; - } - inline CaCerts& operator=(CaCerts&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CaCerts& default_instance() { - return *internal_default_instance(); - } - static inline const CaCerts* internal_default_instance() { - return reinterpret_cast( - &_CaCerts_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CaCerts& a, CaCerts& b) { - a.Swap(&b); - } - inline void Swap(CaCerts* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CaCerts* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CaCerts* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CaCerts& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CaCerts& from) { - CaCerts::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CaCerts* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.CaCerts"; - } - protected: - explicit CaCerts(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCacertFieldNumber = 1, - }; - // repeated string cacert = 1; - int cacert_size() const; - private: - int _internal_cacert_size() const; - public: - void clear_cacert(); - const std::string& cacert(int index) const; - std::string* mutable_cacert(int index); - void set_cacert(int index, const std::string& value); - void set_cacert(int index, std::string&& value); - void set_cacert(int index, const char* value); - void set_cacert(int index, const char* value, size_t size); - std::string* add_cacert(); - void add_cacert(const std::string& value); - void add_cacert(std::string&& value); - void add_cacert(const char* value); - void add_cacert(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& cacert() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_cacert(); - private: - const std::string& _internal_cacert(int index) const; - std::string* _internal_add_cacert(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.CaCerts) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField cacert_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class LocalAuth final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.LocalAuth) */ { - public: - inline LocalAuth() : LocalAuth(nullptr) {} - ~LocalAuth() override; - explicit PROTOBUF_CONSTEXPR LocalAuth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - LocalAuth(const LocalAuth& from); - LocalAuth(LocalAuth&& from) noexcept - : LocalAuth() { - *this = ::std::move(from); - } - - inline LocalAuth& operator=(const LocalAuth& from) { - CopyFrom(from); - return *this; - } - inline LocalAuth& operator=(LocalAuth&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const LocalAuth& default_instance() { - return *internal_default_instance(); - } - static inline const LocalAuth* internal_default_instance() { - return reinterpret_cast( - &_LocalAuth_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(LocalAuth& a, LocalAuth& b) { - a.Swap(&b); - } - inline void Swap(LocalAuth* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LocalAuth* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - LocalAuth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const LocalAuth& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const LocalAuth& from) { - LocalAuth::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(LocalAuth* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.LocalAuth"; - } - protected: - explicit LocalAuth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdFieldNumber = 2, - kEapIdFieldNumber = 3, - kAaaIdFieldNumber = 4, - kXauthIdFieldNumber = 5, - kCertsFieldNumber = 6, - kPubkeysFieldNumber = 7, - kAuthFieldNumber = 1, - }; - // string id = 2; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); - public: - - // string eap_id = 3; - void clear_eap_id(); - const std::string& eap_id() const; - template - void set_eap_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_eap_id(); - PROTOBUF_NODISCARD std::string* release_eap_id(); - void set_allocated_eap_id(std::string* eap_id); - private: - const std::string& _internal_eap_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_eap_id(const std::string& value); - std::string* _internal_mutable_eap_id(); - public: - - // string aaa_id = 4; - void clear_aaa_id(); - const std::string& aaa_id() const; - template - void set_aaa_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_aaa_id(); - PROTOBUF_NODISCARD std::string* release_aaa_id(); - void set_allocated_aaa_id(std::string* aaa_id); - private: - const std::string& _internal_aaa_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_aaa_id(const std::string& value); - std::string* _internal_mutable_aaa_id(); - public: - - // string xauth_id = 5; - void clear_xauth_id(); - const std::string& xauth_id() const; - template - void set_xauth_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_xauth_id(); - PROTOBUF_NODISCARD std::string* release_xauth_id(); - void set_allocated_xauth_id(std::string* xauth_id); - private: - const std::string& _internal_xauth_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_xauth_id(const std::string& value); - std::string* _internal_mutable_xauth_id(); - public: - - // .opi_api.security.v1.Certs certs = 6; - bool has_certs() const; - private: - bool _internal_has_certs() const; - public: - void clear_certs(); - const ::opi_api::security::v1::Certs& certs() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Certs* release_certs(); - ::opi_api::security::v1::Certs* mutable_certs(); - void set_allocated_certs(::opi_api::security::v1::Certs* certs); - private: - const ::opi_api::security::v1::Certs& _internal_certs() const; - ::opi_api::security::v1::Certs* _internal_mutable_certs(); - public: - void unsafe_arena_set_allocated_certs( - ::opi_api::security::v1::Certs* certs); - ::opi_api::security::v1::Certs* unsafe_arena_release_certs(); - - // .opi_api.security.v1.PubKeys pubkeys = 7; - bool has_pubkeys() const; - private: - bool _internal_has_pubkeys() const; - public: - void clear_pubkeys(); - const ::opi_api::security::v1::PubKeys& pubkeys() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::PubKeys* release_pubkeys(); - ::opi_api::security::v1::PubKeys* mutable_pubkeys(); - void set_allocated_pubkeys(::opi_api::security::v1::PubKeys* pubkeys); - private: - const ::opi_api::security::v1::PubKeys& _internal_pubkeys() const; - ::opi_api::security::v1::PubKeys* _internal_mutable_pubkeys(); - public: - void unsafe_arena_set_allocated_pubkeys( - ::opi_api::security::v1::PubKeys* pubkeys); - ::opi_api::security::v1::PubKeys* unsafe_arena_release_pubkeys(); - - // .opi_api.security.v1.AuthType auth = 1; - void clear_auth(); - ::opi_api::security::v1::AuthType auth() const; - void set_auth(::opi_api::security::v1::AuthType value); - private: - ::opi_api::security::v1::AuthType _internal_auth() const; - void _internal_set_auth(::opi_api::security::v1::AuthType value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.LocalAuth) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr eap_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aaa_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xauth_id_; - ::opi_api::security::v1::Certs* certs_; - ::opi_api::security::v1::PubKeys* pubkeys_; - int auth_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class RemoteAuth final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.RemoteAuth) */ { - public: - inline RemoteAuth() : RemoteAuth(nullptr) {} - ~RemoteAuth() override; - explicit PROTOBUF_CONSTEXPR RemoteAuth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - RemoteAuth(const RemoteAuth& from); - RemoteAuth(RemoteAuth&& from) noexcept - : RemoteAuth() { - *this = ::std::move(from); - } - - inline RemoteAuth& operator=(const RemoteAuth& from) { - CopyFrom(from); - return *this; - } - inline RemoteAuth& operator=(RemoteAuth&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const RemoteAuth& default_instance() { - return *internal_default_instance(); - } - static inline const RemoteAuth* internal_default_instance() { - return reinterpret_cast( - &_RemoteAuth_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(RemoteAuth& a, RemoteAuth& b) { - a.Swap(&b); - } - inline void Swap(RemoteAuth* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RemoteAuth* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RemoteAuth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const RemoteAuth& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const RemoteAuth& from) { - RemoteAuth::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(RemoteAuth* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.RemoteAuth"; - } - protected: - explicit RemoteAuth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdFieldNumber = 2, - kEapIdFieldNumber = 3, - kGroupsFieldNumber = 4, - kCertPolicyFieldNumber = 5, - kCertsFieldNumber = 6, - kCaCertsFieldNumber = 7, - kPubkeysFieldNumber = 8, - kAuthFieldNumber = 1, - }; - // string id = 2; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); - public: - - // string eap_id = 3; - void clear_eap_id(); - const std::string& eap_id() const; - template - void set_eap_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_eap_id(); - PROTOBUF_NODISCARD std::string* release_eap_id(); - void set_allocated_eap_id(std::string* eap_id); - private: - const std::string& _internal_eap_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_eap_id(const std::string& value); - std::string* _internal_mutable_eap_id(); - public: - - // .opi_api.security.v1.Groups groups = 4; - bool has_groups() const; - private: - bool _internal_has_groups() const; - public: - void clear_groups(); - const ::opi_api::security::v1::Groups& groups() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Groups* release_groups(); - ::opi_api::security::v1::Groups* mutable_groups(); - void set_allocated_groups(::opi_api::security::v1::Groups* groups); - private: - const ::opi_api::security::v1::Groups& _internal_groups() const; - ::opi_api::security::v1::Groups* _internal_mutable_groups(); - public: - void unsafe_arena_set_allocated_groups( - ::opi_api::security::v1::Groups* groups); - ::opi_api::security::v1::Groups* unsafe_arena_release_groups(); - - // .opi_api.security.v1.CertPolicy cert_policy = 5; - bool has_cert_policy() const; - private: - bool _internal_has_cert_policy() const; - public: - void clear_cert_policy(); - const ::opi_api::security::v1::CertPolicy& cert_policy() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::CertPolicy* release_cert_policy(); - ::opi_api::security::v1::CertPolicy* mutable_cert_policy(); - void set_allocated_cert_policy(::opi_api::security::v1::CertPolicy* cert_policy); - private: - const ::opi_api::security::v1::CertPolicy& _internal_cert_policy() const; - ::opi_api::security::v1::CertPolicy* _internal_mutable_cert_policy(); - public: - void unsafe_arena_set_allocated_cert_policy( - ::opi_api::security::v1::CertPolicy* cert_policy); - ::opi_api::security::v1::CertPolicy* unsafe_arena_release_cert_policy(); - - // .opi_api.security.v1.Certs certs = 6; - bool has_certs() const; - private: - bool _internal_has_certs() const; - public: - void clear_certs(); - const ::opi_api::security::v1::Certs& certs() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Certs* release_certs(); - ::opi_api::security::v1::Certs* mutable_certs(); - void set_allocated_certs(::opi_api::security::v1::Certs* certs); - private: - const ::opi_api::security::v1::Certs& _internal_certs() const; - ::opi_api::security::v1::Certs* _internal_mutable_certs(); - public: - void unsafe_arena_set_allocated_certs( - ::opi_api::security::v1::Certs* certs); - ::opi_api::security::v1::Certs* unsafe_arena_release_certs(); - - // .opi_api.security.v1.CaCerts ca_certs = 7; - bool has_ca_certs() const; - private: - bool _internal_has_ca_certs() const; - public: - void clear_ca_certs(); - const ::opi_api::security::v1::CaCerts& ca_certs() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::CaCerts* release_ca_certs(); - ::opi_api::security::v1::CaCerts* mutable_ca_certs(); - void set_allocated_ca_certs(::opi_api::security::v1::CaCerts* ca_certs); - private: - const ::opi_api::security::v1::CaCerts& _internal_ca_certs() const; - ::opi_api::security::v1::CaCerts* _internal_mutable_ca_certs(); - public: - void unsafe_arena_set_allocated_ca_certs( - ::opi_api::security::v1::CaCerts* ca_certs); - ::opi_api::security::v1::CaCerts* unsafe_arena_release_ca_certs(); - - // .opi_api.security.v1.PubKeys pubkeys = 8; - bool has_pubkeys() const; - private: - bool _internal_has_pubkeys() const; - public: - void clear_pubkeys(); - const ::opi_api::security::v1::PubKeys& pubkeys() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::PubKeys* release_pubkeys(); - ::opi_api::security::v1::PubKeys* mutable_pubkeys(); - void set_allocated_pubkeys(::opi_api::security::v1::PubKeys* pubkeys); - private: - const ::opi_api::security::v1::PubKeys& _internal_pubkeys() const; - ::opi_api::security::v1::PubKeys* _internal_mutable_pubkeys(); - public: - void unsafe_arena_set_allocated_pubkeys( - ::opi_api::security::v1::PubKeys* pubkeys); - ::opi_api::security::v1::PubKeys* unsafe_arena_release_pubkeys(); - - // .opi_api.security.v1.AuthType auth = 1; - void clear_auth(); - ::opi_api::security::v1::AuthType auth() const; - void set_auth(::opi_api::security::v1::AuthType value); - private: - ::opi_api::security::v1::AuthType _internal_auth() const; - void _internal_set_auth(::opi_api::security::v1::AuthType value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.RemoteAuth) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr eap_id_; - ::opi_api::security::v1::Groups* groups_; - ::opi_api::security::v1::CertPolicy* cert_policy_; - ::opi_api::security::v1::Certs* certs_; - ::opi_api::security::v1::CaCerts* ca_certs_; - ::opi_api::security::v1::PubKeys* pubkeys_; - int auth_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class TrafficSelectors_TrafficSelector final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.TrafficSelectors.TrafficSelector) */ { - public: - inline TrafficSelectors_TrafficSelector() : TrafficSelectors_TrafficSelector(nullptr) {} - ~TrafficSelectors_TrafficSelector() override; - explicit PROTOBUF_CONSTEXPR TrafficSelectors_TrafficSelector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TrafficSelectors_TrafficSelector(const TrafficSelectors_TrafficSelector& from); - TrafficSelectors_TrafficSelector(TrafficSelectors_TrafficSelector&& from) noexcept - : TrafficSelectors_TrafficSelector() { - *this = ::std::move(from); - } - - inline TrafficSelectors_TrafficSelector& operator=(const TrafficSelectors_TrafficSelector& from) { - CopyFrom(from); - return *this; - } - inline TrafficSelectors_TrafficSelector& operator=(TrafficSelectors_TrafficSelector&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TrafficSelectors_TrafficSelector& default_instance() { - return *internal_default_instance(); - } - static inline const TrafficSelectors_TrafficSelector* internal_default_instance() { - return reinterpret_cast( - &_TrafficSelectors_TrafficSelector_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(TrafficSelectors_TrafficSelector& a, TrafficSelectors_TrafficSelector& b) { - a.Swap(&b); - } - inline void Swap(TrafficSelectors_TrafficSelector* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TrafficSelectors_TrafficSelector* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TrafficSelectors_TrafficSelector* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TrafficSelectors_TrafficSelector& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TrafficSelectors_TrafficSelector& from) { - TrafficSelectors_TrafficSelector::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TrafficSelectors_TrafficSelector* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.TrafficSelectors.TrafficSelector"; - } - protected: - explicit TrafficSelectors_TrafficSelector(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCidrFieldNumber = 1, - kProtoFieldNumber = 2, - kPortFieldNumber = 3, - }; - // string cidr = 1; - void clear_cidr(); - const std::string& cidr() const; - template - void set_cidr(ArgT0&& arg0, ArgT... args); - std::string* mutable_cidr(); - PROTOBUF_NODISCARD std::string* release_cidr(); - void set_allocated_cidr(std::string* cidr); - private: - const std::string& _internal_cidr() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cidr(const std::string& value); - std::string* _internal_mutable_cidr(); - public: - - // string proto = 2; - void clear_proto(); - const std::string& proto() const; - template - void set_proto(ArgT0&& arg0, ArgT... args); - std::string* mutable_proto(); - PROTOBUF_NODISCARD std::string* release_proto(); - void set_allocated_proto(std::string* proto); - private: - const std::string& _internal_proto() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_proto(const std::string& value); - std::string* _internal_mutable_proto(); - public: - - // string port = 3; - void clear_port(); - const std::string& port() const; - template - void set_port(ArgT0&& arg0, ArgT... args); - std::string* mutable_port(); - PROTOBUF_NODISCARD std::string* release_port(); - void set_allocated_port(std::string* port); - private: - const std::string& _internal_port() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_port(const std::string& value); - std::string* _internal_mutable_port(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.TrafficSelectors.TrafficSelector) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cidr_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr proto_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr port_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class TrafficSelectors final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.TrafficSelectors) */ { - public: - inline TrafficSelectors() : TrafficSelectors(nullptr) {} - ~TrafficSelectors() override; - explicit PROTOBUF_CONSTEXPR TrafficSelectors(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TrafficSelectors(const TrafficSelectors& from); - TrafficSelectors(TrafficSelectors&& from) noexcept - : TrafficSelectors() { - *this = ::std::move(from); - } - - inline TrafficSelectors& operator=(const TrafficSelectors& from) { - CopyFrom(from); - return *this; - } - inline TrafficSelectors& operator=(TrafficSelectors&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TrafficSelectors& default_instance() { - return *internal_default_instance(); - } - static inline const TrafficSelectors* internal_default_instance() { - return reinterpret_cast( - &_TrafficSelectors_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(TrafficSelectors& a, TrafficSelectors& b) { - a.Swap(&b); - } - inline void Swap(TrafficSelectors* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TrafficSelectors* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TrafficSelectors* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TrafficSelectors& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TrafficSelectors& from) { - TrafficSelectors::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TrafficSelectors* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.TrafficSelectors"; - } - protected: - explicit TrafficSelectors(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef TrafficSelectors_TrafficSelector TrafficSelector; - - // accessors ------------------------------------------------------- - - enum : int { - kTsFieldNumber = 1, - }; - // repeated .opi_api.security.v1.TrafficSelectors.TrafficSelector ts = 1; - int ts_size() const; - private: - int _internal_ts_size() const; - public: - void clear_ts(); - ::opi_api::security::v1::TrafficSelectors_TrafficSelector* mutable_ts(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::TrafficSelectors_TrafficSelector >* - mutable_ts(); - private: - const ::opi_api::security::v1::TrafficSelectors_TrafficSelector& _internal_ts(int index) const; - ::opi_api::security::v1::TrafficSelectors_TrafficSelector* _internal_add_ts(); - public: - const ::opi_api::security::v1::TrafficSelectors_TrafficSelector& ts(int index) const; - ::opi_api::security::v1::TrafficSelectors_TrafficSelector* add_ts(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::TrafficSelectors_TrafficSelector >& - ts() const; - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.TrafficSelectors) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::TrafficSelectors_TrafficSelector > ts_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class Addrs final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.Addrs) */ { - public: - inline Addrs() : Addrs(nullptr) {} - ~Addrs() override; - explicit PROTOBUF_CONSTEXPR Addrs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Addrs(const Addrs& from); - Addrs(Addrs&& from) noexcept - : Addrs() { - *this = ::std::move(from); - } - - inline Addrs& operator=(const Addrs& from) { - CopyFrom(from); - return *this; - } - inline Addrs& operator=(Addrs&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Addrs& default_instance() { - return *internal_default_instance(); - } - static inline const Addrs* internal_default_instance() { - return reinterpret_cast( - &_Addrs_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(Addrs& a, Addrs& b) { - a.Swap(&b); - } - inline void Swap(Addrs* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Addrs* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Addrs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Addrs& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Addrs& from) { - Addrs::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Addrs* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.Addrs"; - } - protected: - explicit Addrs(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAddrFieldNumber = 1, - }; - // string addr = 1; - void clear_addr(); - const std::string& addr() const; - template - void set_addr(ArgT0&& arg0, ArgT... args); - std::string* mutable_addr(); - PROTOBUF_NODISCARD std::string* release_addr(); - void set_allocated_addr(std::string* addr); - private: - const std::string& _internal_addr() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_addr(const std::string& value); - std::string* _internal_mutable_addr(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.Addrs) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addr_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class Child final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.Child) */ { - public: - inline Child() : Child(nullptr) {} - ~Child() override; - explicit PROTOBUF_CONSTEXPR Child(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Child(const Child& from); - Child(Child&& from) noexcept - : Child() { - *this = ::std::move(from); - } - - inline Child& operator=(const Child& from) { - CopyFrom(from); - return *this; - } - inline Child& operator=(Child&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Child& default_instance() { - return *internal_default_instance(); - } - static inline const Child* internal_default_instance() { - return reinterpret_cast( - &_Child_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(Child& a, Child& b) { - a.Swap(&b); - } - inline void Swap(Child* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Child* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Child* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Child& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Child& from) { - Child::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Child* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.Child"; - } - protected: - explicit Child(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kUpdownFieldNumber = 9, - kMarkInSaFieldNumber = 12, - kHwOffloadFieldNumber = 16, - kAgProposalsFieldNumber = 2, - kEspProposalsFieldNumber = 3, - kLocalTsFieldNumber = 4, - kRemoteTsFieldNumber = 5, - kRekeyTimeFieldNumber = 6, - kLifeTimeFieldNumber = 7, - kRandTimeFieldNumber = 8, - kInactivityFieldNumber = 10, - kMarkInFieldNumber = 11, - kMarkOutFieldNumber = 13, - kSetMarkInFieldNumber = 14, - kSetMarkOutFieldNumber = 15, - }; - // string name = 1; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // string updown = 9; - void clear_updown(); - const std::string& updown() const; - template - void set_updown(ArgT0&& arg0, ArgT... args); - std::string* mutable_updown(); - PROTOBUF_NODISCARD std::string* release_updown(); - void set_allocated_updown(std::string* updown); - private: - const std::string& _internal_updown() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_updown(const std::string& value); - std::string* _internal_mutable_updown(); - public: - - // string mark_in_sa = 12; - void clear_mark_in_sa(); - const std::string& mark_in_sa() const; - template - void set_mark_in_sa(ArgT0&& arg0, ArgT... args); - std::string* mutable_mark_in_sa(); - PROTOBUF_NODISCARD std::string* release_mark_in_sa(); - void set_allocated_mark_in_sa(std::string* mark_in_sa); - private: - const std::string& _internal_mark_in_sa() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mark_in_sa(const std::string& value); - std::string* _internal_mutable_mark_in_sa(); - public: - - // string hw_offload = 16; - void clear_hw_offload(); - const std::string& hw_offload() const; - template - void set_hw_offload(ArgT0&& arg0, ArgT... args); - std::string* mutable_hw_offload(); - PROTOBUF_NODISCARD std::string* release_hw_offload(); - void set_allocated_hw_offload(std::string* hw_offload); - private: - const std::string& _internal_hw_offload() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_hw_offload(const std::string& value); - std::string* _internal_mutable_hw_offload(); - public: - - // .opi_api.security.v1.Proposals ag_proposals = 2; - bool has_ag_proposals() const; - private: - bool _internal_has_ag_proposals() const; - public: - void clear_ag_proposals(); - const ::opi_api::security::v1::Proposals& ag_proposals() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Proposals* release_ag_proposals(); - ::opi_api::security::v1::Proposals* mutable_ag_proposals(); - void set_allocated_ag_proposals(::opi_api::security::v1::Proposals* ag_proposals); - private: - const ::opi_api::security::v1::Proposals& _internal_ag_proposals() const; - ::opi_api::security::v1::Proposals* _internal_mutable_ag_proposals(); - public: - void unsafe_arena_set_allocated_ag_proposals( - ::opi_api::security::v1::Proposals* ag_proposals); - ::opi_api::security::v1::Proposals* unsafe_arena_release_ag_proposals(); - - // .opi_api.security.v1.Proposals esp_proposals = 3; - bool has_esp_proposals() const; - private: - bool _internal_has_esp_proposals() const; - public: - void clear_esp_proposals(); - const ::opi_api::security::v1::Proposals& esp_proposals() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Proposals* release_esp_proposals(); - ::opi_api::security::v1::Proposals* mutable_esp_proposals(); - void set_allocated_esp_proposals(::opi_api::security::v1::Proposals* esp_proposals); - private: - const ::opi_api::security::v1::Proposals& _internal_esp_proposals() const; - ::opi_api::security::v1::Proposals* _internal_mutable_esp_proposals(); - public: - void unsafe_arena_set_allocated_esp_proposals( - ::opi_api::security::v1::Proposals* esp_proposals); - ::opi_api::security::v1::Proposals* unsafe_arena_release_esp_proposals(); - - // .opi_api.security.v1.TrafficSelectors local_ts = 4; - bool has_local_ts() const; - private: - bool _internal_has_local_ts() const; - public: - void clear_local_ts(); - const ::opi_api::security::v1::TrafficSelectors& local_ts() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::TrafficSelectors* release_local_ts(); - ::opi_api::security::v1::TrafficSelectors* mutable_local_ts(); - void set_allocated_local_ts(::opi_api::security::v1::TrafficSelectors* local_ts); - private: - const ::opi_api::security::v1::TrafficSelectors& _internal_local_ts() const; - ::opi_api::security::v1::TrafficSelectors* _internal_mutable_local_ts(); - public: - void unsafe_arena_set_allocated_local_ts( - ::opi_api::security::v1::TrafficSelectors* local_ts); - ::opi_api::security::v1::TrafficSelectors* unsafe_arena_release_local_ts(); - - // .opi_api.security.v1.TrafficSelectors remote_ts = 5; - bool has_remote_ts() const; - private: - bool _internal_has_remote_ts() const; - public: - void clear_remote_ts(); - const ::opi_api::security::v1::TrafficSelectors& remote_ts() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::TrafficSelectors* release_remote_ts(); - ::opi_api::security::v1::TrafficSelectors* mutable_remote_ts(); - void set_allocated_remote_ts(::opi_api::security::v1::TrafficSelectors* remote_ts); - private: - const ::opi_api::security::v1::TrafficSelectors& _internal_remote_ts() const; - ::opi_api::security::v1::TrafficSelectors* _internal_mutable_remote_ts(); - public: - void unsafe_arena_set_allocated_remote_ts( - ::opi_api::security::v1::TrafficSelectors* remote_ts); - ::opi_api::security::v1::TrafficSelectors* unsafe_arena_release_remote_ts(); - - // uint32 rekey_time = 6; - void clear_rekey_time(); - uint32_t rekey_time() const; - void set_rekey_time(uint32_t value); - private: - uint32_t _internal_rekey_time() const; - void _internal_set_rekey_time(uint32_t value); - public: - - // uint32 life_time = 7; - void clear_life_time(); - uint32_t life_time() const; - void set_life_time(uint32_t value); - private: - uint32_t _internal_life_time() const; - void _internal_set_life_time(uint32_t value); - public: - - // uint32 rand_time = 8; - void clear_rand_time(); - uint32_t rand_time() const; - void set_rand_time(uint32_t value); - private: - uint32_t _internal_rand_time() const; - void _internal_set_rand_time(uint32_t value); - public: - - // uint32 inactivity = 10; - void clear_inactivity(); - uint32_t inactivity() const; - void set_inactivity(uint32_t value); - private: - uint32_t _internal_inactivity() const; - void _internal_set_inactivity(uint32_t value); - public: - - // uint32 mark_in = 11; - void clear_mark_in(); - uint32_t mark_in() const; - void set_mark_in(uint32_t value); - private: - uint32_t _internal_mark_in() const; - void _internal_set_mark_in(uint32_t value); - public: - - // uint32 mark_out = 13; - void clear_mark_out(); - uint32_t mark_out() const; - void set_mark_out(uint32_t value); - private: - uint32_t _internal_mark_out() const; - void _internal_set_mark_out(uint32_t value); - public: - - // uint32 set_mark_in = 14; - void clear_set_mark_in(); - uint32_t set_mark_in() const; - void set_set_mark_in(uint32_t value); - private: - uint32_t _internal_set_mark_in() const; - void _internal_set_set_mark_in(uint32_t value); - public: - - // uint32 set_mark_out = 15; - void clear_set_mark_out(); - uint32_t set_mark_out() const; - void set_set_mark_out(uint32_t value); - private: - uint32_t _internal_set_mark_out() const; - void _internal_set_set_mark_out(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.Child) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr updown_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mark_in_sa_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hw_offload_; - ::opi_api::security::v1::Proposals* ag_proposals_; - ::opi_api::security::v1::Proposals* esp_proposals_; - ::opi_api::security::v1::TrafficSelectors* local_ts_; - ::opi_api::security::v1::TrafficSelectors* remote_ts_; - uint32_t rekey_time_; - uint32_t life_time_; - uint32_t rand_time_; - uint32_t inactivity_; - uint32_t mark_in_; - uint32_t mark_out_; - uint32_t set_mark_in_; - uint32_t set_mark_out_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class Connection final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.Connection) */ { - public: - inline Connection() : Connection(nullptr) {} - ~Connection() override; - explicit PROTOBUF_CONSTEXPR Connection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - Connection(const Connection& from); - Connection(Connection&& from) noexcept - : Connection() { - *this = ::std::move(from); - } - - inline Connection& operator=(const Connection& from) { - CopyFrom(from); - return *this; - } - inline Connection& operator=(Connection&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const Connection& default_instance() { - return *internal_default_instance(); - } - static inline const Connection* internal_default_instance() { - return reinterpret_cast( - &_Connection_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(Connection& a, Connection& b) { - a.Swap(&b); - } - inline void Swap(Connection* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Connection* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Connection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Connection& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const Connection& from) { - Connection::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(Connection* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.Connection"; - } - protected: - explicit Connection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLocalAddrsFieldNumber = 3, - kRemoteAddrsFieldNumber = 4, - kChildrenFieldNumber = 19, - kNameFieldNumber = 1, - kVersionFieldNumber = 2, - kEncapFieldNumber = 10, - kMobikeFieldNumber = 11, - kProposalsFieldNumber = 7, - kVipsFieldNumber = 8, - kPoolsFieldNumber = 16, - kLocalAuthFieldNumber = 17, - kRemoteAuthFieldNumber = 18, - kLocalPortFieldNumber = 5, - kRemotePortFieldNumber = 6, - kDscpFieldNumber = 9, - kDpdDelayFieldNumber = 12, - kDpdTimeoutFieldNumber = 13, - kReauthTimeFieldNumber = 14, - kRekeyTimeFieldNumber = 15, - }; - // repeated .opi_api.security.v1.Addrs local_addrs = 3; - int local_addrs_size() const; - private: - int _internal_local_addrs_size() const; - public: - void clear_local_addrs(); - ::opi_api::security::v1::Addrs* mutable_local_addrs(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >* - mutable_local_addrs(); - private: - const ::opi_api::security::v1::Addrs& _internal_local_addrs(int index) const; - ::opi_api::security::v1::Addrs* _internal_add_local_addrs(); - public: - const ::opi_api::security::v1::Addrs& local_addrs(int index) const; - ::opi_api::security::v1::Addrs* add_local_addrs(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >& - local_addrs() const; - - // repeated .opi_api.security.v1.Addrs remote_addrs = 4; - int remote_addrs_size() const; - private: - int _internal_remote_addrs_size() const; - public: - void clear_remote_addrs(); - ::opi_api::security::v1::Addrs* mutable_remote_addrs(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >* - mutable_remote_addrs(); - private: - const ::opi_api::security::v1::Addrs& _internal_remote_addrs(int index) const; - ::opi_api::security::v1::Addrs* _internal_add_remote_addrs(); - public: - const ::opi_api::security::v1::Addrs& remote_addrs(int index) const; - ::opi_api::security::v1::Addrs* add_remote_addrs(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >& - remote_addrs() const; - - // repeated .opi_api.security.v1.Child children = 19; - int children_size() const; - private: - int _internal_children_size() const; - public: - void clear_children(); - ::opi_api::security::v1::Child* mutable_children(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Child >* - mutable_children(); - private: - const ::opi_api::security::v1::Child& _internal_children(int index) const; - ::opi_api::security::v1::Child* _internal_add_children(); - public: - const ::opi_api::security::v1::Child& children(int index) const; - ::opi_api::security::v1::Child* add_children(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Child >& - children() const; - - // string name = 1; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // string version = 2; - void clear_version(); - const std::string& version() const; - template - void set_version(ArgT0&& arg0, ArgT... args); - std::string* mutable_version(); - PROTOBUF_NODISCARD std::string* release_version(); - void set_allocated_version(std::string* version); - private: - const std::string& _internal_version() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); - std::string* _internal_mutable_version(); - public: - - // string encap = 10; - void clear_encap(); - const std::string& encap() const; - template - void set_encap(ArgT0&& arg0, ArgT... args); - std::string* mutable_encap(); - PROTOBUF_NODISCARD std::string* release_encap(); - void set_allocated_encap(std::string* encap); - private: - const std::string& _internal_encap() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encap(const std::string& value); - std::string* _internal_mutable_encap(); - public: - - // string mobike = 11; - void clear_mobike(); - const std::string& mobike() const; - template - void set_mobike(ArgT0&& arg0, ArgT... args); - std::string* mutable_mobike(); - PROTOBUF_NODISCARD std::string* release_mobike(); - void set_allocated_mobike(std::string* mobike); - private: - const std::string& _internal_mobike() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mobike(const std::string& value); - std::string* _internal_mutable_mobike(); - public: - - // .opi_api.security.v1.Proposals proposals = 7; - bool has_proposals() const; - private: - bool _internal_has_proposals() const; - public: - void clear_proposals(); - const ::opi_api::security::v1::Proposals& proposals() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Proposals* release_proposals(); - ::opi_api::security::v1::Proposals* mutable_proposals(); - void set_allocated_proposals(::opi_api::security::v1::Proposals* proposals); - private: - const ::opi_api::security::v1::Proposals& _internal_proposals() const; - ::opi_api::security::v1::Proposals* _internal_mutable_proposals(); - public: - void unsafe_arena_set_allocated_proposals( - ::opi_api::security::v1::Proposals* proposals); - ::opi_api::security::v1::Proposals* unsafe_arena_release_proposals(); - - // .opi_api.security.v1.Vips vips = 8; - bool has_vips() const; - private: - bool _internal_has_vips() const; - public: - void clear_vips(); - const ::opi_api::security::v1::Vips& vips() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Vips* release_vips(); - ::opi_api::security::v1::Vips* mutable_vips(); - void set_allocated_vips(::opi_api::security::v1::Vips* vips); - private: - const ::opi_api::security::v1::Vips& _internal_vips() const; - ::opi_api::security::v1::Vips* _internal_mutable_vips(); - public: - void unsafe_arena_set_allocated_vips( - ::opi_api::security::v1::Vips* vips); - ::opi_api::security::v1::Vips* unsafe_arena_release_vips(); - - // .opi_api.security.v1.Pools pools = 16; - bool has_pools() const; - private: - bool _internal_has_pools() const; - public: - void clear_pools(); - const ::opi_api::security::v1::Pools& pools() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Pools* release_pools(); - ::opi_api::security::v1::Pools* mutable_pools(); - void set_allocated_pools(::opi_api::security::v1::Pools* pools); - private: - const ::opi_api::security::v1::Pools& _internal_pools() const; - ::opi_api::security::v1::Pools* _internal_mutable_pools(); - public: - void unsafe_arena_set_allocated_pools( - ::opi_api::security::v1::Pools* pools); - ::opi_api::security::v1::Pools* unsafe_arena_release_pools(); - - // .opi_api.security.v1.LocalAuth local_auth = 17; - bool has_local_auth() const; - private: - bool _internal_has_local_auth() const; - public: - void clear_local_auth(); - const ::opi_api::security::v1::LocalAuth& local_auth() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::LocalAuth* release_local_auth(); - ::opi_api::security::v1::LocalAuth* mutable_local_auth(); - void set_allocated_local_auth(::opi_api::security::v1::LocalAuth* local_auth); - private: - const ::opi_api::security::v1::LocalAuth& _internal_local_auth() const; - ::opi_api::security::v1::LocalAuth* _internal_mutable_local_auth(); - public: - void unsafe_arena_set_allocated_local_auth( - ::opi_api::security::v1::LocalAuth* local_auth); - ::opi_api::security::v1::LocalAuth* unsafe_arena_release_local_auth(); - - // .opi_api.security.v1.RemoteAuth remote_auth = 18; - bool has_remote_auth() const; - private: - bool _internal_has_remote_auth() const; - public: - void clear_remote_auth(); - const ::opi_api::security::v1::RemoteAuth& remote_auth() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::RemoteAuth* release_remote_auth(); - ::opi_api::security::v1::RemoteAuth* mutable_remote_auth(); - void set_allocated_remote_auth(::opi_api::security::v1::RemoteAuth* remote_auth); - private: - const ::opi_api::security::v1::RemoteAuth& _internal_remote_auth() const; - ::opi_api::security::v1::RemoteAuth* _internal_mutable_remote_auth(); - public: - void unsafe_arena_set_allocated_remote_auth( - ::opi_api::security::v1::RemoteAuth* remote_auth); - ::opi_api::security::v1::RemoteAuth* unsafe_arena_release_remote_auth(); - - // uint32 local_port = 5; - void clear_local_port(); - uint32_t local_port() const; - void set_local_port(uint32_t value); - private: - uint32_t _internal_local_port() const; - void _internal_set_local_port(uint32_t value); - public: - - // uint32 remote_port = 6; - void clear_remote_port(); - uint32_t remote_port() const; - void set_remote_port(uint32_t value); - private: - uint32_t _internal_remote_port() const; - void _internal_set_remote_port(uint32_t value); - public: - - // uint64 dscp = 9; - void clear_dscp(); - uint64_t dscp() const; - void set_dscp(uint64_t value); - private: - uint64_t _internal_dscp() const; - void _internal_set_dscp(uint64_t value); - public: - - // uint32 dpd_delay = 12; - void clear_dpd_delay(); - uint32_t dpd_delay() const; - void set_dpd_delay(uint32_t value); - private: - uint32_t _internal_dpd_delay() const; - void _internal_set_dpd_delay(uint32_t value); - public: - - // uint32 dpd_timeout = 13; - void clear_dpd_timeout(); - uint32_t dpd_timeout() const; - void set_dpd_timeout(uint32_t value); - private: - uint32_t _internal_dpd_timeout() const; - void _internal_set_dpd_timeout(uint32_t value); - public: - - // uint32 reauth_time = 14; - void clear_reauth_time(); - uint32_t reauth_time() const; - void set_reauth_time(uint32_t value); - private: - uint32_t _internal_reauth_time() const; - void _internal_set_reauth_time(uint32_t value); - public: - - // uint32 rekey_time = 15; - void clear_rekey_time(); - uint32_t rekey_time() const; - void set_rekey_time(uint32_t value); - private: - uint32_t _internal_rekey_time() const; - void _internal_set_rekey_time(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.Connection) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs > local_addrs_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs > remote_addrs_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Child > children_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encap_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mobike_; - ::opi_api::security::v1::Proposals* proposals_; - ::opi_api::security::v1::Vips* vips_; - ::opi_api::security::v1::Pools* pools_; - ::opi_api::security::v1::LocalAuth* local_auth_; - ::opi_api::security::v1::RemoteAuth* remote_auth_; - uint32_t local_port_; - uint32_t remote_port_; - uint64_t dscp_; - uint32_t dpd_delay_; - uint32_t dpd_timeout_; - uint32_t reauth_time_; - uint32_t rekey_time_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecVersionRequest final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecVersionRequest) */ { - public: - inline IPsecVersionRequest() : IPsecVersionRequest(nullptr) {} - explicit PROTOBUF_CONSTEXPR IPsecVersionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecVersionRequest(const IPsecVersionRequest& from); - IPsecVersionRequest(IPsecVersionRequest&& from) noexcept - : IPsecVersionRequest() { - *this = ::std::move(from); - } - - inline IPsecVersionRequest& operator=(const IPsecVersionRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecVersionRequest& operator=(IPsecVersionRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecVersionRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecVersionRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecVersionRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(IPsecVersionRequest& a, IPsecVersionRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecVersionRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecVersionRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecVersionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const IPsecVersionRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const IPsecVersionRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecVersionRequest"; - } - protected: - explicit IPsecVersionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecVersionRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecVersionResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecVersionResponse) */ { - public: - inline IPsecVersionResponse() : IPsecVersionResponse(nullptr) {} - ~IPsecVersionResponse() override; - explicit PROTOBUF_CONSTEXPR IPsecVersionResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecVersionResponse(const IPsecVersionResponse& from); - IPsecVersionResponse(IPsecVersionResponse&& from) noexcept - : IPsecVersionResponse() { - *this = ::std::move(from); - } - - inline IPsecVersionResponse& operator=(const IPsecVersionResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecVersionResponse& operator=(IPsecVersionResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecVersionResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecVersionResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecVersionResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(IPsecVersionResponse& a, IPsecVersionResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecVersionResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecVersionResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecVersionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecVersionResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecVersionResponse& from) { - IPsecVersionResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecVersionResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecVersionResponse"; - } - protected: - explicit IPsecVersionResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDaemonFieldNumber = 1, - kVersionFieldNumber = 2, - kSysnameFieldNumber = 3, - kReleaseFieldNumber = 4, - kMachineFieldNumber = 5, - }; - // string daemon = 1; - void clear_daemon(); - const std::string& daemon() const; - template - void set_daemon(ArgT0&& arg0, ArgT... args); - std::string* mutable_daemon(); - PROTOBUF_NODISCARD std::string* release_daemon(); - void set_allocated_daemon(std::string* daemon); - private: - const std::string& _internal_daemon() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_daemon(const std::string& value); - std::string* _internal_mutable_daemon(); - public: - - // string version = 2; - void clear_version(); - const std::string& version() const; - template - void set_version(ArgT0&& arg0, ArgT... args); - std::string* mutable_version(); - PROTOBUF_NODISCARD std::string* release_version(); - void set_allocated_version(std::string* version); - private: - const std::string& _internal_version() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); - std::string* _internal_mutable_version(); - public: - - // string sysname = 3; - void clear_sysname(); - const std::string& sysname() const; - template - void set_sysname(ArgT0&& arg0, ArgT... args); - std::string* mutable_sysname(); - PROTOBUF_NODISCARD std::string* release_sysname(); - void set_allocated_sysname(std::string* sysname); - private: - const std::string& _internal_sysname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sysname(const std::string& value); - std::string* _internal_mutable_sysname(); - public: - - // string release = 4; - void clear_release(); - const std::string& release() const; - template - void set_release(ArgT0&& arg0, ArgT... args); - std::string* mutable_release(); - PROTOBUF_NODISCARD std::string* release_release(); - void set_allocated_release(std::string* release); - private: - const std::string& _internal_release() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_release(const std::string& value); - std::string* _internal_mutable_release(); - public: - - // string machine = 5; - void clear_machine(); - const std::string& machine() const; - template - void set_machine(ArgT0&& arg0, ArgT... args); - std::string* mutable_machine(); - PROTOBUF_NODISCARD std::string* release_machine(); - void set_allocated_machine(std::string* machine); - private: - const std::string& _internal_machine() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_machine(const std::string& value); - std::string* _internal_mutable_machine(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecVersionResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr daemon_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sysname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr release_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr machine_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecStatsRequest) */ { - public: - inline IPsecStatsRequest() : IPsecStatsRequest(nullptr) {} - explicit PROTOBUF_CONSTEXPR IPsecStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecStatsRequest(const IPsecStatsRequest& from); - IPsecStatsRequest(IPsecStatsRequest&& from) noexcept - : IPsecStatsRequest() { - *this = ::std::move(from); - } - - inline IPsecStatsRequest& operator=(const IPsecStatsRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecStatsRequest& operator=(IPsecStatsRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecStatsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecStatsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(IPsecStatsRequest& a, IPsecStatsRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecStatsRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecStatsRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const IPsecStatsRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const IPsecStatsRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecStatsRequest"; - } - protected: - explicit IPsecStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecStatsRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecStatsResponse) */ { - public: - inline IPsecStatsResponse() : IPsecStatsResponse(nullptr) {} - ~IPsecStatsResponse() override; - explicit PROTOBUF_CONSTEXPR IPsecStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecStatsResponse(const IPsecStatsResponse& from); - IPsecStatsResponse(IPsecStatsResponse&& from) noexcept - : IPsecStatsResponse() { - *this = ::std::move(from); - } - - inline IPsecStatsResponse& operator=(const IPsecStatsResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecStatsResponse& operator=(IPsecStatsResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecStatsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecStatsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(IPsecStatsResponse& a, IPsecStatsResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecStatsResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecStatsResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecStatsResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecStatsResponse& from) { - IPsecStatsResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecStatsResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecStatsResponse"; - } - protected: - explicit IPsecStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStatusFieldNumber = 1, - }; - // string status = 1; - void clear_status(); - const std::string& status() const; - template - void set_status(ArgT0&& arg0, ArgT... args); - std::string* mutable_status(); - PROTOBUF_NODISCARD std::string* release_status(); - void set_allocated_status(std::string* status); - private: - const std::string& _internal_status() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_status(const std::string& value); - std::string* _internal_mutable_status(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecStatsResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecInitiateRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecInitiateRequest) */ { - public: - inline IPsecInitiateRequest() : IPsecInitiateRequest(nullptr) {} - ~IPsecInitiateRequest() override; - explicit PROTOBUF_CONSTEXPR IPsecInitiateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecInitiateRequest(const IPsecInitiateRequest& from); - IPsecInitiateRequest(IPsecInitiateRequest&& from) noexcept - : IPsecInitiateRequest() { - *this = ::std::move(from); - } - - inline IPsecInitiateRequest& operator=(const IPsecInitiateRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecInitiateRequest& operator=(IPsecInitiateRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecInitiateRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecInitiateRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecInitiateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(IPsecInitiateRequest& a, IPsecInitiateRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecInitiateRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecInitiateRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecInitiateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecInitiateRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecInitiateRequest& from) { - IPsecInitiateRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecInitiateRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecInitiateRequest"; - } - protected: - explicit IPsecInitiateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kChildFieldNumber = 1, - kIkeFieldNumber = 2, - kTimeoutFieldNumber = 3, - kLoglevelFieldNumber = 4, - }; - // string child = 1; - void clear_child(); - const std::string& child() const; - template - void set_child(ArgT0&& arg0, ArgT... args); - std::string* mutable_child(); - PROTOBUF_NODISCARD std::string* release_child(); - void set_allocated_child(std::string* child); - private: - const std::string& _internal_child() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_child(const std::string& value); - std::string* _internal_mutable_child(); - public: - - // string ike = 2; - void clear_ike(); - const std::string& ike() const; - template - void set_ike(ArgT0&& arg0, ArgT... args); - std::string* mutable_ike(); - PROTOBUF_NODISCARD std::string* release_ike(); - void set_allocated_ike(std::string* ike); - private: - const std::string& _internal_ike() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ike(const std::string& value); - std::string* _internal_mutable_ike(); - public: - - // string timeout = 3; - void clear_timeout(); - const std::string& timeout() const; - template - void set_timeout(ArgT0&& arg0, ArgT... args); - std::string* mutable_timeout(); - PROTOBUF_NODISCARD std::string* release_timeout(); - void set_allocated_timeout(std::string* timeout); - private: - const std::string& _internal_timeout() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_timeout(const std::string& value); - std::string* _internal_mutable_timeout(); - public: - - // string loglevel = 4; - void clear_loglevel(); - const std::string& loglevel() const; - template - void set_loglevel(ArgT0&& arg0, ArgT... args); - std::string* mutable_loglevel(); - PROTOBUF_NODISCARD std::string* release_loglevel(); - void set_allocated_loglevel(std::string* loglevel); - private: - const std::string& _internal_loglevel() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_loglevel(const std::string& value); - std::string* _internal_mutable_loglevel(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecInitiateRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr child_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ike_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr timeout_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr loglevel_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecInitiateResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecInitiateResponse) */ { - public: - inline IPsecInitiateResponse() : IPsecInitiateResponse(nullptr) {} - explicit PROTOBUF_CONSTEXPR IPsecInitiateResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecInitiateResponse(const IPsecInitiateResponse& from); - IPsecInitiateResponse(IPsecInitiateResponse&& from) noexcept - : IPsecInitiateResponse() { - *this = ::std::move(from); - } - - inline IPsecInitiateResponse& operator=(const IPsecInitiateResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecInitiateResponse& operator=(IPsecInitiateResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecInitiateResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecInitiateResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecInitiateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(IPsecInitiateResponse& a, IPsecInitiateResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecInitiateResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecInitiateResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecInitiateResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const IPsecInitiateResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const IPsecInitiateResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecInitiateResponse"; - } - protected: - explicit IPsecInitiateResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecInitiateResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecTerminateRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecTerminateRequest) */ { - public: - inline IPsecTerminateRequest() : IPsecTerminateRequest(nullptr) {} - ~IPsecTerminateRequest() override; - explicit PROTOBUF_CONSTEXPR IPsecTerminateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecTerminateRequest(const IPsecTerminateRequest& from); - IPsecTerminateRequest(IPsecTerminateRequest&& from) noexcept - : IPsecTerminateRequest() { - *this = ::std::move(from); - } - - inline IPsecTerminateRequest& operator=(const IPsecTerminateRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecTerminateRequest& operator=(IPsecTerminateRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecTerminateRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecTerminateRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecTerminateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(IPsecTerminateRequest& a, IPsecTerminateRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecTerminateRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecTerminateRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecTerminateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecTerminateRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecTerminateRequest& from) { - IPsecTerminateRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecTerminateRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecTerminateRequest"; - } - protected: - explicit IPsecTerminateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kChildFieldNumber = 1, - kIkeFieldNumber = 2, - kForceFieldNumber = 5, - kTimeoutFieldNumber = 6, - kLoglevelFieldNumber = 7, - kChildIdFieldNumber = 3, - kIkeIdFieldNumber = 4, - }; - // string child = 1; - void clear_child(); - const std::string& child() const; - template - void set_child(ArgT0&& arg0, ArgT... args); - std::string* mutable_child(); - PROTOBUF_NODISCARD std::string* release_child(); - void set_allocated_child(std::string* child); - private: - const std::string& _internal_child() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_child(const std::string& value); - std::string* _internal_mutable_child(); - public: - - // string ike = 2; - void clear_ike(); - const std::string& ike() const; - template - void set_ike(ArgT0&& arg0, ArgT... args); - std::string* mutable_ike(); - PROTOBUF_NODISCARD std::string* release_ike(); - void set_allocated_ike(std::string* ike); - private: - const std::string& _internal_ike() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ike(const std::string& value); - std::string* _internal_mutable_ike(); - public: - - // string force = 5; - void clear_force(); - const std::string& force() const; - template - void set_force(ArgT0&& arg0, ArgT... args); - std::string* mutable_force(); - PROTOBUF_NODISCARD std::string* release_force(); - void set_allocated_force(std::string* force); - private: - const std::string& _internal_force() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_force(const std::string& value); - std::string* _internal_mutable_force(); - public: - - // string timeout = 6; - void clear_timeout(); - const std::string& timeout() const; - template - void set_timeout(ArgT0&& arg0, ArgT... args); - std::string* mutable_timeout(); - PROTOBUF_NODISCARD std::string* release_timeout(); - void set_allocated_timeout(std::string* timeout); - private: - const std::string& _internal_timeout() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_timeout(const std::string& value); - std::string* _internal_mutable_timeout(); - public: - - // string loglevel = 7; - void clear_loglevel(); - const std::string& loglevel() const; - template - void set_loglevel(ArgT0&& arg0, ArgT... args); - std::string* mutable_loglevel(); - PROTOBUF_NODISCARD std::string* release_loglevel(); - void set_allocated_loglevel(std::string* loglevel); - private: - const std::string& _internal_loglevel() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_loglevel(const std::string& value); - std::string* _internal_mutable_loglevel(); - public: - - // uint64 child_id = 3; - void clear_child_id(); - uint64_t child_id() const; - void set_child_id(uint64_t value); - private: - uint64_t _internal_child_id() const; - void _internal_set_child_id(uint64_t value); - public: - - // uint64 ike_id = 4; - void clear_ike_id(); - uint64_t ike_id() const; - void set_ike_id(uint64_t value); - private: - uint64_t _internal_ike_id() const; - void _internal_set_ike_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecTerminateRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr child_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ike_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr force_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr timeout_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr loglevel_; - uint64_t child_id_; - uint64_t ike_id_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecTerminateResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecTerminateResponse) */ { - public: - inline IPsecTerminateResponse() : IPsecTerminateResponse(nullptr) {} - ~IPsecTerminateResponse() override; - explicit PROTOBUF_CONSTEXPR IPsecTerminateResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecTerminateResponse(const IPsecTerminateResponse& from); - IPsecTerminateResponse(IPsecTerminateResponse&& from) noexcept - : IPsecTerminateResponse() { - *this = ::std::move(from); - } - - inline IPsecTerminateResponse& operator=(const IPsecTerminateResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecTerminateResponse& operator=(IPsecTerminateResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecTerminateResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecTerminateResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecTerminateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(IPsecTerminateResponse& a, IPsecTerminateResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecTerminateResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecTerminateResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecTerminateResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecTerminateResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecTerminateResponse& from) { - IPsecTerminateResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecTerminateResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecTerminateResponse"; - } - protected: - explicit IPsecTerminateResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSuccessFieldNumber = 1, - kMatchesFieldNumber = 2, - kTerminatedFieldNumber = 3, - }; - // string success = 1; - void clear_success(); - const std::string& success() const; - template - void set_success(ArgT0&& arg0, ArgT... args); - std::string* mutable_success(); - PROTOBUF_NODISCARD std::string* release_success(); - void set_allocated_success(std::string* success); - private: - const std::string& _internal_success() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_success(const std::string& value); - std::string* _internal_mutable_success(); - public: - - // uint32 matches = 2; - void clear_matches(); - uint32_t matches() const; - void set_matches(uint32_t value); - private: - uint32_t _internal_matches() const; - void _internal_set_matches(uint32_t value); - public: - - // uint32 terminated = 3; - void clear_terminated(); - uint32_t terminated() const; - void set_terminated(uint32_t value); - private: - uint32_t _internal_terminated() const; - void _internal_set_terminated(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecTerminateResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr success_; - uint32_t matches_; - uint32_t terminated_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecRekeyRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecRekeyRequest) */ { - public: - inline IPsecRekeyRequest() : IPsecRekeyRequest(nullptr) {} - ~IPsecRekeyRequest() override; - explicit PROTOBUF_CONSTEXPR IPsecRekeyRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecRekeyRequest(const IPsecRekeyRequest& from); - IPsecRekeyRequest(IPsecRekeyRequest&& from) noexcept - : IPsecRekeyRequest() { - *this = ::std::move(from); - } - - inline IPsecRekeyRequest& operator=(const IPsecRekeyRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecRekeyRequest& operator=(IPsecRekeyRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecRekeyRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecRekeyRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecRekeyRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(IPsecRekeyRequest& a, IPsecRekeyRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecRekeyRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecRekeyRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecRekeyRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecRekeyRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecRekeyRequest& from) { - IPsecRekeyRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecRekeyRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecRekeyRequest"; - } - protected: - explicit IPsecRekeyRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kChildFieldNumber = 1, - kIkeFieldNumber = 2, - kReauthFieldNumber = 5, - kChildIdFieldNumber = 3, - kIkeIdFieldNumber = 4, - }; - // string child = 1; - void clear_child(); - const std::string& child() const; - template - void set_child(ArgT0&& arg0, ArgT... args); - std::string* mutable_child(); - PROTOBUF_NODISCARD std::string* release_child(); - void set_allocated_child(std::string* child); - private: - const std::string& _internal_child() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_child(const std::string& value); - std::string* _internal_mutable_child(); - public: - - // string ike = 2; - void clear_ike(); - const std::string& ike() const; - template - void set_ike(ArgT0&& arg0, ArgT... args); - std::string* mutable_ike(); - PROTOBUF_NODISCARD std::string* release_ike(); - void set_allocated_ike(std::string* ike); - private: - const std::string& _internal_ike() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ike(const std::string& value); - std::string* _internal_mutable_ike(); - public: - - // string reauth = 5; - void clear_reauth(); - const std::string& reauth() const; - template - void set_reauth(ArgT0&& arg0, ArgT... args); - std::string* mutable_reauth(); - PROTOBUF_NODISCARD std::string* release_reauth(); - void set_allocated_reauth(std::string* reauth); - private: - const std::string& _internal_reauth() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_reauth(const std::string& value); - std::string* _internal_mutable_reauth(); - public: - - // uint64 child_id = 3; - void clear_child_id(); - uint64_t child_id() const; - void set_child_id(uint64_t value); - private: - uint64_t _internal_child_id() const; - void _internal_set_child_id(uint64_t value); - public: - - // uint64 ike_id = 4; - void clear_ike_id(); - uint64_t ike_id() const; - void set_ike_id(uint64_t value); - private: - uint64_t _internal_ike_id() const; - void _internal_set_ike_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecRekeyRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr child_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ike_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr reauth_; - uint64_t child_id_; - uint64_t ike_id_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecRekeyResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecRekeyResponse) */ { - public: - inline IPsecRekeyResponse() : IPsecRekeyResponse(nullptr) {} - ~IPsecRekeyResponse() override; - explicit PROTOBUF_CONSTEXPR IPsecRekeyResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecRekeyResponse(const IPsecRekeyResponse& from); - IPsecRekeyResponse(IPsecRekeyResponse&& from) noexcept - : IPsecRekeyResponse() { - *this = ::std::move(from); - } - - inline IPsecRekeyResponse& operator=(const IPsecRekeyResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecRekeyResponse& operator=(IPsecRekeyResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecRekeyResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecRekeyResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecRekeyResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(IPsecRekeyResponse& a, IPsecRekeyResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecRekeyResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecRekeyResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecRekeyResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecRekeyResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecRekeyResponse& from) { - IPsecRekeyResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecRekeyResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecRekeyResponse"; - } - protected: - explicit IPsecRekeyResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSuccessFieldNumber = 1, - kMatchesFieldNumber = 2, - }; - // string success = 1; - void clear_success(); - const std::string& success() const; - template - void set_success(ArgT0&& arg0, ArgT... args); - std::string* mutable_success(); - PROTOBUF_NODISCARD std::string* release_success(); - void set_allocated_success(std::string* success); - private: - const std::string& _internal_success() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_success(const std::string& value); - std::string* _internal_mutable_success(); - public: - - // uint32 matches = 2; - void clear_matches(); - uint32_t matches() const; - void set_matches(uint32_t value); - private: - uint32_t _internal_matches() const; - void _internal_set_matches(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecRekeyResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr success_; - uint32_t matches_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecListSasRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecListSasRequest) */ { - public: - inline IPsecListSasRequest() : IPsecListSasRequest(nullptr) {} - ~IPsecListSasRequest() override; - explicit PROTOBUF_CONSTEXPR IPsecListSasRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecListSasRequest(const IPsecListSasRequest& from); - IPsecListSasRequest(IPsecListSasRequest&& from) noexcept - : IPsecListSasRequest() { - *this = ::std::move(from); - } - - inline IPsecListSasRequest& operator=(const IPsecListSasRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecListSasRequest& operator=(IPsecListSasRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecListSasRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecListSasRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecListSasRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(IPsecListSasRequest& a, IPsecListSasRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecListSasRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecListSasRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecListSasRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecListSasRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecListSasRequest& from) { - IPsecListSasRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecListSasRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecListSasRequest"; - } - protected: - explicit IPsecListSasRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNoblockFieldNumber = 1, - kIkeFieldNumber = 2, - kChildFieldNumber = 4, - kIkeIdFieldNumber = 3, - kChildIdFieldNumber = 5, - }; - // string noblock = 1; - void clear_noblock(); - const std::string& noblock() const; - template - void set_noblock(ArgT0&& arg0, ArgT... args); - std::string* mutable_noblock(); - PROTOBUF_NODISCARD std::string* release_noblock(); - void set_allocated_noblock(std::string* noblock); - private: - const std::string& _internal_noblock() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_noblock(const std::string& value); - std::string* _internal_mutable_noblock(); - public: - - // string ike = 2; - void clear_ike(); - const std::string& ike() const; - template - void set_ike(ArgT0&& arg0, ArgT... args); - std::string* mutable_ike(); - PROTOBUF_NODISCARD std::string* release_ike(); - void set_allocated_ike(std::string* ike); - private: - const std::string& _internal_ike() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ike(const std::string& value); - std::string* _internal_mutable_ike(); - public: - - // string child = 4; - void clear_child(); - const std::string& child() const; - template - void set_child(ArgT0&& arg0, ArgT... args); - std::string* mutable_child(); - PROTOBUF_NODISCARD std::string* release_child(); - void set_allocated_child(std::string* child); - private: - const std::string& _internal_child() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_child(const std::string& value); - std::string* _internal_mutable_child(); - public: - - // uint64 ike_id = 3; - void clear_ike_id(); - uint64_t ike_id() const; - void set_ike_id(uint64_t value); - private: - uint64_t _internal_ike_id() const; - void _internal_set_ike_id(uint64_t value); - public: - - // uint64 child_id = 5; - void clear_child_id(); - uint64_t child_id() const; - void set_child_id(uint64_t value); - private: - uint64_t _internal_child_id() const; - void _internal_set_child_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecListSasRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr noblock_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ike_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr child_; - uint64_t ike_id_; - uint64_t child_id_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class ListChildSa final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.ListChildSa) */ { - public: - inline ListChildSa() : ListChildSa(nullptr) {} - ~ListChildSa() override; - explicit PROTOBUF_CONSTEXPR ListChildSa(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ListChildSa(const ListChildSa& from); - ListChildSa(ListChildSa&& from) noexcept - : ListChildSa() { - *this = ::std::move(from); - } - - inline ListChildSa& operator=(const ListChildSa& from) { - CopyFrom(from); - return *this; - } - inline ListChildSa& operator=(ListChildSa&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ListChildSa& default_instance() { - return *internal_default_instance(); - } - static inline const ListChildSa* internal_default_instance() { - return reinterpret_cast( - &_ListChildSa_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(ListChildSa& a, ListChildSa& b) { - a.Swap(&b); - } - inline void Swap(ListChildSa* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ListChildSa* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ListChildSa* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListChildSa& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ListChildSa& from) { - ListChildSa::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ListChildSa* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.ListChildSa"; - } - protected: - explicit ListChildSa(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kProtocolFieldNumber = 2, - kEncapFieldNumber = 3, - kSpiInFieldNumber = 4, - kSpiOutFieldNumber = 5, - kCpiInFieldNumber = 6, - kCpiOutFieldNumber = 7, - kMarkInFieldNumber = 8, - kMarkMaskInFieldNumber = 9, - kMarkOutFieldNumber = 10, - kMarkMaskOutFieldNumber = 11, - kIfIdInFieldNumber = 12, - kIfIdOutFieldNumber = 13, - kEncrAlgFieldNumber = 14, - kEncrKeysizeFieldNumber = 15, - kIntegAlgFieldNumber = 16, - kIntegKeysizeFieldNumber = 17, - kDhGroupFieldNumber = 18, - kEsnFieldNumber = 19, - }; - // string name = 1; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // string protocol = 2; - void clear_protocol(); - const std::string& protocol() const; - template - void set_protocol(ArgT0&& arg0, ArgT... args); - std::string* mutable_protocol(); - PROTOBUF_NODISCARD std::string* release_protocol(); - void set_allocated_protocol(std::string* protocol); - private: - const std::string& _internal_protocol() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_protocol(const std::string& value); - std::string* _internal_mutable_protocol(); - public: - - // string encap = 3; - void clear_encap(); - const std::string& encap() const; - template - void set_encap(ArgT0&& arg0, ArgT... args); - std::string* mutable_encap(); - PROTOBUF_NODISCARD std::string* release_encap(); - void set_allocated_encap(std::string* encap); - private: - const std::string& _internal_encap() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encap(const std::string& value); - std::string* _internal_mutable_encap(); - public: - - // string spi_in = 4; - void clear_spi_in(); - const std::string& spi_in() const; - template - void set_spi_in(ArgT0&& arg0, ArgT... args); - std::string* mutable_spi_in(); - PROTOBUF_NODISCARD std::string* release_spi_in(); - void set_allocated_spi_in(std::string* spi_in); - private: - const std::string& _internal_spi_in() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_spi_in(const std::string& value); - std::string* _internal_mutable_spi_in(); - public: - - // string spi_out = 5; - void clear_spi_out(); - const std::string& spi_out() const; - template - void set_spi_out(ArgT0&& arg0, ArgT... args); - std::string* mutable_spi_out(); - PROTOBUF_NODISCARD std::string* release_spi_out(); - void set_allocated_spi_out(std::string* spi_out); - private: - const std::string& _internal_spi_out() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_spi_out(const std::string& value); - std::string* _internal_mutable_spi_out(); - public: - - // string cpi_in = 6; - void clear_cpi_in(); - const std::string& cpi_in() const; - template - void set_cpi_in(ArgT0&& arg0, ArgT... args); - std::string* mutable_cpi_in(); - PROTOBUF_NODISCARD std::string* release_cpi_in(); - void set_allocated_cpi_in(std::string* cpi_in); - private: - const std::string& _internal_cpi_in() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpi_in(const std::string& value); - std::string* _internal_mutable_cpi_in(); - public: - - // string cpi_out = 7; - void clear_cpi_out(); - const std::string& cpi_out() const; - template - void set_cpi_out(ArgT0&& arg0, ArgT... args); - std::string* mutable_cpi_out(); - PROTOBUF_NODISCARD std::string* release_cpi_out(); - void set_allocated_cpi_out(std::string* cpi_out); - private: - const std::string& _internal_cpi_out() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpi_out(const std::string& value); - std::string* _internal_mutable_cpi_out(); - public: - - // string mark_in = 8; - void clear_mark_in(); - const std::string& mark_in() const; - template - void set_mark_in(ArgT0&& arg0, ArgT... args); - std::string* mutable_mark_in(); - PROTOBUF_NODISCARD std::string* release_mark_in(); - void set_allocated_mark_in(std::string* mark_in); - private: - const std::string& _internal_mark_in() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mark_in(const std::string& value); - std::string* _internal_mutable_mark_in(); - public: - - // string mark_mask_in = 9; - void clear_mark_mask_in(); - const std::string& mark_mask_in() const; - template - void set_mark_mask_in(ArgT0&& arg0, ArgT... args); - std::string* mutable_mark_mask_in(); - PROTOBUF_NODISCARD std::string* release_mark_mask_in(); - void set_allocated_mark_mask_in(std::string* mark_mask_in); - private: - const std::string& _internal_mark_mask_in() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mark_mask_in(const std::string& value); - std::string* _internal_mutable_mark_mask_in(); - public: - - // string mark_out = 10; - void clear_mark_out(); - const std::string& mark_out() const; - template - void set_mark_out(ArgT0&& arg0, ArgT... args); - std::string* mutable_mark_out(); - PROTOBUF_NODISCARD std::string* release_mark_out(); - void set_allocated_mark_out(std::string* mark_out); - private: - const std::string& _internal_mark_out() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mark_out(const std::string& value); - std::string* _internal_mutable_mark_out(); - public: - - // string mark_mask_out = 11; - void clear_mark_mask_out(); - const std::string& mark_mask_out() const; - template - void set_mark_mask_out(ArgT0&& arg0, ArgT... args); - std::string* mutable_mark_mask_out(); - PROTOBUF_NODISCARD std::string* release_mark_mask_out(); - void set_allocated_mark_mask_out(std::string* mark_mask_out); - private: - const std::string& _internal_mark_mask_out() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mark_mask_out(const std::string& value); - std::string* _internal_mutable_mark_mask_out(); - public: - - // string if_id_in = 12; - void clear_if_id_in(); - const std::string& if_id_in() const; - template - void set_if_id_in(ArgT0&& arg0, ArgT... args); - std::string* mutable_if_id_in(); - PROTOBUF_NODISCARD std::string* release_if_id_in(); - void set_allocated_if_id_in(std::string* if_id_in); - private: - const std::string& _internal_if_id_in() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_if_id_in(const std::string& value); - std::string* _internal_mutable_if_id_in(); - public: - - // string if_id_out = 13; - void clear_if_id_out(); - const std::string& if_id_out() const; - template - void set_if_id_out(ArgT0&& arg0, ArgT... args); - std::string* mutable_if_id_out(); - PROTOBUF_NODISCARD std::string* release_if_id_out(); - void set_allocated_if_id_out(std::string* if_id_out); - private: - const std::string& _internal_if_id_out() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_if_id_out(const std::string& value); - std::string* _internal_mutable_if_id_out(); - public: - - // string encr_alg = 14; - void clear_encr_alg(); - const std::string& encr_alg() const; - template - void set_encr_alg(ArgT0&& arg0, ArgT... args); - std::string* mutable_encr_alg(); - PROTOBUF_NODISCARD std::string* release_encr_alg(); - void set_allocated_encr_alg(std::string* encr_alg); - private: - const std::string& _internal_encr_alg() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encr_alg(const std::string& value); - std::string* _internal_mutable_encr_alg(); - public: - - // string encr_keysize = 15; - void clear_encr_keysize(); - const std::string& encr_keysize() const; - template - void set_encr_keysize(ArgT0&& arg0, ArgT... args); - std::string* mutable_encr_keysize(); - PROTOBUF_NODISCARD std::string* release_encr_keysize(); - void set_allocated_encr_keysize(std::string* encr_keysize); - private: - const std::string& _internal_encr_keysize() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encr_keysize(const std::string& value); - std::string* _internal_mutable_encr_keysize(); - public: - - // string integ_alg = 16; - void clear_integ_alg(); - const std::string& integ_alg() const; - template - void set_integ_alg(ArgT0&& arg0, ArgT... args); - std::string* mutable_integ_alg(); - PROTOBUF_NODISCARD std::string* release_integ_alg(); - void set_allocated_integ_alg(std::string* integ_alg); - private: - const std::string& _internal_integ_alg() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_integ_alg(const std::string& value); - std::string* _internal_mutable_integ_alg(); - public: - - // string integ_keysize = 17; - void clear_integ_keysize(); - const std::string& integ_keysize() const; - template - void set_integ_keysize(ArgT0&& arg0, ArgT... args); - std::string* mutable_integ_keysize(); - PROTOBUF_NODISCARD std::string* release_integ_keysize(); - void set_allocated_integ_keysize(std::string* integ_keysize); - private: - const std::string& _internal_integ_keysize() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_integ_keysize(const std::string& value); - std::string* _internal_mutable_integ_keysize(); - public: - - // string dh_group = 18; - void clear_dh_group(); - const std::string& dh_group() const; - template - void set_dh_group(ArgT0&& arg0, ArgT... args); - std::string* mutable_dh_group(); - PROTOBUF_NODISCARD std::string* release_dh_group(); - void set_allocated_dh_group(std::string* dh_group); - private: - const std::string& _internal_dh_group() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dh_group(const std::string& value); - std::string* _internal_mutable_dh_group(); - public: - - // string esn = 19; - void clear_esn(); - const std::string& esn() const; - template - void set_esn(ArgT0&& arg0, ArgT... args); - std::string* mutable_esn(); - PROTOBUF_NODISCARD std::string* release_esn(); - void set_allocated_esn(std::string* esn); - private: - const std::string& _internal_esn() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_esn(const std::string& value); - std::string* _internal_mutable_esn(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.ListChildSa) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr protocol_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encap_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr spi_in_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr spi_out_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpi_in_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpi_out_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mark_in_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mark_mask_in_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mark_out_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mark_mask_out_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr if_id_in_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr if_id_out_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encr_alg_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encr_keysize_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr integ_alg_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr integ_keysize_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dh_group_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr esn_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class ListIkeSa final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.ListIkeSa) */ { - public: - inline ListIkeSa() : ListIkeSa(nullptr) {} - ~ListIkeSa() override; - explicit PROTOBUF_CONSTEXPR ListIkeSa(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ListIkeSa(const ListIkeSa& from); - ListIkeSa(ListIkeSa&& from) noexcept - : ListIkeSa() { - *this = ::std::move(from); - } - - inline ListIkeSa& operator=(const ListIkeSa& from) { - CopyFrom(from); - return *this; - } - inline ListIkeSa& operator=(ListIkeSa&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ListIkeSa& default_instance() { - return *internal_default_instance(); - } - static inline const ListIkeSa* internal_default_instance() { - return reinterpret_cast( - &_ListIkeSa_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(ListIkeSa& a, ListIkeSa& b) { - a.Swap(&b); - } - inline void Swap(ListIkeSa* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ListIkeSa* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ListIkeSa* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListIkeSa& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ListIkeSa& from) { - ListIkeSa::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ListIkeSa* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.ListIkeSa"; - } - protected: - explicit ListIkeSa(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLocalVipsFieldNumber = 32, - kRemoteVipsFieldNumber = 33, - kTasksQueuedFieldNumber = 34, - kTasksActiveFieldNumber = 35, - kTasksPassiveFieldNumber = 36, - kChildsasFieldNumber = 37, - kNameFieldNumber = 1, - kUniqueidFieldNumber = 2, - kVersionFieldNumber = 3, - kLocalHostFieldNumber = 5, - kLocalPortFieldNumber = 6, - kLocalIdFieldNumber = 7, - kRemoteHostFieldNumber = 8, - kRemotePortFieldNumber = 9, - kRemoteIdFieldNumber = 10, - kRemoteXauthIdFieldNumber = 11, - kRemoteEapIdFieldNumber = 12, - kInitiatorFieldNumber = 13, - kInitiatorSpiFieldNumber = 14, - kResponderSpiFieldNumber = 15, - kNatLocalFieldNumber = 16, - kNatRemoteFieldNumber = 17, - kNatFakeFieldNumber = 18, - kNatAnyFieldNumber = 19, - kIfIdInFieldNumber = 20, - kIfIdOutFieldNumber = 21, - kEncrAlgFieldNumber = 22, - kEncrKeysizeFieldNumber = 23, - kIntegAlgFieldNumber = 24, - kIntegKeysizeFieldNumber = 25, - kPrfAlgFieldNumber = 26, - kDhGroupFieldNumber = 27, - kPpkFieldNumber = 28, - kEstablishedFieldNumber = 29, - kRekeyTimeFieldNumber = 30, - kReauthTimeFieldNumber = 31, - kIkestateFieldNumber = 4, - }; - // repeated string local_vips = 32; - int local_vips_size() const; - private: - int _internal_local_vips_size() const; - public: - void clear_local_vips(); - const std::string& local_vips(int index) const; - std::string* mutable_local_vips(int index); - void set_local_vips(int index, const std::string& value); - void set_local_vips(int index, std::string&& value); - void set_local_vips(int index, const char* value); - void set_local_vips(int index, const char* value, size_t size); - std::string* add_local_vips(); - void add_local_vips(const std::string& value); - void add_local_vips(std::string&& value); - void add_local_vips(const char* value); - void add_local_vips(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& local_vips() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_local_vips(); - private: - const std::string& _internal_local_vips(int index) const; - std::string* _internal_add_local_vips(); - public: - - // repeated string remote_vips = 33; - int remote_vips_size() const; - private: - int _internal_remote_vips_size() const; - public: - void clear_remote_vips(); - const std::string& remote_vips(int index) const; - std::string* mutable_remote_vips(int index); - void set_remote_vips(int index, const std::string& value); - void set_remote_vips(int index, std::string&& value); - void set_remote_vips(int index, const char* value); - void set_remote_vips(int index, const char* value, size_t size); - std::string* add_remote_vips(); - void add_remote_vips(const std::string& value); - void add_remote_vips(std::string&& value); - void add_remote_vips(const char* value); - void add_remote_vips(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& remote_vips() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_remote_vips(); - private: - const std::string& _internal_remote_vips(int index) const; - std::string* _internal_add_remote_vips(); - public: - - // repeated string tasks_queued = 34; - int tasks_queued_size() const; - private: - int _internal_tasks_queued_size() const; - public: - void clear_tasks_queued(); - const std::string& tasks_queued(int index) const; - std::string* mutable_tasks_queued(int index); - void set_tasks_queued(int index, const std::string& value); - void set_tasks_queued(int index, std::string&& value); - void set_tasks_queued(int index, const char* value); - void set_tasks_queued(int index, const char* value, size_t size); - std::string* add_tasks_queued(); - void add_tasks_queued(const std::string& value); - void add_tasks_queued(std::string&& value); - void add_tasks_queued(const char* value); - void add_tasks_queued(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& tasks_queued() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_tasks_queued(); - private: - const std::string& _internal_tasks_queued(int index) const; - std::string* _internal_add_tasks_queued(); - public: - - // repeated string tasks_active = 35; - int tasks_active_size() const; - private: - int _internal_tasks_active_size() const; - public: - void clear_tasks_active(); - const std::string& tasks_active(int index) const; - std::string* mutable_tasks_active(int index); - void set_tasks_active(int index, const std::string& value); - void set_tasks_active(int index, std::string&& value); - void set_tasks_active(int index, const char* value); - void set_tasks_active(int index, const char* value, size_t size); - std::string* add_tasks_active(); - void add_tasks_active(const std::string& value); - void add_tasks_active(std::string&& value); - void add_tasks_active(const char* value); - void add_tasks_active(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& tasks_active() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_tasks_active(); - private: - const std::string& _internal_tasks_active(int index) const; - std::string* _internal_add_tasks_active(); - public: - - // repeated string tasks_passive = 36; - int tasks_passive_size() const; - private: - int _internal_tasks_passive_size() const; - public: - void clear_tasks_passive(); - const std::string& tasks_passive(int index) const; - std::string* mutable_tasks_passive(int index); - void set_tasks_passive(int index, const std::string& value); - void set_tasks_passive(int index, std::string&& value); - void set_tasks_passive(int index, const char* value); - void set_tasks_passive(int index, const char* value, size_t size); - std::string* add_tasks_passive(); - void add_tasks_passive(const std::string& value); - void add_tasks_passive(std::string&& value); - void add_tasks_passive(const char* value); - void add_tasks_passive(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& tasks_passive() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_tasks_passive(); - private: - const std::string& _internal_tasks_passive(int index) const; - std::string* _internal_add_tasks_passive(); - public: - - // repeated .opi_api.security.v1.ListChildSa childsas = 37; - int childsas_size() const; - private: - int _internal_childsas_size() const; - public: - void clear_childsas(); - ::opi_api::security::v1::ListChildSa* mutable_childsas(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChildSa >* - mutable_childsas(); - private: - const ::opi_api::security::v1::ListChildSa& _internal_childsas(int index) const; - ::opi_api::security::v1::ListChildSa* _internal_add_childsas(); - public: - const ::opi_api::security::v1::ListChildSa& childsas(int index) const; - ::opi_api::security::v1::ListChildSa* add_childsas(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChildSa >& - childsas() const; - - // string name = 1; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // string uniqueid = 2; - void clear_uniqueid(); - const std::string& uniqueid() const; - template - void set_uniqueid(ArgT0&& arg0, ArgT... args); - std::string* mutable_uniqueid(); - PROTOBUF_NODISCARD std::string* release_uniqueid(); - void set_allocated_uniqueid(std::string* uniqueid); - private: - const std::string& _internal_uniqueid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_uniqueid(const std::string& value); - std::string* _internal_mutable_uniqueid(); - public: - - // string version = 3; - void clear_version(); - const std::string& version() const; - template - void set_version(ArgT0&& arg0, ArgT... args); - std::string* mutable_version(); - PROTOBUF_NODISCARD std::string* release_version(); - void set_allocated_version(std::string* version); - private: - const std::string& _internal_version() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); - std::string* _internal_mutable_version(); - public: - - // string local_host = 5; - void clear_local_host(); - const std::string& local_host() const; - template - void set_local_host(ArgT0&& arg0, ArgT... args); - std::string* mutable_local_host(); - PROTOBUF_NODISCARD std::string* release_local_host(); - void set_allocated_local_host(std::string* local_host); - private: - const std::string& _internal_local_host() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_local_host(const std::string& value); - std::string* _internal_mutable_local_host(); - public: - - // string local_port = 6; - void clear_local_port(); - const std::string& local_port() const; - template - void set_local_port(ArgT0&& arg0, ArgT... args); - std::string* mutable_local_port(); - PROTOBUF_NODISCARD std::string* release_local_port(); - void set_allocated_local_port(std::string* local_port); - private: - const std::string& _internal_local_port() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_local_port(const std::string& value); - std::string* _internal_mutable_local_port(); - public: - - // string local_id = 7; - void clear_local_id(); - const std::string& local_id() const; - template - void set_local_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_local_id(); - PROTOBUF_NODISCARD std::string* release_local_id(); - void set_allocated_local_id(std::string* local_id); - private: - const std::string& _internal_local_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_local_id(const std::string& value); - std::string* _internal_mutable_local_id(); - public: - - // string remote_host = 8; - void clear_remote_host(); - const std::string& remote_host() const; - template - void set_remote_host(ArgT0&& arg0, ArgT... args); - std::string* mutable_remote_host(); - PROTOBUF_NODISCARD std::string* release_remote_host(); - void set_allocated_remote_host(std::string* remote_host); - private: - const std::string& _internal_remote_host() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_host(const std::string& value); - std::string* _internal_mutable_remote_host(); - public: - - // string remote_port = 9; - void clear_remote_port(); - const std::string& remote_port() const; - template - void set_remote_port(ArgT0&& arg0, ArgT... args); - std::string* mutable_remote_port(); - PROTOBUF_NODISCARD std::string* release_remote_port(); - void set_allocated_remote_port(std::string* remote_port); - private: - const std::string& _internal_remote_port() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_port(const std::string& value); - std::string* _internal_mutable_remote_port(); - public: - - // string remote_id = 10; - void clear_remote_id(); - const std::string& remote_id() const; - template - void set_remote_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_remote_id(); - PROTOBUF_NODISCARD std::string* release_remote_id(); - void set_allocated_remote_id(std::string* remote_id); - private: - const std::string& _internal_remote_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_id(const std::string& value); - std::string* _internal_mutable_remote_id(); - public: - - // string remote_xauth_id = 11; - void clear_remote_xauth_id(); - const std::string& remote_xauth_id() const; - template - void set_remote_xauth_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_remote_xauth_id(); - PROTOBUF_NODISCARD std::string* release_remote_xauth_id(); - void set_allocated_remote_xauth_id(std::string* remote_xauth_id); - private: - const std::string& _internal_remote_xauth_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_xauth_id(const std::string& value); - std::string* _internal_mutable_remote_xauth_id(); - public: - - // string remote_eap_id = 12; - void clear_remote_eap_id(); - const std::string& remote_eap_id() const; - template - void set_remote_eap_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_remote_eap_id(); - PROTOBUF_NODISCARD std::string* release_remote_eap_id(); - void set_allocated_remote_eap_id(std::string* remote_eap_id); - private: - const std::string& _internal_remote_eap_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_eap_id(const std::string& value); - std::string* _internal_mutable_remote_eap_id(); - public: - - // string initiator = 13; - void clear_initiator(); - const std::string& initiator() const; - template - void set_initiator(ArgT0&& arg0, ArgT... args); - std::string* mutable_initiator(); - PROTOBUF_NODISCARD std::string* release_initiator(); - void set_allocated_initiator(std::string* initiator); - private: - const std::string& _internal_initiator() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_initiator(const std::string& value); - std::string* _internal_mutable_initiator(); - public: - - // string initiator_spi = 14; - void clear_initiator_spi(); - const std::string& initiator_spi() const; - template - void set_initiator_spi(ArgT0&& arg0, ArgT... args); - std::string* mutable_initiator_spi(); - PROTOBUF_NODISCARD std::string* release_initiator_spi(); - void set_allocated_initiator_spi(std::string* initiator_spi); - private: - const std::string& _internal_initiator_spi() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_initiator_spi(const std::string& value); - std::string* _internal_mutable_initiator_spi(); - public: - - // string responder_spi = 15; - void clear_responder_spi(); - const std::string& responder_spi() const; - template - void set_responder_spi(ArgT0&& arg0, ArgT... args); - std::string* mutable_responder_spi(); - PROTOBUF_NODISCARD std::string* release_responder_spi(); - void set_allocated_responder_spi(std::string* responder_spi); - private: - const std::string& _internal_responder_spi() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_responder_spi(const std::string& value); - std::string* _internal_mutable_responder_spi(); - public: - - // string nat_local = 16; - void clear_nat_local(); - const std::string& nat_local() const; - template - void set_nat_local(ArgT0&& arg0, ArgT... args); - std::string* mutable_nat_local(); - PROTOBUF_NODISCARD std::string* release_nat_local(); - void set_allocated_nat_local(std::string* nat_local); - private: - const std::string& _internal_nat_local() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_nat_local(const std::string& value); - std::string* _internal_mutable_nat_local(); - public: - - // string nat_remote = 17; - void clear_nat_remote(); - const std::string& nat_remote() const; - template - void set_nat_remote(ArgT0&& arg0, ArgT... args); - std::string* mutable_nat_remote(); - PROTOBUF_NODISCARD std::string* release_nat_remote(); - void set_allocated_nat_remote(std::string* nat_remote); - private: - const std::string& _internal_nat_remote() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_nat_remote(const std::string& value); - std::string* _internal_mutable_nat_remote(); - public: - - // string nat_fake = 18; - void clear_nat_fake(); - const std::string& nat_fake() const; - template - void set_nat_fake(ArgT0&& arg0, ArgT... args); - std::string* mutable_nat_fake(); - PROTOBUF_NODISCARD std::string* release_nat_fake(); - void set_allocated_nat_fake(std::string* nat_fake); - private: - const std::string& _internal_nat_fake() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_nat_fake(const std::string& value); - std::string* _internal_mutable_nat_fake(); - public: - - // string nat_any = 19; - void clear_nat_any(); - const std::string& nat_any() const; - template - void set_nat_any(ArgT0&& arg0, ArgT... args); - std::string* mutable_nat_any(); - PROTOBUF_NODISCARD std::string* release_nat_any(); - void set_allocated_nat_any(std::string* nat_any); - private: - const std::string& _internal_nat_any() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_nat_any(const std::string& value); - std::string* _internal_mutable_nat_any(); - public: - - // string if_id_in = 20; - void clear_if_id_in(); - const std::string& if_id_in() const; - template - void set_if_id_in(ArgT0&& arg0, ArgT... args); - std::string* mutable_if_id_in(); - PROTOBUF_NODISCARD std::string* release_if_id_in(); - void set_allocated_if_id_in(std::string* if_id_in); - private: - const std::string& _internal_if_id_in() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_if_id_in(const std::string& value); - std::string* _internal_mutable_if_id_in(); - public: - - // string if_id_out = 21; - void clear_if_id_out(); - const std::string& if_id_out() const; - template - void set_if_id_out(ArgT0&& arg0, ArgT... args); - std::string* mutable_if_id_out(); - PROTOBUF_NODISCARD std::string* release_if_id_out(); - void set_allocated_if_id_out(std::string* if_id_out); - private: - const std::string& _internal_if_id_out() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_if_id_out(const std::string& value); - std::string* _internal_mutable_if_id_out(); - public: - - // string encr_alg = 22; - void clear_encr_alg(); - const std::string& encr_alg() const; - template - void set_encr_alg(ArgT0&& arg0, ArgT... args); - std::string* mutable_encr_alg(); - PROTOBUF_NODISCARD std::string* release_encr_alg(); - void set_allocated_encr_alg(std::string* encr_alg); - private: - const std::string& _internal_encr_alg() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encr_alg(const std::string& value); - std::string* _internal_mutable_encr_alg(); - public: - - // string encr_keysize = 23; - void clear_encr_keysize(); - const std::string& encr_keysize() const; - template - void set_encr_keysize(ArgT0&& arg0, ArgT... args); - std::string* mutable_encr_keysize(); - PROTOBUF_NODISCARD std::string* release_encr_keysize(); - void set_allocated_encr_keysize(std::string* encr_keysize); - private: - const std::string& _internal_encr_keysize() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encr_keysize(const std::string& value); - std::string* _internal_mutable_encr_keysize(); - public: - - // string integ_alg = 24; - void clear_integ_alg(); - const std::string& integ_alg() const; - template - void set_integ_alg(ArgT0&& arg0, ArgT... args); - std::string* mutable_integ_alg(); - PROTOBUF_NODISCARD std::string* release_integ_alg(); - void set_allocated_integ_alg(std::string* integ_alg); - private: - const std::string& _internal_integ_alg() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_integ_alg(const std::string& value); - std::string* _internal_mutable_integ_alg(); - public: - - // string integ_keysize = 25; - void clear_integ_keysize(); - const std::string& integ_keysize() const; - template - void set_integ_keysize(ArgT0&& arg0, ArgT... args); - std::string* mutable_integ_keysize(); - PROTOBUF_NODISCARD std::string* release_integ_keysize(); - void set_allocated_integ_keysize(std::string* integ_keysize); - private: - const std::string& _internal_integ_keysize() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_integ_keysize(const std::string& value); - std::string* _internal_mutable_integ_keysize(); - public: - - // string prf_alg = 26; - void clear_prf_alg(); - const std::string& prf_alg() const; - template - void set_prf_alg(ArgT0&& arg0, ArgT... args); - std::string* mutable_prf_alg(); - PROTOBUF_NODISCARD std::string* release_prf_alg(); - void set_allocated_prf_alg(std::string* prf_alg); - private: - const std::string& _internal_prf_alg() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_prf_alg(const std::string& value); - std::string* _internal_mutable_prf_alg(); - public: - - // string dh_group = 27; - void clear_dh_group(); - const std::string& dh_group() const; - template - void set_dh_group(ArgT0&& arg0, ArgT... args); - std::string* mutable_dh_group(); - PROTOBUF_NODISCARD std::string* release_dh_group(); - void set_allocated_dh_group(std::string* dh_group); - private: - const std::string& _internal_dh_group() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dh_group(const std::string& value); - std::string* _internal_mutable_dh_group(); - public: - - // string ppk = 28; - void clear_ppk(); - const std::string& ppk() const; - template - void set_ppk(ArgT0&& arg0, ArgT... args); - std::string* mutable_ppk(); - PROTOBUF_NODISCARD std::string* release_ppk(); - void set_allocated_ppk(std::string* ppk); - private: - const std::string& _internal_ppk() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ppk(const std::string& value); - std::string* _internal_mutable_ppk(); - public: - - // string established = 29; - void clear_established(); - const std::string& established() const; - template - void set_established(ArgT0&& arg0, ArgT... args); - std::string* mutable_established(); - PROTOBUF_NODISCARD std::string* release_established(); - void set_allocated_established(std::string* established); - private: - const std::string& _internal_established() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_established(const std::string& value); - std::string* _internal_mutable_established(); - public: - - // string rekey_time = 30; - void clear_rekey_time(); - const std::string& rekey_time() const; - template - void set_rekey_time(ArgT0&& arg0, ArgT... args); - std::string* mutable_rekey_time(); - PROTOBUF_NODISCARD std::string* release_rekey_time(); - void set_allocated_rekey_time(std::string* rekey_time); - private: - const std::string& _internal_rekey_time() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_rekey_time(const std::string& value); - std::string* _internal_mutable_rekey_time(); - public: - - // string reauth_time = 31; - void clear_reauth_time(); - const std::string& reauth_time() const; - template - void set_reauth_time(ArgT0&& arg0, ArgT... args); - std::string* mutable_reauth_time(); - PROTOBUF_NODISCARD std::string* release_reauth_time(); - void set_allocated_reauth_time(std::string* reauth_time); - private: - const std::string& _internal_reauth_time() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_reauth_time(const std::string& value); - std::string* _internal_mutable_reauth_time(); - public: - - // .opi_api.security.v1.IkeSaState ikestate = 4; - void clear_ikestate(); - ::opi_api::security::v1::IkeSaState ikestate() const; - void set_ikestate(::opi_api::security::v1::IkeSaState value); - private: - ::opi_api::security::v1::IkeSaState _internal_ikestate() const; - void _internal_set_ikestate(::opi_api::security::v1::IkeSaState value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.ListIkeSa) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField local_vips_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField remote_vips_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField tasks_queued_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField tasks_active_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField tasks_passive_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChildSa > childsas_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uniqueid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr local_host_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr local_port_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr local_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_host_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_port_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_xauth_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_eap_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr initiator_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr initiator_spi_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr responder_spi_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nat_local_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nat_remote_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nat_fake_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nat_any_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr if_id_in_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr if_id_out_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encr_alg_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encr_keysize_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr integ_alg_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr integ_keysize_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr prf_alg_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dh_group_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ppk_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr established_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rekey_time_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr reauth_time_; - int ikestate_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecListSasResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecListSasResponse) */ { - public: - inline IPsecListSasResponse() : IPsecListSasResponse(nullptr) {} - ~IPsecListSasResponse() override; - explicit PROTOBUF_CONSTEXPR IPsecListSasResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecListSasResponse(const IPsecListSasResponse& from); - IPsecListSasResponse(IPsecListSasResponse&& from) noexcept - : IPsecListSasResponse() { - *this = ::std::move(from); - } - - inline IPsecListSasResponse& operator=(const IPsecListSasResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecListSasResponse& operator=(IPsecListSasResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecListSasResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecListSasResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecListSasResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(IPsecListSasResponse& a, IPsecListSasResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecListSasResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecListSasResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecListSasResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecListSasResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecListSasResponse& from) { - IPsecListSasResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecListSasResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecListSasResponse"; - } - protected: - explicit IPsecListSasResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIkesasFieldNumber = 1, - }; - // repeated .opi_api.security.v1.ListIkeSa ikesas = 1; - int ikesas_size() const; - private: - int _internal_ikesas_size() const; - public: - void clear_ikesas(); - ::opi_api::security::v1::ListIkeSa* mutable_ikesas(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListIkeSa >* - mutable_ikesas(); - private: - const ::opi_api::security::v1::ListIkeSa& _internal_ikesas(int index) const; - ::opi_api::security::v1::ListIkeSa* _internal_add_ikesas(); - public: - const ::opi_api::security::v1::ListIkeSa& ikesas(int index) const; - ::opi_api::security::v1::ListIkeSa* add_ikesas(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListIkeSa >& - ikesas() const; - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecListSasResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListIkeSa > ikesas_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecListConnsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecListConnsRequest) */ { - public: - inline IPsecListConnsRequest() : IPsecListConnsRequest(nullptr) {} - ~IPsecListConnsRequest() override; - explicit PROTOBUF_CONSTEXPR IPsecListConnsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecListConnsRequest(const IPsecListConnsRequest& from); - IPsecListConnsRequest(IPsecListConnsRequest&& from) noexcept - : IPsecListConnsRequest() { - *this = ::std::move(from); - } - - inline IPsecListConnsRequest& operator=(const IPsecListConnsRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecListConnsRequest& operator=(IPsecListConnsRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecListConnsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecListConnsRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecListConnsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(IPsecListConnsRequest& a, IPsecListConnsRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecListConnsRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecListConnsRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecListConnsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecListConnsRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecListConnsRequest& from) { - IPsecListConnsRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecListConnsRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecListConnsRequest"; - } - protected: - explicit IPsecListConnsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIkeFieldNumber = 1, - }; - // string ike = 1; - void clear_ike(); - const std::string& ike() const; - template - void set_ike(ArgT0&& arg0, ArgT... args); - std::string* mutable_ike(); - PROTOBUF_NODISCARD std::string* release_ike(); - void set_allocated_ike(std::string* ike); - private: - const std::string& _internal_ike() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ike(const std::string& value); - std::string* _internal_mutable_ike(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecListConnsRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ike_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class ListConnAuth final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.ListConnAuth) */ { - public: - inline ListConnAuth() : ListConnAuth(nullptr) {} - ~ListConnAuth() override; - explicit PROTOBUF_CONSTEXPR ListConnAuth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ListConnAuth(const ListConnAuth& from); - ListConnAuth(ListConnAuth&& from) noexcept - : ListConnAuth() { - *this = ::std::move(from); - } - - inline ListConnAuth& operator=(const ListConnAuth& from) { - CopyFrom(from); - return *this; - } - inline ListConnAuth& operator=(ListConnAuth&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ListConnAuth& default_instance() { - return *internal_default_instance(); - } - static inline const ListConnAuth* internal_default_instance() { - return reinterpret_cast( - &_ListConnAuth_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(ListConnAuth& a, ListConnAuth& b) { - a.Swap(&b); - } - inline void Swap(ListConnAuth* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ListConnAuth* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ListConnAuth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListConnAuth& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ListConnAuth& from) { - ListConnAuth::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ListConnAuth* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.ListConnAuth"; - } - protected: - explicit ListConnAuth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClassFieldNumber = 1, - kEaptypeFieldNumber = 2, - kEapvendorFieldNumber = 3, - kXauthFieldNumber = 4, - kRevocationFieldNumber = 5, - kIdFieldNumber = 6, - kCaIdFieldNumber = 7, - kAaaIdFieldNumber = 8, - kEapIdFieldNumber = 9, - kXauthIdFieldNumber = 10, - kGroupFieldNumber = 11, - kCertPolicyFieldNumber = 12, - kCertsFieldNumber = 13, - kCacertsFieldNumber = 14, - }; - // string class = 1; - void clear_class_(); - const std::string& class_() const; - template - void set_class_(ArgT0&& arg0, ArgT... args); - std::string* mutable_class_(); - PROTOBUF_NODISCARD std::string* release_class_(); - void set_allocated_class_(std::string* class_); - private: - const std::string& _internal_class_() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_class_(const std::string& value); - std::string* _internal_mutable_class_(); - public: - - // string eaptype = 2; - void clear_eaptype(); - const std::string& eaptype() const; - template - void set_eaptype(ArgT0&& arg0, ArgT... args); - std::string* mutable_eaptype(); - PROTOBUF_NODISCARD std::string* release_eaptype(); - void set_allocated_eaptype(std::string* eaptype); - private: - const std::string& _internal_eaptype() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_eaptype(const std::string& value); - std::string* _internal_mutable_eaptype(); - public: - - // string eapvendor = 3; - void clear_eapvendor(); - const std::string& eapvendor() const; - template - void set_eapvendor(ArgT0&& arg0, ArgT... args); - std::string* mutable_eapvendor(); - PROTOBUF_NODISCARD std::string* release_eapvendor(); - void set_allocated_eapvendor(std::string* eapvendor); - private: - const std::string& _internal_eapvendor() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_eapvendor(const std::string& value); - std::string* _internal_mutable_eapvendor(); - public: - - // string xauth = 4; - void clear_xauth(); - const std::string& xauth() const; - template - void set_xauth(ArgT0&& arg0, ArgT... args); - std::string* mutable_xauth(); - PROTOBUF_NODISCARD std::string* release_xauth(); - void set_allocated_xauth(std::string* xauth); - private: - const std::string& _internal_xauth() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_xauth(const std::string& value); - std::string* _internal_mutable_xauth(); - public: - - // string revocation = 5; - void clear_revocation(); - const std::string& revocation() const; - template - void set_revocation(ArgT0&& arg0, ArgT... args); - std::string* mutable_revocation(); - PROTOBUF_NODISCARD std::string* release_revocation(); - void set_allocated_revocation(std::string* revocation); - private: - const std::string& _internal_revocation() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_revocation(const std::string& value); - std::string* _internal_mutable_revocation(); - public: - - // string id = 6; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); - public: - - // string ca_id = 7; - void clear_ca_id(); - const std::string& ca_id() const; - template - void set_ca_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_ca_id(); - PROTOBUF_NODISCARD std::string* release_ca_id(); - void set_allocated_ca_id(std::string* ca_id); - private: - const std::string& _internal_ca_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ca_id(const std::string& value); - std::string* _internal_mutable_ca_id(); - public: - - // string aaa_id = 8; - void clear_aaa_id(); - const std::string& aaa_id() const; - template - void set_aaa_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_aaa_id(); - PROTOBUF_NODISCARD std::string* release_aaa_id(); - void set_allocated_aaa_id(std::string* aaa_id); - private: - const std::string& _internal_aaa_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_aaa_id(const std::string& value); - std::string* _internal_mutable_aaa_id(); - public: - - // string eap_id = 9; - void clear_eap_id(); - const std::string& eap_id() const; - template - void set_eap_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_eap_id(); - PROTOBUF_NODISCARD std::string* release_eap_id(); - void set_allocated_eap_id(std::string* eap_id); - private: - const std::string& _internal_eap_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_eap_id(const std::string& value); - std::string* _internal_mutable_eap_id(); - public: - - // string xauth_id = 10; - void clear_xauth_id(); - const std::string& xauth_id() const; - template - void set_xauth_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_xauth_id(); - PROTOBUF_NODISCARD std::string* release_xauth_id(); - void set_allocated_xauth_id(std::string* xauth_id); - private: - const std::string& _internal_xauth_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_xauth_id(const std::string& value); - std::string* _internal_mutable_xauth_id(); - public: - - // .opi_api.security.v1.Groups group = 11; - bool has_group() const; - private: - bool _internal_has_group() const; - public: - void clear_group(); - const ::opi_api::security::v1::Groups& group() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Groups* release_group(); - ::opi_api::security::v1::Groups* mutable_group(); - void set_allocated_group(::opi_api::security::v1::Groups* group); - private: - const ::opi_api::security::v1::Groups& _internal_group() const; - ::opi_api::security::v1::Groups* _internal_mutable_group(); - public: - void unsafe_arena_set_allocated_group( - ::opi_api::security::v1::Groups* group); - ::opi_api::security::v1::Groups* unsafe_arena_release_group(); - - // .opi_api.security.v1.CertPolicy cert_policy = 12; - bool has_cert_policy() const; - private: - bool _internal_has_cert_policy() const; - public: - void clear_cert_policy(); - const ::opi_api::security::v1::CertPolicy& cert_policy() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::CertPolicy* release_cert_policy(); - ::opi_api::security::v1::CertPolicy* mutable_cert_policy(); - void set_allocated_cert_policy(::opi_api::security::v1::CertPolicy* cert_policy); - private: - const ::opi_api::security::v1::CertPolicy& _internal_cert_policy() const; - ::opi_api::security::v1::CertPolicy* _internal_mutable_cert_policy(); - public: - void unsafe_arena_set_allocated_cert_policy( - ::opi_api::security::v1::CertPolicy* cert_policy); - ::opi_api::security::v1::CertPolicy* unsafe_arena_release_cert_policy(); - - // .opi_api.security.v1.Certs certs = 13; - bool has_certs() const; - private: - bool _internal_has_certs() const; - public: - void clear_certs(); - const ::opi_api::security::v1::Certs& certs() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Certs* release_certs(); - ::opi_api::security::v1::Certs* mutable_certs(); - void set_allocated_certs(::opi_api::security::v1::Certs* certs); - private: - const ::opi_api::security::v1::Certs& _internal_certs() const; - ::opi_api::security::v1::Certs* _internal_mutable_certs(); - public: - void unsafe_arena_set_allocated_certs( - ::opi_api::security::v1::Certs* certs); - ::opi_api::security::v1::Certs* unsafe_arena_release_certs(); - - // .opi_api.security.v1.CaCerts cacerts = 14; - bool has_cacerts() const; - private: - bool _internal_has_cacerts() const; - public: - void clear_cacerts(); - const ::opi_api::security::v1::CaCerts& cacerts() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::CaCerts* release_cacerts(); - ::opi_api::security::v1::CaCerts* mutable_cacerts(); - void set_allocated_cacerts(::opi_api::security::v1::CaCerts* cacerts); - private: - const ::opi_api::security::v1::CaCerts& _internal_cacerts() const; - ::opi_api::security::v1::CaCerts* _internal_mutable_cacerts(); - public: - void unsafe_arena_set_allocated_cacerts( - ::opi_api::security::v1::CaCerts* cacerts); - ::opi_api::security::v1::CaCerts* unsafe_arena_release_cacerts(); - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.ListConnAuth) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr class__; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr eaptype_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr eapvendor_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xauth_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revocation_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ca_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aaa_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr eap_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xauth_id_; - ::opi_api::security::v1::Groups* group_; - ::opi_api::security::v1::CertPolicy* cert_policy_; - ::opi_api::security::v1::Certs* certs_; - ::opi_api::security::v1::CaCerts* cacerts_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class ListChild final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.ListChild) */ { - public: - inline ListChild() : ListChild(nullptr) {} - ~ListChild() override; - explicit PROTOBUF_CONSTEXPR ListChild(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ListChild(const ListChild& from); - ListChild(ListChild&& from) noexcept - : ListChild() { - *this = ::std::move(from); - } - - inline ListChild& operator=(const ListChild& from) { - CopyFrom(from); - return *this; - } - inline ListChild& operator=(ListChild&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ListChild& default_instance() { - return *internal_default_instance(); - } - static inline const ListChild* internal_default_instance() { - return reinterpret_cast( - &_ListChild_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(ListChild& a, ListChild& b) { - a.Swap(&b); - } - inline void Swap(ListChild* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ListChild* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ListChild* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListChild& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ListChild& from) { - ListChild::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ListChild* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.ListChild"; - } - protected: - explicit ListChild(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kModeFieldNumber = 2, - kLabelFieldNumber = 3, - kDpdActionFieldNumber = 7, - kCloseActionFieldNumber = 8, - kInterfaceFieldNumber = 11, - kPriorityFieldNumber = 12, - kLocalTsFieldNumber = 9, - kRemoteTsFieldNumber = 10, - kRekeyTimeFieldNumber = 4, - kRekeyBytesFieldNumber = 5, - kRekeyPacketsFieldNumber = 6, - }; - // string name = 1; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // string mode = 2; - void clear_mode(); - const std::string& mode() const; - template - void set_mode(ArgT0&& arg0, ArgT... args); - std::string* mutable_mode(); - PROTOBUF_NODISCARD std::string* release_mode(); - void set_allocated_mode(std::string* mode); - private: - const std::string& _internal_mode() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mode(const std::string& value); - std::string* _internal_mutable_mode(); - public: - - // string label = 3; - void clear_label(); - const std::string& label() const; - template - void set_label(ArgT0&& arg0, ArgT... args); - std::string* mutable_label(); - PROTOBUF_NODISCARD std::string* release_label(); - void set_allocated_label(std::string* label); - private: - const std::string& _internal_label() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_label(const std::string& value); - std::string* _internal_mutable_label(); - public: - - // string dpd_action = 7; - void clear_dpd_action(); - const std::string& dpd_action() const; - template - void set_dpd_action(ArgT0&& arg0, ArgT... args); - std::string* mutable_dpd_action(); - PROTOBUF_NODISCARD std::string* release_dpd_action(); - void set_allocated_dpd_action(std::string* dpd_action); - private: - const std::string& _internal_dpd_action() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dpd_action(const std::string& value); - std::string* _internal_mutable_dpd_action(); - public: - - // string close_action = 8; - void clear_close_action(); - const std::string& close_action() const; - template - void set_close_action(ArgT0&& arg0, ArgT... args); - std::string* mutable_close_action(); - PROTOBUF_NODISCARD std::string* release_close_action(); - void set_allocated_close_action(std::string* close_action); - private: - const std::string& _internal_close_action() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_close_action(const std::string& value); - std::string* _internal_mutable_close_action(); - public: - - // string interface = 11; - void clear_interface(); - const std::string& interface() const; - template - void set_interface(ArgT0&& arg0, ArgT... args); - std::string* mutable_interface(); - PROTOBUF_NODISCARD std::string* release_interface(); - void set_allocated_interface(std::string* interface); - private: - const std::string& _internal_interface() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_interface(const std::string& value); - std::string* _internal_mutable_interface(); - public: - - // string priority = 12; - void clear_priority(); - const std::string& priority() const; - template - void set_priority(ArgT0&& arg0, ArgT... args); - std::string* mutable_priority(); - PROTOBUF_NODISCARD std::string* release_priority(); - void set_allocated_priority(std::string* priority); - private: - const std::string& _internal_priority() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_priority(const std::string& value); - std::string* _internal_mutable_priority(); - public: - - // .opi_api.security.v1.TrafficSelectors local_ts = 9; - bool has_local_ts() const; - private: - bool _internal_has_local_ts() const; - public: - void clear_local_ts(); - const ::opi_api::security::v1::TrafficSelectors& local_ts() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::TrafficSelectors* release_local_ts(); - ::opi_api::security::v1::TrafficSelectors* mutable_local_ts(); - void set_allocated_local_ts(::opi_api::security::v1::TrafficSelectors* local_ts); - private: - const ::opi_api::security::v1::TrafficSelectors& _internal_local_ts() const; - ::opi_api::security::v1::TrafficSelectors* _internal_mutable_local_ts(); - public: - void unsafe_arena_set_allocated_local_ts( - ::opi_api::security::v1::TrafficSelectors* local_ts); - ::opi_api::security::v1::TrafficSelectors* unsafe_arena_release_local_ts(); - - // .opi_api.security.v1.TrafficSelectors remote_ts = 10; - bool has_remote_ts() const; - private: - bool _internal_has_remote_ts() const; - public: - void clear_remote_ts(); - const ::opi_api::security::v1::TrafficSelectors& remote_ts() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::TrafficSelectors* release_remote_ts(); - ::opi_api::security::v1::TrafficSelectors* mutable_remote_ts(); - void set_allocated_remote_ts(::opi_api::security::v1::TrafficSelectors* remote_ts); - private: - const ::opi_api::security::v1::TrafficSelectors& _internal_remote_ts() const; - ::opi_api::security::v1::TrafficSelectors* _internal_mutable_remote_ts(); - public: - void unsafe_arena_set_allocated_remote_ts( - ::opi_api::security::v1::TrafficSelectors* remote_ts); - ::opi_api::security::v1::TrafficSelectors* unsafe_arena_release_remote_ts(); - - // uint32 rekey_time = 4; - void clear_rekey_time(); - uint32_t rekey_time() const; - void set_rekey_time(uint32_t value); - private: - uint32_t _internal_rekey_time() const; - void _internal_set_rekey_time(uint32_t value); - public: - - // uint32 rekey_bytes = 5; - void clear_rekey_bytes(); - uint32_t rekey_bytes() const; - void set_rekey_bytes(uint32_t value); - private: - uint32_t _internal_rekey_bytes() const; - void _internal_set_rekey_bytes(uint32_t value); - public: - - // uint32 rekey_packets = 6; - void clear_rekey_packets(); - uint32_t rekey_packets() const; - void set_rekey_packets(uint32_t value); - private: - uint32_t _internal_rekey_packets() const; - void _internal_set_rekey_packets(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.ListChild) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mode_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr label_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dpd_action_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr close_action_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr interface_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr priority_; - ::opi_api::security::v1::TrafficSelectors* local_ts_; - ::opi_api::security::v1::TrafficSelectors* remote_ts_; - uint32_t rekey_time_; - uint32_t rekey_bytes_; - uint32_t rekey_packets_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class ListConnResp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.ListConnResp) */ { - public: - inline ListConnResp() : ListConnResp(nullptr) {} - ~ListConnResp() override; - explicit PROTOBUF_CONSTEXPR ListConnResp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ListConnResp(const ListConnResp& from); - ListConnResp(ListConnResp&& from) noexcept - : ListConnResp() { - *this = ::std::move(from); - } - - inline ListConnResp& operator=(const ListConnResp& from) { - CopyFrom(from); - return *this; - } - inline ListConnResp& operator=(ListConnResp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ListConnResp& default_instance() { - return *internal_default_instance(); - } - static inline const ListConnResp* internal_default_instance() { - return reinterpret_cast( - &_ListConnResp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(ListConnResp& a, ListConnResp& b) { - a.Swap(&b); - } - inline void Swap(ListConnResp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ListConnResp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ListConnResp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListConnResp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ListConnResp& from) { - ListConnResp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ListConnResp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.ListConnResp"; - } - protected: - explicit ListConnResp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLocalAddrsFieldNumber = 2, - kRemoteAddrsFieldNumber = 3, - kLocalAuthFieldNumber = 12, - kRemoteAuthFieldNumber = 13, - kChildrenFieldNumber = 14, - kNameFieldNumber = 1, - kVersionFieldNumber = 4, - kUniqueFieldNumber = 7, - kPpkFieldNumber = 10, - kPpkRequiredFieldNumber = 11, - kReauthTimeFieldNumber = 5, - kRekeyTimeFieldNumber = 6, - kDpdDelayFieldNumber = 8, - kDpdTimeoutFieldNumber = 9, - }; - // repeated .opi_api.security.v1.Addrs local_addrs = 2; - int local_addrs_size() const; - private: - int _internal_local_addrs_size() const; - public: - void clear_local_addrs(); - ::opi_api::security::v1::Addrs* mutable_local_addrs(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >* - mutable_local_addrs(); - private: - const ::opi_api::security::v1::Addrs& _internal_local_addrs(int index) const; - ::opi_api::security::v1::Addrs* _internal_add_local_addrs(); - public: - const ::opi_api::security::v1::Addrs& local_addrs(int index) const; - ::opi_api::security::v1::Addrs* add_local_addrs(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >& - local_addrs() const; - - // repeated .opi_api.security.v1.Addrs remote_addrs = 3; - int remote_addrs_size() const; - private: - int _internal_remote_addrs_size() const; - public: - void clear_remote_addrs(); - ::opi_api::security::v1::Addrs* mutable_remote_addrs(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >* - mutable_remote_addrs(); - private: - const ::opi_api::security::v1::Addrs& _internal_remote_addrs(int index) const; - ::opi_api::security::v1::Addrs* _internal_add_remote_addrs(); - public: - const ::opi_api::security::v1::Addrs& remote_addrs(int index) const; - ::opi_api::security::v1::Addrs* add_remote_addrs(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >& - remote_addrs() const; - - // repeated .opi_api.security.v1.ListConnAuth local_auth = 12; - int local_auth_size() const; - private: - int _internal_local_auth_size() const; - public: - void clear_local_auth(); - ::opi_api::security::v1::ListConnAuth* mutable_local_auth(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth >* - mutable_local_auth(); - private: - const ::opi_api::security::v1::ListConnAuth& _internal_local_auth(int index) const; - ::opi_api::security::v1::ListConnAuth* _internal_add_local_auth(); - public: - const ::opi_api::security::v1::ListConnAuth& local_auth(int index) const; - ::opi_api::security::v1::ListConnAuth* add_local_auth(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth >& - local_auth() const; - - // repeated .opi_api.security.v1.ListConnAuth remote_auth = 13; - int remote_auth_size() const; - private: - int _internal_remote_auth_size() const; - public: - void clear_remote_auth(); - ::opi_api::security::v1::ListConnAuth* mutable_remote_auth(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth >* - mutable_remote_auth(); - private: - const ::opi_api::security::v1::ListConnAuth& _internal_remote_auth(int index) const; - ::opi_api::security::v1::ListConnAuth* _internal_add_remote_auth(); - public: - const ::opi_api::security::v1::ListConnAuth& remote_auth(int index) const; - ::opi_api::security::v1::ListConnAuth* add_remote_auth(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth >& - remote_auth() const; - - // repeated .opi_api.security.v1.ListChild children = 14; - int children_size() const; - private: - int _internal_children_size() const; - public: - void clear_children(); - ::opi_api::security::v1::ListChild* mutable_children(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChild >* - mutable_children(); - private: - const ::opi_api::security::v1::ListChild& _internal_children(int index) const; - ::opi_api::security::v1::ListChild* _internal_add_children(); - public: - const ::opi_api::security::v1::ListChild& children(int index) const; - ::opi_api::security::v1::ListChild* add_children(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChild >& - children() const; - - // string name = 1; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // string version = 4; - void clear_version(); - const std::string& version() const; - template - void set_version(ArgT0&& arg0, ArgT... args); - std::string* mutable_version(); - PROTOBUF_NODISCARD std::string* release_version(); - void set_allocated_version(std::string* version); - private: - const std::string& _internal_version() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); - std::string* _internal_mutable_version(); - public: - - // string unique = 7; - void clear_unique(); - const std::string& unique() const; - template - void set_unique(ArgT0&& arg0, ArgT... args); - std::string* mutable_unique(); - PROTOBUF_NODISCARD std::string* release_unique(); - void set_allocated_unique(std::string* unique); - private: - const std::string& _internal_unique() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_unique(const std::string& value); - std::string* _internal_mutable_unique(); - public: - - // string ppk = 10; - void clear_ppk(); - const std::string& ppk() const; - template - void set_ppk(ArgT0&& arg0, ArgT... args); - std::string* mutable_ppk(); - PROTOBUF_NODISCARD std::string* release_ppk(); - void set_allocated_ppk(std::string* ppk); - private: - const std::string& _internal_ppk() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ppk(const std::string& value); - std::string* _internal_mutable_ppk(); - public: - - // string ppk_required = 11; - void clear_ppk_required(); - const std::string& ppk_required() const; - template - void set_ppk_required(ArgT0&& arg0, ArgT... args); - std::string* mutable_ppk_required(); - PROTOBUF_NODISCARD std::string* release_ppk_required(); - void set_allocated_ppk_required(std::string* ppk_required); - private: - const std::string& _internal_ppk_required() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ppk_required(const std::string& value); - std::string* _internal_mutable_ppk_required(); - public: - - // uint32 reauth_time = 5; - void clear_reauth_time(); - uint32_t reauth_time() const; - void set_reauth_time(uint32_t value); - private: - uint32_t _internal_reauth_time() const; - void _internal_set_reauth_time(uint32_t value); - public: - - // uint32 rekey_time = 6; - void clear_rekey_time(); - uint32_t rekey_time() const; - void set_rekey_time(uint32_t value); - private: - uint32_t _internal_rekey_time() const; - void _internal_set_rekey_time(uint32_t value); - public: - - // uint32 dpd_delay = 8; - void clear_dpd_delay(); - uint32_t dpd_delay() const; - void set_dpd_delay(uint32_t value); - private: - uint32_t _internal_dpd_delay() const; - void _internal_set_dpd_delay(uint32_t value); - public: - - // uint32 dpd_timeout = 9; - void clear_dpd_timeout(); - uint32_t dpd_timeout() const; - void set_dpd_timeout(uint32_t value); - private: - uint32_t _internal_dpd_timeout() const; - void _internal_set_dpd_timeout(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.ListConnResp) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs > local_addrs_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs > remote_addrs_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth > local_auth_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth > remote_auth_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChild > children_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr unique_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ppk_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ppk_required_; - uint32_t reauth_time_; - uint32_t rekey_time_; - uint32_t dpd_delay_; - uint32_t dpd_timeout_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecListConnsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecListConnsResponse) */ { - public: - inline IPsecListConnsResponse() : IPsecListConnsResponse(nullptr) {} - ~IPsecListConnsResponse() override; - explicit PROTOBUF_CONSTEXPR IPsecListConnsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecListConnsResponse(const IPsecListConnsResponse& from); - IPsecListConnsResponse(IPsecListConnsResponse&& from) noexcept - : IPsecListConnsResponse() { - *this = ::std::move(from); - } - - inline IPsecListConnsResponse& operator=(const IPsecListConnsResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecListConnsResponse& operator=(IPsecListConnsResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecListConnsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecListConnsResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecListConnsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(IPsecListConnsResponse& a, IPsecListConnsResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecListConnsResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecListConnsResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecListConnsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecListConnsResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecListConnsResponse& from) { - IPsecListConnsResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecListConnsResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecListConnsResponse"; - } - protected: - explicit IPsecListConnsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConnectionFieldNumber = 1, - }; - // repeated .opi_api.security.v1.ListConnResp connection = 1; - int connection_size() const; - private: - int _internal_connection_size() const; - public: - void clear_connection(); - ::opi_api::security::v1::ListConnResp* mutable_connection(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnResp >* - mutable_connection(); - private: - const ::opi_api::security::v1::ListConnResp& _internal_connection(int index) const; - ::opi_api::security::v1::ListConnResp* _internal_add_connection(); - public: - const ::opi_api::security::v1::ListConnResp& connection(int index) const; - ::opi_api::security::v1::ListConnResp* add_connection(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnResp >& - connection() const; - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecListConnsResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnResp > connection_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecListCertsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecListCertsRequest) */ { - public: - inline IPsecListCertsRequest() : IPsecListCertsRequest(nullptr) {} - ~IPsecListCertsRequest() override; - explicit PROTOBUF_CONSTEXPR IPsecListCertsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecListCertsRequest(const IPsecListCertsRequest& from); - IPsecListCertsRequest(IPsecListCertsRequest&& from) noexcept - : IPsecListCertsRequest() { - *this = ::std::move(from); - } - - inline IPsecListCertsRequest& operator=(const IPsecListCertsRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecListCertsRequest& operator=(IPsecListCertsRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecListCertsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecListCertsRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecListCertsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(IPsecListCertsRequest& a, IPsecListCertsRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecListCertsRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecListCertsRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecListCertsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecListCertsRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecListCertsRequest& from) { - IPsecListCertsRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecListCertsRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecListCertsRequest"; - } - protected: - explicit IPsecListCertsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - kFlagFieldNumber = 2, - kSubjectFieldNumber = 3, - }; - // string type = 1; - void clear_type(); - const std::string& type() const; - template - void set_type(ArgT0&& arg0, ArgT... args); - std::string* mutable_type(); - PROTOBUF_NODISCARD std::string* release_type(); - void set_allocated_type(std::string* type); - private: - const std::string& _internal_type() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); - std::string* _internal_mutable_type(); - public: - - // string flag = 2; - void clear_flag(); - const std::string& flag() const; - template - void set_flag(ArgT0&& arg0, ArgT... args); - std::string* mutable_flag(); - PROTOBUF_NODISCARD std::string* release_flag(); - void set_allocated_flag(std::string* flag); - private: - const std::string& _internal_flag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_flag(const std::string& value); - std::string* _internal_mutable_flag(); - public: - - // string subject = 3; - void clear_subject(); - const std::string& subject() const; - template - void set_subject(ArgT0&& arg0, ArgT... args); - std::string* mutable_subject(); - PROTOBUF_NODISCARD std::string* release_subject(); - void set_allocated_subject(std::string* subject); - private: - const std::string& _internal_subject() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_subject(const std::string& value); - std::string* _internal_mutable_subject(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecListCertsRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr flag_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr subject_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class ListCert final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.ListCert) */ { - public: - inline ListCert() : ListCert(nullptr) {} - ~ListCert() override; - explicit PROTOBUF_CONSTEXPR ListCert(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ListCert(const ListCert& from); - ListCert(ListCert&& from) noexcept - : ListCert() { - *this = ::std::move(from); - } - - inline ListCert& operator=(const ListCert& from) { - CopyFrom(from); - return *this; - } - inline ListCert& operator=(ListCert&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ListCert& default_instance() { - return *internal_default_instance(); - } - static inline const ListCert* internal_default_instance() { - return reinterpret_cast( - &_ListCert_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(ListCert& a, ListCert& b) { - a.Swap(&b); - } - inline void Swap(ListCert* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ListCert* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ListCert* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListCert& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ListCert& from) { - ListCert::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ListCert* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.ListCert"; - } - protected: - explicit ListCert(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHasprivkeyFieldNumber = 3, - kDataFieldNumber = 4, - kSubjectFieldNumber = 5, - kNotbeforeFieldNumber = 6, - kNotafterFieldNumber = 7, - kTypeFieldNumber = 1, - kFlagFieldNumber = 2, - }; - // string hasprivkey = 3; - void clear_hasprivkey(); - const std::string& hasprivkey() const; - template - void set_hasprivkey(ArgT0&& arg0, ArgT... args); - std::string* mutable_hasprivkey(); - PROTOBUF_NODISCARD std::string* release_hasprivkey(); - void set_allocated_hasprivkey(std::string* hasprivkey); - private: - const std::string& _internal_hasprivkey() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_hasprivkey(const std::string& value); - std::string* _internal_mutable_hasprivkey(); - public: - - // string data = 4; - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // string subject = 5; - void clear_subject(); - const std::string& subject() const; - template - void set_subject(ArgT0&& arg0, ArgT... args); - std::string* mutable_subject(); - PROTOBUF_NODISCARD std::string* release_subject(); - void set_allocated_subject(std::string* subject); - private: - const std::string& _internal_subject() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_subject(const std::string& value); - std::string* _internal_mutable_subject(); - public: - - // string notbefore = 6; - void clear_notbefore(); - const std::string& notbefore() const; - template - void set_notbefore(ArgT0&& arg0, ArgT... args); - std::string* mutable_notbefore(); - PROTOBUF_NODISCARD std::string* release_notbefore(); - void set_allocated_notbefore(std::string* notbefore); - private: - const std::string& _internal_notbefore() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_notbefore(const std::string& value); - std::string* _internal_mutable_notbefore(); - public: - - // string notafter = 7; - void clear_notafter(); - const std::string& notafter() const; - template - void set_notafter(ArgT0&& arg0, ArgT... args); - std::string* mutable_notafter(); - PROTOBUF_NODISCARD std::string* release_notafter(); - void set_allocated_notafter(std::string* notafter); - private: - const std::string& _internal_notafter() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_notafter(const std::string& value); - std::string* _internal_mutable_notafter(); - public: - - // .opi_api.security.v1.CertificateType type = 1; - void clear_type(); - ::opi_api::security::v1::CertificateType type() const; - void set_type(::opi_api::security::v1::CertificateType value); - private: - ::opi_api::security::v1::CertificateType _internal_type() const; - void _internal_set_type(::opi_api::security::v1::CertificateType value); - public: - - // .opi_api.security.v1.X509CertificateFlag flag = 2; - void clear_flag(); - ::opi_api::security::v1::X509CertificateFlag flag() const; - void set_flag(::opi_api::security::v1::X509CertificateFlag value); - private: - ::opi_api::security::v1::X509CertificateFlag _internal_flag() const; - void _internal_set_flag(::opi_api::security::v1::X509CertificateFlag value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.ListCert) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hasprivkey_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr subject_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr notbefore_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr notafter_; - int type_; - int flag_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecListCertsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecListCertsResponse) */ { - public: - inline IPsecListCertsResponse() : IPsecListCertsResponse(nullptr) {} - ~IPsecListCertsResponse() override; - explicit PROTOBUF_CONSTEXPR IPsecListCertsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecListCertsResponse(const IPsecListCertsResponse& from); - IPsecListCertsResponse(IPsecListCertsResponse&& from) noexcept - : IPsecListCertsResponse() { - *this = ::std::move(from); - } - - inline IPsecListCertsResponse& operator=(const IPsecListCertsResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecListCertsResponse& operator=(IPsecListCertsResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecListCertsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecListCertsResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecListCertsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(IPsecListCertsResponse& a, IPsecListCertsResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecListCertsResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecListCertsResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecListCertsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecListCertsResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecListCertsResponse& from) { - IPsecListCertsResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecListCertsResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecListCertsResponse"; - } - protected: - explicit IPsecListCertsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCertsFieldNumber = 1, - }; - // repeated .opi_api.security.v1.ListCert certs = 1; - int certs_size() const; - private: - int _internal_certs_size() const; - public: - void clear_certs(); - ::opi_api::security::v1::ListCert* mutable_certs(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListCert >* - mutable_certs(); - private: - const ::opi_api::security::v1::ListCert& _internal_certs(int index) const; - ::opi_api::security::v1::ListCert* _internal_add_certs(); - public: - const ::opi_api::security::v1::ListCert& certs(int index) const; - ::opi_api::security::v1::ListCert* add_certs(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListCert >& - certs() const; - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecListCertsResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListCert > certs_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecLoadConnRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecLoadConnRequest) */ { - public: - inline IPsecLoadConnRequest() : IPsecLoadConnRequest(nullptr) {} - ~IPsecLoadConnRequest() override; - explicit PROTOBUF_CONSTEXPR IPsecLoadConnRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecLoadConnRequest(const IPsecLoadConnRequest& from); - IPsecLoadConnRequest(IPsecLoadConnRequest&& from) noexcept - : IPsecLoadConnRequest() { - *this = ::std::move(from); - } - - inline IPsecLoadConnRequest& operator=(const IPsecLoadConnRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecLoadConnRequest& operator=(IPsecLoadConnRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecLoadConnRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecLoadConnRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecLoadConnRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(IPsecLoadConnRequest& a, IPsecLoadConnRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecLoadConnRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecLoadConnRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecLoadConnRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecLoadConnRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecLoadConnRequest& from) { - IPsecLoadConnRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecLoadConnRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecLoadConnRequest"; - } - protected: - explicit IPsecLoadConnRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConnectionFieldNumber = 1, - }; - // .opi_api.security.v1.Connection connection = 1; - bool has_connection() const; - private: - bool _internal_has_connection() const; - public: - void clear_connection(); - const ::opi_api::security::v1::Connection& connection() const; - PROTOBUF_NODISCARD ::opi_api::security::v1::Connection* release_connection(); - ::opi_api::security::v1::Connection* mutable_connection(); - void set_allocated_connection(::opi_api::security::v1::Connection* connection); - private: - const ::opi_api::security::v1::Connection& _internal_connection() const; - ::opi_api::security::v1::Connection* _internal_mutable_connection(); - public: - void unsafe_arena_set_allocated_connection( - ::opi_api::security::v1::Connection* connection); - ::opi_api::security::v1::Connection* unsafe_arena_release_connection(); - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecLoadConnRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::opi_api::security::v1::Connection* connection_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecLoadConnResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecLoadConnResponse) */ { - public: - inline IPsecLoadConnResponse() : IPsecLoadConnResponse(nullptr) {} - ~IPsecLoadConnResponse() override; - explicit PROTOBUF_CONSTEXPR IPsecLoadConnResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecLoadConnResponse(const IPsecLoadConnResponse& from); - IPsecLoadConnResponse(IPsecLoadConnResponse&& from) noexcept - : IPsecLoadConnResponse() { - *this = ::std::move(from); - } - - inline IPsecLoadConnResponse& operator=(const IPsecLoadConnResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecLoadConnResponse& operator=(IPsecLoadConnResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecLoadConnResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecLoadConnResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecLoadConnResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(IPsecLoadConnResponse& a, IPsecLoadConnResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecLoadConnResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecLoadConnResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecLoadConnResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecLoadConnResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecLoadConnResponse& from) { - IPsecLoadConnResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecLoadConnResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecLoadConnResponse"; - } - protected: - explicit IPsecLoadConnResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSuccessFieldNumber = 1, - }; - // string success = 1; - void clear_success(); - const std::string& success() const; - template - void set_success(ArgT0&& arg0, ArgT... args); - std::string* mutable_success(); - PROTOBUF_NODISCARD std::string* release_success(); - void set_allocated_success(std::string* success); - private: - const std::string& _internal_success() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_success(const std::string& value); - std::string* _internal_mutable_success(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecLoadConnResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr success_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecUnloadConnRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecUnloadConnRequest) */ { - public: - inline IPsecUnloadConnRequest() : IPsecUnloadConnRequest(nullptr) {} - ~IPsecUnloadConnRequest() override; - explicit PROTOBUF_CONSTEXPR IPsecUnloadConnRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecUnloadConnRequest(const IPsecUnloadConnRequest& from); - IPsecUnloadConnRequest(IPsecUnloadConnRequest&& from) noexcept - : IPsecUnloadConnRequest() { - *this = ::std::move(from); - } - - inline IPsecUnloadConnRequest& operator=(const IPsecUnloadConnRequest& from) { - CopyFrom(from); - return *this; - } - inline IPsecUnloadConnRequest& operator=(IPsecUnloadConnRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecUnloadConnRequest& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecUnloadConnRequest* internal_default_instance() { - return reinterpret_cast( - &_IPsecUnloadConnRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(IPsecUnloadConnRequest& a, IPsecUnloadConnRequest& b) { - a.Swap(&b); - } - inline void Swap(IPsecUnloadConnRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecUnloadConnRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecUnloadConnRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecUnloadConnRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecUnloadConnRequest& from) { - IPsecUnloadConnRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecUnloadConnRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecUnloadConnRequest"; - } - protected: - explicit IPsecUnloadConnRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - }; - // string name = 1; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecUnloadConnRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// ------------------------------------------------------------------- - -class IPsecUnloadConnResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.security.v1.IPsecUnloadConnResponse) */ { - public: - inline IPsecUnloadConnResponse() : IPsecUnloadConnResponse(nullptr) {} - ~IPsecUnloadConnResponse() override; - explicit PROTOBUF_CONSTEXPR IPsecUnloadConnResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IPsecUnloadConnResponse(const IPsecUnloadConnResponse& from); - IPsecUnloadConnResponse(IPsecUnloadConnResponse&& from) noexcept - : IPsecUnloadConnResponse() { - *this = ::std::move(from); - } - - inline IPsecUnloadConnResponse& operator=(const IPsecUnloadConnResponse& from) { - CopyFrom(from); - return *this; - } - inline IPsecUnloadConnResponse& operator=(IPsecUnloadConnResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IPsecUnloadConnResponse& default_instance() { - return *internal_default_instance(); - } - static inline const IPsecUnloadConnResponse* internal_default_instance() { - return reinterpret_cast( - &_IPsecUnloadConnResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(IPsecUnloadConnResponse& a, IPsecUnloadConnResponse& b) { - a.Swap(&b); - } - inline void Swap(IPsecUnloadConnResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IPsecUnloadConnResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IPsecUnloadConnResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IPsecUnloadConnResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IPsecUnloadConnResponse& from) { - IPsecUnloadConnResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IPsecUnloadConnResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.security.v1.IPsecUnloadConnResponse"; - } - protected: - explicit IPsecUnloadConnResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSuccessFieldNumber = 1, - }; - // string success = 1; - void clear_success(); - const std::string& success() const; - template - void set_success(ArgT0&& arg0, ArgT... args); - std::string* mutable_success(); - PROTOBUF_NODISCARD std::string* release_success(); - void set_allocated_success(std::string* success); - private: - const std::string& _internal_success() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_success(const std::string& value); - std::string* _internal_mutable_success(); - public: - - // @@protoc_insertion_point(class_scope:opi_api.security.v1.IPsecUnloadConnResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr success_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_ipsec_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Proposals - -// repeated .opi_api.security.v1.CryptoAlgorithm crypto_alg = 1; -inline int Proposals::_internal_crypto_alg_size() const { - return _impl_.crypto_alg_.size(); -} -inline int Proposals::crypto_alg_size() const { - return _internal_crypto_alg_size(); -} -inline void Proposals::clear_crypto_alg() { - _impl_.crypto_alg_.Clear(); -} -inline ::opi_api::security::v1::CryptoAlgorithm Proposals::_internal_crypto_alg(int index) const { - return static_cast< ::opi_api::security::v1::CryptoAlgorithm >(_impl_.crypto_alg_.Get(index)); -} -inline ::opi_api::security::v1::CryptoAlgorithm Proposals::crypto_alg(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Proposals.crypto_alg) - return _internal_crypto_alg(index); -} -inline void Proposals::set_crypto_alg(int index, ::opi_api::security::v1::CryptoAlgorithm value) { - _impl_.crypto_alg_.Set(index, value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Proposals.crypto_alg) -} -inline void Proposals::_internal_add_crypto_alg(::opi_api::security::v1::CryptoAlgorithm value) { - _impl_.crypto_alg_.Add(value); -} -inline void Proposals::add_crypto_alg(::opi_api::security::v1::CryptoAlgorithm value) { - _internal_add_crypto_alg(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Proposals.crypto_alg) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& -Proposals::crypto_alg() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Proposals.crypto_alg) - return _impl_.crypto_alg_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -Proposals::_internal_mutable_crypto_alg() { - return &_impl_.crypto_alg_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -Proposals::mutable_crypto_alg() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Proposals.crypto_alg) - return _internal_mutable_crypto_alg(); -} - -// repeated .opi_api.security.v1.IntegAlgorithm integ_alg = 2; -inline int Proposals::_internal_integ_alg_size() const { - return _impl_.integ_alg_.size(); -} -inline int Proposals::integ_alg_size() const { - return _internal_integ_alg_size(); -} -inline void Proposals::clear_integ_alg() { - _impl_.integ_alg_.Clear(); -} -inline ::opi_api::security::v1::IntegAlgorithm Proposals::_internal_integ_alg(int index) const { - return static_cast< ::opi_api::security::v1::IntegAlgorithm >(_impl_.integ_alg_.Get(index)); -} -inline ::opi_api::security::v1::IntegAlgorithm Proposals::integ_alg(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Proposals.integ_alg) - return _internal_integ_alg(index); -} -inline void Proposals::set_integ_alg(int index, ::opi_api::security::v1::IntegAlgorithm value) { - _impl_.integ_alg_.Set(index, value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Proposals.integ_alg) -} -inline void Proposals::_internal_add_integ_alg(::opi_api::security::v1::IntegAlgorithm value) { - _impl_.integ_alg_.Add(value); -} -inline void Proposals::add_integ_alg(::opi_api::security::v1::IntegAlgorithm value) { - _internal_add_integ_alg(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Proposals.integ_alg) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& -Proposals::integ_alg() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Proposals.integ_alg) - return _impl_.integ_alg_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -Proposals::_internal_mutable_integ_alg() { - return &_impl_.integ_alg_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -Proposals::mutable_integ_alg() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Proposals.integ_alg) - return _internal_mutable_integ_alg(); -} - -// repeated .opi_api.security.v1.PRFunction prf = 3; -inline int Proposals::_internal_prf_size() const { - return _impl_.prf_.size(); -} -inline int Proposals::prf_size() const { - return _internal_prf_size(); -} -inline void Proposals::clear_prf() { - _impl_.prf_.Clear(); -} -inline ::opi_api::security::v1::PRFunction Proposals::_internal_prf(int index) const { - return static_cast< ::opi_api::security::v1::PRFunction >(_impl_.prf_.Get(index)); -} -inline ::opi_api::security::v1::PRFunction Proposals::prf(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Proposals.prf) - return _internal_prf(index); -} -inline void Proposals::set_prf(int index, ::opi_api::security::v1::PRFunction value) { - _impl_.prf_.Set(index, value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Proposals.prf) -} -inline void Proposals::_internal_add_prf(::opi_api::security::v1::PRFunction value) { - _impl_.prf_.Add(value); -} -inline void Proposals::add_prf(::opi_api::security::v1::PRFunction value) { - _internal_add_prf(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Proposals.prf) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& -Proposals::prf() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Proposals.prf) - return _impl_.prf_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -Proposals::_internal_mutable_prf() { - return &_impl_.prf_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -Proposals::mutable_prf() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Proposals.prf) - return _internal_mutable_prf(); -} - -// repeated .opi_api.security.v1.DHGroups dhgroups = 4; -inline int Proposals::_internal_dhgroups_size() const { - return _impl_.dhgroups_.size(); -} -inline int Proposals::dhgroups_size() const { - return _internal_dhgroups_size(); -} -inline void Proposals::clear_dhgroups() { - _impl_.dhgroups_.Clear(); -} -inline ::opi_api::security::v1::DHGroups Proposals::_internal_dhgroups(int index) const { - return static_cast< ::opi_api::security::v1::DHGroups >(_impl_.dhgroups_.Get(index)); -} -inline ::opi_api::security::v1::DHGroups Proposals::dhgroups(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Proposals.dhgroups) - return _internal_dhgroups(index); -} -inline void Proposals::set_dhgroups(int index, ::opi_api::security::v1::DHGroups value) { - _impl_.dhgroups_.Set(index, value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Proposals.dhgroups) -} -inline void Proposals::_internal_add_dhgroups(::opi_api::security::v1::DHGroups value) { - _impl_.dhgroups_.Add(value); -} -inline void Proposals::add_dhgroups(::opi_api::security::v1::DHGroups value) { - _internal_add_dhgroups(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Proposals.dhgroups) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& -Proposals::dhgroups() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Proposals.dhgroups) - return _impl_.dhgroups_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -Proposals::_internal_mutable_dhgroups() { - return &_impl_.dhgroups_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -Proposals::mutable_dhgroups() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Proposals.dhgroups) - return _internal_mutable_dhgroups(); -} - -// ------------------------------------------------------------------- - -// Vips - -// repeated string vip = 1; -inline int Vips::_internal_vip_size() const { - return _impl_.vip_.size(); -} -inline int Vips::vip_size() const { - return _internal_vip_size(); -} -inline void Vips::clear_vip() { - _impl_.vip_.Clear(); -} -inline std::string* Vips::add_vip() { - std::string* _s = _internal_add_vip(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.Vips.vip) - return _s; -} -inline const std::string& Vips::_internal_vip(int index) const { - return _impl_.vip_.Get(index); -} -inline const std::string& Vips::vip(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Vips.vip) - return _internal_vip(index); -} -inline std::string* Vips::mutable_vip(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Vips.vip) - return _impl_.vip_.Mutable(index); -} -inline void Vips::set_vip(int index, const std::string& value) { - _impl_.vip_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Vips.vip) -} -inline void Vips::set_vip(int index, std::string&& value) { - _impl_.vip_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Vips.vip) -} -inline void Vips::set_vip(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.vip_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.Vips.vip) -} -inline void Vips::set_vip(int index, const char* value, size_t size) { - _impl_.vip_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.Vips.vip) -} -inline std::string* Vips::_internal_add_vip() { - return _impl_.vip_.Add(); -} -inline void Vips::add_vip(const std::string& value) { - _impl_.vip_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Vips.vip) -} -inline void Vips::add_vip(std::string&& value) { - _impl_.vip_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Vips.vip) -} -inline void Vips::add_vip(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.vip_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.Vips.vip) -} -inline void Vips::add_vip(const char* value, size_t size) { - _impl_.vip_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.Vips.vip) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -Vips::vip() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Vips.vip) - return _impl_.vip_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -Vips::mutable_vip() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Vips.vip) - return &_impl_.vip_; -} - -// ------------------------------------------------------------------- - -// Pools - -// repeated string pool = 1; -inline int Pools::_internal_pool_size() const { - return _impl_.pool_.size(); -} -inline int Pools::pool_size() const { - return _internal_pool_size(); -} -inline void Pools::clear_pool() { - _impl_.pool_.Clear(); -} -inline std::string* Pools::add_pool() { - std::string* _s = _internal_add_pool(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.Pools.pool) - return _s; -} -inline const std::string& Pools::_internal_pool(int index) const { - return _impl_.pool_.Get(index); -} -inline const std::string& Pools::pool(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Pools.pool) - return _internal_pool(index); -} -inline std::string* Pools::mutable_pool(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Pools.pool) - return _impl_.pool_.Mutable(index); -} -inline void Pools::set_pool(int index, const std::string& value) { - _impl_.pool_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Pools.pool) -} -inline void Pools::set_pool(int index, std::string&& value) { - _impl_.pool_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Pools.pool) -} -inline void Pools::set_pool(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.pool_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.Pools.pool) -} -inline void Pools::set_pool(int index, const char* value, size_t size) { - _impl_.pool_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.Pools.pool) -} -inline std::string* Pools::_internal_add_pool() { - return _impl_.pool_.Add(); -} -inline void Pools::add_pool(const std::string& value) { - _impl_.pool_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Pools.pool) -} -inline void Pools::add_pool(std::string&& value) { - _impl_.pool_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Pools.pool) -} -inline void Pools::add_pool(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.pool_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.Pools.pool) -} -inline void Pools::add_pool(const char* value, size_t size) { - _impl_.pool_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.Pools.pool) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -Pools::pool() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Pools.pool) - return _impl_.pool_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -Pools::mutable_pool() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Pools.pool) - return &_impl_.pool_; -} - -// ------------------------------------------------------------------- - -// Certs - -// repeated string cert = 1; -inline int Certs::_internal_cert_size() const { - return _impl_.cert_.size(); -} -inline int Certs::cert_size() const { - return _internal_cert_size(); -} -inline void Certs::clear_cert() { - _impl_.cert_.Clear(); -} -inline std::string* Certs::add_cert() { - std::string* _s = _internal_add_cert(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.Certs.cert) - return _s; -} -inline const std::string& Certs::_internal_cert(int index) const { - return _impl_.cert_.Get(index); -} -inline const std::string& Certs::cert(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Certs.cert) - return _internal_cert(index); -} -inline std::string* Certs::mutable_cert(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Certs.cert) - return _impl_.cert_.Mutable(index); -} -inline void Certs::set_cert(int index, const std::string& value) { - _impl_.cert_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Certs.cert) -} -inline void Certs::set_cert(int index, std::string&& value) { - _impl_.cert_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Certs.cert) -} -inline void Certs::set_cert(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.cert_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.Certs.cert) -} -inline void Certs::set_cert(int index, const char* value, size_t size) { - _impl_.cert_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.Certs.cert) -} -inline std::string* Certs::_internal_add_cert() { - return _impl_.cert_.Add(); -} -inline void Certs::add_cert(const std::string& value) { - _impl_.cert_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Certs.cert) -} -inline void Certs::add_cert(std::string&& value) { - _impl_.cert_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Certs.cert) -} -inline void Certs::add_cert(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.cert_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.Certs.cert) -} -inline void Certs::add_cert(const char* value, size_t size) { - _impl_.cert_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.Certs.cert) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -Certs::cert() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Certs.cert) - return _impl_.cert_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -Certs::mutable_cert() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Certs.cert) - return &_impl_.cert_; -} - -// ------------------------------------------------------------------- - -// PubKeys - -// repeated string pubkey = 1; -inline int PubKeys::_internal_pubkey_size() const { - return _impl_.pubkey_.size(); -} -inline int PubKeys::pubkey_size() const { - return _internal_pubkey_size(); -} -inline void PubKeys::clear_pubkey() { - _impl_.pubkey_.Clear(); -} -inline std::string* PubKeys::add_pubkey() { - std::string* _s = _internal_add_pubkey(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.PubKeys.pubkey) - return _s; -} -inline const std::string& PubKeys::_internal_pubkey(int index) const { - return _impl_.pubkey_.Get(index); -} -inline const std::string& PubKeys::pubkey(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.PubKeys.pubkey) - return _internal_pubkey(index); -} -inline std::string* PubKeys::mutable_pubkey(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.PubKeys.pubkey) - return _impl_.pubkey_.Mutable(index); -} -inline void PubKeys::set_pubkey(int index, const std::string& value) { - _impl_.pubkey_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.PubKeys.pubkey) -} -inline void PubKeys::set_pubkey(int index, std::string&& value) { - _impl_.pubkey_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.PubKeys.pubkey) -} -inline void PubKeys::set_pubkey(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.pubkey_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.PubKeys.pubkey) -} -inline void PubKeys::set_pubkey(int index, const char* value, size_t size) { - _impl_.pubkey_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.PubKeys.pubkey) -} -inline std::string* PubKeys::_internal_add_pubkey() { - return _impl_.pubkey_.Add(); -} -inline void PubKeys::add_pubkey(const std::string& value) { - _impl_.pubkey_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.PubKeys.pubkey) -} -inline void PubKeys::add_pubkey(std::string&& value) { - _impl_.pubkey_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.PubKeys.pubkey) -} -inline void PubKeys::add_pubkey(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.pubkey_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.PubKeys.pubkey) -} -inline void PubKeys::add_pubkey(const char* value, size_t size) { - _impl_.pubkey_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.PubKeys.pubkey) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -PubKeys::pubkey() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.PubKeys.pubkey) - return _impl_.pubkey_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -PubKeys::mutable_pubkey() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.PubKeys.pubkey) - return &_impl_.pubkey_; -} - -// ------------------------------------------------------------------- - -// Groups - -// repeated string group = 1; -inline int Groups::_internal_group_size() const { - return _impl_.group_.size(); -} -inline int Groups::group_size() const { - return _internal_group_size(); -} -inline void Groups::clear_group() { - _impl_.group_.Clear(); -} -inline std::string* Groups::add_group() { - std::string* _s = _internal_add_group(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.Groups.group) - return _s; -} -inline const std::string& Groups::_internal_group(int index) const { - return _impl_.group_.Get(index); -} -inline const std::string& Groups::group(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Groups.group) - return _internal_group(index); -} -inline std::string* Groups::mutable_group(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Groups.group) - return _impl_.group_.Mutable(index); -} -inline void Groups::set_group(int index, const std::string& value) { - _impl_.group_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Groups.group) -} -inline void Groups::set_group(int index, std::string&& value) { - _impl_.group_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Groups.group) -} -inline void Groups::set_group(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.group_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.Groups.group) -} -inline void Groups::set_group(int index, const char* value, size_t size) { - _impl_.group_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.Groups.group) -} -inline std::string* Groups::_internal_add_group() { - return _impl_.group_.Add(); -} -inline void Groups::add_group(const std::string& value) { - _impl_.group_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Groups.group) -} -inline void Groups::add_group(std::string&& value) { - _impl_.group_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Groups.group) -} -inline void Groups::add_group(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.group_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.Groups.group) -} -inline void Groups::add_group(const char* value, size_t size) { - _impl_.group_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.Groups.group) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -Groups::group() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Groups.group) - return _impl_.group_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -Groups::mutable_group() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Groups.group) - return &_impl_.group_; -} - -// ------------------------------------------------------------------- - -// CertPolicy - -// repeated string cert_policy = 1; -inline int CertPolicy::_internal_cert_policy_size() const { - return _impl_.cert_policy_.size(); -} -inline int CertPolicy::cert_policy_size() const { - return _internal_cert_policy_size(); -} -inline void CertPolicy::clear_cert_policy() { - _impl_.cert_policy_.Clear(); -} -inline std::string* CertPolicy::add_cert_policy() { - std::string* _s = _internal_add_cert_policy(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.CertPolicy.cert_policy) - return _s; -} -inline const std::string& CertPolicy::_internal_cert_policy(int index) const { - return _impl_.cert_policy_.Get(index); -} -inline const std::string& CertPolicy::cert_policy(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.CertPolicy.cert_policy) - return _internal_cert_policy(index); -} -inline std::string* CertPolicy::mutable_cert_policy(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.CertPolicy.cert_policy) - return _impl_.cert_policy_.Mutable(index); -} -inline void CertPolicy::set_cert_policy(int index, const std::string& value) { - _impl_.cert_policy_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.CertPolicy.cert_policy) -} -inline void CertPolicy::set_cert_policy(int index, std::string&& value) { - _impl_.cert_policy_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.CertPolicy.cert_policy) -} -inline void CertPolicy::set_cert_policy(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.cert_policy_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.CertPolicy.cert_policy) -} -inline void CertPolicy::set_cert_policy(int index, const char* value, size_t size) { - _impl_.cert_policy_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.CertPolicy.cert_policy) -} -inline std::string* CertPolicy::_internal_add_cert_policy() { - return _impl_.cert_policy_.Add(); -} -inline void CertPolicy::add_cert_policy(const std::string& value) { - _impl_.cert_policy_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.CertPolicy.cert_policy) -} -inline void CertPolicy::add_cert_policy(std::string&& value) { - _impl_.cert_policy_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.CertPolicy.cert_policy) -} -inline void CertPolicy::add_cert_policy(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.cert_policy_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.CertPolicy.cert_policy) -} -inline void CertPolicy::add_cert_policy(const char* value, size_t size) { - _impl_.cert_policy_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.CertPolicy.cert_policy) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CertPolicy::cert_policy() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.CertPolicy.cert_policy) - return _impl_.cert_policy_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CertPolicy::mutable_cert_policy() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.CertPolicy.cert_policy) - return &_impl_.cert_policy_; -} - -// ------------------------------------------------------------------- - -// CaCerts - -// repeated string cacert = 1; -inline int CaCerts::_internal_cacert_size() const { - return _impl_.cacert_.size(); -} -inline int CaCerts::cacert_size() const { - return _internal_cacert_size(); -} -inline void CaCerts::clear_cacert() { - _impl_.cacert_.Clear(); -} -inline std::string* CaCerts::add_cacert() { - std::string* _s = _internal_add_cacert(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.CaCerts.cacert) - return _s; -} -inline const std::string& CaCerts::_internal_cacert(int index) const { - return _impl_.cacert_.Get(index); -} -inline const std::string& CaCerts::cacert(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.CaCerts.cacert) - return _internal_cacert(index); -} -inline std::string* CaCerts::mutable_cacert(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.CaCerts.cacert) - return _impl_.cacert_.Mutable(index); -} -inline void CaCerts::set_cacert(int index, const std::string& value) { - _impl_.cacert_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.CaCerts.cacert) -} -inline void CaCerts::set_cacert(int index, std::string&& value) { - _impl_.cacert_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.CaCerts.cacert) -} -inline void CaCerts::set_cacert(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.cacert_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.CaCerts.cacert) -} -inline void CaCerts::set_cacert(int index, const char* value, size_t size) { - _impl_.cacert_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.CaCerts.cacert) -} -inline std::string* CaCerts::_internal_add_cacert() { - return _impl_.cacert_.Add(); -} -inline void CaCerts::add_cacert(const std::string& value) { - _impl_.cacert_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.CaCerts.cacert) -} -inline void CaCerts::add_cacert(std::string&& value) { - _impl_.cacert_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.CaCerts.cacert) -} -inline void CaCerts::add_cacert(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.cacert_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.CaCerts.cacert) -} -inline void CaCerts::add_cacert(const char* value, size_t size) { - _impl_.cacert_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.CaCerts.cacert) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CaCerts::cacert() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.CaCerts.cacert) - return _impl_.cacert_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CaCerts::mutable_cacert() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.CaCerts.cacert) - return &_impl_.cacert_; -} - -// ------------------------------------------------------------------- - -// LocalAuth - -// .opi_api.security.v1.AuthType auth = 1; -inline void LocalAuth::clear_auth() { - _impl_.auth_ = 0; -} -inline ::opi_api::security::v1::AuthType LocalAuth::_internal_auth() const { - return static_cast< ::opi_api::security::v1::AuthType >(_impl_.auth_); -} -inline ::opi_api::security::v1::AuthType LocalAuth::auth() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.LocalAuth.auth) - return _internal_auth(); -} -inline void LocalAuth::_internal_set_auth(::opi_api::security::v1::AuthType value) { - - _impl_.auth_ = value; -} -inline void LocalAuth::set_auth(::opi_api::security::v1::AuthType value) { - _internal_set_auth(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.LocalAuth.auth) -} - -// string id = 2; -inline void LocalAuth::clear_id() { - _impl_.id_.ClearToEmpty(); -} -inline const std::string& LocalAuth::id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.LocalAuth.id) - return _internal_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void LocalAuth::set_id(ArgT0&& arg0, ArgT... args) { - - _impl_.id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.LocalAuth.id) -} -inline std::string* LocalAuth::mutable_id() { - std::string* _s = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.LocalAuth.id) - return _s; -} -inline const std::string& LocalAuth::_internal_id() const { - return _impl_.id_.Get(); -} -inline void LocalAuth::_internal_set_id(const std::string& value) { - - _impl_.id_.Set(value, GetArenaForAllocation()); -} -inline std::string* LocalAuth::_internal_mutable_id() { - - return _impl_.id_.Mutable(GetArenaForAllocation()); -} -inline std::string* LocalAuth::release_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.LocalAuth.id) - return _impl_.id_.Release(); -} -inline void LocalAuth::set_allocated_id(std::string* id) { - if (id != nullptr) { - - } else { - - } - _impl_.id_.SetAllocated(id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.id_.IsDefault()) { - _impl_.id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.LocalAuth.id) -} - -// string eap_id = 3; -inline void LocalAuth::clear_eap_id() { - _impl_.eap_id_.ClearToEmpty(); -} -inline const std::string& LocalAuth::eap_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.LocalAuth.eap_id) - return _internal_eap_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void LocalAuth::set_eap_id(ArgT0&& arg0, ArgT... args) { - - _impl_.eap_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.LocalAuth.eap_id) -} -inline std::string* LocalAuth::mutable_eap_id() { - std::string* _s = _internal_mutable_eap_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.LocalAuth.eap_id) - return _s; -} -inline const std::string& LocalAuth::_internal_eap_id() const { - return _impl_.eap_id_.Get(); -} -inline void LocalAuth::_internal_set_eap_id(const std::string& value) { - - _impl_.eap_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* LocalAuth::_internal_mutable_eap_id() { - - return _impl_.eap_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* LocalAuth::release_eap_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.LocalAuth.eap_id) - return _impl_.eap_id_.Release(); -} -inline void LocalAuth::set_allocated_eap_id(std::string* eap_id) { - if (eap_id != nullptr) { - - } else { - - } - _impl_.eap_id_.SetAllocated(eap_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.eap_id_.IsDefault()) { - _impl_.eap_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.LocalAuth.eap_id) -} - -// string aaa_id = 4; -inline void LocalAuth::clear_aaa_id() { - _impl_.aaa_id_.ClearToEmpty(); -} -inline const std::string& LocalAuth::aaa_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.LocalAuth.aaa_id) - return _internal_aaa_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void LocalAuth::set_aaa_id(ArgT0&& arg0, ArgT... args) { - - _impl_.aaa_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.LocalAuth.aaa_id) -} -inline std::string* LocalAuth::mutable_aaa_id() { - std::string* _s = _internal_mutable_aaa_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.LocalAuth.aaa_id) - return _s; -} -inline const std::string& LocalAuth::_internal_aaa_id() const { - return _impl_.aaa_id_.Get(); -} -inline void LocalAuth::_internal_set_aaa_id(const std::string& value) { - - _impl_.aaa_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* LocalAuth::_internal_mutable_aaa_id() { - - return _impl_.aaa_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* LocalAuth::release_aaa_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.LocalAuth.aaa_id) - return _impl_.aaa_id_.Release(); -} -inline void LocalAuth::set_allocated_aaa_id(std::string* aaa_id) { - if (aaa_id != nullptr) { - - } else { - - } - _impl_.aaa_id_.SetAllocated(aaa_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.aaa_id_.IsDefault()) { - _impl_.aaa_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.LocalAuth.aaa_id) -} - -// string xauth_id = 5; -inline void LocalAuth::clear_xauth_id() { - _impl_.xauth_id_.ClearToEmpty(); -} -inline const std::string& LocalAuth::xauth_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.LocalAuth.xauth_id) - return _internal_xauth_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void LocalAuth::set_xauth_id(ArgT0&& arg0, ArgT... args) { - - _impl_.xauth_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.LocalAuth.xauth_id) -} -inline std::string* LocalAuth::mutable_xauth_id() { - std::string* _s = _internal_mutable_xauth_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.LocalAuth.xauth_id) - return _s; -} -inline const std::string& LocalAuth::_internal_xauth_id() const { - return _impl_.xauth_id_.Get(); -} -inline void LocalAuth::_internal_set_xauth_id(const std::string& value) { - - _impl_.xauth_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* LocalAuth::_internal_mutable_xauth_id() { - - return _impl_.xauth_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* LocalAuth::release_xauth_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.LocalAuth.xauth_id) - return _impl_.xauth_id_.Release(); -} -inline void LocalAuth::set_allocated_xauth_id(std::string* xauth_id) { - if (xauth_id != nullptr) { - - } else { - - } - _impl_.xauth_id_.SetAllocated(xauth_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.xauth_id_.IsDefault()) { - _impl_.xauth_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.LocalAuth.xauth_id) -} - -// .opi_api.security.v1.Certs certs = 6; -inline bool LocalAuth::_internal_has_certs() const { - return this != internal_default_instance() && _impl_.certs_ != nullptr; -} -inline bool LocalAuth::has_certs() const { - return _internal_has_certs(); -} -inline void LocalAuth::clear_certs() { - if (GetArenaForAllocation() == nullptr && _impl_.certs_ != nullptr) { - delete _impl_.certs_; - } - _impl_.certs_ = nullptr; -} -inline const ::opi_api::security::v1::Certs& LocalAuth::_internal_certs() const { - const ::opi_api::security::v1::Certs* p = _impl_.certs_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Certs_default_instance_); -} -inline const ::opi_api::security::v1::Certs& LocalAuth::certs() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.LocalAuth.certs) - return _internal_certs(); -} -inline void LocalAuth::unsafe_arena_set_allocated_certs( - ::opi_api::security::v1::Certs* certs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.certs_); - } - _impl_.certs_ = certs; - if (certs) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.LocalAuth.certs) -} -inline ::opi_api::security::v1::Certs* LocalAuth::release_certs() { - - ::opi_api::security::v1::Certs* temp = _impl_.certs_; - _impl_.certs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Certs* LocalAuth::unsafe_arena_release_certs() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.LocalAuth.certs) - - ::opi_api::security::v1::Certs* temp = _impl_.certs_; - _impl_.certs_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Certs* LocalAuth::_internal_mutable_certs() { - - if (_impl_.certs_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Certs>(GetArenaForAllocation()); - _impl_.certs_ = p; - } - return _impl_.certs_; -} -inline ::opi_api::security::v1::Certs* LocalAuth::mutable_certs() { - ::opi_api::security::v1::Certs* _msg = _internal_mutable_certs(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.LocalAuth.certs) - return _msg; -} -inline void LocalAuth::set_allocated_certs(::opi_api::security::v1::Certs* certs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.certs_; - } - if (certs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(certs); - if (message_arena != submessage_arena) { - certs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, certs, submessage_arena); - } - - } else { - - } - _impl_.certs_ = certs; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.LocalAuth.certs) -} - -// .opi_api.security.v1.PubKeys pubkeys = 7; -inline bool LocalAuth::_internal_has_pubkeys() const { - return this != internal_default_instance() && _impl_.pubkeys_ != nullptr; -} -inline bool LocalAuth::has_pubkeys() const { - return _internal_has_pubkeys(); -} -inline void LocalAuth::clear_pubkeys() { - if (GetArenaForAllocation() == nullptr && _impl_.pubkeys_ != nullptr) { - delete _impl_.pubkeys_; - } - _impl_.pubkeys_ = nullptr; -} -inline const ::opi_api::security::v1::PubKeys& LocalAuth::_internal_pubkeys() const { - const ::opi_api::security::v1::PubKeys* p = _impl_.pubkeys_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_PubKeys_default_instance_); -} -inline const ::opi_api::security::v1::PubKeys& LocalAuth::pubkeys() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.LocalAuth.pubkeys) - return _internal_pubkeys(); -} -inline void LocalAuth::unsafe_arena_set_allocated_pubkeys( - ::opi_api::security::v1::PubKeys* pubkeys) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pubkeys_); - } - _impl_.pubkeys_ = pubkeys; - if (pubkeys) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.LocalAuth.pubkeys) -} -inline ::opi_api::security::v1::PubKeys* LocalAuth::release_pubkeys() { - - ::opi_api::security::v1::PubKeys* temp = _impl_.pubkeys_; - _impl_.pubkeys_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::PubKeys* LocalAuth::unsafe_arena_release_pubkeys() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.LocalAuth.pubkeys) - - ::opi_api::security::v1::PubKeys* temp = _impl_.pubkeys_; - _impl_.pubkeys_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::PubKeys* LocalAuth::_internal_mutable_pubkeys() { - - if (_impl_.pubkeys_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::PubKeys>(GetArenaForAllocation()); - _impl_.pubkeys_ = p; - } - return _impl_.pubkeys_; -} -inline ::opi_api::security::v1::PubKeys* LocalAuth::mutable_pubkeys() { - ::opi_api::security::v1::PubKeys* _msg = _internal_mutable_pubkeys(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.LocalAuth.pubkeys) - return _msg; -} -inline void LocalAuth::set_allocated_pubkeys(::opi_api::security::v1::PubKeys* pubkeys) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.pubkeys_; - } - if (pubkeys) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pubkeys); - if (message_arena != submessage_arena) { - pubkeys = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pubkeys, submessage_arena); - } - - } else { - - } - _impl_.pubkeys_ = pubkeys; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.LocalAuth.pubkeys) -} - -// ------------------------------------------------------------------- - -// RemoteAuth - -// .opi_api.security.v1.AuthType auth = 1; -inline void RemoteAuth::clear_auth() { - _impl_.auth_ = 0; -} -inline ::opi_api::security::v1::AuthType RemoteAuth::_internal_auth() const { - return static_cast< ::opi_api::security::v1::AuthType >(_impl_.auth_); -} -inline ::opi_api::security::v1::AuthType RemoteAuth::auth() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.RemoteAuth.auth) - return _internal_auth(); -} -inline void RemoteAuth::_internal_set_auth(::opi_api::security::v1::AuthType value) { - - _impl_.auth_ = value; -} -inline void RemoteAuth::set_auth(::opi_api::security::v1::AuthType value) { - _internal_set_auth(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.RemoteAuth.auth) -} - -// string id = 2; -inline void RemoteAuth::clear_id() { - _impl_.id_.ClearToEmpty(); -} -inline const std::string& RemoteAuth::id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.RemoteAuth.id) - return _internal_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void RemoteAuth::set_id(ArgT0&& arg0, ArgT... args) { - - _impl_.id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.RemoteAuth.id) -} -inline std::string* RemoteAuth::mutable_id() { - std::string* _s = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.RemoteAuth.id) - return _s; -} -inline const std::string& RemoteAuth::_internal_id() const { - return _impl_.id_.Get(); -} -inline void RemoteAuth::_internal_set_id(const std::string& value) { - - _impl_.id_.Set(value, GetArenaForAllocation()); -} -inline std::string* RemoteAuth::_internal_mutable_id() { - - return _impl_.id_.Mutable(GetArenaForAllocation()); -} -inline std::string* RemoteAuth::release_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.RemoteAuth.id) - return _impl_.id_.Release(); -} -inline void RemoteAuth::set_allocated_id(std::string* id) { - if (id != nullptr) { - - } else { - - } - _impl_.id_.SetAllocated(id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.id_.IsDefault()) { - _impl_.id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.RemoteAuth.id) -} - -// string eap_id = 3; -inline void RemoteAuth::clear_eap_id() { - _impl_.eap_id_.ClearToEmpty(); -} -inline const std::string& RemoteAuth::eap_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.RemoteAuth.eap_id) - return _internal_eap_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void RemoteAuth::set_eap_id(ArgT0&& arg0, ArgT... args) { - - _impl_.eap_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.RemoteAuth.eap_id) -} -inline std::string* RemoteAuth::mutable_eap_id() { - std::string* _s = _internal_mutable_eap_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.RemoteAuth.eap_id) - return _s; -} -inline const std::string& RemoteAuth::_internal_eap_id() const { - return _impl_.eap_id_.Get(); -} -inline void RemoteAuth::_internal_set_eap_id(const std::string& value) { - - _impl_.eap_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* RemoteAuth::_internal_mutable_eap_id() { - - return _impl_.eap_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* RemoteAuth::release_eap_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.RemoteAuth.eap_id) - return _impl_.eap_id_.Release(); -} -inline void RemoteAuth::set_allocated_eap_id(std::string* eap_id) { - if (eap_id != nullptr) { - - } else { - - } - _impl_.eap_id_.SetAllocated(eap_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.eap_id_.IsDefault()) { - _impl_.eap_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.RemoteAuth.eap_id) -} - -// .opi_api.security.v1.Groups groups = 4; -inline bool RemoteAuth::_internal_has_groups() const { - return this != internal_default_instance() && _impl_.groups_ != nullptr; -} -inline bool RemoteAuth::has_groups() const { - return _internal_has_groups(); -} -inline void RemoteAuth::clear_groups() { - if (GetArenaForAllocation() == nullptr && _impl_.groups_ != nullptr) { - delete _impl_.groups_; - } - _impl_.groups_ = nullptr; -} -inline const ::opi_api::security::v1::Groups& RemoteAuth::_internal_groups() const { - const ::opi_api::security::v1::Groups* p = _impl_.groups_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Groups_default_instance_); -} -inline const ::opi_api::security::v1::Groups& RemoteAuth::groups() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.RemoteAuth.groups) - return _internal_groups(); -} -inline void RemoteAuth::unsafe_arena_set_allocated_groups( - ::opi_api::security::v1::Groups* groups) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.groups_); - } - _impl_.groups_ = groups; - if (groups) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.RemoteAuth.groups) -} -inline ::opi_api::security::v1::Groups* RemoteAuth::release_groups() { - - ::opi_api::security::v1::Groups* temp = _impl_.groups_; - _impl_.groups_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Groups* RemoteAuth::unsafe_arena_release_groups() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.RemoteAuth.groups) - - ::opi_api::security::v1::Groups* temp = _impl_.groups_; - _impl_.groups_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Groups* RemoteAuth::_internal_mutable_groups() { - - if (_impl_.groups_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Groups>(GetArenaForAllocation()); - _impl_.groups_ = p; - } - return _impl_.groups_; -} -inline ::opi_api::security::v1::Groups* RemoteAuth::mutable_groups() { - ::opi_api::security::v1::Groups* _msg = _internal_mutable_groups(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.RemoteAuth.groups) - return _msg; -} -inline void RemoteAuth::set_allocated_groups(::opi_api::security::v1::Groups* groups) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.groups_; - } - if (groups) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(groups); - if (message_arena != submessage_arena) { - groups = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, groups, submessage_arena); - } - - } else { - - } - _impl_.groups_ = groups; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.RemoteAuth.groups) -} - -// .opi_api.security.v1.CertPolicy cert_policy = 5; -inline bool RemoteAuth::_internal_has_cert_policy() const { - return this != internal_default_instance() && _impl_.cert_policy_ != nullptr; -} -inline bool RemoteAuth::has_cert_policy() const { - return _internal_has_cert_policy(); -} -inline void RemoteAuth::clear_cert_policy() { - if (GetArenaForAllocation() == nullptr && _impl_.cert_policy_ != nullptr) { - delete _impl_.cert_policy_; - } - _impl_.cert_policy_ = nullptr; -} -inline const ::opi_api::security::v1::CertPolicy& RemoteAuth::_internal_cert_policy() const { - const ::opi_api::security::v1::CertPolicy* p = _impl_.cert_policy_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_CertPolicy_default_instance_); -} -inline const ::opi_api::security::v1::CertPolicy& RemoteAuth::cert_policy() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.RemoteAuth.cert_policy) - return _internal_cert_policy(); -} -inline void RemoteAuth::unsafe_arena_set_allocated_cert_policy( - ::opi_api::security::v1::CertPolicy* cert_policy) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_policy_); - } - _impl_.cert_policy_ = cert_policy; - if (cert_policy) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.RemoteAuth.cert_policy) -} -inline ::opi_api::security::v1::CertPolicy* RemoteAuth::release_cert_policy() { - - ::opi_api::security::v1::CertPolicy* temp = _impl_.cert_policy_; - _impl_.cert_policy_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::CertPolicy* RemoteAuth::unsafe_arena_release_cert_policy() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.RemoteAuth.cert_policy) - - ::opi_api::security::v1::CertPolicy* temp = _impl_.cert_policy_; - _impl_.cert_policy_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::CertPolicy* RemoteAuth::_internal_mutable_cert_policy() { - - if (_impl_.cert_policy_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::CertPolicy>(GetArenaForAllocation()); - _impl_.cert_policy_ = p; - } - return _impl_.cert_policy_; -} -inline ::opi_api::security::v1::CertPolicy* RemoteAuth::mutable_cert_policy() { - ::opi_api::security::v1::CertPolicy* _msg = _internal_mutable_cert_policy(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.RemoteAuth.cert_policy) - return _msg; -} -inline void RemoteAuth::set_allocated_cert_policy(::opi_api::security::v1::CertPolicy* cert_policy) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cert_policy_; - } - if (cert_policy) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cert_policy); - if (message_arena != submessage_arena) { - cert_policy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert_policy, submessage_arena); - } - - } else { - - } - _impl_.cert_policy_ = cert_policy; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.RemoteAuth.cert_policy) -} - -// .opi_api.security.v1.Certs certs = 6; -inline bool RemoteAuth::_internal_has_certs() const { - return this != internal_default_instance() && _impl_.certs_ != nullptr; -} -inline bool RemoteAuth::has_certs() const { - return _internal_has_certs(); -} -inline void RemoteAuth::clear_certs() { - if (GetArenaForAllocation() == nullptr && _impl_.certs_ != nullptr) { - delete _impl_.certs_; - } - _impl_.certs_ = nullptr; -} -inline const ::opi_api::security::v1::Certs& RemoteAuth::_internal_certs() const { - const ::opi_api::security::v1::Certs* p = _impl_.certs_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Certs_default_instance_); -} -inline const ::opi_api::security::v1::Certs& RemoteAuth::certs() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.RemoteAuth.certs) - return _internal_certs(); -} -inline void RemoteAuth::unsafe_arena_set_allocated_certs( - ::opi_api::security::v1::Certs* certs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.certs_); - } - _impl_.certs_ = certs; - if (certs) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.RemoteAuth.certs) -} -inline ::opi_api::security::v1::Certs* RemoteAuth::release_certs() { - - ::opi_api::security::v1::Certs* temp = _impl_.certs_; - _impl_.certs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Certs* RemoteAuth::unsafe_arena_release_certs() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.RemoteAuth.certs) - - ::opi_api::security::v1::Certs* temp = _impl_.certs_; - _impl_.certs_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Certs* RemoteAuth::_internal_mutable_certs() { - - if (_impl_.certs_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Certs>(GetArenaForAllocation()); - _impl_.certs_ = p; - } - return _impl_.certs_; -} -inline ::opi_api::security::v1::Certs* RemoteAuth::mutable_certs() { - ::opi_api::security::v1::Certs* _msg = _internal_mutable_certs(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.RemoteAuth.certs) - return _msg; -} -inline void RemoteAuth::set_allocated_certs(::opi_api::security::v1::Certs* certs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.certs_; - } - if (certs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(certs); - if (message_arena != submessage_arena) { - certs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, certs, submessage_arena); - } - - } else { - - } - _impl_.certs_ = certs; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.RemoteAuth.certs) -} - -// .opi_api.security.v1.CaCerts ca_certs = 7; -inline bool RemoteAuth::_internal_has_ca_certs() const { - return this != internal_default_instance() && _impl_.ca_certs_ != nullptr; -} -inline bool RemoteAuth::has_ca_certs() const { - return _internal_has_ca_certs(); -} -inline void RemoteAuth::clear_ca_certs() { - if (GetArenaForAllocation() == nullptr && _impl_.ca_certs_ != nullptr) { - delete _impl_.ca_certs_; - } - _impl_.ca_certs_ = nullptr; -} -inline const ::opi_api::security::v1::CaCerts& RemoteAuth::_internal_ca_certs() const { - const ::opi_api::security::v1::CaCerts* p = _impl_.ca_certs_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_CaCerts_default_instance_); -} -inline const ::opi_api::security::v1::CaCerts& RemoteAuth::ca_certs() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.RemoteAuth.ca_certs) - return _internal_ca_certs(); -} -inline void RemoteAuth::unsafe_arena_set_allocated_ca_certs( - ::opi_api::security::v1::CaCerts* ca_certs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ca_certs_); - } - _impl_.ca_certs_ = ca_certs; - if (ca_certs) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.RemoteAuth.ca_certs) -} -inline ::opi_api::security::v1::CaCerts* RemoteAuth::release_ca_certs() { - - ::opi_api::security::v1::CaCerts* temp = _impl_.ca_certs_; - _impl_.ca_certs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::CaCerts* RemoteAuth::unsafe_arena_release_ca_certs() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.RemoteAuth.ca_certs) - - ::opi_api::security::v1::CaCerts* temp = _impl_.ca_certs_; - _impl_.ca_certs_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::CaCerts* RemoteAuth::_internal_mutable_ca_certs() { - - if (_impl_.ca_certs_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::CaCerts>(GetArenaForAllocation()); - _impl_.ca_certs_ = p; - } - return _impl_.ca_certs_; -} -inline ::opi_api::security::v1::CaCerts* RemoteAuth::mutable_ca_certs() { - ::opi_api::security::v1::CaCerts* _msg = _internal_mutable_ca_certs(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.RemoteAuth.ca_certs) - return _msg; -} -inline void RemoteAuth::set_allocated_ca_certs(::opi_api::security::v1::CaCerts* ca_certs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.ca_certs_; - } - if (ca_certs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ca_certs); - if (message_arena != submessage_arena) { - ca_certs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ca_certs, submessage_arena); - } - - } else { - - } - _impl_.ca_certs_ = ca_certs; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.RemoteAuth.ca_certs) -} - -// .opi_api.security.v1.PubKeys pubkeys = 8; -inline bool RemoteAuth::_internal_has_pubkeys() const { - return this != internal_default_instance() && _impl_.pubkeys_ != nullptr; -} -inline bool RemoteAuth::has_pubkeys() const { - return _internal_has_pubkeys(); -} -inline void RemoteAuth::clear_pubkeys() { - if (GetArenaForAllocation() == nullptr && _impl_.pubkeys_ != nullptr) { - delete _impl_.pubkeys_; - } - _impl_.pubkeys_ = nullptr; -} -inline const ::opi_api::security::v1::PubKeys& RemoteAuth::_internal_pubkeys() const { - const ::opi_api::security::v1::PubKeys* p = _impl_.pubkeys_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_PubKeys_default_instance_); -} -inline const ::opi_api::security::v1::PubKeys& RemoteAuth::pubkeys() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.RemoteAuth.pubkeys) - return _internal_pubkeys(); -} -inline void RemoteAuth::unsafe_arena_set_allocated_pubkeys( - ::opi_api::security::v1::PubKeys* pubkeys) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pubkeys_); - } - _impl_.pubkeys_ = pubkeys; - if (pubkeys) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.RemoteAuth.pubkeys) -} -inline ::opi_api::security::v1::PubKeys* RemoteAuth::release_pubkeys() { - - ::opi_api::security::v1::PubKeys* temp = _impl_.pubkeys_; - _impl_.pubkeys_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::PubKeys* RemoteAuth::unsafe_arena_release_pubkeys() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.RemoteAuth.pubkeys) - - ::opi_api::security::v1::PubKeys* temp = _impl_.pubkeys_; - _impl_.pubkeys_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::PubKeys* RemoteAuth::_internal_mutable_pubkeys() { - - if (_impl_.pubkeys_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::PubKeys>(GetArenaForAllocation()); - _impl_.pubkeys_ = p; - } - return _impl_.pubkeys_; -} -inline ::opi_api::security::v1::PubKeys* RemoteAuth::mutable_pubkeys() { - ::opi_api::security::v1::PubKeys* _msg = _internal_mutable_pubkeys(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.RemoteAuth.pubkeys) - return _msg; -} -inline void RemoteAuth::set_allocated_pubkeys(::opi_api::security::v1::PubKeys* pubkeys) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.pubkeys_; - } - if (pubkeys) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pubkeys); - if (message_arena != submessage_arena) { - pubkeys = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pubkeys, submessage_arena); - } - - } else { - - } - _impl_.pubkeys_ = pubkeys; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.RemoteAuth.pubkeys) -} - -// ------------------------------------------------------------------- - -// TrafficSelectors_TrafficSelector - -// string cidr = 1; -inline void TrafficSelectors_TrafficSelector::clear_cidr() { - _impl_.cidr_.ClearToEmpty(); -} -inline const std::string& TrafficSelectors_TrafficSelector::cidr() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.TrafficSelectors.TrafficSelector.cidr) - return _internal_cidr(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TrafficSelectors_TrafficSelector::set_cidr(ArgT0&& arg0, ArgT... args) { - - _impl_.cidr_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.TrafficSelectors.TrafficSelector.cidr) -} -inline std::string* TrafficSelectors_TrafficSelector::mutable_cidr() { - std::string* _s = _internal_mutable_cidr(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.TrafficSelectors.TrafficSelector.cidr) - return _s; -} -inline const std::string& TrafficSelectors_TrafficSelector::_internal_cidr() const { - return _impl_.cidr_.Get(); -} -inline void TrafficSelectors_TrafficSelector::_internal_set_cidr(const std::string& value) { - - _impl_.cidr_.Set(value, GetArenaForAllocation()); -} -inline std::string* TrafficSelectors_TrafficSelector::_internal_mutable_cidr() { - - return _impl_.cidr_.Mutable(GetArenaForAllocation()); -} -inline std::string* TrafficSelectors_TrafficSelector::release_cidr() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.TrafficSelectors.TrafficSelector.cidr) - return _impl_.cidr_.Release(); -} -inline void TrafficSelectors_TrafficSelector::set_allocated_cidr(std::string* cidr) { - if (cidr != nullptr) { - - } else { - - } - _impl_.cidr_.SetAllocated(cidr, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cidr_.IsDefault()) { - _impl_.cidr_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.TrafficSelectors.TrafficSelector.cidr) -} - -// string proto = 2; -inline void TrafficSelectors_TrafficSelector::clear_proto() { - _impl_.proto_.ClearToEmpty(); -} -inline const std::string& TrafficSelectors_TrafficSelector::proto() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.TrafficSelectors.TrafficSelector.proto) - return _internal_proto(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TrafficSelectors_TrafficSelector::set_proto(ArgT0&& arg0, ArgT... args) { - - _impl_.proto_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.TrafficSelectors.TrafficSelector.proto) -} -inline std::string* TrafficSelectors_TrafficSelector::mutable_proto() { - std::string* _s = _internal_mutable_proto(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.TrafficSelectors.TrafficSelector.proto) - return _s; -} -inline const std::string& TrafficSelectors_TrafficSelector::_internal_proto() const { - return _impl_.proto_.Get(); -} -inline void TrafficSelectors_TrafficSelector::_internal_set_proto(const std::string& value) { - - _impl_.proto_.Set(value, GetArenaForAllocation()); -} -inline std::string* TrafficSelectors_TrafficSelector::_internal_mutable_proto() { - - return _impl_.proto_.Mutable(GetArenaForAllocation()); -} -inline std::string* TrafficSelectors_TrafficSelector::release_proto() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.TrafficSelectors.TrafficSelector.proto) - return _impl_.proto_.Release(); -} -inline void TrafficSelectors_TrafficSelector::set_allocated_proto(std::string* proto) { - if (proto != nullptr) { - - } else { - - } - _impl_.proto_.SetAllocated(proto, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.proto_.IsDefault()) { - _impl_.proto_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.TrafficSelectors.TrafficSelector.proto) -} - -// string port = 3; -inline void TrafficSelectors_TrafficSelector::clear_port() { - _impl_.port_.ClearToEmpty(); -} -inline const std::string& TrafficSelectors_TrafficSelector::port() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.TrafficSelectors.TrafficSelector.port) - return _internal_port(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TrafficSelectors_TrafficSelector::set_port(ArgT0&& arg0, ArgT... args) { - - _impl_.port_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.TrafficSelectors.TrafficSelector.port) -} -inline std::string* TrafficSelectors_TrafficSelector::mutable_port() { - std::string* _s = _internal_mutable_port(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.TrafficSelectors.TrafficSelector.port) - return _s; -} -inline const std::string& TrafficSelectors_TrafficSelector::_internal_port() const { - return _impl_.port_.Get(); -} -inline void TrafficSelectors_TrafficSelector::_internal_set_port(const std::string& value) { - - _impl_.port_.Set(value, GetArenaForAllocation()); -} -inline std::string* TrafficSelectors_TrafficSelector::_internal_mutable_port() { - - return _impl_.port_.Mutable(GetArenaForAllocation()); -} -inline std::string* TrafficSelectors_TrafficSelector::release_port() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.TrafficSelectors.TrafficSelector.port) - return _impl_.port_.Release(); -} -inline void TrafficSelectors_TrafficSelector::set_allocated_port(std::string* port) { - if (port != nullptr) { - - } else { - - } - _impl_.port_.SetAllocated(port, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.port_.IsDefault()) { - _impl_.port_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.TrafficSelectors.TrafficSelector.port) -} - -// ------------------------------------------------------------------- - -// TrafficSelectors - -// repeated .opi_api.security.v1.TrafficSelectors.TrafficSelector ts = 1; -inline int TrafficSelectors::_internal_ts_size() const { - return _impl_.ts_.size(); -} -inline int TrafficSelectors::ts_size() const { - return _internal_ts_size(); -} -inline void TrafficSelectors::clear_ts() { - _impl_.ts_.Clear(); -} -inline ::opi_api::security::v1::TrafficSelectors_TrafficSelector* TrafficSelectors::mutable_ts(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.TrafficSelectors.ts) - return _impl_.ts_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::TrafficSelectors_TrafficSelector >* -TrafficSelectors::mutable_ts() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.TrafficSelectors.ts) - return &_impl_.ts_; -} -inline const ::opi_api::security::v1::TrafficSelectors_TrafficSelector& TrafficSelectors::_internal_ts(int index) const { - return _impl_.ts_.Get(index); -} -inline const ::opi_api::security::v1::TrafficSelectors_TrafficSelector& TrafficSelectors::ts(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.TrafficSelectors.ts) - return _internal_ts(index); -} -inline ::opi_api::security::v1::TrafficSelectors_TrafficSelector* TrafficSelectors::_internal_add_ts() { - return _impl_.ts_.Add(); -} -inline ::opi_api::security::v1::TrafficSelectors_TrafficSelector* TrafficSelectors::add_ts() { - ::opi_api::security::v1::TrafficSelectors_TrafficSelector* _add = _internal_add_ts(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.TrafficSelectors.ts) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::TrafficSelectors_TrafficSelector >& -TrafficSelectors::ts() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.TrafficSelectors.ts) - return _impl_.ts_; -} - -// ------------------------------------------------------------------- - -// Addrs - -// string addr = 1; -inline void Addrs::clear_addr() { - _impl_.addr_.ClearToEmpty(); -} -inline const std::string& Addrs::addr() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Addrs.addr) - return _internal_addr(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Addrs::set_addr(ArgT0&& arg0, ArgT... args) { - - _impl_.addr_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Addrs.addr) -} -inline std::string* Addrs::mutable_addr() { - std::string* _s = _internal_mutable_addr(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Addrs.addr) - return _s; -} -inline const std::string& Addrs::_internal_addr() const { - return _impl_.addr_.Get(); -} -inline void Addrs::_internal_set_addr(const std::string& value) { - - _impl_.addr_.Set(value, GetArenaForAllocation()); -} -inline std::string* Addrs::_internal_mutable_addr() { - - return _impl_.addr_.Mutable(GetArenaForAllocation()); -} -inline std::string* Addrs::release_addr() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Addrs.addr) - return _impl_.addr_.Release(); -} -inline void Addrs::set_allocated_addr(std::string* addr) { - if (addr != nullptr) { - - } else { - - } - _impl_.addr_.SetAllocated(addr, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.addr_.IsDefault()) { - _impl_.addr_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Addrs.addr) -} - -// ------------------------------------------------------------------- - -// Child - -// string name = 1; -inline void Child::clear_name() { - _impl_.name_.ClearToEmpty(); -} -inline const std::string& Child::name() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Child::set_name(ArgT0&& arg0, ArgT... args) { - - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.name) -} -inline std::string* Child::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Child.name) - return _s; -} -inline const std::string& Child::_internal_name() const { - return _impl_.name_.Get(); -} -inline void Child::_internal_set_name(const std::string& value) { - - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* Child::_internal_mutable_name() { - - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* Child::release_name() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Child.name) - return _impl_.name_.Release(); -} -inline void Child::set_allocated_name(std::string* name) { - if (name != nullptr) { - - } else { - - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Child.name) -} - -// .opi_api.security.v1.Proposals ag_proposals = 2; -inline bool Child::_internal_has_ag_proposals() const { - return this != internal_default_instance() && _impl_.ag_proposals_ != nullptr; -} -inline bool Child::has_ag_proposals() const { - return _internal_has_ag_proposals(); -} -inline void Child::clear_ag_proposals() { - if (GetArenaForAllocation() == nullptr && _impl_.ag_proposals_ != nullptr) { - delete _impl_.ag_proposals_; - } - _impl_.ag_proposals_ = nullptr; -} -inline const ::opi_api::security::v1::Proposals& Child::_internal_ag_proposals() const { - const ::opi_api::security::v1::Proposals* p = _impl_.ag_proposals_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Proposals_default_instance_); -} -inline const ::opi_api::security::v1::Proposals& Child::ag_proposals() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.ag_proposals) - return _internal_ag_proposals(); -} -inline void Child::unsafe_arena_set_allocated_ag_proposals( - ::opi_api::security::v1::Proposals* ag_proposals) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ag_proposals_); - } - _impl_.ag_proposals_ = ag_proposals; - if (ag_proposals) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.Child.ag_proposals) -} -inline ::opi_api::security::v1::Proposals* Child::release_ag_proposals() { - - ::opi_api::security::v1::Proposals* temp = _impl_.ag_proposals_; - _impl_.ag_proposals_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Proposals* Child::unsafe_arena_release_ag_proposals() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Child.ag_proposals) - - ::opi_api::security::v1::Proposals* temp = _impl_.ag_proposals_; - _impl_.ag_proposals_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Proposals* Child::_internal_mutable_ag_proposals() { - - if (_impl_.ag_proposals_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Proposals>(GetArenaForAllocation()); - _impl_.ag_proposals_ = p; - } - return _impl_.ag_proposals_; -} -inline ::opi_api::security::v1::Proposals* Child::mutable_ag_proposals() { - ::opi_api::security::v1::Proposals* _msg = _internal_mutable_ag_proposals(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Child.ag_proposals) - return _msg; -} -inline void Child::set_allocated_ag_proposals(::opi_api::security::v1::Proposals* ag_proposals) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.ag_proposals_; - } - if (ag_proposals) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ag_proposals); - if (message_arena != submessage_arena) { - ag_proposals = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ag_proposals, submessage_arena); - } - - } else { - - } - _impl_.ag_proposals_ = ag_proposals; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Child.ag_proposals) -} - -// .opi_api.security.v1.Proposals esp_proposals = 3; -inline bool Child::_internal_has_esp_proposals() const { - return this != internal_default_instance() && _impl_.esp_proposals_ != nullptr; -} -inline bool Child::has_esp_proposals() const { - return _internal_has_esp_proposals(); -} -inline void Child::clear_esp_proposals() { - if (GetArenaForAllocation() == nullptr && _impl_.esp_proposals_ != nullptr) { - delete _impl_.esp_proposals_; - } - _impl_.esp_proposals_ = nullptr; -} -inline const ::opi_api::security::v1::Proposals& Child::_internal_esp_proposals() const { - const ::opi_api::security::v1::Proposals* p = _impl_.esp_proposals_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Proposals_default_instance_); -} -inline const ::opi_api::security::v1::Proposals& Child::esp_proposals() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.esp_proposals) - return _internal_esp_proposals(); -} -inline void Child::unsafe_arena_set_allocated_esp_proposals( - ::opi_api::security::v1::Proposals* esp_proposals) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.esp_proposals_); - } - _impl_.esp_proposals_ = esp_proposals; - if (esp_proposals) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.Child.esp_proposals) -} -inline ::opi_api::security::v1::Proposals* Child::release_esp_proposals() { - - ::opi_api::security::v1::Proposals* temp = _impl_.esp_proposals_; - _impl_.esp_proposals_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Proposals* Child::unsafe_arena_release_esp_proposals() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Child.esp_proposals) - - ::opi_api::security::v1::Proposals* temp = _impl_.esp_proposals_; - _impl_.esp_proposals_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Proposals* Child::_internal_mutable_esp_proposals() { - - if (_impl_.esp_proposals_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Proposals>(GetArenaForAllocation()); - _impl_.esp_proposals_ = p; - } - return _impl_.esp_proposals_; -} -inline ::opi_api::security::v1::Proposals* Child::mutable_esp_proposals() { - ::opi_api::security::v1::Proposals* _msg = _internal_mutable_esp_proposals(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Child.esp_proposals) - return _msg; -} -inline void Child::set_allocated_esp_proposals(::opi_api::security::v1::Proposals* esp_proposals) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.esp_proposals_; - } - if (esp_proposals) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(esp_proposals); - if (message_arena != submessage_arena) { - esp_proposals = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, esp_proposals, submessage_arena); - } - - } else { - - } - _impl_.esp_proposals_ = esp_proposals; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Child.esp_proposals) -} - -// .opi_api.security.v1.TrafficSelectors local_ts = 4; -inline bool Child::_internal_has_local_ts() const { - return this != internal_default_instance() && _impl_.local_ts_ != nullptr; -} -inline bool Child::has_local_ts() const { - return _internal_has_local_ts(); -} -inline void Child::clear_local_ts() { - if (GetArenaForAllocation() == nullptr && _impl_.local_ts_ != nullptr) { - delete _impl_.local_ts_; - } - _impl_.local_ts_ = nullptr; -} -inline const ::opi_api::security::v1::TrafficSelectors& Child::_internal_local_ts() const { - const ::opi_api::security::v1::TrafficSelectors* p = _impl_.local_ts_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_TrafficSelectors_default_instance_); -} -inline const ::opi_api::security::v1::TrafficSelectors& Child::local_ts() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.local_ts) - return _internal_local_ts(); -} -inline void Child::unsafe_arena_set_allocated_local_ts( - ::opi_api::security::v1::TrafficSelectors* local_ts) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.local_ts_); - } - _impl_.local_ts_ = local_ts; - if (local_ts) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.Child.local_ts) -} -inline ::opi_api::security::v1::TrafficSelectors* Child::release_local_ts() { - - ::opi_api::security::v1::TrafficSelectors* temp = _impl_.local_ts_; - _impl_.local_ts_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::TrafficSelectors* Child::unsafe_arena_release_local_ts() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Child.local_ts) - - ::opi_api::security::v1::TrafficSelectors* temp = _impl_.local_ts_; - _impl_.local_ts_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::TrafficSelectors* Child::_internal_mutable_local_ts() { - - if (_impl_.local_ts_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::TrafficSelectors>(GetArenaForAllocation()); - _impl_.local_ts_ = p; - } - return _impl_.local_ts_; -} -inline ::opi_api::security::v1::TrafficSelectors* Child::mutable_local_ts() { - ::opi_api::security::v1::TrafficSelectors* _msg = _internal_mutable_local_ts(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Child.local_ts) - return _msg; -} -inline void Child::set_allocated_local_ts(::opi_api::security::v1::TrafficSelectors* local_ts) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.local_ts_; - } - if (local_ts) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(local_ts); - if (message_arena != submessage_arena) { - local_ts = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, local_ts, submessage_arena); - } - - } else { - - } - _impl_.local_ts_ = local_ts; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Child.local_ts) -} - -// .opi_api.security.v1.TrafficSelectors remote_ts = 5; -inline bool Child::_internal_has_remote_ts() const { - return this != internal_default_instance() && _impl_.remote_ts_ != nullptr; -} -inline bool Child::has_remote_ts() const { - return _internal_has_remote_ts(); -} -inline void Child::clear_remote_ts() { - if (GetArenaForAllocation() == nullptr && _impl_.remote_ts_ != nullptr) { - delete _impl_.remote_ts_; - } - _impl_.remote_ts_ = nullptr; -} -inline const ::opi_api::security::v1::TrafficSelectors& Child::_internal_remote_ts() const { - const ::opi_api::security::v1::TrafficSelectors* p = _impl_.remote_ts_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_TrafficSelectors_default_instance_); -} -inline const ::opi_api::security::v1::TrafficSelectors& Child::remote_ts() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.remote_ts) - return _internal_remote_ts(); -} -inline void Child::unsafe_arena_set_allocated_remote_ts( - ::opi_api::security::v1::TrafficSelectors* remote_ts) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.remote_ts_); - } - _impl_.remote_ts_ = remote_ts; - if (remote_ts) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.Child.remote_ts) -} -inline ::opi_api::security::v1::TrafficSelectors* Child::release_remote_ts() { - - ::opi_api::security::v1::TrafficSelectors* temp = _impl_.remote_ts_; - _impl_.remote_ts_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::TrafficSelectors* Child::unsafe_arena_release_remote_ts() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Child.remote_ts) - - ::opi_api::security::v1::TrafficSelectors* temp = _impl_.remote_ts_; - _impl_.remote_ts_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::TrafficSelectors* Child::_internal_mutable_remote_ts() { - - if (_impl_.remote_ts_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::TrafficSelectors>(GetArenaForAllocation()); - _impl_.remote_ts_ = p; - } - return _impl_.remote_ts_; -} -inline ::opi_api::security::v1::TrafficSelectors* Child::mutable_remote_ts() { - ::opi_api::security::v1::TrafficSelectors* _msg = _internal_mutable_remote_ts(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Child.remote_ts) - return _msg; -} -inline void Child::set_allocated_remote_ts(::opi_api::security::v1::TrafficSelectors* remote_ts) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.remote_ts_; - } - if (remote_ts) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(remote_ts); - if (message_arena != submessage_arena) { - remote_ts = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, remote_ts, submessage_arena); - } - - } else { - - } - _impl_.remote_ts_ = remote_ts; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Child.remote_ts) -} - -// uint32 rekey_time = 6; -inline void Child::clear_rekey_time() { - _impl_.rekey_time_ = 0u; -} -inline uint32_t Child::_internal_rekey_time() const { - return _impl_.rekey_time_; -} -inline uint32_t Child::rekey_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.rekey_time) - return _internal_rekey_time(); -} -inline void Child::_internal_set_rekey_time(uint32_t value) { - - _impl_.rekey_time_ = value; -} -inline void Child::set_rekey_time(uint32_t value) { - _internal_set_rekey_time(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.rekey_time) -} - -// uint32 life_time = 7; -inline void Child::clear_life_time() { - _impl_.life_time_ = 0u; -} -inline uint32_t Child::_internal_life_time() const { - return _impl_.life_time_; -} -inline uint32_t Child::life_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.life_time) - return _internal_life_time(); -} -inline void Child::_internal_set_life_time(uint32_t value) { - - _impl_.life_time_ = value; -} -inline void Child::set_life_time(uint32_t value) { - _internal_set_life_time(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.life_time) -} - -// uint32 rand_time = 8; -inline void Child::clear_rand_time() { - _impl_.rand_time_ = 0u; -} -inline uint32_t Child::_internal_rand_time() const { - return _impl_.rand_time_; -} -inline uint32_t Child::rand_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.rand_time) - return _internal_rand_time(); -} -inline void Child::_internal_set_rand_time(uint32_t value) { - - _impl_.rand_time_ = value; -} -inline void Child::set_rand_time(uint32_t value) { - _internal_set_rand_time(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.rand_time) -} - -// string updown = 9; -inline void Child::clear_updown() { - _impl_.updown_.ClearToEmpty(); -} -inline const std::string& Child::updown() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.updown) - return _internal_updown(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Child::set_updown(ArgT0&& arg0, ArgT... args) { - - _impl_.updown_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.updown) -} -inline std::string* Child::mutable_updown() { - std::string* _s = _internal_mutable_updown(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Child.updown) - return _s; -} -inline const std::string& Child::_internal_updown() const { - return _impl_.updown_.Get(); -} -inline void Child::_internal_set_updown(const std::string& value) { - - _impl_.updown_.Set(value, GetArenaForAllocation()); -} -inline std::string* Child::_internal_mutable_updown() { - - return _impl_.updown_.Mutable(GetArenaForAllocation()); -} -inline std::string* Child::release_updown() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Child.updown) - return _impl_.updown_.Release(); -} -inline void Child::set_allocated_updown(std::string* updown) { - if (updown != nullptr) { - - } else { - - } - _impl_.updown_.SetAllocated(updown, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.updown_.IsDefault()) { - _impl_.updown_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Child.updown) -} - -// uint32 inactivity = 10; -inline void Child::clear_inactivity() { - _impl_.inactivity_ = 0u; -} -inline uint32_t Child::_internal_inactivity() const { - return _impl_.inactivity_; -} -inline uint32_t Child::inactivity() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.inactivity) - return _internal_inactivity(); -} -inline void Child::_internal_set_inactivity(uint32_t value) { - - _impl_.inactivity_ = value; -} -inline void Child::set_inactivity(uint32_t value) { - _internal_set_inactivity(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.inactivity) -} - -// uint32 mark_in = 11; -inline void Child::clear_mark_in() { - _impl_.mark_in_ = 0u; -} -inline uint32_t Child::_internal_mark_in() const { - return _impl_.mark_in_; -} -inline uint32_t Child::mark_in() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.mark_in) - return _internal_mark_in(); -} -inline void Child::_internal_set_mark_in(uint32_t value) { - - _impl_.mark_in_ = value; -} -inline void Child::set_mark_in(uint32_t value) { - _internal_set_mark_in(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.mark_in) -} - -// string mark_in_sa = 12; -inline void Child::clear_mark_in_sa() { - _impl_.mark_in_sa_.ClearToEmpty(); -} -inline const std::string& Child::mark_in_sa() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.mark_in_sa) - return _internal_mark_in_sa(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Child::set_mark_in_sa(ArgT0&& arg0, ArgT... args) { - - _impl_.mark_in_sa_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.mark_in_sa) -} -inline std::string* Child::mutable_mark_in_sa() { - std::string* _s = _internal_mutable_mark_in_sa(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Child.mark_in_sa) - return _s; -} -inline const std::string& Child::_internal_mark_in_sa() const { - return _impl_.mark_in_sa_.Get(); -} -inline void Child::_internal_set_mark_in_sa(const std::string& value) { - - _impl_.mark_in_sa_.Set(value, GetArenaForAllocation()); -} -inline std::string* Child::_internal_mutable_mark_in_sa() { - - return _impl_.mark_in_sa_.Mutable(GetArenaForAllocation()); -} -inline std::string* Child::release_mark_in_sa() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Child.mark_in_sa) - return _impl_.mark_in_sa_.Release(); -} -inline void Child::set_allocated_mark_in_sa(std::string* mark_in_sa) { - if (mark_in_sa != nullptr) { - - } else { - - } - _impl_.mark_in_sa_.SetAllocated(mark_in_sa, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mark_in_sa_.IsDefault()) { - _impl_.mark_in_sa_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Child.mark_in_sa) -} - -// uint32 mark_out = 13; -inline void Child::clear_mark_out() { - _impl_.mark_out_ = 0u; -} -inline uint32_t Child::_internal_mark_out() const { - return _impl_.mark_out_; -} -inline uint32_t Child::mark_out() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.mark_out) - return _internal_mark_out(); -} -inline void Child::_internal_set_mark_out(uint32_t value) { - - _impl_.mark_out_ = value; -} -inline void Child::set_mark_out(uint32_t value) { - _internal_set_mark_out(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.mark_out) -} - -// uint32 set_mark_in = 14; -inline void Child::clear_set_mark_in() { - _impl_.set_mark_in_ = 0u; -} -inline uint32_t Child::_internal_set_mark_in() const { - return _impl_.set_mark_in_; -} -inline uint32_t Child::set_mark_in() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.set_mark_in) - return _internal_set_mark_in(); -} -inline void Child::_internal_set_set_mark_in(uint32_t value) { - - _impl_.set_mark_in_ = value; -} -inline void Child::set_set_mark_in(uint32_t value) { - _internal_set_set_mark_in(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.set_mark_in) -} - -// uint32 set_mark_out = 15; -inline void Child::clear_set_mark_out() { - _impl_.set_mark_out_ = 0u; -} -inline uint32_t Child::_internal_set_mark_out() const { - return _impl_.set_mark_out_; -} -inline uint32_t Child::set_mark_out() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.set_mark_out) - return _internal_set_mark_out(); -} -inline void Child::_internal_set_set_mark_out(uint32_t value) { - - _impl_.set_mark_out_ = value; -} -inline void Child::set_set_mark_out(uint32_t value) { - _internal_set_set_mark_out(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.set_mark_out) -} - -// string hw_offload = 16; -inline void Child::clear_hw_offload() { - _impl_.hw_offload_.ClearToEmpty(); -} -inline const std::string& Child::hw_offload() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Child.hw_offload) - return _internal_hw_offload(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Child::set_hw_offload(ArgT0&& arg0, ArgT... args) { - - _impl_.hw_offload_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Child.hw_offload) -} -inline std::string* Child::mutable_hw_offload() { - std::string* _s = _internal_mutable_hw_offload(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Child.hw_offload) - return _s; -} -inline const std::string& Child::_internal_hw_offload() const { - return _impl_.hw_offload_.Get(); -} -inline void Child::_internal_set_hw_offload(const std::string& value) { - - _impl_.hw_offload_.Set(value, GetArenaForAllocation()); -} -inline std::string* Child::_internal_mutable_hw_offload() { - - return _impl_.hw_offload_.Mutable(GetArenaForAllocation()); -} -inline std::string* Child::release_hw_offload() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Child.hw_offload) - return _impl_.hw_offload_.Release(); -} -inline void Child::set_allocated_hw_offload(std::string* hw_offload) { - if (hw_offload != nullptr) { - - } else { - - } - _impl_.hw_offload_.SetAllocated(hw_offload, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hw_offload_.IsDefault()) { - _impl_.hw_offload_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Child.hw_offload) -} - -// ------------------------------------------------------------------- - -// Connection - -// string name = 1; -inline void Connection::clear_name() { - _impl_.name_.ClearToEmpty(); -} -inline const std::string& Connection::name() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Connection::set_name(ArgT0&& arg0, ArgT... args) { - - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.name) -} -inline std::string* Connection::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.name) - return _s; -} -inline const std::string& Connection::_internal_name() const { - return _impl_.name_.Get(); -} -inline void Connection::_internal_set_name(const std::string& value) { - - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* Connection::_internal_mutable_name() { - - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* Connection::release_name() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Connection.name) - return _impl_.name_.Release(); -} -inline void Connection::set_allocated_name(std::string* name) { - if (name != nullptr) { - - } else { - - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Connection.name) -} - -// string version = 2; -inline void Connection::clear_version() { - _impl_.version_.ClearToEmpty(); -} -inline const std::string& Connection::version() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.version) - return _internal_version(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Connection::set_version(ArgT0&& arg0, ArgT... args) { - - _impl_.version_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.version) -} -inline std::string* Connection::mutable_version() { - std::string* _s = _internal_mutable_version(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.version) - return _s; -} -inline const std::string& Connection::_internal_version() const { - return _impl_.version_.Get(); -} -inline void Connection::_internal_set_version(const std::string& value) { - - _impl_.version_.Set(value, GetArenaForAllocation()); -} -inline std::string* Connection::_internal_mutable_version() { - - return _impl_.version_.Mutable(GetArenaForAllocation()); -} -inline std::string* Connection::release_version() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Connection.version) - return _impl_.version_.Release(); -} -inline void Connection::set_allocated_version(std::string* version) { - if (version != nullptr) { - - } else { - - } - _impl_.version_.SetAllocated(version, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.version_.IsDefault()) { - _impl_.version_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Connection.version) -} - -// repeated .opi_api.security.v1.Addrs local_addrs = 3; -inline int Connection::_internal_local_addrs_size() const { - return _impl_.local_addrs_.size(); -} -inline int Connection::local_addrs_size() const { - return _internal_local_addrs_size(); -} -inline void Connection::clear_local_addrs() { - _impl_.local_addrs_.Clear(); -} -inline ::opi_api::security::v1::Addrs* Connection::mutable_local_addrs(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.local_addrs) - return _impl_.local_addrs_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >* -Connection::mutable_local_addrs() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Connection.local_addrs) - return &_impl_.local_addrs_; -} -inline const ::opi_api::security::v1::Addrs& Connection::_internal_local_addrs(int index) const { - return _impl_.local_addrs_.Get(index); -} -inline const ::opi_api::security::v1::Addrs& Connection::local_addrs(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.local_addrs) - return _internal_local_addrs(index); -} -inline ::opi_api::security::v1::Addrs* Connection::_internal_add_local_addrs() { - return _impl_.local_addrs_.Add(); -} -inline ::opi_api::security::v1::Addrs* Connection::add_local_addrs() { - ::opi_api::security::v1::Addrs* _add = _internal_add_local_addrs(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Connection.local_addrs) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >& -Connection::local_addrs() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Connection.local_addrs) - return _impl_.local_addrs_; -} - -// repeated .opi_api.security.v1.Addrs remote_addrs = 4; -inline int Connection::_internal_remote_addrs_size() const { - return _impl_.remote_addrs_.size(); -} -inline int Connection::remote_addrs_size() const { - return _internal_remote_addrs_size(); -} -inline void Connection::clear_remote_addrs() { - _impl_.remote_addrs_.Clear(); -} -inline ::opi_api::security::v1::Addrs* Connection::mutable_remote_addrs(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.remote_addrs) - return _impl_.remote_addrs_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >* -Connection::mutable_remote_addrs() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Connection.remote_addrs) - return &_impl_.remote_addrs_; -} -inline const ::opi_api::security::v1::Addrs& Connection::_internal_remote_addrs(int index) const { - return _impl_.remote_addrs_.Get(index); -} -inline const ::opi_api::security::v1::Addrs& Connection::remote_addrs(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.remote_addrs) - return _internal_remote_addrs(index); -} -inline ::opi_api::security::v1::Addrs* Connection::_internal_add_remote_addrs() { - return _impl_.remote_addrs_.Add(); -} -inline ::opi_api::security::v1::Addrs* Connection::add_remote_addrs() { - ::opi_api::security::v1::Addrs* _add = _internal_add_remote_addrs(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Connection.remote_addrs) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >& -Connection::remote_addrs() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Connection.remote_addrs) - return _impl_.remote_addrs_; -} - -// uint32 local_port = 5; -inline void Connection::clear_local_port() { - _impl_.local_port_ = 0u; -} -inline uint32_t Connection::_internal_local_port() const { - return _impl_.local_port_; -} -inline uint32_t Connection::local_port() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.local_port) - return _internal_local_port(); -} -inline void Connection::_internal_set_local_port(uint32_t value) { - - _impl_.local_port_ = value; -} -inline void Connection::set_local_port(uint32_t value) { - _internal_set_local_port(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.local_port) -} - -// uint32 remote_port = 6; -inline void Connection::clear_remote_port() { - _impl_.remote_port_ = 0u; -} -inline uint32_t Connection::_internal_remote_port() const { - return _impl_.remote_port_; -} -inline uint32_t Connection::remote_port() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.remote_port) - return _internal_remote_port(); -} -inline void Connection::_internal_set_remote_port(uint32_t value) { - - _impl_.remote_port_ = value; -} -inline void Connection::set_remote_port(uint32_t value) { - _internal_set_remote_port(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.remote_port) -} - -// .opi_api.security.v1.Proposals proposals = 7; -inline bool Connection::_internal_has_proposals() const { - return this != internal_default_instance() && _impl_.proposals_ != nullptr; -} -inline bool Connection::has_proposals() const { - return _internal_has_proposals(); -} -inline void Connection::clear_proposals() { - if (GetArenaForAllocation() == nullptr && _impl_.proposals_ != nullptr) { - delete _impl_.proposals_; - } - _impl_.proposals_ = nullptr; -} -inline const ::opi_api::security::v1::Proposals& Connection::_internal_proposals() const { - const ::opi_api::security::v1::Proposals* p = _impl_.proposals_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Proposals_default_instance_); -} -inline const ::opi_api::security::v1::Proposals& Connection::proposals() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.proposals) - return _internal_proposals(); -} -inline void Connection::unsafe_arena_set_allocated_proposals( - ::opi_api::security::v1::Proposals* proposals) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.proposals_); - } - _impl_.proposals_ = proposals; - if (proposals) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.Connection.proposals) -} -inline ::opi_api::security::v1::Proposals* Connection::release_proposals() { - - ::opi_api::security::v1::Proposals* temp = _impl_.proposals_; - _impl_.proposals_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Proposals* Connection::unsafe_arena_release_proposals() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Connection.proposals) - - ::opi_api::security::v1::Proposals* temp = _impl_.proposals_; - _impl_.proposals_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Proposals* Connection::_internal_mutable_proposals() { - - if (_impl_.proposals_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Proposals>(GetArenaForAllocation()); - _impl_.proposals_ = p; - } - return _impl_.proposals_; -} -inline ::opi_api::security::v1::Proposals* Connection::mutable_proposals() { - ::opi_api::security::v1::Proposals* _msg = _internal_mutable_proposals(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.proposals) - return _msg; -} -inline void Connection::set_allocated_proposals(::opi_api::security::v1::Proposals* proposals) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.proposals_; - } - if (proposals) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(proposals); - if (message_arena != submessage_arena) { - proposals = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, proposals, submessage_arena); - } - - } else { - - } - _impl_.proposals_ = proposals; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Connection.proposals) -} - -// .opi_api.security.v1.Vips vips = 8; -inline bool Connection::_internal_has_vips() const { - return this != internal_default_instance() && _impl_.vips_ != nullptr; -} -inline bool Connection::has_vips() const { - return _internal_has_vips(); -} -inline void Connection::clear_vips() { - if (GetArenaForAllocation() == nullptr && _impl_.vips_ != nullptr) { - delete _impl_.vips_; - } - _impl_.vips_ = nullptr; -} -inline const ::opi_api::security::v1::Vips& Connection::_internal_vips() const { - const ::opi_api::security::v1::Vips* p = _impl_.vips_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Vips_default_instance_); -} -inline const ::opi_api::security::v1::Vips& Connection::vips() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.vips) - return _internal_vips(); -} -inline void Connection::unsafe_arena_set_allocated_vips( - ::opi_api::security::v1::Vips* vips) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vips_); - } - _impl_.vips_ = vips; - if (vips) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.Connection.vips) -} -inline ::opi_api::security::v1::Vips* Connection::release_vips() { - - ::opi_api::security::v1::Vips* temp = _impl_.vips_; - _impl_.vips_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Vips* Connection::unsafe_arena_release_vips() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Connection.vips) - - ::opi_api::security::v1::Vips* temp = _impl_.vips_; - _impl_.vips_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Vips* Connection::_internal_mutable_vips() { - - if (_impl_.vips_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Vips>(GetArenaForAllocation()); - _impl_.vips_ = p; - } - return _impl_.vips_; -} -inline ::opi_api::security::v1::Vips* Connection::mutable_vips() { - ::opi_api::security::v1::Vips* _msg = _internal_mutable_vips(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.vips) - return _msg; -} -inline void Connection::set_allocated_vips(::opi_api::security::v1::Vips* vips) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.vips_; - } - if (vips) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vips); - if (message_arena != submessage_arena) { - vips = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, vips, submessage_arena); - } - - } else { - - } - _impl_.vips_ = vips; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Connection.vips) -} - -// uint64 dscp = 9; -inline void Connection::clear_dscp() { - _impl_.dscp_ = uint64_t{0u}; -} -inline uint64_t Connection::_internal_dscp() const { - return _impl_.dscp_; -} -inline uint64_t Connection::dscp() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.dscp) - return _internal_dscp(); -} -inline void Connection::_internal_set_dscp(uint64_t value) { - - _impl_.dscp_ = value; -} -inline void Connection::set_dscp(uint64_t value) { - _internal_set_dscp(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.dscp) -} - -// string encap = 10; -inline void Connection::clear_encap() { - _impl_.encap_.ClearToEmpty(); -} -inline const std::string& Connection::encap() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.encap) - return _internal_encap(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Connection::set_encap(ArgT0&& arg0, ArgT... args) { - - _impl_.encap_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.encap) -} -inline std::string* Connection::mutable_encap() { - std::string* _s = _internal_mutable_encap(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.encap) - return _s; -} -inline const std::string& Connection::_internal_encap() const { - return _impl_.encap_.Get(); -} -inline void Connection::_internal_set_encap(const std::string& value) { - - _impl_.encap_.Set(value, GetArenaForAllocation()); -} -inline std::string* Connection::_internal_mutable_encap() { - - return _impl_.encap_.Mutable(GetArenaForAllocation()); -} -inline std::string* Connection::release_encap() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Connection.encap) - return _impl_.encap_.Release(); -} -inline void Connection::set_allocated_encap(std::string* encap) { - if (encap != nullptr) { - - } else { - - } - _impl_.encap_.SetAllocated(encap, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encap_.IsDefault()) { - _impl_.encap_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Connection.encap) -} - -// string mobike = 11; -inline void Connection::clear_mobike() { - _impl_.mobike_.ClearToEmpty(); -} -inline const std::string& Connection::mobike() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.mobike) - return _internal_mobike(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void Connection::set_mobike(ArgT0&& arg0, ArgT... args) { - - _impl_.mobike_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.mobike) -} -inline std::string* Connection::mutable_mobike() { - std::string* _s = _internal_mutable_mobike(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.mobike) - return _s; -} -inline const std::string& Connection::_internal_mobike() const { - return _impl_.mobike_.Get(); -} -inline void Connection::_internal_set_mobike(const std::string& value) { - - _impl_.mobike_.Set(value, GetArenaForAllocation()); -} -inline std::string* Connection::_internal_mutable_mobike() { - - return _impl_.mobike_.Mutable(GetArenaForAllocation()); -} -inline std::string* Connection::release_mobike() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Connection.mobike) - return _impl_.mobike_.Release(); -} -inline void Connection::set_allocated_mobike(std::string* mobike) { - if (mobike != nullptr) { - - } else { - - } - _impl_.mobike_.SetAllocated(mobike, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mobike_.IsDefault()) { - _impl_.mobike_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Connection.mobike) -} - -// uint32 dpd_delay = 12; -inline void Connection::clear_dpd_delay() { - _impl_.dpd_delay_ = 0u; -} -inline uint32_t Connection::_internal_dpd_delay() const { - return _impl_.dpd_delay_; -} -inline uint32_t Connection::dpd_delay() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.dpd_delay) - return _internal_dpd_delay(); -} -inline void Connection::_internal_set_dpd_delay(uint32_t value) { - - _impl_.dpd_delay_ = value; -} -inline void Connection::set_dpd_delay(uint32_t value) { - _internal_set_dpd_delay(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.dpd_delay) -} - -// uint32 dpd_timeout = 13; -inline void Connection::clear_dpd_timeout() { - _impl_.dpd_timeout_ = 0u; -} -inline uint32_t Connection::_internal_dpd_timeout() const { - return _impl_.dpd_timeout_; -} -inline uint32_t Connection::dpd_timeout() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.dpd_timeout) - return _internal_dpd_timeout(); -} -inline void Connection::_internal_set_dpd_timeout(uint32_t value) { - - _impl_.dpd_timeout_ = value; -} -inline void Connection::set_dpd_timeout(uint32_t value) { - _internal_set_dpd_timeout(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.dpd_timeout) -} - -// uint32 reauth_time = 14; -inline void Connection::clear_reauth_time() { - _impl_.reauth_time_ = 0u; -} -inline uint32_t Connection::_internal_reauth_time() const { - return _impl_.reauth_time_; -} -inline uint32_t Connection::reauth_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.reauth_time) - return _internal_reauth_time(); -} -inline void Connection::_internal_set_reauth_time(uint32_t value) { - - _impl_.reauth_time_ = value; -} -inline void Connection::set_reauth_time(uint32_t value) { - _internal_set_reauth_time(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.reauth_time) -} - -// uint32 rekey_time = 15; -inline void Connection::clear_rekey_time() { - _impl_.rekey_time_ = 0u; -} -inline uint32_t Connection::_internal_rekey_time() const { - return _impl_.rekey_time_; -} -inline uint32_t Connection::rekey_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.rekey_time) - return _internal_rekey_time(); -} -inline void Connection::_internal_set_rekey_time(uint32_t value) { - - _impl_.rekey_time_ = value; -} -inline void Connection::set_rekey_time(uint32_t value) { - _internal_set_rekey_time(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.Connection.rekey_time) -} - -// .opi_api.security.v1.Pools pools = 16; -inline bool Connection::_internal_has_pools() const { - return this != internal_default_instance() && _impl_.pools_ != nullptr; -} -inline bool Connection::has_pools() const { - return _internal_has_pools(); -} -inline void Connection::clear_pools() { - if (GetArenaForAllocation() == nullptr && _impl_.pools_ != nullptr) { - delete _impl_.pools_; - } - _impl_.pools_ = nullptr; -} -inline const ::opi_api::security::v1::Pools& Connection::_internal_pools() const { - const ::opi_api::security::v1::Pools* p = _impl_.pools_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Pools_default_instance_); -} -inline const ::opi_api::security::v1::Pools& Connection::pools() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.pools) - return _internal_pools(); -} -inline void Connection::unsafe_arena_set_allocated_pools( - ::opi_api::security::v1::Pools* pools) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pools_); - } - _impl_.pools_ = pools; - if (pools) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.Connection.pools) -} -inline ::opi_api::security::v1::Pools* Connection::release_pools() { - - ::opi_api::security::v1::Pools* temp = _impl_.pools_; - _impl_.pools_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Pools* Connection::unsafe_arena_release_pools() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Connection.pools) - - ::opi_api::security::v1::Pools* temp = _impl_.pools_; - _impl_.pools_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Pools* Connection::_internal_mutable_pools() { - - if (_impl_.pools_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Pools>(GetArenaForAllocation()); - _impl_.pools_ = p; - } - return _impl_.pools_; -} -inline ::opi_api::security::v1::Pools* Connection::mutable_pools() { - ::opi_api::security::v1::Pools* _msg = _internal_mutable_pools(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.pools) - return _msg; -} -inline void Connection::set_allocated_pools(::opi_api::security::v1::Pools* pools) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.pools_; - } - if (pools) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pools); - if (message_arena != submessage_arena) { - pools = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pools, submessage_arena); - } - - } else { - - } - _impl_.pools_ = pools; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Connection.pools) -} - -// .opi_api.security.v1.LocalAuth local_auth = 17; -inline bool Connection::_internal_has_local_auth() const { - return this != internal_default_instance() && _impl_.local_auth_ != nullptr; -} -inline bool Connection::has_local_auth() const { - return _internal_has_local_auth(); -} -inline void Connection::clear_local_auth() { - if (GetArenaForAllocation() == nullptr && _impl_.local_auth_ != nullptr) { - delete _impl_.local_auth_; - } - _impl_.local_auth_ = nullptr; -} -inline const ::opi_api::security::v1::LocalAuth& Connection::_internal_local_auth() const { - const ::opi_api::security::v1::LocalAuth* p = _impl_.local_auth_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_LocalAuth_default_instance_); -} -inline const ::opi_api::security::v1::LocalAuth& Connection::local_auth() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.local_auth) - return _internal_local_auth(); -} -inline void Connection::unsafe_arena_set_allocated_local_auth( - ::opi_api::security::v1::LocalAuth* local_auth) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.local_auth_); - } - _impl_.local_auth_ = local_auth; - if (local_auth) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.Connection.local_auth) -} -inline ::opi_api::security::v1::LocalAuth* Connection::release_local_auth() { - - ::opi_api::security::v1::LocalAuth* temp = _impl_.local_auth_; - _impl_.local_auth_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::LocalAuth* Connection::unsafe_arena_release_local_auth() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Connection.local_auth) - - ::opi_api::security::v1::LocalAuth* temp = _impl_.local_auth_; - _impl_.local_auth_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::LocalAuth* Connection::_internal_mutable_local_auth() { - - if (_impl_.local_auth_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::LocalAuth>(GetArenaForAllocation()); - _impl_.local_auth_ = p; - } - return _impl_.local_auth_; -} -inline ::opi_api::security::v1::LocalAuth* Connection::mutable_local_auth() { - ::opi_api::security::v1::LocalAuth* _msg = _internal_mutable_local_auth(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.local_auth) - return _msg; -} -inline void Connection::set_allocated_local_auth(::opi_api::security::v1::LocalAuth* local_auth) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.local_auth_; - } - if (local_auth) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(local_auth); - if (message_arena != submessage_arena) { - local_auth = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, local_auth, submessage_arena); - } - - } else { - - } - _impl_.local_auth_ = local_auth; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Connection.local_auth) -} - -// .opi_api.security.v1.RemoteAuth remote_auth = 18; -inline bool Connection::_internal_has_remote_auth() const { - return this != internal_default_instance() && _impl_.remote_auth_ != nullptr; -} -inline bool Connection::has_remote_auth() const { - return _internal_has_remote_auth(); -} -inline void Connection::clear_remote_auth() { - if (GetArenaForAllocation() == nullptr && _impl_.remote_auth_ != nullptr) { - delete _impl_.remote_auth_; - } - _impl_.remote_auth_ = nullptr; -} -inline const ::opi_api::security::v1::RemoteAuth& Connection::_internal_remote_auth() const { - const ::opi_api::security::v1::RemoteAuth* p = _impl_.remote_auth_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_RemoteAuth_default_instance_); -} -inline const ::opi_api::security::v1::RemoteAuth& Connection::remote_auth() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.remote_auth) - return _internal_remote_auth(); -} -inline void Connection::unsafe_arena_set_allocated_remote_auth( - ::opi_api::security::v1::RemoteAuth* remote_auth) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.remote_auth_); - } - _impl_.remote_auth_ = remote_auth; - if (remote_auth) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.Connection.remote_auth) -} -inline ::opi_api::security::v1::RemoteAuth* Connection::release_remote_auth() { - - ::opi_api::security::v1::RemoteAuth* temp = _impl_.remote_auth_; - _impl_.remote_auth_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::RemoteAuth* Connection::unsafe_arena_release_remote_auth() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.Connection.remote_auth) - - ::opi_api::security::v1::RemoteAuth* temp = _impl_.remote_auth_; - _impl_.remote_auth_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::RemoteAuth* Connection::_internal_mutable_remote_auth() { - - if (_impl_.remote_auth_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::RemoteAuth>(GetArenaForAllocation()); - _impl_.remote_auth_ = p; - } - return _impl_.remote_auth_; -} -inline ::opi_api::security::v1::RemoteAuth* Connection::mutable_remote_auth() { - ::opi_api::security::v1::RemoteAuth* _msg = _internal_mutable_remote_auth(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.remote_auth) - return _msg; -} -inline void Connection::set_allocated_remote_auth(::opi_api::security::v1::RemoteAuth* remote_auth) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.remote_auth_; - } - if (remote_auth) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(remote_auth); - if (message_arena != submessage_arena) { - remote_auth = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, remote_auth, submessage_arena); - } - - } else { - - } - _impl_.remote_auth_ = remote_auth; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.Connection.remote_auth) -} - -// repeated .opi_api.security.v1.Child children = 19; -inline int Connection::_internal_children_size() const { - return _impl_.children_.size(); -} -inline int Connection::children_size() const { - return _internal_children_size(); -} -inline void Connection::clear_children() { - _impl_.children_.Clear(); -} -inline ::opi_api::security::v1::Child* Connection::mutable_children(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.Connection.children) - return _impl_.children_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Child >* -Connection::mutable_children() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.Connection.children) - return &_impl_.children_; -} -inline const ::opi_api::security::v1::Child& Connection::_internal_children(int index) const { - return _impl_.children_.Get(index); -} -inline const ::opi_api::security::v1::Child& Connection::children(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.Connection.children) - return _internal_children(index); -} -inline ::opi_api::security::v1::Child* Connection::_internal_add_children() { - return _impl_.children_.Add(); -} -inline ::opi_api::security::v1::Child* Connection::add_children() { - ::opi_api::security::v1::Child* _add = _internal_add_children(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.Connection.children) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Child >& -Connection::children() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.Connection.children) - return _impl_.children_; -} - -// ------------------------------------------------------------------- - -// IPsecVersionRequest - -// ------------------------------------------------------------------- - -// IPsecVersionResponse - -// string daemon = 1; -inline void IPsecVersionResponse::clear_daemon() { - _impl_.daemon_.ClearToEmpty(); -} -inline const std::string& IPsecVersionResponse::daemon() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecVersionResponse.daemon) - return _internal_daemon(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecVersionResponse::set_daemon(ArgT0&& arg0, ArgT... args) { - - _impl_.daemon_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecVersionResponse.daemon) -} -inline std::string* IPsecVersionResponse::mutable_daemon() { - std::string* _s = _internal_mutable_daemon(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecVersionResponse.daemon) - return _s; -} -inline const std::string& IPsecVersionResponse::_internal_daemon() const { - return _impl_.daemon_.Get(); -} -inline void IPsecVersionResponse::_internal_set_daemon(const std::string& value) { - - _impl_.daemon_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::_internal_mutable_daemon() { - - return _impl_.daemon_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::release_daemon() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecVersionResponse.daemon) - return _impl_.daemon_.Release(); -} -inline void IPsecVersionResponse::set_allocated_daemon(std::string* daemon) { - if (daemon != nullptr) { - - } else { - - } - _impl_.daemon_.SetAllocated(daemon, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.daemon_.IsDefault()) { - _impl_.daemon_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecVersionResponse.daemon) -} - -// string version = 2; -inline void IPsecVersionResponse::clear_version() { - _impl_.version_.ClearToEmpty(); -} -inline const std::string& IPsecVersionResponse::version() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecVersionResponse.version) - return _internal_version(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecVersionResponse::set_version(ArgT0&& arg0, ArgT... args) { - - _impl_.version_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecVersionResponse.version) -} -inline std::string* IPsecVersionResponse::mutable_version() { - std::string* _s = _internal_mutable_version(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecVersionResponse.version) - return _s; -} -inline const std::string& IPsecVersionResponse::_internal_version() const { - return _impl_.version_.Get(); -} -inline void IPsecVersionResponse::_internal_set_version(const std::string& value) { - - _impl_.version_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::_internal_mutable_version() { - - return _impl_.version_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::release_version() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecVersionResponse.version) - return _impl_.version_.Release(); -} -inline void IPsecVersionResponse::set_allocated_version(std::string* version) { - if (version != nullptr) { - - } else { - - } - _impl_.version_.SetAllocated(version, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.version_.IsDefault()) { - _impl_.version_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecVersionResponse.version) -} - -// string sysname = 3; -inline void IPsecVersionResponse::clear_sysname() { - _impl_.sysname_.ClearToEmpty(); -} -inline const std::string& IPsecVersionResponse::sysname() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecVersionResponse.sysname) - return _internal_sysname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecVersionResponse::set_sysname(ArgT0&& arg0, ArgT... args) { - - _impl_.sysname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecVersionResponse.sysname) -} -inline std::string* IPsecVersionResponse::mutable_sysname() { - std::string* _s = _internal_mutable_sysname(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecVersionResponse.sysname) - return _s; -} -inline const std::string& IPsecVersionResponse::_internal_sysname() const { - return _impl_.sysname_.Get(); -} -inline void IPsecVersionResponse::_internal_set_sysname(const std::string& value) { - - _impl_.sysname_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::_internal_mutable_sysname() { - - return _impl_.sysname_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::release_sysname() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecVersionResponse.sysname) - return _impl_.sysname_.Release(); -} -inline void IPsecVersionResponse::set_allocated_sysname(std::string* sysname) { - if (sysname != nullptr) { - - } else { - - } - _impl_.sysname_.SetAllocated(sysname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sysname_.IsDefault()) { - _impl_.sysname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecVersionResponse.sysname) -} - -// string release = 4; -inline void IPsecVersionResponse::clear_release() { - _impl_.release_.ClearToEmpty(); -} -inline const std::string& IPsecVersionResponse::release() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecVersionResponse.release) - return _internal_release(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecVersionResponse::set_release(ArgT0&& arg0, ArgT... args) { - - _impl_.release_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecVersionResponse.release) -} -inline std::string* IPsecVersionResponse::mutable_release() { - std::string* _s = _internal_mutable_release(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecVersionResponse.release) - return _s; -} -inline const std::string& IPsecVersionResponse::_internal_release() const { - return _impl_.release_.Get(); -} -inline void IPsecVersionResponse::_internal_set_release(const std::string& value) { - - _impl_.release_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::_internal_mutable_release() { - - return _impl_.release_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::release_release() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecVersionResponse.release) - return _impl_.release_.Release(); -} -inline void IPsecVersionResponse::set_allocated_release(std::string* release) { - if (release != nullptr) { - - } else { - - } - _impl_.release_.SetAllocated(release, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.release_.IsDefault()) { - _impl_.release_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecVersionResponse.release) -} - -// string machine = 5; -inline void IPsecVersionResponse::clear_machine() { - _impl_.machine_.ClearToEmpty(); -} -inline const std::string& IPsecVersionResponse::machine() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecVersionResponse.machine) - return _internal_machine(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecVersionResponse::set_machine(ArgT0&& arg0, ArgT... args) { - - _impl_.machine_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecVersionResponse.machine) -} -inline std::string* IPsecVersionResponse::mutable_machine() { - std::string* _s = _internal_mutable_machine(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecVersionResponse.machine) - return _s; -} -inline const std::string& IPsecVersionResponse::_internal_machine() const { - return _impl_.machine_.Get(); -} -inline void IPsecVersionResponse::_internal_set_machine(const std::string& value) { - - _impl_.machine_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::_internal_mutable_machine() { - - return _impl_.machine_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecVersionResponse::release_machine() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecVersionResponse.machine) - return _impl_.machine_.Release(); -} -inline void IPsecVersionResponse::set_allocated_machine(std::string* machine) { - if (machine != nullptr) { - - } else { - - } - _impl_.machine_.SetAllocated(machine, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.machine_.IsDefault()) { - _impl_.machine_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecVersionResponse.machine) -} - -// ------------------------------------------------------------------- - -// IPsecStatsRequest - -// ------------------------------------------------------------------- - -// IPsecStatsResponse - -// string status = 1; -inline void IPsecStatsResponse::clear_status() { - _impl_.status_.ClearToEmpty(); -} -inline const std::string& IPsecStatsResponse::status() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecStatsResponse.status) - return _internal_status(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecStatsResponse::set_status(ArgT0&& arg0, ArgT... args) { - - _impl_.status_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecStatsResponse.status) -} -inline std::string* IPsecStatsResponse::mutable_status() { - std::string* _s = _internal_mutable_status(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecStatsResponse.status) - return _s; -} -inline const std::string& IPsecStatsResponse::_internal_status() const { - return _impl_.status_.Get(); -} -inline void IPsecStatsResponse::_internal_set_status(const std::string& value) { - - _impl_.status_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecStatsResponse::_internal_mutable_status() { - - return _impl_.status_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecStatsResponse::release_status() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecStatsResponse.status) - return _impl_.status_.Release(); -} -inline void IPsecStatsResponse::set_allocated_status(std::string* status) { - if (status != nullptr) { - - } else { - - } - _impl_.status_.SetAllocated(status, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.status_.IsDefault()) { - _impl_.status_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecStatsResponse.status) -} - -// ------------------------------------------------------------------- - -// IPsecInitiateRequest - -// string child = 1; -inline void IPsecInitiateRequest::clear_child() { - _impl_.child_.ClearToEmpty(); -} -inline const std::string& IPsecInitiateRequest::child() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecInitiateRequest.child) - return _internal_child(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecInitiateRequest::set_child(ArgT0&& arg0, ArgT... args) { - - _impl_.child_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecInitiateRequest.child) -} -inline std::string* IPsecInitiateRequest::mutable_child() { - std::string* _s = _internal_mutable_child(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecInitiateRequest.child) - return _s; -} -inline const std::string& IPsecInitiateRequest::_internal_child() const { - return _impl_.child_.Get(); -} -inline void IPsecInitiateRequest::_internal_set_child(const std::string& value) { - - _impl_.child_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecInitiateRequest::_internal_mutable_child() { - - return _impl_.child_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecInitiateRequest::release_child() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecInitiateRequest.child) - return _impl_.child_.Release(); -} -inline void IPsecInitiateRequest::set_allocated_child(std::string* child) { - if (child != nullptr) { - - } else { - - } - _impl_.child_.SetAllocated(child, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.child_.IsDefault()) { - _impl_.child_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecInitiateRequest.child) -} - -// string ike = 2; -inline void IPsecInitiateRequest::clear_ike() { - _impl_.ike_.ClearToEmpty(); -} -inline const std::string& IPsecInitiateRequest::ike() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecInitiateRequest.ike) - return _internal_ike(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecInitiateRequest::set_ike(ArgT0&& arg0, ArgT... args) { - - _impl_.ike_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecInitiateRequest.ike) -} -inline std::string* IPsecInitiateRequest::mutable_ike() { - std::string* _s = _internal_mutable_ike(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecInitiateRequest.ike) - return _s; -} -inline const std::string& IPsecInitiateRequest::_internal_ike() const { - return _impl_.ike_.Get(); -} -inline void IPsecInitiateRequest::_internal_set_ike(const std::string& value) { - - _impl_.ike_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecInitiateRequest::_internal_mutable_ike() { - - return _impl_.ike_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecInitiateRequest::release_ike() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecInitiateRequest.ike) - return _impl_.ike_.Release(); -} -inline void IPsecInitiateRequest::set_allocated_ike(std::string* ike) { - if (ike != nullptr) { - - } else { - - } - _impl_.ike_.SetAllocated(ike, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ike_.IsDefault()) { - _impl_.ike_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecInitiateRequest.ike) -} - -// string timeout = 3; -inline void IPsecInitiateRequest::clear_timeout() { - _impl_.timeout_.ClearToEmpty(); -} -inline const std::string& IPsecInitiateRequest::timeout() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecInitiateRequest.timeout) - return _internal_timeout(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecInitiateRequest::set_timeout(ArgT0&& arg0, ArgT... args) { - - _impl_.timeout_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecInitiateRequest.timeout) -} -inline std::string* IPsecInitiateRequest::mutable_timeout() { - std::string* _s = _internal_mutable_timeout(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecInitiateRequest.timeout) - return _s; -} -inline const std::string& IPsecInitiateRequest::_internal_timeout() const { - return _impl_.timeout_.Get(); -} -inline void IPsecInitiateRequest::_internal_set_timeout(const std::string& value) { - - _impl_.timeout_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecInitiateRequest::_internal_mutable_timeout() { - - return _impl_.timeout_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecInitiateRequest::release_timeout() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecInitiateRequest.timeout) - return _impl_.timeout_.Release(); -} -inline void IPsecInitiateRequest::set_allocated_timeout(std::string* timeout) { - if (timeout != nullptr) { - - } else { - - } - _impl_.timeout_.SetAllocated(timeout, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.timeout_.IsDefault()) { - _impl_.timeout_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecInitiateRequest.timeout) -} - -// string loglevel = 4; -inline void IPsecInitiateRequest::clear_loglevel() { - _impl_.loglevel_.ClearToEmpty(); -} -inline const std::string& IPsecInitiateRequest::loglevel() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecInitiateRequest.loglevel) - return _internal_loglevel(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecInitiateRequest::set_loglevel(ArgT0&& arg0, ArgT... args) { - - _impl_.loglevel_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecInitiateRequest.loglevel) -} -inline std::string* IPsecInitiateRequest::mutable_loglevel() { - std::string* _s = _internal_mutable_loglevel(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecInitiateRequest.loglevel) - return _s; -} -inline const std::string& IPsecInitiateRequest::_internal_loglevel() const { - return _impl_.loglevel_.Get(); -} -inline void IPsecInitiateRequest::_internal_set_loglevel(const std::string& value) { - - _impl_.loglevel_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecInitiateRequest::_internal_mutable_loglevel() { - - return _impl_.loglevel_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecInitiateRequest::release_loglevel() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecInitiateRequest.loglevel) - return _impl_.loglevel_.Release(); -} -inline void IPsecInitiateRequest::set_allocated_loglevel(std::string* loglevel) { - if (loglevel != nullptr) { - - } else { - - } - _impl_.loglevel_.SetAllocated(loglevel, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.loglevel_.IsDefault()) { - _impl_.loglevel_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecInitiateRequest.loglevel) -} - -// ------------------------------------------------------------------- - -// IPsecInitiateResponse - -// ------------------------------------------------------------------- - -// IPsecTerminateRequest - -// string child = 1; -inline void IPsecTerminateRequest::clear_child() { - _impl_.child_.ClearToEmpty(); -} -inline const std::string& IPsecTerminateRequest::child() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateRequest.child) - return _internal_child(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecTerminateRequest::set_child(ArgT0&& arg0, ArgT... args) { - - _impl_.child_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateRequest.child) -} -inline std::string* IPsecTerminateRequest::mutable_child() { - std::string* _s = _internal_mutable_child(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecTerminateRequest.child) - return _s; -} -inline const std::string& IPsecTerminateRequest::_internal_child() const { - return _impl_.child_.Get(); -} -inline void IPsecTerminateRequest::_internal_set_child(const std::string& value) { - - _impl_.child_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::_internal_mutable_child() { - - return _impl_.child_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::release_child() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecTerminateRequest.child) - return _impl_.child_.Release(); -} -inline void IPsecTerminateRequest::set_allocated_child(std::string* child) { - if (child != nullptr) { - - } else { - - } - _impl_.child_.SetAllocated(child, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.child_.IsDefault()) { - _impl_.child_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecTerminateRequest.child) -} - -// string ike = 2; -inline void IPsecTerminateRequest::clear_ike() { - _impl_.ike_.ClearToEmpty(); -} -inline const std::string& IPsecTerminateRequest::ike() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateRequest.ike) - return _internal_ike(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecTerminateRequest::set_ike(ArgT0&& arg0, ArgT... args) { - - _impl_.ike_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateRequest.ike) -} -inline std::string* IPsecTerminateRequest::mutable_ike() { - std::string* _s = _internal_mutable_ike(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecTerminateRequest.ike) - return _s; -} -inline const std::string& IPsecTerminateRequest::_internal_ike() const { - return _impl_.ike_.Get(); -} -inline void IPsecTerminateRequest::_internal_set_ike(const std::string& value) { - - _impl_.ike_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::_internal_mutable_ike() { - - return _impl_.ike_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::release_ike() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecTerminateRequest.ike) - return _impl_.ike_.Release(); -} -inline void IPsecTerminateRequest::set_allocated_ike(std::string* ike) { - if (ike != nullptr) { - - } else { - - } - _impl_.ike_.SetAllocated(ike, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ike_.IsDefault()) { - _impl_.ike_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecTerminateRequest.ike) -} - -// uint64 child_id = 3; -inline void IPsecTerminateRequest::clear_child_id() { - _impl_.child_id_ = uint64_t{0u}; -} -inline uint64_t IPsecTerminateRequest::_internal_child_id() const { - return _impl_.child_id_; -} -inline uint64_t IPsecTerminateRequest::child_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateRequest.child_id) - return _internal_child_id(); -} -inline void IPsecTerminateRequest::_internal_set_child_id(uint64_t value) { - - _impl_.child_id_ = value; -} -inline void IPsecTerminateRequest::set_child_id(uint64_t value) { - _internal_set_child_id(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateRequest.child_id) -} - -// uint64 ike_id = 4; -inline void IPsecTerminateRequest::clear_ike_id() { - _impl_.ike_id_ = uint64_t{0u}; -} -inline uint64_t IPsecTerminateRequest::_internal_ike_id() const { - return _impl_.ike_id_; -} -inline uint64_t IPsecTerminateRequest::ike_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateRequest.ike_id) - return _internal_ike_id(); -} -inline void IPsecTerminateRequest::_internal_set_ike_id(uint64_t value) { - - _impl_.ike_id_ = value; -} -inline void IPsecTerminateRequest::set_ike_id(uint64_t value) { - _internal_set_ike_id(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateRequest.ike_id) -} - -// string force = 5; -inline void IPsecTerminateRequest::clear_force() { - _impl_.force_.ClearToEmpty(); -} -inline const std::string& IPsecTerminateRequest::force() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateRequest.force) - return _internal_force(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecTerminateRequest::set_force(ArgT0&& arg0, ArgT... args) { - - _impl_.force_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateRequest.force) -} -inline std::string* IPsecTerminateRequest::mutable_force() { - std::string* _s = _internal_mutable_force(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecTerminateRequest.force) - return _s; -} -inline const std::string& IPsecTerminateRequest::_internal_force() const { - return _impl_.force_.Get(); -} -inline void IPsecTerminateRequest::_internal_set_force(const std::string& value) { - - _impl_.force_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::_internal_mutable_force() { - - return _impl_.force_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::release_force() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecTerminateRequest.force) - return _impl_.force_.Release(); -} -inline void IPsecTerminateRequest::set_allocated_force(std::string* force) { - if (force != nullptr) { - - } else { - - } - _impl_.force_.SetAllocated(force, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.force_.IsDefault()) { - _impl_.force_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecTerminateRequest.force) -} - -// string timeout = 6; -inline void IPsecTerminateRequest::clear_timeout() { - _impl_.timeout_.ClearToEmpty(); -} -inline const std::string& IPsecTerminateRequest::timeout() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateRequest.timeout) - return _internal_timeout(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecTerminateRequest::set_timeout(ArgT0&& arg0, ArgT... args) { - - _impl_.timeout_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateRequest.timeout) -} -inline std::string* IPsecTerminateRequest::mutable_timeout() { - std::string* _s = _internal_mutable_timeout(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecTerminateRequest.timeout) - return _s; -} -inline const std::string& IPsecTerminateRequest::_internal_timeout() const { - return _impl_.timeout_.Get(); -} -inline void IPsecTerminateRequest::_internal_set_timeout(const std::string& value) { - - _impl_.timeout_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::_internal_mutable_timeout() { - - return _impl_.timeout_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::release_timeout() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecTerminateRequest.timeout) - return _impl_.timeout_.Release(); -} -inline void IPsecTerminateRequest::set_allocated_timeout(std::string* timeout) { - if (timeout != nullptr) { - - } else { - - } - _impl_.timeout_.SetAllocated(timeout, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.timeout_.IsDefault()) { - _impl_.timeout_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecTerminateRequest.timeout) -} - -// string loglevel = 7; -inline void IPsecTerminateRequest::clear_loglevel() { - _impl_.loglevel_.ClearToEmpty(); -} -inline const std::string& IPsecTerminateRequest::loglevel() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateRequest.loglevel) - return _internal_loglevel(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecTerminateRequest::set_loglevel(ArgT0&& arg0, ArgT... args) { - - _impl_.loglevel_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateRequest.loglevel) -} -inline std::string* IPsecTerminateRequest::mutable_loglevel() { - std::string* _s = _internal_mutable_loglevel(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecTerminateRequest.loglevel) - return _s; -} -inline const std::string& IPsecTerminateRequest::_internal_loglevel() const { - return _impl_.loglevel_.Get(); -} -inline void IPsecTerminateRequest::_internal_set_loglevel(const std::string& value) { - - _impl_.loglevel_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::_internal_mutable_loglevel() { - - return _impl_.loglevel_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecTerminateRequest::release_loglevel() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecTerminateRequest.loglevel) - return _impl_.loglevel_.Release(); -} -inline void IPsecTerminateRequest::set_allocated_loglevel(std::string* loglevel) { - if (loglevel != nullptr) { - - } else { - - } - _impl_.loglevel_.SetAllocated(loglevel, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.loglevel_.IsDefault()) { - _impl_.loglevel_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecTerminateRequest.loglevel) -} - -// ------------------------------------------------------------------- - -// IPsecTerminateResponse - -// string success = 1; -inline void IPsecTerminateResponse::clear_success() { - _impl_.success_.ClearToEmpty(); -} -inline const std::string& IPsecTerminateResponse::success() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateResponse.success) - return _internal_success(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecTerminateResponse::set_success(ArgT0&& arg0, ArgT... args) { - - _impl_.success_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateResponse.success) -} -inline std::string* IPsecTerminateResponse::mutable_success() { - std::string* _s = _internal_mutable_success(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecTerminateResponse.success) - return _s; -} -inline const std::string& IPsecTerminateResponse::_internal_success() const { - return _impl_.success_.Get(); -} -inline void IPsecTerminateResponse::_internal_set_success(const std::string& value) { - - _impl_.success_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecTerminateResponse::_internal_mutable_success() { - - return _impl_.success_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecTerminateResponse::release_success() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecTerminateResponse.success) - return _impl_.success_.Release(); -} -inline void IPsecTerminateResponse::set_allocated_success(std::string* success) { - if (success != nullptr) { - - } else { - - } - _impl_.success_.SetAllocated(success, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.success_.IsDefault()) { - _impl_.success_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecTerminateResponse.success) -} - -// uint32 matches = 2; -inline void IPsecTerminateResponse::clear_matches() { - _impl_.matches_ = 0u; -} -inline uint32_t IPsecTerminateResponse::_internal_matches() const { - return _impl_.matches_; -} -inline uint32_t IPsecTerminateResponse::matches() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateResponse.matches) - return _internal_matches(); -} -inline void IPsecTerminateResponse::_internal_set_matches(uint32_t value) { - - _impl_.matches_ = value; -} -inline void IPsecTerminateResponse::set_matches(uint32_t value) { - _internal_set_matches(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateResponse.matches) -} - -// uint32 terminated = 3; -inline void IPsecTerminateResponse::clear_terminated() { - _impl_.terminated_ = 0u; -} -inline uint32_t IPsecTerminateResponse::_internal_terminated() const { - return _impl_.terminated_; -} -inline uint32_t IPsecTerminateResponse::terminated() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecTerminateResponse.terminated) - return _internal_terminated(); -} -inline void IPsecTerminateResponse::_internal_set_terminated(uint32_t value) { - - _impl_.terminated_ = value; -} -inline void IPsecTerminateResponse::set_terminated(uint32_t value) { - _internal_set_terminated(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecTerminateResponse.terminated) -} - -// ------------------------------------------------------------------- - -// IPsecRekeyRequest - -// string child = 1; -inline void IPsecRekeyRequest::clear_child() { - _impl_.child_.ClearToEmpty(); -} -inline const std::string& IPsecRekeyRequest::child() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecRekeyRequest.child) - return _internal_child(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecRekeyRequest::set_child(ArgT0&& arg0, ArgT... args) { - - _impl_.child_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecRekeyRequest.child) -} -inline std::string* IPsecRekeyRequest::mutable_child() { - std::string* _s = _internal_mutable_child(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecRekeyRequest.child) - return _s; -} -inline const std::string& IPsecRekeyRequest::_internal_child() const { - return _impl_.child_.Get(); -} -inline void IPsecRekeyRequest::_internal_set_child(const std::string& value) { - - _impl_.child_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecRekeyRequest::_internal_mutable_child() { - - return _impl_.child_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecRekeyRequest::release_child() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecRekeyRequest.child) - return _impl_.child_.Release(); -} -inline void IPsecRekeyRequest::set_allocated_child(std::string* child) { - if (child != nullptr) { - - } else { - - } - _impl_.child_.SetAllocated(child, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.child_.IsDefault()) { - _impl_.child_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecRekeyRequest.child) -} - -// string ike = 2; -inline void IPsecRekeyRequest::clear_ike() { - _impl_.ike_.ClearToEmpty(); -} -inline const std::string& IPsecRekeyRequest::ike() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecRekeyRequest.ike) - return _internal_ike(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecRekeyRequest::set_ike(ArgT0&& arg0, ArgT... args) { - - _impl_.ike_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecRekeyRequest.ike) -} -inline std::string* IPsecRekeyRequest::mutable_ike() { - std::string* _s = _internal_mutable_ike(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecRekeyRequest.ike) - return _s; -} -inline const std::string& IPsecRekeyRequest::_internal_ike() const { - return _impl_.ike_.Get(); -} -inline void IPsecRekeyRequest::_internal_set_ike(const std::string& value) { - - _impl_.ike_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecRekeyRequest::_internal_mutable_ike() { - - return _impl_.ike_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecRekeyRequest::release_ike() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecRekeyRequest.ike) - return _impl_.ike_.Release(); -} -inline void IPsecRekeyRequest::set_allocated_ike(std::string* ike) { - if (ike != nullptr) { - - } else { - - } - _impl_.ike_.SetAllocated(ike, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ike_.IsDefault()) { - _impl_.ike_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecRekeyRequest.ike) -} - -// uint64 child_id = 3; -inline void IPsecRekeyRequest::clear_child_id() { - _impl_.child_id_ = uint64_t{0u}; -} -inline uint64_t IPsecRekeyRequest::_internal_child_id() const { - return _impl_.child_id_; -} -inline uint64_t IPsecRekeyRequest::child_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecRekeyRequest.child_id) - return _internal_child_id(); -} -inline void IPsecRekeyRequest::_internal_set_child_id(uint64_t value) { - - _impl_.child_id_ = value; -} -inline void IPsecRekeyRequest::set_child_id(uint64_t value) { - _internal_set_child_id(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecRekeyRequest.child_id) -} - -// uint64 ike_id = 4; -inline void IPsecRekeyRequest::clear_ike_id() { - _impl_.ike_id_ = uint64_t{0u}; -} -inline uint64_t IPsecRekeyRequest::_internal_ike_id() const { - return _impl_.ike_id_; -} -inline uint64_t IPsecRekeyRequest::ike_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecRekeyRequest.ike_id) - return _internal_ike_id(); -} -inline void IPsecRekeyRequest::_internal_set_ike_id(uint64_t value) { - - _impl_.ike_id_ = value; -} -inline void IPsecRekeyRequest::set_ike_id(uint64_t value) { - _internal_set_ike_id(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecRekeyRequest.ike_id) -} - -// string reauth = 5; -inline void IPsecRekeyRequest::clear_reauth() { - _impl_.reauth_.ClearToEmpty(); -} -inline const std::string& IPsecRekeyRequest::reauth() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecRekeyRequest.reauth) - return _internal_reauth(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecRekeyRequest::set_reauth(ArgT0&& arg0, ArgT... args) { - - _impl_.reauth_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecRekeyRequest.reauth) -} -inline std::string* IPsecRekeyRequest::mutable_reauth() { - std::string* _s = _internal_mutable_reauth(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecRekeyRequest.reauth) - return _s; -} -inline const std::string& IPsecRekeyRequest::_internal_reauth() const { - return _impl_.reauth_.Get(); -} -inline void IPsecRekeyRequest::_internal_set_reauth(const std::string& value) { - - _impl_.reauth_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecRekeyRequest::_internal_mutable_reauth() { - - return _impl_.reauth_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecRekeyRequest::release_reauth() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecRekeyRequest.reauth) - return _impl_.reauth_.Release(); -} -inline void IPsecRekeyRequest::set_allocated_reauth(std::string* reauth) { - if (reauth != nullptr) { - - } else { - - } - _impl_.reauth_.SetAllocated(reauth, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.reauth_.IsDefault()) { - _impl_.reauth_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecRekeyRequest.reauth) -} - -// ------------------------------------------------------------------- - -// IPsecRekeyResponse - -// string success = 1; -inline void IPsecRekeyResponse::clear_success() { - _impl_.success_.ClearToEmpty(); -} -inline const std::string& IPsecRekeyResponse::success() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecRekeyResponse.success) - return _internal_success(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecRekeyResponse::set_success(ArgT0&& arg0, ArgT... args) { - - _impl_.success_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecRekeyResponse.success) -} -inline std::string* IPsecRekeyResponse::mutable_success() { - std::string* _s = _internal_mutable_success(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecRekeyResponse.success) - return _s; -} -inline const std::string& IPsecRekeyResponse::_internal_success() const { - return _impl_.success_.Get(); -} -inline void IPsecRekeyResponse::_internal_set_success(const std::string& value) { - - _impl_.success_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecRekeyResponse::_internal_mutable_success() { - - return _impl_.success_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecRekeyResponse::release_success() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecRekeyResponse.success) - return _impl_.success_.Release(); -} -inline void IPsecRekeyResponse::set_allocated_success(std::string* success) { - if (success != nullptr) { - - } else { - - } - _impl_.success_.SetAllocated(success, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.success_.IsDefault()) { - _impl_.success_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecRekeyResponse.success) -} - -// uint32 matches = 2; -inline void IPsecRekeyResponse::clear_matches() { - _impl_.matches_ = 0u; -} -inline uint32_t IPsecRekeyResponse::_internal_matches() const { - return _impl_.matches_; -} -inline uint32_t IPsecRekeyResponse::matches() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecRekeyResponse.matches) - return _internal_matches(); -} -inline void IPsecRekeyResponse::_internal_set_matches(uint32_t value) { - - _impl_.matches_ = value; -} -inline void IPsecRekeyResponse::set_matches(uint32_t value) { - _internal_set_matches(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecRekeyResponse.matches) -} - -// ------------------------------------------------------------------- - -// IPsecListSasRequest - -// string noblock = 1; -inline void IPsecListSasRequest::clear_noblock() { - _impl_.noblock_.ClearToEmpty(); -} -inline const std::string& IPsecListSasRequest::noblock() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListSasRequest.noblock) - return _internal_noblock(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecListSasRequest::set_noblock(ArgT0&& arg0, ArgT... args) { - - _impl_.noblock_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecListSasRequest.noblock) -} -inline std::string* IPsecListSasRequest::mutable_noblock() { - std::string* _s = _internal_mutable_noblock(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListSasRequest.noblock) - return _s; -} -inline const std::string& IPsecListSasRequest::_internal_noblock() const { - return _impl_.noblock_.Get(); -} -inline void IPsecListSasRequest::_internal_set_noblock(const std::string& value) { - - _impl_.noblock_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecListSasRequest::_internal_mutable_noblock() { - - return _impl_.noblock_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecListSasRequest::release_noblock() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecListSasRequest.noblock) - return _impl_.noblock_.Release(); -} -inline void IPsecListSasRequest::set_allocated_noblock(std::string* noblock) { - if (noblock != nullptr) { - - } else { - - } - _impl_.noblock_.SetAllocated(noblock, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.noblock_.IsDefault()) { - _impl_.noblock_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecListSasRequest.noblock) -} - -// string ike = 2; -inline void IPsecListSasRequest::clear_ike() { - _impl_.ike_.ClearToEmpty(); -} -inline const std::string& IPsecListSasRequest::ike() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListSasRequest.ike) - return _internal_ike(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecListSasRequest::set_ike(ArgT0&& arg0, ArgT... args) { - - _impl_.ike_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecListSasRequest.ike) -} -inline std::string* IPsecListSasRequest::mutable_ike() { - std::string* _s = _internal_mutable_ike(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListSasRequest.ike) - return _s; -} -inline const std::string& IPsecListSasRequest::_internal_ike() const { - return _impl_.ike_.Get(); -} -inline void IPsecListSasRequest::_internal_set_ike(const std::string& value) { - - _impl_.ike_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecListSasRequest::_internal_mutable_ike() { - - return _impl_.ike_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecListSasRequest::release_ike() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecListSasRequest.ike) - return _impl_.ike_.Release(); -} -inline void IPsecListSasRequest::set_allocated_ike(std::string* ike) { - if (ike != nullptr) { - - } else { - - } - _impl_.ike_.SetAllocated(ike, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ike_.IsDefault()) { - _impl_.ike_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecListSasRequest.ike) -} - -// uint64 ike_id = 3; -inline void IPsecListSasRequest::clear_ike_id() { - _impl_.ike_id_ = uint64_t{0u}; -} -inline uint64_t IPsecListSasRequest::_internal_ike_id() const { - return _impl_.ike_id_; -} -inline uint64_t IPsecListSasRequest::ike_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListSasRequest.ike_id) - return _internal_ike_id(); -} -inline void IPsecListSasRequest::_internal_set_ike_id(uint64_t value) { - - _impl_.ike_id_ = value; -} -inline void IPsecListSasRequest::set_ike_id(uint64_t value) { - _internal_set_ike_id(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecListSasRequest.ike_id) -} - -// string child = 4; -inline void IPsecListSasRequest::clear_child() { - _impl_.child_.ClearToEmpty(); -} -inline const std::string& IPsecListSasRequest::child() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListSasRequest.child) - return _internal_child(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecListSasRequest::set_child(ArgT0&& arg0, ArgT... args) { - - _impl_.child_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecListSasRequest.child) -} -inline std::string* IPsecListSasRequest::mutable_child() { - std::string* _s = _internal_mutable_child(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListSasRequest.child) - return _s; -} -inline const std::string& IPsecListSasRequest::_internal_child() const { - return _impl_.child_.Get(); -} -inline void IPsecListSasRequest::_internal_set_child(const std::string& value) { - - _impl_.child_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecListSasRequest::_internal_mutable_child() { - - return _impl_.child_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecListSasRequest::release_child() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecListSasRequest.child) - return _impl_.child_.Release(); -} -inline void IPsecListSasRequest::set_allocated_child(std::string* child) { - if (child != nullptr) { - - } else { - - } - _impl_.child_.SetAllocated(child, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.child_.IsDefault()) { - _impl_.child_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecListSasRequest.child) -} - -// uint64 child_id = 5; -inline void IPsecListSasRequest::clear_child_id() { - _impl_.child_id_ = uint64_t{0u}; -} -inline uint64_t IPsecListSasRequest::_internal_child_id() const { - return _impl_.child_id_; -} -inline uint64_t IPsecListSasRequest::child_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListSasRequest.child_id) - return _internal_child_id(); -} -inline void IPsecListSasRequest::_internal_set_child_id(uint64_t value) { - - _impl_.child_id_ = value; -} -inline void IPsecListSasRequest::set_child_id(uint64_t value) { - _internal_set_child_id(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecListSasRequest.child_id) -} - -// ------------------------------------------------------------------- - -// ListChildSa - -// string name = 1; -inline void ListChildSa::clear_name() { - _impl_.name_.ClearToEmpty(); -} -inline const std::string& ListChildSa::name() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_name(ArgT0&& arg0, ArgT... args) { - - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.name) -} -inline std::string* ListChildSa::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.name) - return _s; -} -inline const std::string& ListChildSa::_internal_name() const { - return _impl_.name_.Get(); -} -inline void ListChildSa::_internal_set_name(const std::string& value) { - - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_name() { - - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_name() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.name) - return _impl_.name_.Release(); -} -inline void ListChildSa::set_allocated_name(std::string* name) { - if (name != nullptr) { - - } else { - - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.name) -} - -// string protocol = 2; -inline void ListChildSa::clear_protocol() { - _impl_.protocol_.ClearToEmpty(); -} -inline const std::string& ListChildSa::protocol() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.protocol) - return _internal_protocol(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_protocol(ArgT0&& arg0, ArgT... args) { - - _impl_.protocol_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.protocol) -} -inline std::string* ListChildSa::mutable_protocol() { - std::string* _s = _internal_mutable_protocol(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.protocol) - return _s; -} -inline const std::string& ListChildSa::_internal_protocol() const { - return _impl_.protocol_.Get(); -} -inline void ListChildSa::_internal_set_protocol(const std::string& value) { - - _impl_.protocol_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_protocol() { - - return _impl_.protocol_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_protocol() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.protocol) - return _impl_.protocol_.Release(); -} -inline void ListChildSa::set_allocated_protocol(std::string* protocol) { - if (protocol != nullptr) { - - } else { - - } - _impl_.protocol_.SetAllocated(protocol, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.protocol_.IsDefault()) { - _impl_.protocol_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.protocol) -} - -// string encap = 3; -inline void ListChildSa::clear_encap() { - _impl_.encap_.ClearToEmpty(); -} -inline const std::string& ListChildSa::encap() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.encap) - return _internal_encap(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_encap(ArgT0&& arg0, ArgT... args) { - - _impl_.encap_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.encap) -} -inline std::string* ListChildSa::mutable_encap() { - std::string* _s = _internal_mutable_encap(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.encap) - return _s; -} -inline const std::string& ListChildSa::_internal_encap() const { - return _impl_.encap_.Get(); -} -inline void ListChildSa::_internal_set_encap(const std::string& value) { - - _impl_.encap_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_encap() { - - return _impl_.encap_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_encap() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.encap) - return _impl_.encap_.Release(); -} -inline void ListChildSa::set_allocated_encap(std::string* encap) { - if (encap != nullptr) { - - } else { - - } - _impl_.encap_.SetAllocated(encap, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encap_.IsDefault()) { - _impl_.encap_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.encap) -} - -// string spi_in = 4; -inline void ListChildSa::clear_spi_in() { - _impl_.spi_in_.ClearToEmpty(); -} -inline const std::string& ListChildSa::spi_in() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.spi_in) - return _internal_spi_in(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_spi_in(ArgT0&& arg0, ArgT... args) { - - _impl_.spi_in_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.spi_in) -} -inline std::string* ListChildSa::mutable_spi_in() { - std::string* _s = _internal_mutable_spi_in(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.spi_in) - return _s; -} -inline const std::string& ListChildSa::_internal_spi_in() const { - return _impl_.spi_in_.Get(); -} -inline void ListChildSa::_internal_set_spi_in(const std::string& value) { - - _impl_.spi_in_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_spi_in() { - - return _impl_.spi_in_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_spi_in() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.spi_in) - return _impl_.spi_in_.Release(); -} -inline void ListChildSa::set_allocated_spi_in(std::string* spi_in) { - if (spi_in != nullptr) { - - } else { - - } - _impl_.spi_in_.SetAllocated(spi_in, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.spi_in_.IsDefault()) { - _impl_.spi_in_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.spi_in) -} - -// string spi_out = 5; -inline void ListChildSa::clear_spi_out() { - _impl_.spi_out_.ClearToEmpty(); -} -inline const std::string& ListChildSa::spi_out() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.spi_out) - return _internal_spi_out(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_spi_out(ArgT0&& arg0, ArgT... args) { - - _impl_.spi_out_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.spi_out) -} -inline std::string* ListChildSa::mutable_spi_out() { - std::string* _s = _internal_mutable_spi_out(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.spi_out) - return _s; -} -inline const std::string& ListChildSa::_internal_spi_out() const { - return _impl_.spi_out_.Get(); -} -inline void ListChildSa::_internal_set_spi_out(const std::string& value) { - - _impl_.spi_out_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_spi_out() { - - return _impl_.spi_out_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_spi_out() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.spi_out) - return _impl_.spi_out_.Release(); -} -inline void ListChildSa::set_allocated_spi_out(std::string* spi_out) { - if (spi_out != nullptr) { - - } else { - - } - _impl_.spi_out_.SetAllocated(spi_out, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.spi_out_.IsDefault()) { - _impl_.spi_out_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.spi_out) -} - -// string cpi_in = 6; -inline void ListChildSa::clear_cpi_in() { - _impl_.cpi_in_.ClearToEmpty(); -} -inline const std::string& ListChildSa::cpi_in() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.cpi_in) - return _internal_cpi_in(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_cpi_in(ArgT0&& arg0, ArgT... args) { - - _impl_.cpi_in_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.cpi_in) -} -inline std::string* ListChildSa::mutable_cpi_in() { - std::string* _s = _internal_mutable_cpi_in(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.cpi_in) - return _s; -} -inline const std::string& ListChildSa::_internal_cpi_in() const { - return _impl_.cpi_in_.Get(); -} -inline void ListChildSa::_internal_set_cpi_in(const std::string& value) { - - _impl_.cpi_in_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_cpi_in() { - - return _impl_.cpi_in_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_cpi_in() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.cpi_in) - return _impl_.cpi_in_.Release(); -} -inline void ListChildSa::set_allocated_cpi_in(std::string* cpi_in) { - if (cpi_in != nullptr) { - - } else { - - } - _impl_.cpi_in_.SetAllocated(cpi_in, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpi_in_.IsDefault()) { - _impl_.cpi_in_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.cpi_in) -} - -// string cpi_out = 7; -inline void ListChildSa::clear_cpi_out() { - _impl_.cpi_out_.ClearToEmpty(); -} -inline const std::string& ListChildSa::cpi_out() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.cpi_out) - return _internal_cpi_out(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_cpi_out(ArgT0&& arg0, ArgT... args) { - - _impl_.cpi_out_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.cpi_out) -} -inline std::string* ListChildSa::mutable_cpi_out() { - std::string* _s = _internal_mutable_cpi_out(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.cpi_out) - return _s; -} -inline const std::string& ListChildSa::_internal_cpi_out() const { - return _impl_.cpi_out_.Get(); -} -inline void ListChildSa::_internal_set_cpi_out(const std::string& value) { - - _impl_.cpi_out_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_cpi_out() { - - return _impl_.cpi_out_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_cpi_out() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.cpi_out) - return _impl_.cpi_out_.Release(); -} -inline void ListChildSa::set_allocated_cpi_out(std::string* cpi_out) { - if (cpi_out != nullptr) { - - } else { - - } - _impl_.cpi_out_.SetAllocated(cpi_out, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpi_out_.IsDefault()) { - _impl_.cpi_out_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.cpi_out) -} - -// string mark_in = 8; -inline void ListChildSa::clear_mark_in() { - _impl_.mark_in_.ClearToEmpty(); -} -inline const std::string& ListChildSa::mark_in() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.mark_in) - return _internal_mark_in(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_mark_in(ArgT0&& arg0, ArgT... args) { - - _impl_.mark_in_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.mark_in) -} -inline std::string* ListChildSa::mutable_mark_in() { - std::string* _s = _internal_mutable_mark_in(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.mark_in) - return _s; -} -inline const std::string& ListChildSa::_internal_mark_in() const { - return _impl_.mark_in_.Get(); -} -inline void ListChildSa::_internal_set_mark_in(const std::string& value) { - - _impl_.mark_in_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_mark_in() { - - return _impl_.mark_in_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_mark_in() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.mark_in) - return _impl_.mark_in_.Release(); -} -inline void ListChildSa::set_allocated_mark_in(std::string* mark_in) { - if (mark_in != nullptr) { - - } else { - - } - _impl_.mark_in_.SetAllocated(mark_in, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mark_in_.IsDefault()) { - _impl_.mark_in_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.mark_in) -} - -// string mark_mask_in = 9; -inline void ListChildSa::clear_mark_mask_in() { - _impl_.mark_mask_in_.ClearToEmpty(); -} -inline const std::string& ListChildSa::mark_mask_in() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.mark_mask_in) - return _internal_mark_mask_in(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_mark_mask_in(ArgT0&& arg0, ArgT... args) { - - _impl_.mark_mask_in_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.mark_mask_in) -} -inline std::string* ListChildSa::mutable_mark_mask_in() { - std::string* _s = _internal_mutable_mark_mask_in(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.mark_mask_in) - return _s; -} -inline const std::string& ListChildSa::_internal_mark_mask_in() const { - return _impl_.mark_mask_in_.Get(); -} -inline void ListChildSa::_internal_set_mark_mask_in(const std::string& value) { - - _impl_.mark_mask_in_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_mark_mask_in() { - - return _impl_.mark_mask_in_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_mark_mask_in() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.mark_mask_in) - return _impl_.mark_mask_in_.Release(); -} -inline void ListChildSa::set_allocated_mark_mask_in(std::string* mark_mask_in) { - if (mark_mask_in != nullptr) { - - } else { - - } - _impl_.mark_mask_in_.SetAllocated(mark_mask_in, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mark_mask_in_.IsDefault()) { - _impl_.mark_mask_in_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.mark_mask_in) -} - -// string mark_out = 10; -inline void ListChildSa::clear_mark_out() { - _impl_.mark_out_.ClearToEmpty(); -} -inline const std::string& ListChildSa::mark_out() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.mark_out) - return _internal_mark_out(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_mark_out(ArgT0&& arg0, ArgT... args) { - - _impl_.mark_out_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.mark_out) -} -inline std::string* ListChildSa::mutable_mark_out() { - std::string* _s = _internal_mutable_mark_out(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.mark_out) - return _s; -} -inline const std::string& ListChildSa::_internal_mark_out() const { - return _impl_.mark_out_.Get(); -} -inline void ListChildSa::_internal_set_mark_out(const std::string& value) { - - _impl_.mark_out_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_mark_out() { - - return _impl_.mark_out_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_mark_out() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.mark_out) - return _impl_.mark_out_.Release(); -} -inline void ListChildSa::set_allocated_mark_out(std::string* mark_out) { - if (mark_out != nullptr) { - - } else { - - } - _impl_.mark_out_.SetAllocated(mark_out, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mark_out_.IsDefault()) { - _impl_.mark_out_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.mark_out) -} - -// string mark_mask_out = 11; -inline void ListChildSa::clear_mark_mask_out() { - _impl_.mark_mask_out_.ClearToEmpty(); -} -inline const std::string& ListChildSa::mark_mask_out() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.mark_mask_out) - return _internal_mark_mask_out(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_mark_mask_out(ArgT0&& arg0, ArgT... args) { - - _impl_.mark_mask_out_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.mark_mask_out) -} -inline std::string* ListChildSa::mutable_mark_mask_out() { - std::string* _s = _internal_mutable_mark_mask_out(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.mark_mask_out) - return _s; -} -inline const std::string& ListChildSa::_internal_mark_mask_out() const { - return _impl_.mark_mask_out_.Get(); -} -inline void ListChildSa::_internal_set_mark_mask_out(const std::string& value) { - - _impl_.mark_mask_out_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_mark_mask_out() { - - return _impl_.mark_mask_out_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_mark_mask_out() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.mark_mask_out) - return _impl_.mark_mask_out_.Release(); -} -inline void ListChildSa::set_allocated_mark_mask_out(std::string* mark_mask_out) { - if (mark_mask_out != nullptr) { - - } else { - - } - _impl_.mark_mask_out_.SetAllocated(mark_mask_out, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mark_mask_out_.IsDefault()) { - _impl_.mark_mask_out_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.mark_mask_out) -} - -// string if_id_in = 12; -inline void ListChildSa::clear_if_id_in() { - _impl_.if_id_in_.ClearToEmpty(); -} -inline const std::string& ListChildSa::if_id_in() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.if_id_in) - return _internal_if_id_in(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_if_id_in(ArgT0&& arg0, ArgT... args) { - - _impl_.if_id_in_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.if_id_in) -} -inline std::string* ListChildSa::mutable_if_id_in() { - std::string* _s = _internal_mutable_if_id_in(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.if_id_in) - return _s; -} -inline const std::string& ListChildSa::_internal_if_id_in() const { - return _impl_.if_id_in_.Get(); -} -inline void ListChildSa::_internal_set_if_id_in(const std::string& value) { - - _impl_.if_id_in_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_if_id_in() { - - return _impl_.if_id_in_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_if_id_in() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.if_id_in) - return _impl_.if_id_in_.Release(); -} -inline void ListChildSa::set_allocated_if_id_in(std::string* if_id_in) { - if (if_id_in != nullptr) { - - } else { - - } - _impl_.if_id_in_.SetAllocated(if_id_in, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.if_id_in_.IsDefault()) { - _impl_.if_id_in_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.if_id_in) -} - -// string if_id_out = 13; -inline void ListChildSa::clear_if_id_out() { - _impl_.if_id_out_.ClearToEmpty(); -} -inline const std::string& ListChildSa::if_id_out() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.if_id_out) - return _internal_if_id_out(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_if_id_out(ArgT0&& arg0, ArgT... args) { - - _impl_.if_id_out_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.if_id_out) -} -inline std::string* ListChildSa::mutable_if_id_out() { - std::string* _s = _internal_mutable_if_id_out(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.if_id_out) - return _s; -} -inline const std::string& ListChildSa::_internal_if_id_out() const { - return _impl_.if_id_out_.Get(); -} -inline void ListChildSa::_internal_set_if_id_out(const std::string& value) { - - _impl_.if_id_out_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_if_id_out() { - - return _impl_.if_id_out_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_if_id_out() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.if_id_out) - return _impl_.if_id_out_.Release(); -} -inline void ListChildSa::set_allocated_if_id_out(std::string* if_id_out) { - if (if_id_out != nullptr) { - - } else { - - } - _impl_.if_id_out_.SetAllocated(if_id_out, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.if_id_out_.IsDefault()) { - _impl_.if_id_out_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.if_id_out) -} - -// string encr_alg = 14; -inline void ListChildSa::clear_encr_alg() { - _impl_.encr_alg_.ClearToEmpty(); -} -inline const std::string& ListChildSa::encr_alg() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.encr_alg) - return _internal_encr_alg(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_encr_alg(ArgT0&& arg0, ArgT... args) { - - _impl_.encr_alg_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.encr_alg) -} -inline std::string* ListChildSa::mutable_encr_alg() { - std::string* _s = _internal_mutable_encr_alg(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.encr_alg) - return _s; -} -inline const std::string& ListChildSa::_internal_encr_alg() const { - return _impl_.encr_alg_.Get(); -} -inline void ListChildSa::_internal_set_encr_alg(const std::string& value) { - - _impl_.encr_alg_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_encr_alg() { - - return _impl_.encr_alg_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_encr_alg() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.encr_alg) - return _impl_.encr_alg_.Release(); -} -inline void ListChildSa::set_allocated_encr_alg(std::string* encr_alg) { - if (encr_alg != nullptr) { - - } else { - - } - _impl_.encr_alg_.SetAllocated(encr_alg, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encr_alg_.IsDefault()) { - _impl_.encr_alg_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.encr_alg) -} - -// string encr_keysize = 15; -inline void ListChildSa::clear_encr_keysize() { - _impl_.encr_keysize_.ClearToEmpty(); -} -inline const std::string& ListChildSa::encr_keysize() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.encr_keysize) - return _internal_encr_keysize(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_encr_keysize(ArgT0&& arg0, ArgT... args) { - - _impl_.encr_keysize_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.encr_keysize) -} -inline std::string* ListChildSa::mutable_encr_keysize() { - std::string* _s = _internal_mutable_encr_keysize(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.encr_keysize) - return _s; -} -inline const std::string& ListChildSa::_internal_encr_keysize() const { - return _impl_.encr_keysize_.Get(); -} -inline void ListChildSa::_internal_set_encr_keysize(const std::string& value) { - - _impl_.encr_keysize_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_encr_keysize() { - - return _impl_.encr_keysize_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_encr_keysize() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.encr_keysize) - return _impl_.encr_keysize_.Release(); -} -inline void ListChildSa::set_allocated_encr_keysize(std::string* encr_keysize) { - if (encr_keysize != nullptr) { - - } else { - - } - _impl_.encr_keysize_.SetAllocated(encr_keysize, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encr_keysize_.IsDefault()) { - _impl_.encr_keysize_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.encr_keysize) -} - -// string integ_alg = 16; -inline void ListChildSa::clear_integ_alg() { - _impl_.integ_alg_.ClearToEmpty(); -} -inline const std::string& ListChildSa::integ_alg() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.integ_alg) - return _internal_integ_alg(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_integ_alg(ArgT0&& arg0, ArgT... args) { - - _impl_.integ_alg_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.integ_alg) -} -inline std::string* ListChildSa::mutable_integ_alg() { - std::string* _s = _internal_mutable_integ_alg(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.integ_alg) - return _s; -} -inline const std::string& ListChildSa::_internal_integ_alg() const { - return _impl_.integ_alg_.Get(); -} -inline void ListChildSa::_internal_set_integ_alg(const std::string& value) { - - _impl_.integ_alg_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_integ_alg() { - - return _impl_.integ_alg_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_integ_alg() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.integ_alg) - return _impl_.integ_alg_.Release(); -} -inline void ListChildSa::set_allocated_integ_alg(std::string* integ_alg) { - if (integ_alg != nullptr) { - - } else { - - } - _impl_.integ_alg_.SetAllocated(integ_alg, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.integ_alg_.IsDefault()) { - _impl_.integ_alg_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.integ_alg) -} - -// string integ_keysize = 17; -inline void ListChildSa::clear_integ_keysize() { - _impl_.integ_keysize_.ClearToEmpty(); -} -inline const std::string& ListChildSa::integ_keysize() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.integ_keysize) - return _internal_integ_keysize(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_integ_keysize(ArgT0&& arg0, ArgT... args) { - - _impl_.integ_keysize_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.integ_keysize) -} -inline std::string* ListChildSa::mutable_integ_keysize() { - std::string* _s = _internal_mutable_integ_keysize(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.integ_keysize) - return _s; -} -inline const std::string& ListChildSa::_internal_integ_keysize() const { - return _impl_.integ_keysize_.Get(); -} -inline void ListChildSa::_internal_set_integ_keysize(const std::string& value) { - - _impl_.integ_keysize_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_integ_keysize() { - - return _impl_.integ_keysize_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_integ_keysize() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.integ_keysize) - return _impl_.integ_keysize_.Release(); -} -inline void ListChildSa::set_allocated_integ_keysize(std::string* integ_keysize) { - if (integ_keysize != nullptr) { - - } else { - - } - _impl_.integ_keysize_.SetAllocated(integ_keysize, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.integ_keysize_.IsDefault()) { - _impl_.integ_keysize_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.integ_keysize) -} - -// string dh_group = 18; -inline void ListChildSa::clear_dh_group() { - _impl_.dh_group_.ClearToEmpty(); -} -inline const std::string& ListChildSa::dh_group() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.dh_group) - return _internal_dh_group(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_dh_group(ArgT0&& arg0, ArgT... args) { - - _impl_.dh_group_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.dh_group) -} -inline std::string* ListChildSa::mutable_dh_group() { - std::string* _s = _internal_mutable_dh_group(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.dh_group) - return _s; -} -inline const std::string& ListChildSa::_internal_dh_group() const { - return _impl_.dh_group_.Get(); -} -inline void ListChildSa::_internal_set_dh_group(const std::string& value) { - - _impl_.dh_group_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_dh_group() { - - return _impl_.dh_group_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_dh_group() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.dh_group) - return _impl_.dh_group_.Release(); -} -inline void ListChildSa::set_allocated_dh_group(std::string* dh_group) { - if (dh_group != nullptr) { - - } else { - - } - _impl_.dh_group_.SetAllocated(dh_group, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dh_group_.IsDefault()) { - _impl_.dh_group_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.dh_group) -} - -// string esn = 19; -inline void ListChildSa::clear_esn() { - _impl_.esn_.ClearToEmpty(); -} -inline const std::string& ListChildSa::esn() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChildSa.esn) - return _internal_esn(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChildSa::set_esn(ArgT0&& arg0, ArgT... args) { - - _impl_.esn_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChildSa.esn) -} -inline std::string* ListChildSa::mutable_esn() { - std::string* _s = _internal_mutable_esn(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChildSa.esn) - return _s; -} -inline const std::string& ListChildSa::_internal_esn() const { - return _impl_.esn_.Get(); -} -inline void ListChildSa::_internal_set_esn(const std::string& value) { - - _impl_.esn_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChildSa::_internal_mutable_esn() { - - return _impl_.esn_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChildSa::release_esn() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChildSa.esn) - return _impl_.esn_.Release(); -} -inline void ListChildSa::set_allocated_esn(std::string* esn) { - if (esn != nullptr) { - - } else { - - } - _impl_.esn_.SetAllocated(esn, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.esn_.IsDefault()) { - _impl_.esn_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChildSa.esn) -} - -// ------------------------------------------------------------------- - -// ListIkeSa - -// string name = 1; -inline void ListIkeSa::clear_name() { - _impl_.name_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::name() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_name(ArgT0&& arg0, ArgT... args) { - - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.name) -} -inline std::string* ListIkeSa::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.name) - return _s; -} -inline const std::string& ListIkeSa::_internal_name() const { - return _impl_.name_.Get(); -} -inline void ListIkeSa::_internal_set_name(const std::string& value) { - - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_name() { - - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_name() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.name) - return _impl_.name_.Release(); -} -inline void ListIkeSa::set_allocated_name(std::string* name) { - if (name != nullptr) { - - } else { - - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.name) -} - -// string uniqueid = 2; -inline void ListIkeSa::clear_uniqueid() { - _impl_.uniqueid_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::uniqueid() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.uniqueid) - return _internal_uniqueid(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_uniqueid(ArgT0&& arg0, ArgT... args) { - - _impl_.uniqueid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.uniqueid) -} -inline std::string* ListIkeSa::mutable_uniqueid() { - std::string* _s = _internal_mutable_uniqueid(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.uniqueid) - return _s; -} -inline const std::string& ListIkeSa::_internal_uniqueid() const { - return _impl_.uniqueid_.Get(); -} -inline void ListIkeSa::_internal_set_uniqueid(const std::string& value) { - - _impl_.uniqueid_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_uniqueid() { - - return _impl_.uniqueid_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_uniqueid() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.uniqueid) - return _impl_.uniqueid_.Release(); -} -inline void ListIkeSa::set_allocated_uniqueid(std::string* uniqueid) { - if (uniqueid != nullptr) { - - } else { - - } - _impl_.uniqueid_.SetAllocated(uniqueid, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.uniqueid_.IsDefault()) { - _impl_.uniqueid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.uniqueid) -} - -// string version = 3; -inline void ListIkeSa::clear_version() { - _impl_.version_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::version() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.version) - return _internal_version(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_version(ArgT0&& arg0, ArgT... args) { - - _impl_.version_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.version) -} -inline std::string* ListIkeSa::mutable_version() { - std::string* _s = _internal_mutable_version(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.version) - return _s; -} -inline const std::string& ListIkeSa::_internal_version() const { - return _impl_.version_.Get(); -} -inline void ListIkeSa::_internal_set_version(const std::string& value) { - - _impl_.version_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_version() { - - return _impl_.version_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_version() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.version) - return _impl_.version_.Release(); -} -inline void ListIkeSa::set_allocated_version(std::string* version) { - if (version != nullptr) { - - } else { - - } - _impl_.version_.SetAllocated(version, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.version_.IsDefault()) { - _impl_.version_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.version) -} - -// .opi_api.security.v1.IkeSaState ikestate = 4; -inline void ListIkeSa::clear_ikestate() { - _impl_.ikestate_ = 0; -} -inline ::opi_api::security::v1::IkeSaState ListIkeSa::_internal_ikestate() const { - return static_cast< ::opi_api::security::v1::IkeSaState >(_impl_.ikestate_); -} -inline ::opi_api::security::v1::IkeSaState ListIkeSa::ikestate() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.ikestate) - return _internal_ikestate(); -} -inline void ListIkeSa::_internal_set_ikestate(::opi_api::security::v1::IkeSaState value) { - - _impl_.ikestate_ = value; -} -inline void ListIkeSa::set_ikestate(::opi_api::security::v1::IkeSaState value) { - _internal_set_ikestate(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.ikestate) -} - -// string local_host = 5; -inline void ListIkeSa::clear_local_host() { - _impl_.local_host_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::local_host() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.local_host) - return _internal_local_host(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_local_host(ArgT0&& arg0, ArgT... args) { - - _impl_.local_host_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.local_host) -} -inline std::string* ListIkeSa::mutable_local_host() { - std::string* _s = _internal_mutable_local_host(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.local_host) - return _s; -} -inline const std::string& ListIkeSa::_internal_local_host() const { - return _impl_.local_host_.Get(); -} -inline void ListIkeSa::_internal_set_local_host(const std::string& value) { - - _impl_.local_host_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_local_host() { - - return _impl_.local_host_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_local_host() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.local_host) - return _impl_.local_host_.Release(); -} -inline void ListIkeSa::set_allocated_local_host(std::string* local_host) { - if (local_host != nullptr) { - - } else { - - } - _impl_.local_host_.SetAllocated(local_host, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.local_host_.IsDefault()) { - _impl_.local_host_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.local_host) -} - -// string local_port = 6; -inline void ListIkeSa::clear_local_port() { - _impl_.local_port_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::local_port() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.local_port) - return _internal_local_port(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_local_port(ArgT0&& arg0, ArgT... args) { - - _impl_.local_port_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.local_port) -} -inline std::string* ListIkeSa::mutable_local_port() { - std::string* _s = _internal_mutable_local_port(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.local_port) - return _s; -} -inline const std::string& ListIkeSa::_internal_local_port() const { - return _impl_.local_port_.Get(); -} -inline void ListIkeSa::_internal_set_local_port(const std::string& value) { - - _impl_.local_port_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_local_port() { - - return _impl_.local_port_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_local_port() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.local_port) - return _impl_.local_port_.Release(); -} -inline void ListIkeSa::set_allocated_local_port(std::string* local_port) { - if (local_port != nullptr) { - - } else { - - } - _impl_.local_port_.SetAllocated(local_port, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.local_port_.IsDefault()) { - _impl_.local_port_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.local_port) -} - -// string local_id = 7; -inline void ListIkeSa::clear_local_id() { - _impl_.local_id_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::local_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.local_id) - return _internal_local_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_local_id(ArgT0&& arg0, ArgT... args) { - - _impl_.local_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.local_id) -} -inline std::string* ListIkeSa::mutable_local_id() { - std::string* _s = _internal_mutable_local_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.local_id) - return _s; -} -inline const std::string& ListIkeSa::_internal_local_id() const { - return _impl_.local_id_.Get(); -} -inline void ListIkeSa::_internal_set_local_id(const std::string& value) { - - _impl_.local_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_local_id() { - - return _impl_.local_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_local_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.local_id) - return _impl_.local_id_.Release(); -} -inline void ListIkeSa::set_allocated_local_id(std::string* local_id) { - if (local_id != nullptr) { - - } else { - - } - _impl_.local_id_.SetAllocated(local_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.local_id_.IsDefault()) { - _impl_.local_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.local_id) -} - -// string remote_host = 8; -inline void ListIkeSa::clear_remote_host() { - _impl_.remote_host_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::remote_host() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.remote_host) - return _internal_remote_host(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_remote_host(ArgT0&& arg0, ArgT... args) { - - _impl_.remote_host_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.remote_host) -} -inline std::string* ListIkeSa::mutable_remote_host() { - std::string* _s = _internal_mutable_remote_host(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.remote_host) - return _s; -} -inline const std::string& ListIkeSa::_internal_remote_host() const { - return _impl_.remote_host_.Get(); -} -inline void ListIkeSa::_internal_set_remote_host(const std::string& value) { - - _impl_.remote_host_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_remote_host() { - - return _impl_.remote_host_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_remote_host() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.remote_host) - return _impl_.remote_host_.Release(); -} -inline void ListIkeSa::set_allocated_remote_host(std::string* remote_host) { - if (remote_host != nullptr) { - - } else { - - } - _impl_.remote_host_.SetAllocated(remote_host, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.remote_host_.IsDefault()) { - _impl_.remote_host_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.remote_host) -} - -// string remote_port = 9; -inline void ListIkeSa::clear_remote_port() { - _impl_.remote_port_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::remote_port() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.remote_port) - return _internal_remote_port(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_remote_port(ArgT0&& arg0, ArgT... args) { - - _impl_.remote_port_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.remote_port) -} -inline std::string* ListIkeSa::mutable_remote_port() { - std::string* _s = _internal_mutable_remote_port(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.remote_port) - return _s; -} -inline const std::string& ListIkeSa::_internal_remote_port() const { - return _impl_.remote_port_.Get(); -} -inline void ListIkeSa::_internal_set_remote_port(const std::string& value) { - - _impl_.remote_port_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_remote_port() { - - return _impl_.remote_port_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_remote_port() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.remote_port) - return _impl_.remote_port_.Release(); -} -inline void ListIkeSa::set_allocated_remote_port(std::string* remote_port) { - if (remote_port != nullptr) { - - } else { - - } - _impl_.remote_port_.SetAllocated(remote_port, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.remote_port_.IsDefault()) { - _impl_.remote_port_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.remote_port) -} - -// string remote_id = 10; -inline void ListIkeSa::clear_remote_id() { - _impl_.remote_id_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::remote_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.remote_id) - return _internal_remote_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_remote_id(ArgT0&& arg0, ArgT... args) { - - _impl_.remote_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.remote_id) -} -inline std::string* ListIkeSa::mutable_remote_id() { - std::string* _s = _internal_mutable_remote_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.remote_id) - return _s; -} -inline const std::string& ListIkeSa::_internal_remote_id() const { - return _impl_.remote_id_.Get(); -} -inline void ListIkeSa::_internal_set_remote_id(const std::string& value) { - - _impl_.remote_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_remote_id() { - - return _impl_.remote_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_remote_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.remote_id) - return _impl_.remote_id_.Release(); -} -inline void ListIkeSa::set_allocated_remote_id(std::string* remote_id) { - if (remote_id != nullptr) { - - } else { - - } - _impl_.remote_id_.SetAllocated(remote_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.remote_id_.IsDefault()) { - _impl_.remote_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.remote_id) -} - -// string remote_xauth_id = 11; -inline void ListIkeSa::clear_remote_xauth_id() { - _impl_.remote_xauth_id_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::remote_xauth_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.remote_xauth_id) - return _internal_remote_xauth_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_remote_xauth_id(ArgT0&& arg0, ArgT... args) { - - _impl_.remote_xauth_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.remote_xauth_id) -} -inline std::string* ListIkeSa::mutable_remote_xauth_id() { - std::string* _s = _internal_mutable_remote_xauth_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.remote_xauth_id) - return _s; -} -inline const std::string& ListIkeSa::_internal_remote_xauth_id() const { - return _impl_.remote_xauth_id_.Get(); -} -inline void ListIkeSa::_internal_set_remote_xauth_id(const std::string& value) { - - _impl_.remote_xauth_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_remote_xauth_id() { - - return _impl_.remote_xauth_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_remote_xauth_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.remote_xauth_id) - return _impl_.remote_xauth_id_.Release(); -} -inline void ListIkeSa::set_allocated_remote_xauth_id(std::string* remote_xauth_id) { - if (remote_xauth_id != nullptr) { - - } else { - - } - _impl_.remote_xauth_id_.SetAllocated(remote_xauth_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.remote_xauth_id_.IsDefault()) { - _impl_.remote_xauth_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.remote_xauth_id) -} - -// string remote_eap_id = 12; -inline void ListIkeSa::clear_remote_eap_id() { - _impl_.remote_eap_id_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::remote_eap_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.remote_eap_id) - return _internal_remote_eap_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_remote_eap_id(ArgT0&& arg0, ArgT... args) { - - _impl_.remote_eap_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.remote_eap_id) -} -inline std::string* ListIkeSa::mutable_remote_eap_id() { - std::string* _s = _internal_mutable_remote_eap_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.remote_eap_id) - return _s; -} -inline const std::string& ListIkeSa::_internal_remote_eap_id() const { - return _impl_.remote_eap_id_.Get(); -} -inline void ListIkeSa::_internal_set_remote_eap_id(const std::string& value) { - - _impl_.remote_eap_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_remote_eap_id() { - - return _impl_.remote_eap_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_remote_eap_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.remote_eap_id) - return _impl_.remote_eap_id_.Release(); -} -inline void ListIkeSa::set_allocated_remote_eap_id(std::string* remote_eap_id) { - if (remote_eap_id != nullptr) { - - } else { - - } - _impl_.remote_eap_id_.SetAllocated(remote_eap_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.remote_eap_id_.IsDefault()) { - _impl_.remote_eap_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.remote_eap_id) -} - -// string initiator = 13; -inline void ListIkeSa::clear_initiator() { - _impl_.initiator_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::initiator() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.initiator) - return _internal_initiator(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_initiator(ArgT0&& arg0, ArgT... args) { - - _impl_.initiator_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.initiator) -} -inline std::string* ListIkeSa::mutable_initiator() { - std::string* _s = _internal_mutable_initiator(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.initiator) - return _s; -} -inline const std::string& ListIkeSa::_internal_initiator() const { - return _impl_.initiator_.Get(); -} -inline void ListIkeSa::_internal_set_initiator(const std::string& value) { - - _impl_.initiator_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_initiator() { - - return _impl_.initiator_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_initiator() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.initiator) - return _impl_.initiator_.Release(); -} -inline void ListIkeSa::set_allocated_initiator(std::string* initiator) { - if (initiator != nullptr) { - - } else { - - } - _impl_.initiator_.SetAllocated(initiator, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.initiator_.IsDefault()) { - _impl_.initiator_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.initiator) -} - -// string initiator_spi = 14; -inline void ListIkeSa::clear_initiator_spi() { - _impl_.initiator_spi_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::initiator_spi() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.initiator_spi) - return _internal_initiator_spi(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_initiator_spi(ArgT0&& arg0, ArgT... args) { - - _impl_.initiator_spi_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.initiator_spi) -} -inline std::string* ListIkeSa::mutable_initiator_spi() { - std::string* _s = _internal_mutable_initiator_spi(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.initiator_spi) - return _s; -} -inline const std::string& ListIkeSa::_internal_initiator_spi() const { - return _impl_.initiator_spi_.Get(); -} -inline void ListIkeSa::_internal_set_initiator_spi(const std::string& value) { - - _impl_.initiator_spi_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_initiator_spi() { - - return _impl_.initiator_spi_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_initiator_spi() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.initiator_spi) - return _impl_.initiator_spi_.Release(); -} -inline void ListIkeSa::set_allocated_initiator_spi(std::string* initiator_spi) { - if (initiator_spi != nullptr) { - - } else { - - } - _impl_.initiator_spi_.SetAllocated(initiator_spi, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.initiator_spi_.IsDefault()) { - _impl_.initiator_spi_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.initiator_spi) -} - -// string responder_spi = 15; -inline void ListIkeSa::clear_responder_spi() { - _impl_.responder_spi_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::responder_spi() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.responder_spi) - return _internal_responder_spi(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_responder_spi(ArgT0&& arg0, ArgT... args) { - - _impl_.responder_spi_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.responder_spi) -} -inline std::string* ListIkeSa::mutable_responder_spi() { - std::string* _s = _internal_mutable_responder_spi(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.responder_spi) - return _s; -} -inline const std::string& ListIkeSa::_internal_responder_spi() const { - return _impl_.responder_spi_.Get(); -} -inline void ListIkeSa::_internal_set_responder_spi(const std::string& value) { - - _impl_.responder_spi_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_responder_spi() { - - return _impl_.responder_spi_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_responder_spi() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.responder_spi) - return _impl_.responder_spi_.Release(); -} -inline void ListIkeSa::set_allocated_responder_spi(std::string* responder_spi) { - if (responder_spi != nullptr) { - - } else { - - } - _impl_.responder_spi_.SetAllocated(responder_spi, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.responder_spi_.IsDefault()) { - _impl_.responder_spi_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.responder_spi) -} - -// string nat_local = 16; -inline void ListIkeSa::clear_nat_local() { - _impl_.nat_local_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::nat_local() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.nat_local) - return _internal_nat_local(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_nat_local(ArgT0&& arg0, ArgT... args) { - - _impl_.nat_local_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.nat_local) -} -inline std::string* ListIkeSa::mutable_nat_local() { - std::string* _s = _internal_mutable_nat_local(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.nat_local) - return _s; -} -inline const std::string& ListIkeSa::_internal_nat_local() const { - return _impl_.nat_local_.Get(); -} -inline void ListIkeSa::_internal_set_nat_local(const std::string& value) { - - _impl_.nat_local_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_nat_local() { - - return _impl_.nat_local_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_nat_local() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.nat_local) - return _impl_.nat_local_.Release(); -} -inline void ListIkeSa::set_allocated_nat_local(std::string* nat_local) { - if (nat_local != nullptr) { - - } else { - - } - _impl_.nat_local_.SetAllocated(nat_local, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nat_local_.IsDefault()) { - _impl_.nat_local_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.nat_local) -} - -// string nat_remote = 17; -inline void ListIkeSa::clear_nat_remote() { - _impl_.nat_remote_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::nat_remote() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.nat_remote) - return _internal_nat_remote(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_nat_remote(ArgT0&& arg0, ArgT... args) { - - _impl_.nat_remote_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.nat_remote) -} -inline std::string* ListIkeSa::mutable_nat_remote() { - std::string* _s = _internal_mutable_nat_remote(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.nat_remote) - return _s; -} -inline const std::string& ListIkeSa::_internal_nat_remote() const { - return _impl_.nat_remote_.Get(); -} -inline void ListIkeSa::_internal_set_nat_remote(const std::string& value) { - - _impl_.nat_remote_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_nat_remote() { - - return _impl_.nat_remote_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_nat_remote() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.nat_remote) - return _impl_.nat_remote_.Release(); -} -inline void ListIkeSa::set_allocated_nat_remote(std::string* nat_remote) { - if (nat_remote != nullptr) { - - } else { - - } - _impl_.nat_remote_.SetAllocated(nat_remote, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nat_remote_.IsDefault()) { - _impl_.nat_remote_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.nat_remote) -} - -// string nat_fake = 18; -inline void ListIkeSa::clear_nat_fake() { - _impl_.nat_fake_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::nat_fake() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.nat_fake) - return _internal_nat_fake(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_nat_fake(ArgT0&& arg0, ArgT... args) { - - _impl_.nat_fake_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.nat_fake) -} -inline std::string* ListIkeSa::mutable_nat_fake() { - std::string* _s = _internal_mutable_nat_fake(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.nat_fake) - return _s; -} -inline const std::string& ListIkeSa::_internal_nat_fake() const { - return _impl_.nat_fake_.Get(); -} -inline void ListIkeSa::_internal_set_nat_fake(const std::string& value) { - - _impl_.nat_fake_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_nat_fake() { - - return _impl_.nat_fake_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_nat_fake() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.nat_fake) - return _impl_.nat_fake_.Release(); -} -inline void ListIkeSa::set_allocated_nat_fake(std::string* nat_fake) { - if (nat_fake != nullptr) { - - } else { - - } - _impl_.nat_fake_.SetAllocated(nat_fake, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nat_fake_.IsDefault()) { - _impl_.nat_fake_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.nat_fake) -} - -// string nat_any = 19; -inline void ListIkeSa::clear_nat_any() { - _impl_.nat_any_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::nat_any() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.nat_any) - return _internal_nat_any(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_nat_any(ArgT0&& arg0, ArgT... args) { - - _impl_.nat_any_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.nat_any) -} -inline std::string* ListIkeSa::mutable_nat_any() { - std::string* _s = _internal_mutable_nat_any(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.nat_any) - return _s; -} -inline const std::string& ListIkeSa::_internal_nat_any() const { - return _impl_.nat_any_.Get(); -} -inline void ListIkeSa::_internal_set_nat_any(const std::string& value) { - - _impl_.nat_any_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_nat_any() { - - return _impl_.nat_any_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_nat_any() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.nat_any) - return _impl_.nat_any_.Release(); -} -inline void ListIkeSa::set_allocated_nat_any(std::string* nat_any) { - if (nat_any != nullptr) { - - } else { - - } - _impl_.nat_any_.SetAllocated(nat_any, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nat_any_.IsDefault()) { - _impl_.nat_any_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.nat_any) -} - -// string if_id_in = 20; -inline void ListIkeSa::clear_if_id_in() { - _impl_.if_id_in_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::if_id_in() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.if_id_in) - return _internal_if_id_in(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_if_id_in(ArgT0&& arg0, ArgT... args) { - - _impl_.if_id_in_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.if_id_in) -} -inline std::string* ListIkeSa::mutable_if_id_in() { - std::string* _s = _internal_mutable_if_id_in(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.if_id_in) - return _s; -} -inline const std::string& ListIkeSa::_internal_if_id_in() const { - return _impl_.if_id_in_.Get(); -} -inline void ListIkeSa::_internal_set_if_id_in(const std::string& value) { - - _impl_.if_id_in_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_if_id_in() { - - return _impl_.if_id_in_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_if_id_in() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.if_id_in) - return _impl_.if_id_in_.Release(); -} -inline void ListIkeSa::set_allocated_if_id_in(std::string* if_id_in) { - if (if_id_in != nullptr) { - - } else { - - } - _impl_.if_id_in_.SetAllocated(if_id_in, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.if_id_in_.IsDefault()) { - _impl_.if_id_in_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.if_id_in) -} - -// string if_id_out = 21; -inline void ListIkeSa::clear_if_id_out() { - _impl_.if_id_out_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::if_id_out() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.if_id_out) - return _internal_if_id_out(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_if_id_out(ArgT0&& arg0, ArgT... args) { - - _impl_.if_id_out_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.if_id_out) -} -inline std::string* ListIkeSa::mutable_if_id_out() { - std::string* _s = _internal_mutable_if_id_out(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.if_id_out) - return _s; -} -inline const std::string& ListIkeSa::_internal_if_id_out() const { - return _impl_.if_id_out_.Get(); -} -inline void ListIkeSa::_internal_set_if_id_out(const std::string& value) { - - _impl_.if_id_out_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_if_id_out() { - - return _impl_.if_id_out_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_if_id_out() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.if_id_out) - return _impl_.if_id_out_.Release(); -} -inline void ListIkeSa::set_allocated_if_id_out(std::string* if_id_out) { - if (if_id_out != nullptr) { - - } else { - - } - _impl_.if_id_out_.SetAllocated(if_id_out, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.if_id_out_.IsDefault()) { - _impl_.if_id_out_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.if_id_out) -} - -// string encr_alg = 22; -inline void ListIkeSa::clear_encr_alg() { - _impl_.encr_alg_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::encr_alg() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.encr_alg) - return _internal_encr_alg(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_encr_alg(ArgT0&& arg0, ArgT... args) { - - _impl_.encr_alg_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.encr_alg) -} -inline std::string* ListIkeSa::mutable_encr_alg() { - std::string* _s = _internal_mutable_encr_alg(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.encr_alg) - return _s; -} -inline const std::string& ListIkeSa::_internal_encr_alg() const { - return _impl_.encr_alg_.Get(); -} -inline void ListIkeSa::_internal_set_encr_alg(const std::string& value) { - - _impl_.encr_alg_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_encr_alg() { - - return _impl_.encr_alg_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_encr_alg() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.encr_alg) - return _impl_.encr_alg_.Release(); -} -inline void ListIkeSa::set_allocated_encr_alg(std::string* encr_alg) { - if (encr_alg != nullptr) { - - } else { - - } - _impl_.encr_alg_.SetAllocated(encr_alg, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encr_alg_.IsDefault()) { - _impl_.encr_alg_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.encr_alg) -} - -// string encr_keysize = 23; -inline void ListIkeSa::clear_encr_keysize() { - _impl_.encr_keysize_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::encr_keysize() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.encr_keysize) - return _internal_encr_keysize(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_encr_keysize(ArgT0&& arg0, ArgT... args) { - - _impl_.encr_keysize_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.encr_keysize) -} -inline std::string* ListIkeSa::mutable_encr_keysize() { - std::string* _s = _internal_mutable_encr_keysize(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.encr_keysize) - return _s; -} -inline const std::string& ListIkeSa::_internal_encr_keysize() const { - return _impl_.encr_keysize_.Get(); -} -inline void ListIkeSa::_internal_set_encr_keysize(const std::string& value) { - - _impl_.encr_keysize_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_encr_keysize() { - - return _impl_.encr_keysize_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_encr_keysize() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.encr_keysize) - return _impl_.encr_keysize_.Release(); -} -inline void ListIkeSa::set_allocated_encr_keysize(std::string* encr_keysize) { - if (encr_keysize != nullptr) { - - } else { - - } - _impl_.encr_keysize_.SetAllocated(encr_keysize, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encr_keysize_.IsDefault()) { - _impl_.encr_keysize_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.encr_keysize) -} - -// string integ_alg = 24; -inline void ListIkeSa::clear_integ_alg() { - _impl_.integ_alg_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::integ_alg() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.integ_alg) - return _internal_integ_alg(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_integ_alg(ArgT0&& arg0, ArgT... args) { - - _impl_.integ_alg_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.integ_alg) -} -inline std::string* ListIkeSa::mutable_integ_alg() { - std::string* _s = _internal_mutable_integ_alg(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.integ_alg) - return _s; -} -inline const std::string& ListIkeSa::_internal_integ_alg() const { - return _impl_.integ_alg_.Get(); -} -inline void ListIkeSa::_internal_set_integ_alg(const std::string& value) { - - _impl_.integ_alg_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_integ_alg() { - - return _impl_.integ_alg_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_integ_alg() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.integ_alg) - return _impl_.integ_alg_.Release(); -} -inline void ListIkeSa::set_allocated_integ_alg(std::string* integ_alg) { - if (integ_alg != nullptr) { - - } else { - - } - _impl_.integ_alg_.SetAllocated(integ_alg, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.integ_alg_.IsDefault()) { - _impl_.integ_alg_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.integ_alg) -} - -// string integ_keysize = 25; -inline void ListIkeSa::clear_integ_keysize() { - _impl_.integ_keysize_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::integ_keysize() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.integ_keysize) - return _internal_integ_keysize(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_integ_keysize(ArgT0&& arg0, ArgT... args) { - - _impl_.integ_keysize_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.integ_keysize) -} -inline std::string* ListIkeSa::mutable_integ_keysize() { - std::string* _s = _internal_mutable_integ_keysize(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.integ_keysize) - return _s; -} -inline const std::string& ListIkeSa::_internal_integ_keysize() const { - return _impl_.integ_keysize_.Get(); -} -inline void ListIkeSa::_internal_set_integ_keysize(const std::string& value) { - - _impl_.integ_keysize_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_integ_keysize() { - - return _impl_.integ_keysize_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_integ_keysize() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.integ_keysize) - return _impl_.integ_keysize_.Release(); -} -inline void ListIkeSa::set_allocated_integ_keysize(std::string* integ_keysize) { - if (integ_keysize != nullptr) { - - } else { - - } - _impl_.integ_keysize_.SetAllocated(integ_keysize, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.integ_keysize_.IsDefault()) { - _impl_.integ_keysize_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.integ_keysize) -} - -// string prf_alg = 26; -inline void ListIkeSa::clear_prf_alg() { - _impl_.prf_alg_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::prf_alg() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.prf_alg) - return _internal_prf_alg(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_prf_alg(ArgT0&& arg0, ArgT... args) { - - _impl_.prf_alg_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.prf_alg) -} -inline std::string* ListIkeSa::mutable_prf_alg() { - std::string* _s = _internal_mutable_prf_alg(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.prf_alg) - return _s; -} -inline const std::string& ListIkeSa::_internal_prf_alg() const { - return _impl_.prf_alg_.Get(); -} -inline void ListIkeSa::_internal_set_prf_alg(const std::string& value) { - - _impl_.prf_alg_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_prf_alg() { - - return _impl_.prf_alg_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_prf_alg() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.prf_alg) - return _impl_.prf_alg_.Release(); -} -inline void ListIkeSa::set_allocated_prf_alg(std::string* prf_alg) { - if (prf_alg != nullptr) { - - } else { - - } - _impl_.prf_alg_.SetAllocated(prf_alg, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.prf_alg_.IsDefault()) { - _impl_.prf_alg_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.prf_alg) -} - -// string dh_group = 27; -inline void ListIkeSa::clear_dh_group() { - _impl_.dh_group_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::dh_group() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.dh_group) - return _internal_dh_group(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_dh_group(ArgT0&& arg0, ArgT... args) { - - _impl_.dh_group_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.dh_group) -} -inline std::string* ListIkeSa::mutable_dh_group() { - std::string* _s = _internal_mutable_dh_group(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.dh_group) - return _s; -} -inline const std::string& ListIkeSa::_internal_dh_group() const { - return _impl_.dh_group_.Get(); -} -inline void ListIkeSa::_internal_set_dh_group(const std::string& value) { - - _impl_.dh_group_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_dh_group() { - - return _impl_.dh_group_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_dh_group() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.dh_group) - return _impl_.dh_group_.Release(); -} -inline void ListIkeSa::set_allocated_dh_group(std::string* dh_group) { - if (dh_group != nullptr) { - - } else { - - } - _impl_.dh_group_.SetAllocated(dh_group, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dh_group_.IsDefault()) { - _impl_.dh_group_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.dh_group) -} - -// string ppk = 28; -inline void ListIkeSa::clear_ppk() { - _impl_.ppk_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::ppk() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.ppk) - return _internal_ppk(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_ppk(ArgT0&& arg0, ArgT... args) { - - _impl_.ppk_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.ppk) -} -inline std::string* ListIkeSa::mutable_ppk() { - std::string* _s = _internal_mutable_ppk(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.ppk) - return _s; -} -inline const std::string& ListIkeSa::_internal_ppk() const { - return _impl_.ppk_.Get(); -} -inline void ListIkeSa::_internal_set_ppk(const std::string& value) { - - _impl_.ppk_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_ppk() { - - return _impl_.ppk_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_ppk() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.ppk) - return _impl_.ppk_.Release(); -} -inline void ListIkeSa::set_allocated_ppk(std::string* ppk) { - if (ppk != nullptr) { - - } else { - - } - _impl_.ppk_.SetAllocated(ppk, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ppk_.IsDefault()) { - _impl_.ppk_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.ppk) -} - -// string established = 29; -inline void ListIkeSa::clear_established() { - _impl_.established_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::established() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.established) - return _internal_established(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_established(ArgT0&& arg0, ArgT... args) { - - _impl_.established_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.established) -} -inline std::string* ListIkeSa::mutable_established() { - std::string* _s = _internal_mutable_established(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.established) - return _s; -} -inline const std::string& ListIkeSa::_internal_established() const { - return _impl_.established_.Get(); -} -inline void ListIkeSa::_internal_set_established(const std::string& value) { - - _impl_.established_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_established() { - - return _impl_.established_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_established() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.established) - return _impl_.established_.Release(); -} -inline void ListIkeSa::set_allocated_established(std::string* established) { - if (established != nullptr) { - - } else { - - } - _impl_.established_.SetAllocated(established, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.established_.IsDefault()) { - _impl_.established_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.established) -} - -// string rekey_time = 30; -inline void ListIkeSa::clear_rekey_time() { - _impl_.rekey_time_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::rekey_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.rekey_time) - return _internal_rekey_time(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_rekey_time(ArgT0&& arg0, ArgT... args) { - - _impl_.rekey_time_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.rekey_time) -} -inline std::string* ListIkeSa::mutable_rekey_time() { - std::string* _s = _internal_mutable_rekey_time(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.rekey_time) - return _s; -} -inline const std::string& ListIkeSa::_internal_rekey_time() const { - return _impl_.rekey_time_.Get(); -} -inline void ListIkeSa::_internal_set_rekey_time(const std::string& value) { - - _impl_.rekey_time_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_rekey_time() { - - return _impl_.rekey_time_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_rekey_time() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.rekey_time) - return _impl_.rekey_time_.Release(); -} -inline void ListIkeSa::set_allocated_rekey_time(std::string* rekey_time) { - if (rekey_time != nullptr) { - - } else { - - } - _impl_.rekey_time_.SetAllocated(rekey_time, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.rekey_time_.IsDefault()) { - _impl_.rekey_time_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.rekey_time) -} - -// string reauth_time = 31; -inline void ListIkeSa::clear_reauth_time() { - _impl_.reauth_time_.ClearToEmpty(); -} -inline const std::string& ListIkeSa::reauth_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.reauth_time) - return _internal_reauth_time(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListIkeSa::set_reauth_time(ArgT0&& arg0, ArgT... args) { - - _impl_.reauth_time_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.reauth_time) -} -inline std::string* ListIkeSa::mutable_reauth_time() { - std::string* _s = _internal_mutable_reauth_time(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.reauth_time) - return _s; -} -inline const std::string& ListIkeSa::_internal_reauth_time() const { - return _impl_.reauth_time_.Get(); -} -inline void ListIkeSa::_internal_set_reauth_time(const std::string& value) { - - _impl_.reauth_time_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListIkeSa::_internal_mutable_reauth_time() { - - return _impl_.reauth_time_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListIkeSa::release_reauth_time() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListIkeSa.reauth_time) - return _impl_.reauth_time_.Release(); -} -inline void ListIkeSa::set_allocated_reauth_time(std::string* reauth_time) { - if (reauth_time != nullptr) { - - } else { - - } - _impl_.reauth_time_.SetAllocated(reauth_time, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.reauth_time_.IsDefault()) { - _impl_.reauth_time_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListIkeSa.reauth_time) -} - -// repeated string local_vips = 32; -inline int ListIkeSa::_internal_local_vips_size() const { - return _impl_.local_vips_.size(); -} -inline int ListIkeSa::local_vips_size() const { - return _internal_local_vips_size(); -} -inline void ListIkeSa::clear_local_vips() { - _impl_.local_vips_.Clear(); -} -inline std::string* ListIkeSa::add_local_vips() { - std::string* _s = _internal_add_local_vips(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.ListIkeSa.local_vips) - return _s; -} -inline const std::string& ListIkeSa::_internal_local_vips(int index) const { - return _impl_.local_vips_.Get(index); -} -inline const std::string& ListIkeSa::local_vips(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.local_vips) - return _internal_local_vips(index); -} -inline std::string* ListIkeSa::mutable_local_vips(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.local_vips) - return _impl_.local_vips_.Mutable(index); -} -inline void ListIkeSa::set_local_vips(int index, const std::string& value) { - _impl_.local_vips_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.local_vips) -} -inline void ListIkeSa::set_local_vips(int index, std::string&& value) { - _impl_.local_vips_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.local_vips) -} -inline void ListIkeSa::set_local_vips(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.local_vips_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.ListIkeSa.local_vips) -} -inline void ListIkeSa::set_local_vips(int index, const char* value, size_t size) { - _impl_.local_vips_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.ListIkeSa.local_vips) -} -inline std::string* ListIkeSa::_internal_add_local_vips() { - return _impl_.local_vips_.Add(); -} -inline void ListIkeSa::add_local_vips(const std::string& value) { - _impl_.local_vips_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.local_vips) -} -inline void ListIkeSa::add_local_vips(std::string&& value) { - _impl_.local_vips_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.local_vips) -} -inline void ListIkeSa::add_local_vips(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.local_vips_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.ListIkeSa.local_vips) -} -inline void ListIkeSa::add_local_vips(const char* value, size_t size) { - _impl_.local_vips_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.ListIkeSa.local_vips) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -ListIkeSa::local_vips() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListIkeSa.local_vips) - return _impl_.local_vips_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -ListIkeSa::mutable_local_vips() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListIkeSa.local_vips) - return &_impl_.local_vips_; -} - -// repeated string remote_vips = 33; -inline int ListIkeSa::_internal_remote_vips_size() const { - return _impl_.remote_vips_.size(); -} -inline int ListIkeSa::remote_vips_size() const { - return _internal_remote_vips_size(); -} -inline void ListIkeSa::clear_remote_vips() { - _impl_.remote_vips_.Clear(); -} -inline std::string* ListIkeSa::add_remote_vips() { - std::string* _s = _internal_add_remote_vips(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.ListIkeSa.remote_vips) - return _s; -} -inline const std::string& ListIkeSa::_internal_remote_vips(int index) const { - return _impl_.remote_vips_.Get(index); -} -inline const std::string& ListIkeSa::remote_vips(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.remote_vips) - return _internal_remote_vips(index); -} -inline std::string* ListIkeSa::mutable_remote_vips(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.remote_vips) - return _impl_.remote_vips_.Mutable(index); -} -inline void ListIkeSa::set_remote_vips(int index, const std::string& value) { - _impl_.remote_vips_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.remote_vips) -} -inline void ListIkeSa::set_remote_vips(int index, std::string&& value) { - _impl_.remote_vips_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.remote_vips) -} -inline void ListIkeSa::set_remote_vips(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.remote_vips_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.ListIkeSa.remote_vips) -} -inline void ListIkeSa::set_remote_vips(int index, const char* value, size_t size) { - _impl_.remote_vips_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.ListIkeSa.remote_vips) -} -inline std::string* ListIkeSa::_internal_add_remote_vips() { - return _impl_.remote_vips_.Add(); -} -inline void ListIkeSa::add_remote_vips(const std::string& value) { - _impl_.remote_vips_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.remote_vips) -} -inline void ListIkeSa::add_remote_vips(std::string&& value) { - _impl_.remote_vips_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.remote_vips) -} -inline void ListIkeSa::add_remote_vips(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.remote_vips_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.ListIkeSa.remote_vips) -} -inline void ListIkeSa::add_remote_vips(const char* value, size_t size) { - _impl_.remote_vips_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.ListIkeSa.remote_vips) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -ListIkeSa::remote_vips() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListIkeSa.remote_vips) - return _impl_.remote_vips_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -ListIkeSa::mutable_remote_vips() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListIkeSa.remote_vips) - return &_impl_.remote_vips_; -} - -// repeated string tasks_queued = 34; -inline int ListIkeSa::_internal_tasks_queued_size() const { - return _impl_.tasks_queued_.size(); -} -inline int ListIkeSa::tasks_queued_size() const { - return _internal_tasks_queued_size(); -} -inline void ListIkeSa::clear_tasks_queued() { - _impl_.tasks_queued_.Clear(); -} -inline std::string* ListIkeSa::add_tasks_queued() { - std::string* _s = _internal_add_tasks_queued(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.ListIkeSa.tasks_queued) - return _s; -} -inline const std::string& ListIkeSa::_internal_tasks_queued(int index) const { - return _impl_.tasks_queued_.Get(index); -} -inline const std::string& ListIkeSa::tasks_queued(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.tasks_queued) - return _internal_tasks_queued(index); -} -inline std::string* ListIkeSa::mutable_tasks_queued(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.tasks_queued) - return _impl_.tasks_queued_.Mutable(index); -} -inline void ListIkeSa::set_tasks_queued(int index, const std::string& value) { - _impl_.tasks_queued_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.tasks_queued) -} -inline void ListIkeSa::set_tasks_queued(int index, std::string&& value) { - _impl_.tasks_queued_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.tasks_queued) -} -inline void ListIkeSa::set_tasks_queued(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tasks_queued_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.ListIkeSa.tasks_queued) -} -inline void ListIkeSa::set_tasks_queued(int index, const char* value, size_t size) { - _impl_.tasks_queued_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.ListIkeSa.tasks_queued) -} -inline std::string* ListIkeSa::_internal_add_tasks_queued() { - return _impl_.tasks_queued_.Add(); -} -inline void ListIkeSa::add_tasks_queued(const std::string& value) { - _impl_.tasks_queued_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.tasks_queued) -} -inline void ListIkeSa::add_tasks_queued(std::string&& value) { - _impl_.tasks_queued_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.tasks_queued) -} -inline void ListIkeSa::add_tasks_queued(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tasks_queued_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.ListIkeSa.tasks_queued) -} -inline void ListIkeSa::add_tasks_queued(const char* value, size_t size) { - _impl_.tasks_queued_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.ListIkeSa.tasks_queued) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -ListIkeSa::tasks_queued() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListIkeSa.tasks_queued) - return _impl_.tasks_queued_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -ListIkeSa::mutable_tasks_queued() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListIkeSa.tasks_queued) - return &_impl_.tasks_queued_; -} - -// repeated string tasks_active = 35; -inline int ListIkeSa::_internal_tasks_active_size() const { - return _impl_.tasks_active_.size(); -} -inline int ListIkeSa::tasks_active_size() const { - return _internal_tasks_active_size(); -} -inline void ListIkeSa::clear_tasks_active() { - _impl_.tasks_active_.Clear(); -} -inline std::string* ListIkeSa::add_tasks_active() { - std::string* _s = _internal_add_tasks_active(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.ListIkeSa.tasks_active) - return _s; -} -inline const std::string& ListIkeSa::_internal_tasks_active(int index) const { - return _impl_.tasks_active_.Get(index); -} -inline const std::string& ListIkeSa::tasks_active(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.tasks_active) - return _internal_tasks_active(index); -} -inline std::string* ListIkeSa::mutable_tasks_active(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.tasks_active) - return _impl_.tasks_active_.Mutable(index); -} -inline void ListIkeSa::set_tasks_active(int index, const std::string& value) { - _impl_.tasks_active_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.tasks_active) -} -inline void ListIkeSa::set_tasks_active(int index, std::string&& value) { - _impl_.tasks_active_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.tasks_active) -} -inline void ListIkeSa::set_tasks_active(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tasks_active_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.ListIkeSa.tasks_active) -} -inline void ListIkeSa::set_tasks_active(int index, const char* value, size_t size) { - _impl_.tasks_active_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.ListIkeSa.tasks_active) -} -inline std::string* ListIkeSa::_internal_add_tasks_active() { - return _impl_.tasks_active_.Add(); -} -inline void ListIkeSa::add_tasks_active(const std::string& value) { - _impl_.tasks_active_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.tasks_active) -} -inline void ListIkeSa::add_tasks_active(std::string&& value) { - _impl_.tasks_active_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.tasks_active) -} -inline void ListIkeSa::add_tasks_active(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tasks_active_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.ListIkeSa.tasks_active) -} -inline void ListIkeSa::add_tasks_active(const char* value, size_t size) { - _impl_.tasks_active_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.ListIkeSa.tasks_active) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -ListIkeSa::tasks_active() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListIkeSa.tasks_active) - return _impl_.tasks_active_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -ListIkeSa::mutable_tasks_active() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListIkeSa.tasks_active) - return &_impl_.tasks_active_; -} - -// repeated string tasks_passive = 36; -inline int ListIkeSa::_internal_tasks_passive_size() const { - return _impl_.tasks_passive_.size(); -} -inline int ListIkeSa::tasks_passive_size() const { - return _internal_tasks_passive_size(); -} -inline void ListIkeSa::clear_tasks_passive() { - _impl_.tasks_passive_.Clear(); -} -inline std::string* ListIkeSa::add_tasks_passive() { - std::string* _s = _internal_add_tasks_passive(); - // @@protoc_insertion_point(field_add_mutable:opi_api.security.v1.ListIkeSa.tasks_passive) - return _s; -} -inline const std::string& ListIkeSa::_internal_tasks_passive(int index) const { - return _impl_.tasks_passive_.Get(index); -} -inline const std::string& ListIkeSa::tasks_passive(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.tasks_passive) - return _internal_tasks_passive(index); -} -inline std::string* ListIkeSa::mutable_tasks_passive(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.tasks_passive) - return _impl_.tasks_passive_.Mutable(index); -} -inline void ListIkeSa::set_tasks_passive(int index, const std::string& value) { - _impl_.tasks_passive_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.tasks_passive) -} -inline void ListIkeSa::set_tasks_passive(int index, std::string&& value) { - _impl_.tasks_passive_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListIkeSa.tasks_passive) -} -inline void ListIkeSa::set_tasks_passive(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tasks_passive_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:opi_api.security.v1.ListIkeSa.tasks_passive) -} -inline void ListIkeSa::set_tasks_passive(int index, const char* value, size_t size) { - _impl_.tasks_passive_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:opi_api.security.v1.ListIkeSa.tasks_passive) -} -inline std::string* ListIkeSa::_internal_add_tasks_passive() { - return _impl_.tasks_passive_.Add(); -} -inline void ListIkeSa::add_tasks_passive(const std::string& value) { - _impl_.tasks_passive_.Add()->assign(value); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.tasks_passive) -} -inline void ListIkeSa::add_tasks_passive(std::string&& value) { - _impl_.tasks_passive_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.tasks_passive) -} -inline void ListIkeSa::add_tasks_passive(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tasks_passive_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:opi_api.security.v1.ListIkeSa.tasks_passive) -} -inline void ListIkeSa::add_tasks_passive(const char* value, size_t size) { - _impl_.tasks_passive_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:opi_api.security.v1.ListIkeSa.tasks_passive) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -ListIkeSa::tasks_passive() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListIkeSa.tasks_passive) - return _impl_.tasks_passive_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -ListIkeSa::mutable_tasks_passive() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListIkeSa.tasks_passive) - return &_impl_.tasks_passive_; -} - -// repeated .opi_api.security.v1.ListChildSa childsas = 37; -inline int ListIkeSa::_internal_childsas_size() const { - return _impl_.childsas_.size(); -} -inline int ListIkeSa::childsas_size() const { - return _internal_childsas_size(); -} -inline void ListIkeSa::clear_childsas() { - _impl_.childsas_.Clear(); -} -inline ::opi_api::security::v1::ListChildSa* ListIkeSa::mutable_childsas(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListIkeSa.childsas) - return _impl_.childsas_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChildSa >* -ListIkeSa::mutable_childsas() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListIkeSa.childsas) - return &_impl_.childsas_; -} -inline const ::opi_api::security::v1::ListChildSa& ListIkeSa::_internal_childsas(int index) const { - return _impl_.childsas_.Get(index); -} -inline const ::opi_api::security::v1::ListChildSa& ListIkeSa::childsas(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListIkeSa.childsas) - return _internal_childsas(index); -} -inline ::opi_api::security::v1::ListChildSa* ListIkeSa::_internal_add_childsas() { - return _impl_.childsas_.Add(); -} -inline ::opi_api::security::v1::ListChildSa* ListIkeSa::add_childsas() { - ::opi_api::security::v1::ListChildSa* _add = _internal_add_childsas(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListIkeSa.childsas) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChildSa >& -ListIkeSa::childsas() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListIkeSa.childsas) - return _impl_.childsas_; -} - -// ------------------------------------------------------------------- - -// IPsecListSasResponse - -// repeated .opi_api.security.v1.ListIkeSa ikesas = 1; -inline int IPsecListSasResponse::_internal_ikesas_size() const { - return _impl_.ikesas_.size(); -} -inline int IPsecListSasResponse::ikesas_size() const { - return _internal_ikesas_size(); -} -inline void IPsecListSasResponse::clear_ikesas() { - _impl_.ikesas_.Clear(); -} -inline ::opi_api::security::v1::ListIkeSa* IPsecListSasResponse::mutable_ikesas(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListSasResponse.ikesas) - return _impl_.ikesas_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListIkeSa >* -IPsecListSasResponse::mutable_ikesas() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.IPsecListSasResponse.ikesas) - return &_impl_.ikesas_; -} -inline const ::opi_api::security::v1::ListIkeSa& IPsecListSasResponse::_internal_ikesas(int index) const { - return _impl_.ikesas_.Get(index); -} -inline const ::opi_api::security::v1::ListIkeSa& IPsecListSasResponse::ikesas(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListSasResponse.ikesas) - return _internal_ikesas(index); -} -inline ::opi_api::security::v1::ListIkeSa* IPsecListSasResponse::_internal_add_ikesas() { - return _impl_.ikesas_.Add(); -} -inline ::opi_api::security::v1::ListIkeSa* IPsecListSasResponse::add_ikesas() { - ::opi_api::security::v1::ListIkeSa* _add = _internal_add_ikesas(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.IPsecListSasResponse.ikesas) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListIkeSa >& -IPsecListSasResponse::ikesas() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.IPsecListSasResponse.ikesas) - return _impl_.ikesas_; -} - -// ------------------------------------------------------------------- - -// IPsecListConnsRequest - -// string ike = 1; -inline void IPsecListConnsRequest::clear_ike() { - _impl_.ike_.ClearToEmpty(); -} -inline const std::string& IPsecListConnsRequest::ike() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListConnsRequest.ike) - return _internal_ike(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecListConnsRequest::set_ike(ArgT0&& arg0, ArgT... args) { - - _impl_.ike_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecListConnsRequest.ike) -} -inline std::string* IPsecListConnsRequest::mutable_ike() { - std::string* _s = _internal_mutable_ike(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListConnsRequest.ike) - return _s; -} -inline const std::string& IPsecListConnsRequest::_internal_ike() const { - return _impl_.ike_.Get(); -} -inline void IPsecListConnsRequest::_internal_set_ike(const std::string& value) { - - _impl_.ike_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecListConnsRequest::_internal_mutable_ike() { - - return _impl_.ike_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecListConnsRequest::release_ike() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecListConnsRequest.ike) - return _impl_.ike_.Release(); -} -inline void IPsecListConnsRequest::set_allocated_ike(std::string* ike) { - if (ike != nullptr) { - - } else { - - } - _impl_.ike_.SetAllocated(ike, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ike_.IsDefault()) { - _impl_.ike_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecListConnsRequest.ike) -} - -// ------------------------------------------------------------------- - -// ListConnAuth - -// string class = 1; -inline void ListConnAuth::clear_class_() { - _impl_.class__.ClearToEmpty(); -} -inline const std::string& ListConnAuth::class_() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.class) - return _internal_class_(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_class_(ArgT0&& arg0, ArgT... args) { - - _impl_.class__.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.class) -} -inline std::string* ListConnAuth::mutable_class_() { - std::string* _s = _internal_mutable_class_(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.class) - return _s; -} -inline const std::string& ListConnAuth::_internal_class_() const { - return _impl_.class__.Get(); -} -inline void ListConnAuth::_internal_set_class_(const std::string& value) { - - _impl_.class__.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_class_() { - - return _impl_.class__.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_class_() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.class) - return _impl_.class__.Release(); -} -inline void ListConnAuth::set_allocated_class_(std::string* class_) { - if (class_ != nullptr) { - - } else { - - } - _impl_.class__.SetAllocated(class_, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.class__.IsDefault()) { - _impl_.class__.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.class) -} - -// string eaptype = 2; -inline void ListConnAuth::clear_eaptype() { - _impl_.eaptype_.ClearToEmpty(); -} -inline const std::string& ListConnAuth::eaptype() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.eaptype) - return _internal_eaptype(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_eaptype(ArgT0&& arg0, ArgT... args) { - - _impl_.eaptype_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.eaptype) -} -inline std::string* ListConnAuth::mutable_eaptype() { - std::string* _s = _internal_mutable_eaptype(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.eaptype) - return _s; -} -inline const std::string& ListConnAuth::_internal_eaptype() const { - return _impl_.eaptype_.Get(); -} -inline void ListConnAuth::_internal_set_eaptype(const std::string& value) { - - _impl_.eaptype_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_eaptype() { - - return _impl_.eaptype_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_eaptype() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.eaptype) - return _impl_.eaptype_.Release(); -} -inline void ListConnAuth::set_allocated_eaptype(std::string* eaptype) { - if (eaptype != nullptr) { - - } else { - - } - _impl_.eaptype_.SetAllocated(eaptype, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.eaptype_.IsDefault()) { - _impl_.eaptype_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.eaptype) -} - -// string eapvendor = 3; -inline void ListConnAuth::clear_eapvendor() { - _impl_.eapvendor_.ClearToEmpty(); -} -inline const std::string& ListConnAuth::eapvendor() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.eapvendor) - return _internal_eapvendor(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_eapvendor(ArgT0&& arg0, ArgT... args) { - - _impl_.eapvendor_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.eapvendor) -} -inline std::string* ListConnAuth::mutable_eapvendor() { - std::string* _s = _internal_mutable_eapvendor(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.eapvendor) - return _s; -} -inline const std::string& ListConnAuth::_internal_eapvendor() const { - return _impl_.eapvendor_.Get(); -} -inline void ListConnAuth::_internal_set_eapvendor(const std::string& value) { - - _impl_.eapvendor_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_eapvendor() { - - return _impl_.eapvendor_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_eapvendor() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.eapvendor) - return _impl_.eapvendor_.Release(); -} -inline void ListConnAuth::set_allocated_eapvendor(std::string* eapvendor) { - if (eapvendor != nullptr) { - - } else { - - } - _impl_.eapvendor_.SetAllocated(eapvendor, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.eapvendor_.IsDefault()) { - _impl_.eapvendor_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.eapvendor) -} - -// string xauth = 4; -inline void ListConnAuth::clear_xauth() { - _impl_.xauth_.ClearToEmpty(); -} -inline const std::string& ListConnAuth::xauth() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.xauth) - return _internal_xauth(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_xauth(ArgT0&& arg0, ArgT... args) { - - _impl_.xauth_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.xauth) -} -inline std::string* ListConnAuth::mutable_xauth() { - std::string* _s = _internal_mutable_xauth(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.xauth) - return _s; -} -inline const std::string& ListConnAuth::_internal_xauth() const { - return _impl_.xauth_.Get(); -} -inline void ListConnAuth::_internal_set_xauth(const std::string& value) { - - _impl_.xauth_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_xauth() { - - return _impl_.xauth_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_xauth() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.xauth) - return _impl_.xauth_.Release(); -} -inline void ListConnAuth::set_allocated_xauth(std::string* xauth) { - if (xauth != nullptr) { - - } else { - - } - _impl_.xauth_.SetAllocated(xauth, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.xauth_.IsDefault()) { - _impl_.xauth_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.xauth) -} - -// string revocation = 5; -inline void ListConnAuth::clear_revocation() { - _impl_.revocation_.ClearToEmpty(); -} -inline const std::string& ListConnAuth::revocation() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.revocation) - return _internal_revocation(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_revocation(ArgT0&& arg0, ArgT... args) { - - _impl_.revocation_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.revocation) -} -inline std::string* ListConnAuth::mutable_revocation() { - std::string* _s = _internal_mutable_revocation(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.revocation) - return _s; -} -inline const std::string& ListConnAuth::_internal_revocation() const { - return _impl_.revocation_.Get(); -} -inline void ListConnAuth::_internal_set_revocation(const std::string& value) { - - _impl_.revocation_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_revocation() { - - return _impl_.revocation_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_revocation() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.revocation) - return _impl_.revocation_.Release(); -} -inline void ListConnAuth::set_allocated_revocation(std::string* revocation) { - if (revocation != nullptr) { - - } else { - - } - _impl_.revocation_.SetAllocated(revocation, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.revocation_.IsDefault()) { - _impl_.revocation_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.revocation) -} - -// string id = 6; -inline void ListConnAuth::clear_id() { - _impl_.id_.ClearToEmpty(); -} -inline const std::string& ListConnAuth::id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.id) - return _internal_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_id(ArgT0&& arg0, ArgT... args) { - - _impl_.id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.id) -} -inline std::string* ListConnAuth::mutable_id() { - std::string* _s = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.id) - return _s; -} -inline const std::string& ListConnAuth::_internal_id() const { - return _impl_.id_.Get(); -} -inline void ListConnAuth::_internal_set_id(const std::string& value) { - - _impl_.id_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_id() { - - return _impl_.id_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.id) - return _impl_.id_.Release(); -} -inline void ListConnAuth::set_allocated_id(std::string* id) { - if (id != nullptr) { - - } else { - - } - _impl_.id_.SetAllocated(id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.id_.IsDefault()) { - _impl_.id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.id) -} - -// string ca_id = 7; -inline void ListConnAuth::clear_ca_id() { - _impl_.ca_id_.ClearToEmpty(); -} -inline const std::string& ListConnAuth::ca_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.ca_id) - return _internal_ca_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_ca_id(ArgT0&& arg0, ArgT... args) { - - _impl_.ca_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.ca_id) -} -inline std::string* ListConnAuth::mutable_ca_id() { - std::string* _s = _internal_mutable_ca_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.ca_id) - return _s; -} -inline const std::string& ListConnAuth::_internal_ca_id() const { - return _impl_.ca_id_.Get(); -} -inline void ListConnAuth::_internal_set_ca_id(const std::string& value) { - - _impl_.ca_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_ca_id() { - - return _impl_.ca_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_ca_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.ca_id) - return _impl_.ca_id_.Release(); -} -inline void ListConnAuth::set_allocated_ca_id(std::string* ca_id) { - if (ca_id != nullptr) { - - } else { - - } - _impl_.ca_id_.SetAllocated(ca_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ca_id_.IsDefault()) { - _impl_.ca_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.ca_id) -} - -// string aaa_id = 8; -inline void ListConnAuth::clear_aaa_id() { - _impl_.aaa_id_.ClearToEmpty(); -} -inline const std::string& ListConnAuth::aaa_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.aaa_id) - return _internal_aaa_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_aaa_id(ArgT0&& arg0, ArgT... args) { - - _impl_.aaa_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.aaa_id) -} -inline std::string* ListConnAuth::mutable_aaa_id() { - std::string* _s = _internal_mutable_aaa_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.aaa_id) - return _s; -} -inline const std::string& ListConnAuth::_internal_aaa_id() const { - return _impl_.aaa_id_.Get(); -} -inline void ListConnAuth::_internal_set_aaa_id(const std::string& value) { - - _impl_.aaa_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_aaa_id() { - - return _impl_.aaa_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_aaa_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.aaa_id) - return _impl_.aaa_id_.Release(); -} -inline void ListConnAuth::set_allocated_aaa_id(std::string* aaa_id) { - if (aaa_id != nullptr) { - - } else { - - } - _impl_.aaa_id_.SetAllocated(aaa_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.aaa_id_.IsDefault()) { - _impl_.aaa_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.aaa_id) -} - -// string eap_id = 9; -inline void ListConnAuth::clear_eap_id() { - _impl_.eap_id_.ClearToEmpty(); -} -inline const std::string& ListConnAuth::eap_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.eap_id) - return _internal_eap_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_eap_id(ArgT0&& arg0, ArgT... args) { - - _impl_.eap_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.eap_id) -} -inline std::string* ListConnAuth::mutable_eap_id() { - std::string* _s = _internal_mutable_eap_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.eap_id) - return _s; -} -inline const std::string& ListConnAuth::_internal_eap_id() const { - return _impl_.eap_id_.Get(); -} -inline void ListConnAuth::_internal_set_eap_id(const std::string& value) { - - _impl_.eap_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_eap_id() { - - return _impl_.eap_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_eap_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.eap_id) - return _impl_.eap_id_.Release(); -} -inline void ListConnAuth::set_allocated_eap_id(std::string* eap_id) { - if (eap_id != nullptr) { - - } else { - - } - _impl_.eap_id_.SetAllocated(eap_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.eap_id_.IsDefault()) { - _impl_.eap_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.eap_id) -} - -// string xauth_id = 10; -inline void ListConnAuth::clear_xauth_id() { - _impl_.xauth_id_.ClearToEmpty(); -} -inline const std::string& ListConnAuth::xauth_id() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.xauth_id) - return _internal_xauth_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnAuth::set_xauth_id(ArgT0&& arg0, ArgT... args) { - - _impl_.xauth_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnAuth.xauth_id) -} -inline std::string* ListConnAuth::mutable_xauth_id() { - std::string* _s = _internal_mutable_xauth_id(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.xauth_id) - return _s; -} -inline const std::string& ListConnAuth::_internal_xauth_id() const { - return _impl_.xauth_id_.Get(); -} -inline void ListConnAuth::_internal_set_xauth_id(const std::string& value) { - - _impl_.xauth_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnAuth::_internal_mutable_xauth_id() { - - return _impl_.xauth_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnAuth::release_xauth_id() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.xauth_id) - return _impl_.xauth_id_.Release(); -} -inline void ListConnAuth::set_allocated_xauth_id(std::string* xauth_id) { - if (xauth_id != nullptr) { - - } else { - - } - _impl_.xauth_id_.SetAllocated(xauth_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.xauth_id_.IsDefault()) { - _impl_.xauth_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.xauth_id) -} - -// .opi_api.security.v1.Groups group = 11; -inline bool ListConnAuth::_internal_has_group() const { - return this != internal_default_instance() && _impl_.group_ != nullptr; -} -inline bool ListConnAuth::has_group() const { - return _internal_has_group(); -} -inline void ListConnAuth::clear_group() { - if (GetArenaForAllocation() == nullptr && _impl_.group_ != nullptr) { - delete _impl_.group_; - } - _impl_.group_ = nullptr; -} -inline const ::opi_api::security::v1::Groups& ListConnAuth::_internal_group() const { - const ::opi_api::security::v1::Groups* p = _impl_.group_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Groups_default_instance_); -} -inline const ::opi_api::security::v1::Groups& ListConnAuth::group() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.group) - return _internal_group(); -} -inline void ListConnAuth::unsafe_arena_set_allocated_group( - ::opi_api::security::v1::Groups* group) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.group_); - } - _impl_.group_ = group; - if (group) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.ListConnAuth.group) -} -inline ::opi_api::security::v1::Groups* ListConnAuth::release_group() { - - ::opi_api::security::v1::Groups* temp = _impl_.group_; - _impl_.group_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Groups* ListConnAuth::unsafe_arena_release_group() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.group) - - ::opi_api::security::v1::Groups* temp = _impl_.group_; - _impl_.group_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Groups* ListConnAuth::_internal_mutable_group() { - - if (_impl_.group_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Groups>(GetArenaForAllocation()); - _impl_.group_ = p; - } - return _impl_.group_; -} -inline ::opi_api::security::v1::Groups* ListConnAuth::mutable_group() { - ::opi_api::security::v1::Groups* _msg = _internal_mutable_group(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.group) - return _msg; -} -inline void ListConnAuth::set_allocated_group(::opi_api::security::v1::Groups* group) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.group_; - } - if (group) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(group); - if (message_arena != submessage_arena) { - group = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, group, submessage_arena); - } - - } else { - - } - _impl_.group_ = group; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.group) -} - -// .opi_api.security.v1.CertPolicy cert_policy = 12; -inline bool ListConnAuth::_internal_has_cert_policy() const { - return this != internal_default_instance() && _impl_.cert_policy_ != nullptr; -} -inline bool ListConnAuth::has_cert_policy() const { - return _internal_has_cert_policy(); -} -inline void ListConnAuth::clear_cert_policy() { - if (GetArenaForAllocation() == nullptr && _impl_.cert_policy_ != nullptr) { - delete _impl_.cert_policy_; - } - _impl_.cert_policy_ = nullptr; -} -inline const ::opi_api::security::v1::CertPolicy& ListConnAuth::_internal_cert_policy() const { - const ::opi_api::security::v1::CertPolicy* p = _impl_.cert_policy_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_CertPolicy_default_instance_); -} -inline const ::opi_api::security::v1::CertPolicy& ListConnAuth::cert_policy() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.cert_policy) - return _internal_cert_policy(); -} -inline void ListConnAuth::unsafe_arena_set_allocated_cert_policy( - ::opi_api::security::v1::CertPolicy* cert_policy) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_policy_); - } - _impl_.cert_policy_ = cert_policy; - if (cert_policy) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.ListConnAuth.cert_policy) -} -inline ::opi_api::security::v1::CertPolicy* ListConnAuth::release_cert_policy() { - - ::opi_api::security::v1::CertPolicy* temp = _impl_.cert_policy_; - _impl_.cert_policy_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::CertPolicy* ListConnAuth::unsafe_arena_release_cert_policy() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.cert_policy) - - ::opi_api::security::v1::CertPolicy* temp = _impl_.cert_policy_; - _impl_.cert_policy_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::CertPolicy* ListConnAuth::_internal_mutable_cert_policy() { - - if (_impl_.cert_policy_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::CertPolicy>(GetArenaForAllocation()); - _impl_.cert_policy_ = p; - } - return _impl_.cert_policy_; -} -inline ::opi_api::security::v1::CertPolicy* ListConnAuth::mutable_cert_policy() { - ::opi_api::security::v1::CertPolicy* _msg = _internal_mutable_cert_policy(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.cert_policy) - return _msg; -} -inline void ListConnAuth::set_allocated_cert_policy(::opi_api::security::v1::CertPolicy* cert_policy) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cert_policy_; - } - if (cert_policy) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cert_policy); - if (message_arena != submessage_arena) { - cert_policy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert_policy, submessage_arena); - } - - } else { - - } - _impl_.cert_policy_ = cert_policy; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.cert_policy) -} - -// .opi_api.security.v1.Certs certs = 13; -inline bool ListConnAuth::_internal_has_certs() const { - return this != internal_default_instance() && _impl_.certs_ != nullptr; -} -inline bool ListConnAuth::has_certs() const { - return _internal_has_certs(); -} -inline void ListConnAuth::clear_certs() { - if (GetArenaForAllocation() == nullptr && _impl_.certs_ != nullptr) { - delete _impl_.certs_; - } - _impl_.certs_ = nullptr; -} -inline const ::opi_api::security::v1::Certs& ListConnAuth::_internal_certs() const { - const ::opi_api::security::v1::Certs* p = _impl_.certs_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Certs_default_instance_); -} -inline const ::opi_api::security::v1::Certs& ListConnAuth::certs() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.certs) - return _internal_certs(); -} -inline void ListConnAuth::unsafe_arena_set_allocated_certs( - ::opi_api::security::v1::Certs* certs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.certs_); - } - _impl_.certs_ = certs; - if (certs) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.ListConnAuth.certs) -} -inline ::opi_api::security::v1::Certs* ListConnAuth::release_certs() { - - ::opi_api::security::v1::Certs* temp = _impl_.certs_; - _impl_.certs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Certs* ListConnAuth::unsafe_arena_release_certs() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.certs) - - ::opi_api::security::v1::Certs* temp = _impl_.certs_; - _impl_.certs_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Certs* ListConnAuth::_internal_mutable_certs() { - - if (_impl_.certs_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Certs>(GetArenaForAllocation()); - _impl_.certs_ = p; - } - return _impl_.certs_; -} -inline ::opi_api::security::v1::Certs* ListConnAuth::mutable_certs() { - ::opi_api::security::v1::Certs* _msg = _internal_mutable_certs(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.certs) - return _msg; -} -inline void ListConnAuth::set_allocated_certs(::opi_api::security::v1::Certs* certs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.certs_; - } - if (certs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(certs); - if (message_arena != submessage_arena) { - certs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, certs, submessage_arena); - } - - } else { - - } - _impl_.certs_ = certs; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.certs) -} - -// .opi_api.security.v1.CaCerts cacerts = 14; -inline bool ListConnAuth::_internal_has_cacerts() const { - return this != internal_default_instance() && _impl_.cacerts_ != nullptr; -} -inline bool ListConnAuth::has_cacerts() const { - return _internal_has_cacerts(); -} -inline void ListConnAuth::clear_cacerts() { - if (GetArenaForAllocation() == nullptr && _impl_.cacerts_ != nullptr) { - delete _impl_.cacerts_; - } - _impl_.cacerts_ = nullptr; -} -inline const ::opi_api::security::v1::CaCerts& ListConnAuth::_internal_cacerts() const { - const ::opi_api::security::v1::CaCerts* p = _impl_.cacerts_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_CaCerts_default_instance_); -} -inline const ::opi_api::security::v1::CaCerts& ListConnAuth::cacerts() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnAuth.cacerts) - return _internal_cacerts(); -} -inline void ListConnAuth::unsafe_arena_set_allocated_cacerts( - ::opi_api::security::v1::CaCerts* cacerts) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cacerts_); - } - _impl_.cacerts_ = cacerts; - if (cacerts) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.ListConnAuth.cacerts) -} -inline ::opi_api::security::v1::CaCerts* ListConnAuth::release_cacerts() { - - ::opi_api::security::v1::CaCerts* temp = _impl_.cacerts_; - _impl_.cacerts_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::CaCerts* ListConnAuth::unsafe_arena_release_cacerts() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnAuth.cacerts) - - ::opi_api::security::v1::CaCerts* temp = _impl_.cacerts_; - _impl_.cacerts_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::CaCerts* ListConnAuth::_internal_mutable_cacerts() { - - if (_impl_.cacerts_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::CaCerts>(GetArenaForAllocation()); - _impl_.cacerts_ = p; - } - return _impl_.cacerts_; -} -inline ::opi_api::security::v1::CaCerts* ListConnAuth::mutable_cacerts() { - ::opi_api::security::v1::CaCerts* _msg = _internal_mutable_cacerts(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnAuth.cacerts) - return _msg; -} -inline void ListConnAuth::set_allocated_cacerts(::opi_api::security::v1::CaCerts* cacerts) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cacerts_; - } - if (cacerts) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cacerts); - if (message_arena != submessage_arena) { - cacerts = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cacerts, submessage_arena); - } - - } else { - - } - _impl_.cacerts_ = cacerts; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnAuth.cacerts) -} - -// ------------------------------------------------------------------- - -// ListChild - -// string name = 1; -inline void ListChild::clear_name() { - _impl_.name_.ClearToEmpty(); -} -inline const std::string& ListChild::name() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChild::set_name(ArgT0&& arg0, ArgT... args) { - - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.name) -} -inline std::string* ListChild::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChild.name) - return _s; -} -inline const std::string& ListChild::_internal_name() const { - return _impl_.name_.Get(); -} -inline void ListChild::_internal_set_name(const std::string& value) { - - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChild::_internal_mutable_name() { - - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChild::release_name() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChild.name) - return _impl_.name_.Release(); -} -inline void ListChild::set_allocated_name(std::string* name) { - if (name != nullptr) { - - } else { - - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChild.name) -} - -// string mode = 2; -inline void ListChild::clear_mode() { - _impl_.mode_.ClearToEmpty(); -} -inline const std::string& ListChild::mode() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.mode) - return _internal_mode(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChild::set_mode(ArgT0&& arg0, ArgT... args) { - - _impl_.mode_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.mode) -} -inline std::string* ListChild::mutable_mode() { - std::string* _s = _internal_mutable_mode(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChild.mode) - return _s; -} -inline const std::string& ListChild::_internal_mode() const { - return _impl_.mode_.Get(); -} -inline void ListChild::_internal_set_mode(const std::string& value) { - - _impl_.mode_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChild::_internal_mutable_mode() { - - return _impl_.mode_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChild::release_mode() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChild.mode) - return _impl_.mode_.Release(); -} -inline void ListChild::set_allocated_mode(std::string* mode) { - if (mode != nullptr) { - - } else { - - } - _impl_.mode_.SetAllocated(mode, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mode_.IsDefault()) { - _impl_.mode_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChild.mode) -} - -// string label = 3; -inline void ListChild::clear_label() { - _impl_.label_.ClearToEmpty(); -} -inline const std::string& ListChild::label() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.label) - return _internal_label(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChild::set_label(ArgT0&& arg0, ArgT... args) { - - _impl_.label_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.label) -} -inline std::string* ListChild::mutable_label() { - std::string* _s = _internal_mutable_label(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChild.label) - return _s; -} -inline const std::string& ListChild::_internal_label() const { - return _impl_.label_.Get(); -} -inline void ListChild::_internal_set_label(const std::string& value) { - - _impl_.label_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChild::_internal_mutable_label() { - - return _impl_.label_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChild::release_label() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChild.label) - return _impl_.label_.Release(); -} -inline void ListChild::set_allocated_label(std::string* label) { - if (label != nullptr) { - - } else { - - } - _impl_.label_.SetAllocated(label, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.label_.IsDefault()) { - _impl_.label_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChild.label) -} - -// uint32 rekey_time = 4; -inline void ListChild::clear_rekey_time() { - _impl_.rekey_time_ = 0u; -} -inline uint32_t ListChild::_internal_rekey_time() const { - return _impl_.rekey_time_; -} -inline uint32_t ListChild::rekey_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.rekey_time) - return _internal_rekey_time(); -} -inline void ListChild::_internal_set_rekey_time(uint32_t value) { - - _impl_.rekey_time_ = value; -} -inline void ListChild::set_rekey_time(uint32_t value) { - _internal_set_rekey_time(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.rekey_time) -} - -// uint32 rekey_bytes = 5; -inline void ListChild::clear_rekey_bytes() { - _impl_.rekey_bytes_ = 0u; -} -inline uint32_t ListChild::_internal_rekey_bytes() const { - return _impl_.rekey_bytes_; -} -inline uint32_t ListChild::rekey_bytes() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.rekey_bytes) - return _internal_rekey_bytes(); -} -inline void ListChild::_internal_set_rekey_bytes(uint32_t value) { - - _impl_.rekey_bytes_ = value; -} -inline void ListChild::set_rekey_bytes(uint32_t value) { - _internal_set_rekey_bytes(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.rekey_bytes) -} - -// uint32 rekey_packets = 6; -inline void ListChild::clear_rekey_packets() { - _impl_.rekey_packets_ = 0u; -} -inline uint32_t ListChild::_internal_rekey_packets() const { - return _impl_.rekey_packets_; -} -inline uint32_t ListChild::rekey_packets() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.rekey_packets) - return _internal_rekey_packets(); -} -inline void ListChild::_internal_set_rekey_packets(uint32_t value) { - - _impl_.rekey_packets_ = value; -} -inline void ListChild::set_rekey_packets(uint32_t value) { - _internal_set_rekey_packets(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.rekey_packets) -} - -// string dpd_action = 7; -inline void ListChild::clear_dpd_action() { - _impl_.dpd_action_.ClearToEmpty(); -} -inline const std::string& ListChild::dpd_action() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.dpd_action) - return _internal_dpd_action(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChild::set_dpd_action(ArgT0&& arg0, ArgT... args) { - - _impl_.dpd_action_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.dpd_action) -} -inline std::string* ListChild::mutable_dpd_action() { - std::string* _s = _internal_mutable_dpd_action(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChild.dpd_action) - return _s; -} -inline const std::string& ListChild::_internal_dpd_action() const { - return _impl_.dpd_action_.Get(); -} -inline void ListChild::_internal_set_dpd_action(const std::string& value) { - - _impl_.dpd_action_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChild::_internal_mutable_dpd_action() { - - return _impl_.dpd_action_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChild::release_dpd_action() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChild.dpd_action) - return _impl_.dpd_action_.Release(); -} -inline void ListChild::set_allocated_dpd_action(std::string* dpd_action) { - if (dpd_action != nullptr) { - - } else { - - } - _impl_.dpd_action_.SetAllocated(dpd_action, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dpd_action_.IsDefault()) { - _impl_.dpd_action_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChild.dpd_action) -} - -// string close_action = 8; -inline void ListChild::clear_close_action() { - _impl_.close_action_.ClearToEmpty(); -} -inline const std::string& ListChild::close_action() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.close_action) - return _internal_close_action(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChild::set_close_action(ArgT0&& arg0, ArgT... args) { - - _impl_.close_action_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.close_action) -} -inline std::string* ListChild::mutable_close_action() { - std::string* _s = _internal_mutable_close_action(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChild.close_action) - return _s; -} -inline const std::string& ListChild::_internal_close_action() const { - return _impl_.close_action_.Get(); -} -inline void ListChild::_internal_set_close_action(const std::string& value) { - - _impl_.close_action_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChild::_internal_mutable_close_action() { - - return _impl_.close_action_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChild::release_close_action() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChild.close_action) - return _impl_.close_action_.Release(); -} -inline void ListChild::set_allocated_close_action(std::string* close_action) { - if (close_action != nullptr) { - - } else { - - } - _impl_.close_action_.SetAllocated(close_action, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.close_action_.IsDefault()) { - _impl_.close_action_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChild.close_action) -} - -// .opi_api.security.v1.TrafficSelectors local_ts = 9; -inline bool ListChild::_internal_has_local_ts() const { - return this != internal_default_instance() && _impl_.local_ts_ != nullptr; -} -inline bool ListChild::has_local_ts() const { - return _internal_has_local_ts(); -} -inline void ListChild::clear_local_ts() { - if (GetArenaForAllocation() == nullptr && _impl_.local_ts_ != nullptr) { - delete _impl_.local_ts_; - } - _impl_.local_ts_ = nullptr; -} -inline const ::opi_api::security::v1::TrafficSelectors& ListChild::_internal_local_ts() const { - const ::opi_api::security::v1::TrafficSelectors* p = _impl_.local_ts_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_TrafficSelectors_default_instance_); -} -inline const ::opi_api::security::v1::TrafficSelectors& ListChild::local_ts() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.local_ts) - return _internal_local_ts(); -} -inline void ListChild::unsafe_arena_set_allocated_local_ts( - ::opi_api::security::v1::TrafficSelectors* local_ts) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.local_ts_); - } - _impl_.local_ts_ = local_ts; - if (local_ts) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.ListChild.local_ts) -} -inline ::opi_api::security::v1::TrafficSelectors* ListChild::release_local_ts() { - - ::opi_api::security::v1::TrafficSelectors* temp = _impl_.local_ts_; - _impl_.local_ts_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::TrafficSelectors* ListChild::unsafe_arena_release_local_ts() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChild.local_ts) - - ::opi_api::security::v1::TrafficSelectors* temp = _impl_.local_ts_; - _impl_.local_ts_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::TrafficSelectors* ListChild::_internal_mutable_local_ts() { - - if (_impl_.local_ts_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::TrafficSelectors>(GetArenaForAllocation()); - _impl_.local_ts_ = p; - } - return _impl_.local_ts_; -} -inline ::opi_api::security::v1::TrafficSelectors* ListChild::mutable_local_ts() { - ::opi_api::security::v1::TrafficSelectors* _msg = _internal_mutable_local_ts(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChild.local_ts) - return _msg; -} -inline void ListChild::set_allocated_local_ts(::opi_api::security::v1::TrafficSelectors* local_ts) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.local_ts_; - } - if (local_ts) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(local_ts); - if (message_arena != submessage_arena) { - local_ts = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, local_ts, submessage_arena); - } - - } else { - - } - _impl_.local_ts_ = local_ts; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChild.local_ts) -} - -// .opi_api.security.v1.TrafficSelectors remote_ts = 10; -inline bool ListChild::_internal_has_remote_ts() const { - return this != internal_default_instance() && _impl_.remote_ts_ != nullptr; -} -inline bool ListChild::has_remote_ts() const { - return _internal_has_remote_ts(); -} -inline void ListChild::clear_remote_ts() { - if (GetArenaForAllocation() == nullptr && _impl_.remote_ts_ != nullptr) { - delete _impl_.remote_ts_; - } - _impl_.remote_ts_ = nullptr; -} -inline const ::opi_api::security::v1::TrafficSelectors& ListChild::_internal_remote_ts() const { - const ::opi_api::security::v1::TrafficSelectors* p = _impl_.remote_ts_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_TrafficSelectors_default_instance_); -} -inline const ::opi_api::security::v1::TrafficSelectors& ListChild::remote_ts() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.remote_ts) - return _internal_remote_ts(); -} -inline void ListChild::unsafe_arena_set_allocated_remote_ts( - ::opi_api::security::v1::TrafficSelectors* remote_ts) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.remote_ts_); - } - _impl_.remote_ts_ = remote_ts; - if (remote_ts) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.ListChild.remote_ts) -} -inline ::opi_api::security::v1::TrafficSelectors* ListChild::release_remote_ts() { - - ::opi_api::security::v1::TrafficSelectors* temp = _impl_.remote_ts_; - _impl_.remote_ts_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::TrafficSelectors* ListChild::unsafe_arena_release_remote_ts() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChild.remote_ts) - - ::opi_api::security::v1::TrafficSelectors* temp = _impl_.remote_ts_; - _impl_.remote_ts_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::TrafficSelectors* ListChild::_internal_mutable_remote_ts() { - - if (_impl_.remote_ts_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::TrafficSelectors>(GetArenaForAllocation()); - _impl_.remote_ts_ = p; - } - return _impl_.remote_ts_; -} -inline ::opi_api::security::v1::TrafficSelectors* ListChild::mutable_remote_ts() { - ::opi_api::security::v1::TrafficSelectors* _msg = _internal_mutable_remote_ts(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChild.remote_ts) - return _msg; -} -inline void ListChild::set_allocated_remote_ts(::opi_api::security::v1::TrafficSelectors* remote_ts) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.remote_ts_; - } - if (remote_ts) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(remote_ts); - if (message_arena != submessage_arena) { - remote_ts = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, remote_ts, submessage_arena); - } - - } else { - - } - _impl_.remote_ts_ = remote_ts; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChild.remote_ts) -} - -// string interface = 11; -inline void ListChild::clear_interface() { - _impl_.interface_.ClearToEmpty(); -} -inline const std::string& ListChild::interface() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.interface) - return _internal_interface(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChild::set_interface(ArgT0&& arg0, ArgT... args) { - - _impl_.interface_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.interface) -} -inline std::string* ListChild::mutable_interface() { - std::string* _s = _internal_mutable_interface(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChild.interface) - return _s; -} -inline const std::string& ListChild::_internal_interface() const { - return _impl_.interface_.Get(); -} -inline void ListChild::_internal_set_interface(const std::string& value) { - - _impl_.interface_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChild::_internal_mutable_interface() { - - return _impl_.interface_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChild::release_interface() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChild.interface) - return _impl_.interface_.Release(); -} -inline void ListChild::set_allocated_interface(std::string* interface) { - if (interface != nullptr) { - - } else { - - } - _impl_.interface_.SetAllocated(interface, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.interface_.IsDefault()) { - _impl_.interface_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChild.interface) -} - -// string priority = 12; -inline void ListChild::clear_priority() { - _impl_.priority_.ClearToEmpty(); -} -inline const std::string& ListChild::priority() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListChild.priority) - return _internal_priority(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListChild::set_priority(ArgT0&& arg0, ArgT... args) { - - _impl_.priority_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListChild.priority) -} -inline std::string* ListChild::mutable_priority() { - std::string* _s = _internal_mutable_priority(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListChild.priority) - return _s; -} -inline const std::string& ListChild::_internal_priority() const { - return _impl_.priority_.Get(); -} -inline void ListChild::_internal_set_priority(const std::string& value) { - - _impl_.priority_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListChild::_internal_mutable_priority() { - - return _impl_.priority_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListChild::release_priority() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListChild.priority) - return _impl_.priority_.Release(); -} -inline void ListChild::set_allocated_priority(std::string* priority) { - if (priority != nullptr) { - - } else { - - } - _impl_.priority_.SetAllocated(priority, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.priority_.IsDefault()) { - _impl_.priority_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListChild.priority) -} - -// ------------------------------------------------------------------- - -// ListConnResp - -// string name = 1; -inline void ListConnResp::clear_name() { - _impl_.name_.ClearToEmpty(); -} -inline const std::string& ListConnResp::name() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnResp::set_name(ArgT0&& arg0, ArgT... args) { - - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnResp.name) -} -inline std::string* ListConnResp::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.name) - return _s; -} -inline const std::string& ListConnResp::_internal_name() const { - return _impl_.name_.Get(); -} -inline void ListConnResp::_internal_set_name(const std::string& value) { - - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnResp::_internal_mutable_name() { - - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnResp::release_name() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnResp.name) - return _impl_.name_.Release(); -} -inline void ListConnResp::set_allocated_name(std::string* name) { - if (name != nullptr) { - - } else { - - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnResp.name) -} - -// repeated .opi_api.security.v1.Addrs local_addrs = 2; -inline int ListConnResp::_internal_local_addrs_size() const { - return _impl_.local_addrs_.size(); -} -inline int ListConnResp::local_addrs_size() const { - return _internal_local_addrs_size(); -} -inline void ListConnResp::clear_local_addrs() { - _impl_.local_addrs_.Clear(); -} -inline ::opi_api::security::v1::Addrs* ListConnResp::mutable_local_addrs(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.local_addrs) - return _impl_.local_addrs_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >* -ListConnResp::mutable_local_addrs() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListConnResp.local_addrs) - return &_impl_.local_addrs_; -} -inline const ::opi_api::security::v1::Addrs& ListConnResp::_internal_local_addrs(int index) const { - return _impl_.local_addrs_.Get(index); -} -inline const ::opi_api::security::v1::Addrs& ListConnResp::local_addrs(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.local_addrs) - return _internal_local_addrs(index); -} -inline ::opi_api::security::v1::Addrs* ListConnResp::_internal_add_local_addrs() { - return _impl_.local_addrs_.Add(); -} -inline ::opi_api::security::v1::Addrs* ListConnResp::add_local_addrs() { - ::opi_api::security::v1::Addrs* _add = _internal_add_local_addrs(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListConnResp.local_addrs) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >& -ListConnResp::local_addrs() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListConnResp.local_addrs) - return _impl_.local_addrs_; -} - -// repeated .opi_api.security.v1.Addrs remote_addrs = 3; -inline int ListConnResp::_internal_remote_addrs_size() const { - return _impl_.remote_addrs_.size(); -} -inline int ListConnResp::remote_addrs_size() const { - return _internal_remote_addrs_size(); -} -inline void ListConnResp::clear_remote_addrs() { - _impl_.remote_addrs_.Clear(); -} -inline ::opi_api::security::v1::Addrs* ListConnResp::mutable_remote_addrs(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.remote_addrs) - return _impl_.remote_addrs_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >* -ListConnResp::mutable_remote_addrs() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListConnResp.remote_addrs) - return &_impl_.remote_addrs_; -} -inline const ::opi_api::security::v1::Addrs& ListConnResp::_internal_remote_addrs(int index) const { - return _impl_.remote_addrs_.Get(index); -} -inline const ::opi_api::security::v1::Addrs& ListConnResp::remote_addrs(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.remote_addrs) - return _internal_remote_addrs(index); -} -inline ::opi_api::security::v1::Addrs* ListConnResp::_internal_add_remote_addrs() { - return _impl_.remote_addrs_.Add(); -} -inline ::opi_api::security::v1::Addrs* ListConnResp::add_remote_addrs() { - ::opi_api::security::v1::Addrs* _add = _internal_add_remote_addrs(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListConnResp.remote_addrs) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::Addrs >& -ListConnResp::remote_addrs() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListConnResp.remote_addrs) - return _impl_.remote_addrs_; -} - -// string version = 4; -inline void ListConnResp::clear_version() { - _impl_.version_.ClearToEmpty(); -} -inline const std::string& ListConnResp::version() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.version) - return _internal_version(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnResp::set_version(ArgT0&& arg0, ArgT... args) { - - _impl_.version_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnResp.version) -} -inline std::string* ListConnResp::mutable_version() { - std::string* _s = _internal_mutable_version(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.version) - return _s; -} -inline const std::string& ListConnResp::_internal_version() const { - return _impl_.version_.Get(); -} -inline void ListConnResp::_internal_set_version(const std::string& value) { - - _impl_.version_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnResp::_internal_mutable_version() { - - return _impl_.version_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnResp::release_version() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnResp.version) - return _impl_.version_.Release(); -} -inline void ListConnResp::set_allocated_version(std::string* version) { - if (version != nullptr) { - - } else { - - } - _impl_.version_.SetAllocated(version, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.version_.IsDefault()) { - _impl_.version_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnResp.version) -} - -// uint32 reauth_time = 5; -inline void ListConnResp::clear_reauth_time() { - _impl_.reauth_time_ = 0u; -} -inline uint32_t ListConnResp::_internal_reauth_time() const { - return _impl_.reauth_time_; -} -inline uint32_t ListConnResp::reauth_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.reauth_time) - return _internal_reauth_time(); -} -inline void ListConnResp::_internal_set_reauth_time(uint32_t value) { - - _impl_.reauth_time_ = value; -} -inline void ListConnResp::set_reauth_time(uint32_t value) { - _internal_set_reauth_time(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnResp.reauth_time) -} - -// uint32 rekey_time = 6; -inline void ListConnResp::clear_rekey_time() { - _impl_.rekey_time_ = 0u; -} -inline uint32_t ListConnResp::_internal_rekey_time() const { - return _impl_.rekey_time_; -} -inline uint32_t ListConnResp::rekey_time() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.rekey_time) - return _internal_rekey_time(); -} -inline void ListConnResp::_internal_set_rekey_time(uint32_t value) { - - _impl_.rekey_time_ = value; -} -inline void ListConnResp::set_rekey_time(uint32_t value) { - _internal_set_rekey_time(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnResp.rekey_time) -} - -// string unique = 7; -inline void ListConnResp::clear_unique() { - _impl_.unique_.ClearToEmpty(); -} -inline const std::string& ListConnResp::unique() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.unique) - return _internal_unique(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnResp::set_unique(ArgT0&& arg0, ArgT... args) { - - _impl_.unique_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnResp.unique) -} -inline std::string* ListConnResp::mutable_unique() { - std::string* _s = _internal_mutable_unique(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.unique) - return _s; -} -inline const std::string& ListConnResp::_internal_unique() const { - return _impl_.unique_.Get(); -} -inline void ListConnResp::_internal_set_unique(const std::string& value) { - - _impl_.unique_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnResp::_internal_mutable_unique() { - - return _impl_.unique_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnResp::release_unique() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnResp.unique) - return _impl_.unique_.Release(); -} -inline void ListConnResp::set_allocated_unique(std::string* unique) { - if (unique != nullptr) { - - } else { - - } - _impl_.unique_.SetAllocated(unique, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.unique_.IsDefault()) { - _impl_.unique_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnResp.unique) -} - -// uint32 dpd_delay = 8; -inline void ListConnResp::clear_dpd_delay() { - _impl_.dpd_delay_ = 0u; -} -inline uint32_t ListConnResp::_internal_dpd_delay() const { - return _impl_.dpd_delay_; -} -inline uint32_t ListConnResp::dpd_delay() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.dpd_delay) - return _internal_dpd_delay(); -} -inline void ListConnResp::_internal_set_dpd_delay(uint32_t value) { - - _impl_.dpd_delay_ = value; -} -inline void ListConnResp::set_dpd_delay(uint32_t value) { - _internal_set_dpd_delay(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnResp.dpd_delay) -} - -// uint32 dpd_timeout = 9; -inline void ListConnResp::clear_dpd_timeout() { - _impl_.dpd_timeout_ = 0u; -} -inline uint32_t ListConnResp::_internal_dpd_timeout() const { - return _impl_.dpd_timeout_; -} -inline uint32_t ListConnResp::dpd_timeout() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.dpd_timeout) - return _internal_dpd_timeout(); -} -inline void ListConnResp::_internal_set_dpd_timeout(uint32_t value) { - - _impl_.dpd_timeout_ = value; -} -inline void ListConnResp::set_dpd_timeout(uint32_t value) { - _internal_set_dpd_timeout(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnResp.dpd_timeout) -} - -// string ppk = 10; -inline void ListConnResp::clear_ppk() { - _impl_.ppk_.ClearToEmpty(); -} -inline const std::string& ListConnResp::ppk() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.ppk) - return _internal_ppk(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnResp::set_ppk(ArgT0&& arg0, ArgT... args) { - - _impl_.ppk_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnResp.ppk) -} -inline std::string* ListConnResp::mutable_ppk() { - std::string* _s = _internal_mutable_ppk(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.ppk) - return _s; -} -inline const std::string& ListConnResp::_internal_ppk() const { - return _impl_.ppk_.Get(); -} -inline void ListConnResp::_internal_set_ppk(const std::string& value) { - - _impl_.ppk_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnResp::_internal_mutable_ppk() { - - return _impl_.ppk_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnResp::release_ppk() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnResp.ppk) - return _impl_.ppk_.Release(); -} -inline void ListConnResp::set_allocated_ppk(std::string* ppk) { - if (ppk != nullptr) { - - } else { - - } - _impl_.ppk_.SetAllocated(ppk, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ppk_.IsDefault()) { - _impl_.ppk_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnResp.ppk) -} - -// string ppk_required = 11; -inline void ListConnResp::clear_ppk_required() { - _impl_.ppk_required_.ClearToEmpty(); -} -inline const std::string& ListConnResp::ppk_required() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.ppk_required) - return _internal_ppk_required(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListConnResp::set_ppk_required(ArgT0&& arg0, ArgT... args) { - - _impl_.ppk_required_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListConnResp.ppk_required) -} -inline std::string* ListConnResp::mutable_ppk_required() { - std::string* _s = _internal_mutable_ppk_required(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.ppk_required) - return _s; -} -inline const std::string& ListConnResp::_internal_ppk_required() const { - return _impl_.ppk_required_.Get(); -} -inline void ListConnResp::_internal_set_ppk_required(const std::string& value) { - - _impl_.ppk_required_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListConnResp::_internal_mutable_ppk_required() { - - return _impl_.ppk_required_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListConnResp::release_ppk_required() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListConnResp.ppk_required) - return _impl_.ppk_required_.Release(); -} -inline void ListConnResp::set_allocated_ppk_required(std::string* ppk_required) { - if (ppk_required != nullptr) { - - } else { - - } - _impl_.ppk_required_.SetAllocated(ppk_required, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ppk_required_.IsDefault()) { - _impl_.ppk_required_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListConnResp.ppk_required) -} - -// repeated .opi_api.security.v1.ListConnAuth local_auth = 12; -inline int ListConnResp::_internal_local_auth_size() const { - return _impl_.local_auth_.size(); -} -inline int ListConnResp::local_auth_size() const { - return _internal_local_auth_size(); -} -inline void ListConnResp::clear_local_auth() { - _impl_.local_auth_.Clear(); -} -inline ::opi_api::security::v1::ListConnAuth* ListConnResp::mutable_local_auth(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.local_auth) - return _impl_.local_auth_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth >* -ListConnResp::mutable_local_auth() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListConnResp.local_auth) - return &_impl_.local_auth_; -} -inline const ::opi_api::security::v1::ListConnAuth& ListConnResp::_internal_local_auth(int index) const { - return _impl_.local_auth_.Get(index); -} -inline const ::opi_api::security::v1::ListConnAuth& ListConnResp::local_auth(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.local_auth) - return _internal_local_auth(index); -} -inline ::opi_api::security::v1::ListConnAuth* ListConnResp::_internal_add_local_auth() { - return _impl_.local_auth_.Add(); -} -inline ::opi_api::security::v1::ListConnAuth* ListConnResp::add_local_auth() { - ::opi_api::security::v1::ListConnAuth* _add = _internal_add_local_auth(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListConnResp.local_auth) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth >& -ListConnResp::local_auth() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListConnResp.local_auth) - return _impl_.local_auth_; -} - -// repeated .opi_api.security.v1.ListConnAuth remote_auth = 13; -inline int ListConnResp::_internal_remote_auth_size() const { - return _impl_.remote_auth_.size(); -} -inline int ListConnResp::remote_auth_size() const { - return _internal_remote_auth_size(); -} -inline void ListConnResp::clear_remote_auth() { - _impl_.remote_auth_.Clear(); -} -inline ::opi_api::security::v1::ListConnAuth* ListConnResp::mutable_remote_auth(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.remote_auth) - return _impl_.remote_auth_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth >* -ListConnResp::mutable_remote_auth() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListConnResp.remote_auth) - return &_impl_.remote_auth_; -} -inline const ::opi_api::security::v1::ListConnAuth& ListConnResp::_internal_remote_auth(int index) const { - return _impl_.remote_auth_.Get(index); -} -inline const ::opi_api::security::v1::ListConnAuth& ListConnResp::remote_auth(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.remote_auth) - return _internal_remote_auth(index); -} -inline ::opi_api::security::v1::ListConnAuth* ListConnResp::_internal_add_remote_auth() { - return _impl_.remote_auth_.Add(); -} -inline ::opi_api::security::v1::ListConnAuth* ListConnResp::add_remote_auth() { - ::opi_api::security::v1::ListConnAuth* _add = _internal_add_remote_auth(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListConnResp.remote_auth) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnAuth >& -ListConnResp::remote_auth() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListConnResp.remote_auth) - return _impl_.remote_auth_; -} - -// repeated .opi_api.security.v1.ListChild children = 14; -inline int ListConnResp::_internal_children_size() const { - return _impl_.children_.size(); -} -inline int ListConnResp::children_size() const { - return _internal_children_size(); -} -inline void ListConnResp::clear_children() { - _impl_.children_.Clear(); -} -inline ::opi_api::security::v1::ListChild* ListConnResp::mutable_children(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListConnResp.children) - return _impl_.children_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChild >* -ListConnResp::mutable_children() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.ListConnResp.children) - return &_impl_.children_; -} -inline const ::opi_api::security::v1::ListChild& ListConnResp::_internal_children(int index) const { - return _impl_.children_.Get(index); -} -inline const ::opi_api::security::v1::ListChild& ListConnResp::children(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListConnResp.children) - return _internal_children(index); -} -inline ::opi_api::security::v1::ListChild* ListConnResp::_internal_add_children() { - return _impl_.children_.Add(); -} -inline ::opi_api::security::v1::ListChild* ListConnResp::add_children() { - ::opi_api::security::v1::ListChild* _add = _internal_add_children(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.ListConnResp.children) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListChild >& -ListConnResp::children() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.ListConnResp.children) - return _impl_.children_; -} - -// ------------------------------------------------------------------- - -// IPsecListConnsResponse - -// repeated .opi_api.security.v1.ListConnResp connection = 1; -inline int IPsecListConnsResponse::_internal_connection_size() const { - return _impl_.connection_.size(); -} -inline int IPsecListConnsResponse::connection_size() const { - return _internal_connection_size(); -} -inline void IPsecListConnsResponse::clear_connection() { - _impl_.connection_.Clear(); -} -inline ::opi_api::security::v1::ListConnResp* IPsecListConnsResponse::mutable_connection(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListConnsResponse.connection) - return _impl_.connection_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnResp >* -IPsecListConnsResponse::mutable_connection() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.IPsecListConnsResponse.connection) - return &_impl_.connection_; -} -inline const ::opi_api::security::v1::ListConnResp& IPsecListConnsResponse::_internal_connection(int index) const { - return _impl_.connection_.Get(index); -} -inline const ::opi_api::security::v1::ListConnResp& IPsecListConnsResponse::connection(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListConnsResponse.connection) - return _internal_connection(index); -} -inline ::opi_api::security::v1::ListConnResp* IPsecListConnsResponse::_internal_add_connection() { - return _impl_.connection_.Add(); -} -inline ::opi_api::security::v1::ListConnResp* IPsecListConnsResponse::add_connection() { - ::opi_api::security::v1::ListConnResp* _add = _internal_add_connection(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.IPsecListConnsResponse.connection) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListConnResp >& -IPsecListConnsResponse::connection() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.IPsecListConnsResponse.connection) - return _impl_.connection_; -} - -// ------------------------------------------------------------------- - -// IPsecListCertsRequest - -// string type = 1; -inline void IPsecListCertsRequest::clear_type() { - _impl_.type_.ClearToEmpty(); -} -inline const std::string& IPsecListCertsRequest::type() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListCertsRequest.type) - return _internal_type(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecListCertsRequest::set_type(ArgT0&& arg0, ArgT... args) { - - _impl_.type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecListCertsRequest.type) -} -inline std::string* IPsecListCertsRequest::mutable_type() { - std::string* _s = _internal_mutable_type(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListCertsRequest.type) - return _s; -} -inline const std::string& IPsecListCertsRequest::_internal_type() const { - return _impl_.type_.Get(); -} -inline void IPsecListCertsRequest::_internal_set_type(const std::string& value) { - - _impl_.type_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecListCertsRequest::_internal_mutable_type() { - - return _impl_.type_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecListCertsRequest::release_type() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecListCertsRequest.type) - return _impl_.type_.Release(); -} -inline void IPsecListCertsRequest::set_allocated_type(std::string* type) { - if (type != nullptr) { - - } else { - - } - _impl_.type_.SetAllocated(type, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.type_.IsDefault()) { - _impl_.type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecListCertsRequest.type) -} - -// string flag = 2; -inline void IPsecListCertsRequest::clear_flag() { - _impl_.flag_.ClearToEmpty(); -} -inline const std::string& IPsecListCertsRequest::flag() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListCertsRequest.flag) - return _internal_flag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecListCertsRequest::set_flag(ArgT0&& arg0, ArgT... args) { - - _impl_.flag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecListCertsRequest.flag) -} -inline std::string* IPsecListCertsRequest::mutable_flag() { - std::string* _s = _internal_mutable_flag(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListCertsRequest.flag) - return _s; -} -inline const std::string& IPsecListCertsRequest::_internal_flag() const { - return _impl_.flag_.Get(); -} -inline void IPsecListCertsRequest::_internal_set_flag(const std::string& value) { - - _impl_.flag_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecListCertsRequest::_internal_mutable_flag() { - - return _impl_.flag_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecListCertsRequest::release_flag() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecListCertsRequest.flag) - return _impl_.flag_.Release(); -} -inline void IPsecListCertsRequest::set_allocated_flag(std::string* flag) { - if (flag != nullptr) { - - } else { - - } - _impl_.flag_.SetAllocated(flag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.flag_.IsDefault()) { - _impl_.flag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecListCertsRequest.flag) -} - -// string subject = 3; -inline void IPsecListCertsRequest::clear_subject() { - _impl_.subject_.ClearToEmpty(); -} -inline const std::string& IPsecListCertsRequest::subject() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListCertsRequest.subject) - return _internal_subject(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecListCertsRequest::set_subject(ArgT0&& arg0, ArgT... args) { - - _impl_.subject_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecListCertsRequest.subject) -} -inline std::string* IPsecListCertsRequest::mutable_subject() { - std::string* _s = _internal_mutable_subject(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListCertsRequest.subject) - return _s; -} -inline const std::string& IPsecListCertsRequest::_internal_subject() const { - return _impl_.subject_.Get(); -} -inline void IPsecListCertsRequest::_internal_set_subject(const std::string& value) { - - _impl_.subject_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecListCertsRequest::_internal_mutable_subject() { - - return _impl_.subject_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecListCertsRequest::release_subject() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecListCertsRequest.subject) - return _impl_.subject_.Release(); -} -inline void IPsecListCertsRequest::set_allocated_subject(std::string* subject) { - if (subject != nullptr) { - - } else { - - } - _impl_.subject_.SetAllocated(subject, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.subject_.IsDefault()) { - _impl_.subject_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecListCertsRequest.subject) -} - -// ------------------------------------------------------------------- - -// ListCert - -// .opi_api.security.v1.CertificateType type = 1; -inline void ListCert::clear_type() { - _impl_.type_ = 0; -} -inline ::opi_api::security::v1::CertificateType ListCert::_internal_type() const { - return static_cast< ::opi_api::security::v1::CertificateType >(_impl_.type_); -} -inline ::opi_api::security::v1::CertificateType ListCert::type() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListCert.type) - return _internal_type(); -} -inline void ListCert::_internal_set_type(::opi_api::security::v1::CertificateType value) { - - _impl_.type_ = value; -} -inline void ListCert::set_type(::opi_api::security::v1::CertificateType value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListCert.type) -} - -// .opi_api.security.v1.X509CertificateFlag flag = 2; -inline void ListCert::clear_flag() { - _impl_.flag_ = 0; -} -inline ::opi_api::security::v1::X509CertificateFlag ListCert::_internal_flag() const { - return static_cast< ::opi_api::security::v1::X509CertificateFlag >(_impl_.flag_); -} -inline ::opi_api::security::v1::X509CertificateFlag ListCert::flag() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListCert.flag) - return _internal_flag(); -} -inline void ListCert::_internal_set_flag(::opi_api::security::v1::X509CertificateFlag value) { - - _impl_.flag_ = value; -} -inline void ListCert::set_flag(::opi_api::security::v1::X509CertificateFlag value) { - _internal_set_flag(value); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListCert.flag) -} - -// string hasprivkey = 3; -inline void ListCert::clear_hasprivkey() { - _impl_.hasprivkey_.ClearToEmpty(); -} -inline const std::string& ListCert::hasprivkey() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListCert.hasprivkey) - return _internal_hasprivkey(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListCert::set_hasprivkey(ArgT0&& arg0, ArgT... args) { - - _impl_.hasprivkey_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListCert.hasprivkey) -} -inline std::string* ListCert::mutable_hasprivkey() { - std::string* _s = _internal_mutable_hasprivkey(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListCert.hasprivkey) - return _s; -} -inline const std::string& ListCert::_internal_hasprivkey() const { - return _impl_.hasprivkey_.Get(); -} -inline void ListCert::_internal_set_hasprivkey(const std::string& value) { - - _impl_.hasprivkey_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListCert::_internal_mutable_hasprivkey() { - - return _impl_.hasprivkey_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListCert::release_hasprivkey() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListCert.hasprivkey) - return _impl_.hasprivkey_.Release(); -} -inline void ListCert::set_allocated_hasprivkey(std::string* hasprivkey) { - if (hasprivkey != nullptr) { - - } else { - - } - _impl_.hasprivkey_.SetAllocated(hasprivkey, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hasprivkey_.IsDefault()) { - _impl_.hasprivkey_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListCert.hasprivkey) -} - -// string data = 4; -inline void ListCert::clear_data() { - _impl_.data_.ClearToEmpty(); -} -inline const std::string& ListCert::data() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListCert.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListCert::set_data(ArgT0&& arg0, ArgT... args) { - - _impl_.data_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListCert.data) -} -inline std::string* ListCert::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListCert.data) - return _s; -} -inline const std::string& ListCert::_internal_data() const { - return _impl_.data_.Get(); -} -inline void ListCert::_internal_set_data(const std::string& value) { - - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListCert::_internal_mutable_data() { - - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListCert::release_data() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListCert.data) - return _impl_.data_.Release(); -} -inline void ListCert::set_allocated_data(std::string* data) { - if (data != nullptr) { - - } else { - - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListCert.data) -} - -// string subject = 5; -inline void ListCert::clear_subject() { - _impl_.subject_.ClearToEmpty(); -} -inline const std::string& ListCert::subject() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListCert.subject) - return _internal_subject(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListCert::set_subject(ArgT0&& arg0, ArgT... args) { - - _impl_.subject_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListCert.subject) -} -inline std::string* ListCert::mutable_subject() { - std::string* _s = _internal_mutable_subject(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListCert.subject) - return _s; -} -inline const std::string& ListCert::_internal_subject() const { - return _impl_.subject_.Get(); -} -inline void ListCert::_internal_set_subject(const std::string& value) { - - _impl_.subject_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListCert::_internal_mutable_subject() { - - return _impl_.subject_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListCert::release_subject() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListCert.subject) - return _impl_.subject_.Release(); -} -inline void ListCert::set_allocated_subject(std::string* subject) { - if (subject != nullptr) { - - } else { - - } - _impl_.subject_.SetAllocated(subject, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.subject_.IsDefault()) { - _impl_.subject_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListCert.subject) -} - -// string notbefore = 6; -inline void ListCert::clear_notbefore() { - _impl_.notbefore_.ClearToEmpty(); -} -inline const std::string& ListCert::notbefore() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListCert.notbefore) - return _internal_notbefore(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListCert::set_notbefore(ArgT0&& arg0, ArgT... args) { - - _impl_.notbefore_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListCert.notbefore) -} -inline std::string* ListCert::mutable_notbefore() { - std::string* _s = _internal_mutable_notbefore(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListCert.notbefore) - return _s; -} -inline const std::string& ListCert::_internal_notbefore() const { - return _impl_.notbefore_.Get(); -} -inline void ListCert::_internal_set_notbefore(const std::string& value) { - - _impl_.notbefore_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListCert::_internal_mutable_notbefore() { - - return _impl_.notbefore_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListCert::release_notbefore() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListCert.notbefore) - return _impl_.notbefore_.Release(); -} -inline void ListCert::set_allocated_notbefore(std::string* notbefore) { - if (notbefore != nullptr) { - - } else { - - } - _impl_.notbefore_.SetAllocated(notbefore, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.notbefore_.IsDefault()) { - _impl_.notbefore_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListCert.notbefore) -} - -// string notafter = 7; -inline void ListCert::clear_notafter() { - _impl_.notafter_.ClearToEmpty(); -} -inline const std::string& ListCert::notafter() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.ListCert.notafter) - return _internal_notafter(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ListCert::set_notafter(ArgT0&& arg0, ArgT... args) { - - _impl_.notafter_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.ListCert.notafter) -} -inline std::string* ListCert::mutable_notafter() { - std::string* _s = _internal_mutable_notafter(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.ListCert.notafter) - return _s; -} -inline const std::string& ListCert::_internal_notafter() const { - return _impl_.notafter_.Get(); -} -inline void ListCert::_internal_set_notafter(const std::string& value) { - - _impl_.notafter_.Set(value, GetArenaForAllocation()); -} -inline std::string* ListCert::_internal_mutable_notafter() { - - return _impl_.notafter_.Mutable(GetArenaForAllocation()); -} -inline std::string* ListCert::release_notafter() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.ListCert.notafter) - return _impl_.notafter_.Release(); -} -inline void ListCert::set_allocated_notafter(std::string* notafter) { - if (notafter != nullptr) { - - } else { - - } - _impl_.notafter_.SetAllocated(notafter, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.notafter_.IsDefault()) { - _impl_.notafter_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.ListCert.notafter) -} - -// ------------------------------------------------------------------- - -// IPsecListCertsResponse - -// repeated .opi_api.security.v1.ListCert certs = 1; -inline int IPsecListCertsResponse::_internal_certs_size() const { - return _impl_.certs_.size(); -} -inline int IPsecListCertsResponse::certs_size() const { - return _internal_certs_size(); -} -inline void IPsecListCertsResponse::clear_certs() { - _impl_.certs_.Clear(); -} -inline ::opi_api::security::v1::ListCert* IPsecListCertsResponse::mutable_certs(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecListCertsResponse.certs) - return _impl_.certs_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListCert >* -IPsecListCertsResponse::mutable_certs() { - // @@protoc_insertion_point(field_mutable_list:opi_api.security.v1.IPsecListCertsResponse.certs) - return &_impl_.certs_; -} -inline const ::opi_api::security::v1::ListCert& IPsecListCertsResponse::_internal_certs(int index) const { - return _impl_.certs_.Get(index); -} -inline const ::opi_api::security::v1::ListCert& IPsecListCertsResponse::certs(int index) const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecListCertsResponse.certs) - return _internal_certs(index); -} -inline ::opi_api::security::v1::ListCert* IPsecListCertsResponse::_internal_add_certs() { - return _impl_.certs_.Add(); -} -inline ::opi_api::security::v1::ListCert* IPsecListCertsResponse::add_certs() { - ::opi_api::security::v1::ListCert* _add = _internal_add_certs(); - // @@protoc_insertion_point(field_add:opi_api.security.v1.IPsecListCertsResponse.certs) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::security::v1::ListCert >& -IPsecListCertsResponse::certs() const { - // @@protoc_insertion_point(field_list:opi_api.security.v1.IPsecListCertsResponse.certs) - return _impl_.certs_; -} - -// ------------------------------------------------------------------- - -// IPsecLoadConnRequest - -// .opi_api.security.v1.Connection connection = 1; -inline bool IPsecLoadConnRequest::_internal_has_connection() const { - return this != internal_default_instance() && _impl_.connection_ != nullptr; -} -inline bool IPsecLoadConnRequest::has_connection() const { - return _internal_has_connection(); -} -inline void IPsecLoadConnRequest::clear_connection() { - if (GetArenaForAllocation() == nullptr && _impl_.connection_ != nullptr) { - delete _impl_.connection_; - } - _impl_.connection_ = nullptr; -} -inline const ::opi_api::security::v1::Connection& IPsecLoadConnRequest::_internal_connection() const { - const ::opi_api::security::v1::Connection* p = _impl_.connection_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::security::v1::_Connection_default_instance_); -} -inline const ::opi_api::security::v1::Connection& IPsecLoadConnRequest::connection() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecLoadConnRequest.connection) - return _internal_connection(); -} -inline void IPsecLoadConnRequest::unsafe_arena_set_allocated_connection( - ::opi_api::security::v1::Connection* connection) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.connection_); - } - _impl_.connection_ = connection; - if (connection) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.security.v1.IPsecLoadConnRequest.connection) -} -inline ::opi_api::security::v1::Connection* IPsecLoadConnRequest::release_connection() { - - ::opi_api::security::v1::Connection* temp = _impl_.connection_; - _impl_.connection_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::opi_api::security::v1::Connection* IPsecLoadConnRequest::unsafe_arena_release_connection() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecLoadConnRequest.connection) - - ::opi_api::security::v1::Connection* temp = _impl_.connection_; - _impl_.connection_ = nullptr; - return temp; -} -inline ::opi_api::security::v1::Connection* IPsecLoadConnRequest::_internal_mutable_connection() { - - if (_impl_.connection_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::security::v1::Connection>(GetArenaForAllocation()); - _impl_.connection_ = p; - } - return _impl_.connection_; -} -inline ::opi_api::security::v1::Connection* IPsecLoadConnRequest::mutable_connection() { - ::opi_api::security::v1::Connection* _msg = _internal_mutable_connection(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecLoadConnRequest.connection) - return _msg; -} -inline void IPsecLoadConnRequest::set_allocated_connection(::opi_api::security::v1::Connection* connection) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.connection_; - } - if (connection) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(connection); - if (message_arena != submessage_arena) { - connection = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, connection, submessage_arena); - } - - } else { - - } - _impl_.connection_ = connection; - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecLoadConnRequest.connection) -} - -// ------------------------------------------------------------------- - -// IPsecLoadConnResponse - -// string success = 1; -inline void IPsecLoadConnResponse::clear_success() { - _impl_.success_.ClearToEmpty(); -} -inline const std::string& IPsecLoadConnResponse::success() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecLoadConnResponse.success) - return _internal_success(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecLoadConnResponse::set_success(ArgT0&& arg0, ArgT... args) { - - _impl_.success_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecLoadConnResponse.success) -} -inline std::string* IPsecLoadConnResponse::mutable_success() { - std::string* _s = _internal_mutable_success(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecLoadConnResponse.success) - return _s; -} -inline const std::string& IPsecLoadConnResponse::_internal_success() const { - return _impl_.success_.Get(); -} -inline void IPsecLoadConnResponse::_internal_set_success(const std::string& value) { - - _impl_.success_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecLoadConnResponse::_internal_mutable_success() { - - return _impl_.success_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecLoadConnResponse::release_success() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecLoadConnResponse.success) - return _impl_.success_.Release(); -} -inline void IPsecLoadConnResponse::set_allocated_success(std::string* success) { - if (success != nullptr) { - - } else { - - } - _impl_.success_.SetAllocated(success, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.success_.IsDefault()) { - _impl_.success_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecLoadConnResponse.success) -} - -// ------------------------------------------------------------------- - -// IPsecUnloadConnRequest - -// string name = 1; -inline void IPsecUnloadConnRequest::clear_name() { - _impl_.name_.ClearToEmpty(); -} -inline const std::string& IPsecUnloadConnRequest::name() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecUnloadConnRequest.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecUnloadConnRequest::set_name(ArgT0&& arg0, ArgT... args) { - - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecUnloadConnRequest.name) -} -inline std::string* IPsecUnloadConnRequest::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecUnloadConnRequest.name) - return _s; -} -inline const std::string& IPsecUnloadConnRequest::_internal_name() const { - return _impl_.name_.Get(); -} -inline void IPsecUnloadConnRequest::_internal_set_name(const std::string& value) { - - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecUnloadConnRequest::_internal_mutable_name() { - - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecUnloadConnRequest::release_name() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecUnloadConnRequest.name) - return _impl_.name_.Release(); -} -inline void IPsecUnloadConnRequest::set_allocated_name(std::string* name) { - if (name != nullptr) { - - } else { - - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecUnloadConnRequest.name) -} - -// ------------------------------------------------------------------- - -// IPsecUnloadConnResponse - -// string success = 1; -inline void IPsecUnloadConnResponse::clear_success() { - _impl_.success_.ClearToEmpty(); -} -inline const std::string& IPsecUnloadConnResponse::success() const { - // @@protoc_insertion_point(field_get:opi_api.security.v1.IPsecUnloadConnResponse.success) - return _internal_success(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void IPsecUnloadConnResponse::set_success(ArgT0&& arg0, ArgT... args) { - - _impl_.success_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.security.v1.IPsecUnloadConnResponse.success) -} -inline std::string* IPsecUnloadConnResponse::mutable_success() { - std::string* _s = _internal_mutable_success(); - // @@protoc_insertion_point(field_mutable:opi_api.security.v1.IPsecUnloadConnResponse.success) - return _s; -} -inline const std::string& IPsecUnloadConnResponse::_internal_success() const { - return _impl_.success_.Get(); -} -inline void IPsecUnloadConnResponse::_internal_set_success(const std::string& value) { - - _impl_.success_.Set(value, GetArenaForAllocation()); -} -inline std::string* IPsecUnloadConnResponse::_internal_mutable_success() { - - return _impl_.success_.Mutable(GetArenaForAllocation()); -} -inline std::string* IPsecUnloadConnResponse::release_success() { - // @@protoc_insertion_point(field_release:opi_api.security.v1.IPsecUnloadConnResponse.success) - return _impl_.success_.Release(); -} -inline void IPsecUnloadConnResponse::set_allocated_success(std::string* success) { - if (success != nullptr) { - - } else { - - } - _impl_.success_.SetAllocated(success, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.success_.IsDefault()) { - _impl_.success_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.security.v1.IPsecUnloadConnResponse.success) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace security -} // namespace opi_api - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::opi_api::security::v1::CryptoAlgorithm> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::CryptoAlgorithm>() { - return ::opi_api::security::v1::CryptoAlgorithm_descriptor(); -} -template <> struct is_proto_enum< ::opi_api::security::v1::IntegAlgorithm> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::IntegAlgorithm>() { - return ::opi_api::security::v1::IntegAlgorithm_descriptor(); -} -template <> struct is_proto_enum< ::opi_api::security::v1::DHGroups> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::DHGroups>() { - return ::opi_api::security::v1::DHGroups_descriptor(); -} -template <> struct is_proto_enum< ::opi_api::security::v1::PRFunction> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::PRFunction>() { - return ::opi_api::security::v1::PRFunction_descriptor(); -} -template <> struct is_proto_enum< ::opi_api::security::v1::IpsecMode> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::IpsecMode>() { - return ::opi_api::security::v1::IpsecMode_descriptor(); -} -template <> struct is_proto_enum< ::opi_api::security::v1::AuthType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::AuthType>() { - return ::opi_api::security::v1::AuthType_descriptor(); -} -template <> struct is_proto_enum< ::opi_api::security::v1::IkeSaState> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::IkeSaState>() { - return ::opi_api::security::v1::IkeSaState_descriptor(); -} -template <> struct is_proto_enum< ::opi_api::security::v1::ChildSaState> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::ChildSaState>() { - return ::opi_api::security::v1::ChildSaState_descriptor(); -} -template <> struct is_proto_enum< ::opi_api::security::v1::CertificateType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::CertificateType>() { - return ::opi_api::security::v1::CertificateType_descriptor(); -} -template <> struct is_proto_enum< ::opi_api::security::v1::X509CertificateFlag> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::opi_api::security::v1::X509CertificateFlag>() { - return ::opi_api::security::v1::X509CertificateFlag_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ipsec_2eproto diff --git a/security/v1/gen/go/ipsec.pb.go b/security/v1/gen/go/ipsec.pb.go index 932338d3..f51b8e22 100644 --- a/security/v1/gen/go/ipsec.pb.go +++ b/security/v1/gen/go/ipsec.pb.go @@ -8,8 +8,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.6 +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: ipsec.proto package _go diff --git a/security/v1/gen/go/ipsec_grpc.pb.go b/security/v1/gen/go/ipsec_grpc.pb.go index 6edd98b1..304c3b90 100644 --- a/security/v1/gen/go/ipsec_grpc.pb.go +++ b/security/v1/gen/go/ipsec_grpc.pb.go @@ -1,7 +1,15 @@ +// +// Copyright (C) 2021 Intel Corporation +// Copyright (c) 2023 Dell Inc, or its subsidiaries. +// SPDX-License-Identifier: Apache-2.0 +// +// Major pieces taken from: +// https://github.com/ligato/cn-infra/blob/master/examples/cryptodata-proto-plugin/ipsec/ipsec.proto + // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.6 +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) // source: ipsec.proto package _go @@ -18,6 +26,19 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + IPsecService_IPsecVersion_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecVersion" + IPsecService_IPsecStats_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecStats" + IPsecService_IPsecInitiate_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecInitiate" + IPsecService_IPsecTerminate_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecTerminate" + IPsecService_IPsecRekey_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecRekey" + IPsecService_IPsecListSas_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecListSas" + IPsecService_IPsecListConns_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecListConns" + IPsecService_IPsecListCerts_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecListCerts" + IPsecService_IPsecLoadConn_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecLoadConn" + IPsecService_IPsecUnloadConn_FullMethodName = "/opi_api.security.v1.IPsecService/IPsecUnloadConn" +) + // IPsecServiceClient is the client API for IPsecService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -44,7 +65,7 @@ func NewIPsecServiceClient(cc grpc.ClientConnInterface) IPsecServiceClient { func (c *iPsecServiceClient) IPsecVersion(ctx context.Context, in *IPsecVersionRequest, opts ...grpc.CallOption) (*IPsecVersionResponse, error) { out := new(IPsecVersionResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecVersion", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecVersion_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -53,7 +74,7 @@ func (c *iPsecServiceClient) IPsecVersion(ctx context.Context, in *IPsecVersionR func (c *iPsecServiceClient) IPsecStats(ctx context.Context, in *IPsecStatsRequest, opts ...grpc.CallOption) (*IPsecStatsResponse, error) { out := new(IPsecStatsResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecStats", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecStats_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -62,7 +83,7 @@ func (c *iPsecServiceClient) IPsecStats(ctx context.Context, in *IPsecStatsReque func (c *iPsecServiceClient) IPsecInitiate(ctx context.Context, in *IPsecInitiateRequest, opts ...grpc.CallOption) (*IPsecInitiateResponse, error) { out := new(IPsecInitiateResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecInitiate", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecInitiate_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -71,7 +92,7 @@ func (c *iPsecServiceClient) IPsecInitiate(ctx context.Context, in *IPsecInitiat func (c *iPsecServiceClient) IPsecTerminate(ctx context.Context, in *IPsecTerminateRequest, opts ...grpc.CallOption) (*IPsecTerminateResponse, error) { out := new(IPsecTerminateResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecTerminate", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecTerminate_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -80,7 +101,7 @@ func (c *iPsecServiceClient) IPsecTerminate(ctx context.Context, in *IPsecTermin func (c *iPsecServiceClient) IPsecRekey(ctx context.Context, in *IPsecRekeyRequest, opts ...grpc.CallOption) (*IPsecRekeyResponse, error) { out := new(IPsecRekeyResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecRekey", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecRekey_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -89,7 +110,7 @@ func (c *iPsecServiceClient) IPsecRekey(ctx context.Context, in *IPsecRekeyReque func (c *iPsecServiceClient) IPsecListSas(ctx context.Context, in *IPsecListSasRequest, opts ...grpc.CallOption) (*IPsecListSasResponse, error) { out := new(IPsecListSasResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecListSas", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecListSas_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -98,7 +119,7 @@ func (c *iPsecServiceClient) IPsecListSas(ctx context.Context, in *IPsecListSasR func (c *iPsecServiceClient) IPsecListConns(ctx context.Context, in *IPsecListConnsRequest, opts ...grpc.CallOption) (*IPsecListConnsResponse, error) { out := new(IPsecListConnsResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecListConns", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecListConns_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -107,7 +128,7 @@ func (c *iPsecServiceClient) IPsecListConns(ctx context.Context, in *IPsecListCo func (c *iPsecServiceClient) IPsecListCerts(ctx context.Context, in *IPsecListCertsRequest, opts ...grpc.CallOption) (*IPsecListCertsResponse, error) { out := new(IPsecListCertsResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecListCerts", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecListCerts_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -116,7 +137,7 @@ func (c *iPsecServiceClient) IPsecListCerts(ctx context.Context, in *IPsecListCe func (c *iPsecServiceClient) IPsecLoadConn(ctx context.Context, in *IPsecLoadConnRequest, opts ...grpc.CallOption) (*IPsecLoadConnResponse, error) { out := new(IPsecLoadConnResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecLoadConn", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecLoadConn_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -125,7 +146,7 @@ func (c *iPsecServiceClient) IPsecLoadConn(ctx context.Context, in *IPsecLoadCon func (c *iPsecServiceClient) IPsecUnloadConn(ctx context.Context, in *IPsecUnloadConnRequest, opts ...grpc.CallOption) (*IPsecUnloadConnResponse, error) { out := new(IPsecUnloadConnResponse) - err := c.cc.Invoke(ctx, "/opi_api.security.v1.IPsecService/IPsecUnloadConn", in, out, opts...) + err := c.cc.Invoke(ctx, IPsecService_IPsecUnloadConn_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -133,7 +154,7 @@ func (c *iPsecServiceClient) IPsecUnloadConn(ctx context.Context, in *IPsecUnloa } // IPsecServiceServer is the server API for IPsecService service. -// All implementations should embed UnimplementedIPsecServiceServer +// All implementations must embed UnimplementedIPsecServiceServer // for forward compatibility type IPsecServiceServer interface { IPsecVersion(context.Context, *IPsecVersionRequest) (*IPsecVersionResponse, error) @@ -146,9 +167,10 @@ type IPsecServiceServer interface { IPsecListCerts(context.Context, *IPsecListCertsRequest) (*IPsecListCertsResponse, error) IPsecLoadConn(context.Context, *IPsecLoadConnRequest) (*IPsecLoadConnResponse, error) IPsecUnloadConn(context.Context, *IPsecUnloadConnRequest) (*IPsecUnloadConnResponse, error) + mustEmbedUnimplementedIPsecServiceServer() } -// UnimplementedIPsecServiceServer should be embedded to have forward compatible implementations. +// UnimplementedIPsecServiceServer must be embedded to have forward compatible implementations. type UnimplementedIPsecServiceServer struct { } @@ -182,6 +204,7 @@ func (UnimplementedIPsecServiceServer) IPsecLoadConn(context.Context, *IPsecLoad func (UnimplementedIPsecServiceServer) IPsecUnloadConn(context.Context, *IPsecUnloadConnRequest) (*IPsecUnloadConnResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IPsecUnloadConn not implemented") } +func (UnimplementedIPsecServiceServer) mustEmbedUnimplementedIPsecServiceServer() {} // UnsafeIPsecServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to IPsecServiceServer will @@ -204,7 +227,7 @@ func _IPsecService_IPsecVersion_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecVersion", + FullMethod: IPsecService_IPsecVersion_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecVersion(ctx, req.(*IPsecVersionRequest)) @@ -222,7 +245,7 @@ func _IPsecService_IPsecStats_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecStats", + FullMethod: IPsecService_IPsecStats_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecStats(ctx, req.(*IPsecStatsRequest)) @@ -240,7 +263,7 @@ func _IPsecService_IPsecInitiate_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecInitiate", + FullMethod: IPsecService_IPsecInitiate_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecInitiate(ctx, req.(*IPsecInitiateRequest)) @@ -258,7 +281,7 @@ func _IPsecService_IPsecTerminate_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecTerminate", + FullMethod: IPsecService_IPsecTerminate_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecTerminate(ctx, req.(*IPsecTerminateRequest)) @@ -276,7 +299,7 @@ func _IPsecService_IPsecRekey_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecRekey", + FullMethod: IPsecService_IPsecRekey_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecRekey(ctx, req.(*IPsecRekeyRequest)) @@ -294,7 +317,7 @@ func _IPsecService_IPsecListSas_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecListSas", + FullMethod: IPsecService_IPsecListSas_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecListSas(ctx, req.(*IPsecListSasRequest)) @@ -312,7 +335,7 @@ func _IPsecService_IPsecListConns_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecListConns", + FullMethod: IPsecService_IPsecListConns_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecListConns(ctx, req.(*IPsecListConnsRequest)) @@ -330,7 +353,7 @@ func _IPsecService_IPsecListCerts_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecListCerts", + FullMethod: IPsecService_IPsecListCerts_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecListCerts(ctx, req.(*IPsecListCertsRequest)) @@ -348,7 +371,7 @@ func _IPsecService_IPsecLoadConn_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecLoadConn", + FullMethod: IPsecService_IPsecLoadConn_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecLoadConn(ctx, req.(*IPsecLoadConnRequest)) @@ -366,7 +389,7 @@ func _IPsecService_IPsecUnloadConn_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.security.v1.IPsecService/IPsecUnloadConn", + FullMethod: IPsecService_IPsecUnloadConn_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IPsecServiceServer).IPsecUnloadConn(ctx, req.(*IPsecUnloadConnRequest)) diff --git a/security/v1/gen/python/ipsec_pb2.py b/security/v1/gen/python/ipsec_pb2.py index 8014861e..8e08682a 100644 --- a/security/v1/gen/python/ipsec_pb2.py +++ b/security/v1/gen/python/ipsec_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ipsec.proto +# Protobuf Python Version: 4.25.2 """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -13,116 +14,116 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0bipsec.proto\x12\x13opi_api.security.v1\"\xdc\x01\n\tProposals\x12\x38\n\ncrypto_alg\x18\x01 \x03(\x0e\x32$.opi_api.security.v1.CryptoAlgorithm\x12\x36\n\tinteg_alg\x18\x02 \x03(\x0e\x32#.opi_api.security.v1.IntegAlgorithm\x12,\n\x03prf\x18\x03 \x03(\x0e\x32\x1f.opi_api.security.v1.PRFunction\x12/\n\x08\x64hgroups\x18\x04 \x03(\x0e\x32\x1d.opi_api.security.v1.DHGroups\"\x13\n\x04Vips\x12\x0b\n\x03vip\x18\x01 \x03(\t\"\x15\n\x05Pools\x12\x0c\n\x04pool\x18\x01 \x03(\t\"\x15\n\x05\x43\x65rts\x12\x0c\n\x04\x63\x65rt\x18\x01 \x03(\t\"\x19\n\x07PubKeys\x12\x0e\n\x06pubkey\x18\x01 \x03(\t\"\x17\n\x06Groups\x12\r\n\x05group\x18\x01 \x03(\t\"!\n\nCertPolicy\x12\x13\n\x0b\x63\x65rt_policy\x18\x01 \x03(\t\"\x19\n\x07\x43\x61\x43\x65rts\x12\x0e\n\x06\x63\x61\x63\x65rt\x18\x01 \x03(\t\"\xd0\x01\n\tLocalAuth\x12+\n\x04\x61uth\x18\x01 \x01(\x0e\x32\x1d.opi_api.security.v1.AuthType\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0e\n\x06\x65\x61p_id\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x61\x61_id\x18\x04 \x01(\t\x12\x10\n\x08xauth_id\x18\x05 \x01(\t\x12)\n\x05\x63\x65rts\x18\x06 \x01(\x0b\x32\x1a.opi_api.security.v1.Certs\x12-\n\x07pubkeys\x18\x07 \x01(\x0b\x32\x1c.opi_api.security.v1.PubKeys\"\xc2\x02\n\nRemoteAuth\x12+\n\x04\x61uth\x18\x01 \x01(\x0e\x32\x1d.opi_api.security.v1.AuthType\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0e\n\x06\x65\x61p_id\x18\x03 \x01(\t\x12+\n\x06groups\x18\x04 \x01(\x0b\x32\x1b.opi_api.security.v1.Groups\x12\x34\n\x0b\x63\x65rt_policy\x18\x05 \x01(\x0b\x32\x1f.opi_api.security.v1.CertPolicy\x12)\n\x05\x63\x65rts\x18\x06 \x01(\x0b\x32\x1a.opi_api.security.v1.Certs\x12.\n\x08\x63\x61_certs\x18\x07 \x01(\x0b\x32\x1c.opi_api.security.v1.CaCerts\x12-\n\x07pubkeys\x18\x08 \x01(\x0b\x32\x1c.opi_api.security.v1.PubKeys\"\x93\x01\n\x10TrafficSelectors\x12\x41\n\x02ts\x18\x01 \x03(\x0b\x32\x35.opi_api.security.v1.TrafficSelectors.TrafficSelector\x1a<\n\x0fTrafficSelector\x12\x0c\n\x04\x63idr\x18\x01 \x01(\t\x12\r\n\x05proto\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\t\"\x15\n\x05\x41\x64\x64rs\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\"\xc9\x03\n\x05\x43hild\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0c\x61g_proposals\x18\x02 \x01(\x0b\x32\x1e.opi_api.security.v1.Proposals\x12\x35\n\resp_proposals\x18\x03 \x01(\x0b\x32\x1e.opi_api.security.v1.Proposals\x12\x37\n\x08local_ts\x18\x04 \x01(\x0b\x32%.opi_api.security.v1.TrafficSelectors\x12\x38\n\tremote_ts\x18\x05 \x01(\x0b\x32%.opi_api.security.v1.TrafficSelectors\x12\x12\n\nrekey_time\x18\x06 \x01(\r\x12\x11\n\tlife_time\x18\x07 \x01(\r\x12\x11\n\trand_time\x18\x08 \x01(\r\x12\x0e\n\x06updown\x18\t \x01(\t\x12\x12\n\ninactivity\x18\n \x01(\r\x12\x0f\n\x07mark_in\x18\x0b \x01(\r\x12\x12\n\nmark_in_sa\x18\x0c \x01(\t\x12\x10\n\x08mark_out\x18\r \x01(\r\x12\x13\n\x0bset_mark_in\x18\x0e \x01(\r\x12\x14\n\x0cset_mark_out\x18\x0f \x01(\r\x12\x12\n\nhw_offload\x18\x10 \x01(\t\"\xd4\x04\n\nConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12/\n\x0blocal_addrs\x18\x03 \x03(\x0b\x32\x1a.opi_api.security.v1.Addrs\x12\x30\n\x0cremote_addrs\x18\x04 \x03(\x0b\x32\x1a.opi_api.security.v1.Addrs\x12\x12\n\nlocal_port\x18\x05 \x01(\r\x12\x13\n\x0bremote_port\x18\x06 \x01(\r\x12\x31\n\tproposals\x18\x07 \x01(\x0b\x32\x1e.opi_api.security.v1.Proposals\x12\'\n\x04vips\x18\x08 \x01(\x0b\x32\x19.opi_api.security.v1.Vips\x12\x0c\n\x04\x64scp\x18\t \x01(\x04\x12\r\n\x05\x65ncap\x18\n \x01(\t\x12\x0e\n\x06mobike\x18\x0b \x01(\t\x12\x11\n\tdpd_delay\x18\x0c \x01(\r\x12\x13\n\x0b\x64pd_timeout\x18\r \x01(\r\x12\x13\n\x0breauth_time\x18\x0e \x01(\r\x12\x12\n\nrekey_time\x18\x0f \x01(\r\x12)\n\x05pools\x18\x10 \x01(\x0b\x32\x1a.opi_api.security.v1.Pools\x12\x32\n\nlocal_auth\x18\x11 \x01(\x0b\x32\x1e.opi_api.security.v1.LocalAuth\x12\x34\n\x0bremote_auth\x18\x12 \x01(\x0b\x32\x1f.opi_api.security.v1.RemoteAuth\x12,\n\x08\x63hildren\x18\x13 \x03(\x0b\x32\x1a.opi_api.security.v1.Child\"\x15\n\x13IPsecVersionRequest\"j\n\x14IPsecVersionResponse\x12\x0e\n\x06\x64\x61\x65mon\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0f\n\x07sysname\x18\x03 \x01(\t\x12\x0f\n\x07release\x18\x04 \x01(\t\x12\x0f\n\x07machine\x18\x05 \x01(\t\"\x13\n\x11IPsecStatsRequest\"$\n\x12IPsecStatsResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"U\n\x14IPsecInitiateRequest\x12\r\n\x05\x63hild\x18\x01 \x01(\t\x12\x0b\n\x03ike\x18\x02 \x01(\t\x12\x0f\n\x07timeout\x18\x03 \x01(\t\x12\x10\n\x08loglevel\x18\x04 \x01(\t\"\x17\n\x15IPsecInitiateResponse\"\x87\x01\n\x15IPsecTerminateRequest\x12\r\n\x05\x63hild\x18\x01 \x01(\t\x12\x0b\n\x03ike\x18\x02 \x01(\t\x12\x10\n\x08\x63hild_id\x18\x03 \x01(\x04\x12\x0e\n\x06ike_id\x18\x04 \x01(\x04\x12\r\n\x05\x66orce\x18\x05 \x01(\t\x12\x0f\n\x07timeout\x18\x06 \x01(\t\x12\x10\n\x08loglevel\x18\x07 \x01(\t\"N\n\x16IPsecTerminateResponse\x12\x0f\n\x07success\x18\x01 \x01(\t\x12\x0f\n\x07matches\x18\x02 \x01(\r\x12\x12\n\nterminated\x18\x03 \x01(\r\"a\n\x11IPsecRekeyRequest\x12\r\n\x05\x63hild\x18\x01 \x01(\t\x12\x0b\n\x03ike\x18\x02 \x01(\t\x12\x10\n\x08\x63hild_id\x18\x03 \x01(\x04\x12\x0e\n\x06ike_id\x18\x04 \x01(\x04\x12\x0e\n\x06reauth\x18\x05 \x01(\t\"6\n\x12IPsecRekeyResponse\x12\x0f\n\x07success\x18\x01 \x01(\t\x12\x0f\n\x07matches\x18\x02 \x01(\r\"d\n\x13IPsecListSasRequest\x12\x0f\n\x07noblock\x18\x01 \x01(\t\x12\x0b\n\x03ike\x18\x02 \x01(\t\x12\x0e\n\x06ike_id\x18\x03 \x01(\x04\x12\r\n\x05\x63hild\x18\x04 \x01(\t\x12\x10\n\x08\x63hild_id\x18\x05 \x01(\x04\"\xe4\x02\n\x0bListChildSa\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08protocol\x18\x02 \x01(\t\x12\r\n\x05\x65ncap\x18\x03 \x01(\t\x12\x0e\n\x06spi_in\x18\x04 \x01(\t\x12\x0f\n\x07spi_out\x18\x05 \x01(\t\x12\x0e\n\x06\x63pi_in\x18\x06 \x01(\t\x12\x0f\n\x07\x63pi_out\x18\x07 \x01(\t\x12\x0f\n\x07mark_in\x18\x08 \x01(\t\x12\x14\n\x0cmark_mask_in\x18\t \x01(\t\x12\x10\n\x08mark_out\x18\n \x01(\t\x12\x15\n\rmark_mask_out\x18\x0b \x01(\t\x12\x10\n\x08if_id_in\x18\x0c \x01(\t\x12\x11\n\tif_id_out\x18\r \x01(\t\x12\x10\n\x08\x65ncr_alg\x18\x0e \x01(\t\x12\x14\n\x0c\x65ncr_keysize\x18\x0f \x01(\t\x12\x11\n\tinteg_alg\x18\x10 \x01(\t\x12\x15\n\rinteg_keysize\x18\x11 \x01(\t\x12\x10\n\x08\x64h_group\x18\x12 \x01(\t\x12\x0b\n\x03\x65sn\x18\x13 \x01(\t\"\xa6\x06\n\tListIkeSa\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08uniqueid\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x31\n\x08ikestate\x18\x04 \x01(\x0e\x32\x1f.opi_api.security.v1.IkeSaState\x12\x12\n\nlocal_host\x18\x05 \x01(\t\x12\x12\n\nlocal_port\x18\x06 \x01(\t\x12\x10\n\x08local_id\x18\x07 \x01(\t\x12\x13\n\x0bremote_host\x18\x08 \x01(\t\x12\x13\n\x0bremote_port\x18\t \x01(\t\x12\x11\n\tremote_id\x18\n \x01(\t\x12\x17\n\x0fremote_xauth_id\x18\x0b \x01(\t\x12\x15\n\rremote_eap_id\x18\x0c \x01(\t\x12\x11\n\tinitiator\x18\r \x01(\t\x12\x15\n\rinitiator_spi\x18\x0e \x01(\t\x12\x15\n\rresponder_spi\x18\x0f \x01(\t\x12\x11\n\tnat_local\x18\x10 \x01(\t\x12\x12\n\nnat_remote\x18\x11 \x01(\t\x12\x10\n\x08nat_fake\x18\x12 \x01(\t\x12\x0f\n\x07nat_any\x18\x13 \x01(\t\x12\x10\n\x08if_id_in\x18\x14 \x01(\t\x12\x11\n\tif_id_out\x18\x15 \x01(\t\x12\x10\n\x08\x65ncr_alg\x18\x16 \x01(\t\x12\x14\n\x0c\x65ncr_keysize\x18\x17 \x01(\t\x12\x11\n\tinteg_alg\x18\x18 \x01(\t\x12\x15\n\rinteg_keysize\x18\x19 \x01(\t\x12\x0f\n\x07prf_alg\x18\x1a \x01(\t\x12\x10\n\x08\x64h_group\x18\x1b \x01(\t\x12\x0b\n\x03ppk\x18\x1c \x01(\t\x12\x13\n\x0b\x65stablished\x18\x1d \x01(\t\x12\x12\n\nrekey_time\x18\x1e \x01(\t\x12\x13\n\x0breauth_time\x18\x1f \x01(\t\x12\x12\n\nlocal_vips\x18 \x03(\t\x12\x13\n\x0bremote_vips\x18! \x03(\t\x12\x14\n\x0ctasks_queued\x18\" \x03(\t\x12\x14\n\x0ctasks_active\x18# \x03(\t\x12\x15\n\rtasks_passive\x18$ \x03(\t\x12\x32\n\x08\x63hildsas\x18% \x03(\x0b\x32 .opi_api.security.v1.ListChildSa\"F\n\x14IPsecListSasResponse\x12.\n\x06ikesas\x18\x01 \x03(\x0b\x32\x1e.opi_api.security.v1.ListIkeSa\"$\n\x15IPsecListConnsRequest\x12\x0b\n\x03ike\x18\x01 \x01(\t\"\xed\x02\n\x0cListConnAuth\x12\r\n\x05\x63lass\x18\x01 \x01(\t\x12\x0f\n\x07\x65\x61ptype\x18\x02 \x01(\t\x12\x11\n\teapvendor\x18\x03 \x01(\t\x12\r\n\x05xauth\x18\x04 \x01(\t\x12\x12\n\nrevocation\x18\x05 \x01(\t\x12\n\n\x02id\x18\x06 \x01(\t\x12\r\n\x05\x63\x61_id\x18\x07 \x01(\t\x12\x0e\n\x06\x61\x61\x61_id\x18\x08 \x01(\t\x12\x0e\n\x06\x65\x61p_id\x18\t \x01(\t\x12\x10\n\x08xauth_id\x18\n \x01(\t\x12*\n\x05group\x18\x0b \x01(\x0b\x32\x1b.opi_api.security.v1.Groups\x12\x34\n\x0b\x63\x65rt_policy\x18\x0c \x01(\x0b\x32\x1f.opi_api.security.v1.CertPolicy\x12)\n\x05\x63\x65rts\x18\r \x01(\x0b\x32\x1a.opi_api.security.v1.Certs\x12-\n\x07\x63\x61\x63\x65rts\x18\x0e \x01(\x0b\x32\x1c.opi_api.security.v1.CaCerts\"\xb8\x02\n\tListChild\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04mode\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x12\n\nrekey_time\x18\x04 \x01(\r\x12\x13\n\x0brekey_bytes\x18\x05 \x01(\r\x12\x15\n\rrekey_packets\x18\x06 \x01(\r\x12\x12\n\ndpd_action\x18\x07 \x01(\t\x12\x14\n\x0c\x63lose_action\x18\x08 \x01(\t\x12\x37\n\x08local_ts\x18\t \x01(\x0b\x32%.opi_api.security.v1.TrafficSelectors\x12\x38\n\tremote_ts\x18\n \x01(\x0b\x32%.opi_api.security.v1.TrafficSelectors\x12\x11\n\tinterface\x18\x0b \x01(\t\x12\x10\n\x08priority\x18\x0c \x01(\t\"\xb5\x03\n\x0cListConnResp\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0blocal_addrs\x18\x02 \x03(\x0b\x32\x1a.opi_api.security.v1.Addrs\x12\x30\n\x0cremote_addrs\x18\x03 \x03(\x0b\x32\x1a.opi_api.security.v1.Addrs\x12\x0f\n\x07version\x18\x04 \x01(\t\x12\x13\n\x0breauth_time\x18\x05 \x01(\r\x12\x12\n\nrekey_time\x18\x06 \x01(\r\x12\x0e\n\x06unique\x18\x07 \x01(\t\x12\x11\n\tdpd_delay\x18\x08 \x01(\r\x12\x13\n\x0b\x64pd_timeout\x18\t \x01(\r\x12\x0b\n\x03ppk\x18\n \x01(\t\x12\x14\n\x0cppk_required\x18\x0b \x01(\t\x12\x35\n\nlocal_auth\x18\x0c \x03(\x0b\x32!.opi_api.security.v1.ListConnAuth\x12\x36\n\x0bremote_auth\x18\r \x03(\x0b\x32!.opi_api.security.v1.ListConnAuth\x12\x30\n\x08\x63hildren\x18\x0e \x03(\x0b\x32\x1e.opi_api.security.v1.ListChild\"O\n\x16IPsecListConnsResponse\x12\x35\n\nconnection\x18\x01 \x03(\x0b\x32!.opi_api.security.v1.ListConnResp\"D\n\x15IPsecListCertsRequest\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04\x66lag\x18\x02 \x01(\t\x12\x0f\n\x07subject\x18\x03 \x01(\t\"\xce\x01\n\x08ListCert\x12\x32\n\x04type\x18\x01 \x01(\x0e\x32$.opi_api.security.v1.CertificateType\x12\x36\n\x04\x66lag\x18\x02 \x01(\x0e\x32(.opi_api.security.v1.X509CertificateFlag\x12\x12\n\nhasprivkey\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t\x12\x0f\n\x07subject\x18\x05 \x01(\t\x12\x11\n\tnotbefore\x18\x06 \x01(\t\x12\x10\n\x08notafter\x18\x07 \x01(\t\"F\n\x16IPsecListCertsResponse\x12,\n\x05\x63\x65rts\x18\x01 \x03(\x0b\x32\x1d.opi_api.security.v1.ListCert\"K\n\x14IPsecLoadConnRequest\x12\x33\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.opi_api.security.v1.Connection\"(\n\x15IPsecLoadConnResponse\x12\x0f\n\x07success\x18\x01 \x01(\t\"&\n\x16IPsecUnloadConnRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"*\n\x17IPsecUnloadConnResponse\x12\x0f\n\x07success\x18\x01 \x01(\t*\x92\x02\n\x0f\x43ryptoAlgorithm\x12 \n\x1c\x43RYPTO_ALGORITHM_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43RYPTO_ALGORITHM_AES128\x10\x01\x12\x1b\n\x17\x43RYPTO_ALGORITHM_AES192\x10\x02\x12\x1b\n\x17\x43RYPTO_ALGORITHM_AES256\x10\x03\x12!\n\x1d\x43RYPTO_ALGORITHM_AES128GCM128\x10\x04\x12!\n\x1d\x43RYPTO_ALGORITHM_AES256GCM128\x10\x05\x12\x1f\n\x1b\x43RYPTO_ALGORITHM_AES128GMAC\x10\x06\x12\x1f\n\x1b\x43RYPTO_ALGORITHM_AES256GMAC\x10\x07*\x92\x02\n\x0eIntegAlgorithm\x12\x1f\n\x1bINTEG_ALGORITHM_UNSPECIFIED\x10\x00\x12\x17\n\x13INTEG_ALGORITHM_MD5\x10\x01\x12\x1b\n\x17INTEG_ALGORITHM_MD5_128\x10\x02\x12\x18\n\x14INTEG_ALGORITHM_SHA1\x10\x03\x12\x1c\n\x18INTEG_ALGORITHM_SHA1_160\x10\x04\x12\x1a\n\x16INTEG_ALGORITHM_SHA256\x10\x05\x12\x1a\n\x16INTEG_ALGORITHM_SHA384\x10\x07\x12\x1a\n\x16INTEG_ALGORITHM_SHA512\x10\x08\x12\x1d\n\x19INTEG_ALGORITHM_SHA256_96\x10\t*\xd2\x02\n\x08\x44HGroups\x12\x19\n\x15\x44H_GROUPS_UNSPECIFIED\x10\x00\x12\x15\n\x11\x44H_GROUPS_MODP768\x10\x01\x12\x16\n\x12\x44H_GROUPS_MODP1024\x10\x02\x12\x16\n\x12\x44H_GROUPS_MODP1536\x10\x03\x12\x16\n\x12\x44H_GROUPS_MODP2048\x10\x04\x12\x16\n\x12\x44H_GROUPS_MODP3072\x10\x05\x12\x16\n\x12\x44H_GROUPS_MODP4096\x10\x06\x12\x16\n\x12\x44H_GROUPS_MODP6144\x10\x07\x12\x16\n\x12\x44H_GROUPS_MODP8192\x10\x08\x12\x1a\n\x16\x44H_GROUPS_MODP1024S160\x10\t\x12\x1a\n\x16\x44H_GROUPS_MODP2048S224\x10\n\x12\x1a\n\x16\x44H_GROUPS_MODP2048S256\x10\x0b\x12\x18\n\x14\x44H_GROUPS_CURVE25519\x10\x0c*\xce\x01\n\nPRFunction\x12\x1b\n\x17PR_FUNCTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fPR_FUNCTION_MD5\x10\x01\x12\x14\n\x10PR_FUNCTION_SHA1\x10\x02\x12\x17\n\x13PR_FUNCTION_AESXCBC\x10\x03\x12\x17\n\x13PR_FUNCTION_AESCMAC\x10\x04\x12\x16\n\x12PR_FUNCTION_SHA256\x10\x05\x12\x16\n\x12PR_FUNCTION_SHA384\x10\x06\x12\x16\n\x12PR_FUNCTION_SHA512\x10\x07*b\n\tIpsecMode\x12\x1a\n\x16IPSEC_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16IPSEC_MODE_TUNNEL_MODE\x10\x01\x12\x1d\n\x19IPSEC_MODE_TRANSPORT_MODE\x10\x02*v\n\x08\x41uthType\x12\x19\n\x15\x41UTH_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41UTH_TYPE_PUBKEY\x10\x01\x12\x11\n\rAUTH_TYPE_PSK\x10\x02\x12\x13\n\x0f\x41UTH_TYPE_XAUTH\x10\x03\x12\x11\n\rAUTH_TYPE_EAP\x10\x04*\x86\x02\n\nIkeSaState\x12\x1c\n\x18IKE_SA_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14IKE_SA_STATE_CREATED\x10\x01\x12\x1b\n\x17IKE_SA_STATE_CONNECTING\x10\x02\x12\x1c\n\x18IKE_SA_STATE_ESTABLISHED\x10\x03\x12\x18\n\x14IKE_SA_STATE_PASSIVE\x10\x04\x12\x19\n\x15IKE_SA_STATE_REKEYING\x10\x05\x12\x18\n\x14IKE_SA_STATE_REKEYED\x10\x06\x12\x19\n\x15IKE_SA_STATE_DELETING\x10\x07\x12\x1b\n\x17IKE_SA_STATE_DESTROYING\x10\x08*\xed\x02\n\x0c\x43hildSaState\x12\x1e\n\x1a\x43HILD_SA_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43HILD_SA_STATE_CREATED\x10\x01\x12\x19\n\x15\x43HILD_SA_STATE_ROUTED\x10\x02\x12\x1d\n\x19\x43HILD_SA_STATE_INSTALLING\x10\x03\x12\x1c\n\x18\x43HILD_SA_STATE_INSTALLED\x10\x04\x12\x1b\n\x17\x43HILD_SA_STATE_UPDATING\x10\x05\x12\x1b\n\x17\x43HILD_SA_STATE_REKEYING\x10\x06\x12\x1a\n\x16\x43HILD_SA_STATE_REKEYED\x10\x07\x12\x1b\n\x17\x43HILD_SA_STATE_RETRYING\x10\x08\x12\x1b\n\x17\x43HILD_SA_STATE_DELETING\x10\t\x12\x1a\n\x16\x43HILD_SA_STATE_DELETED\x10\n\x12\x1d\n\x19\x43HILD_SA_STATE_DESTROYING\x10\x0b*\xb6\x01\n\x0f\x43\x65rtificateType\x12%\n!CERTIFICATE_TYPE_X509_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x43\x45RTIFICATE_TYPE_X509_AC\x10\x01\x12\x1d\n\x19\x43\x45RTIFICATE_TYPE_X509_CRL\x10\x02\x12\"\n\x1e\x43\x45RTIFICATE_TYPE_OCSP_RESPONSE\x10\x03\x12\x1b\n\x17\x43\x45RTIFICATE_TYPE_PUBKEY\x10\x04*\x98\x01\n\x13X509CertificateFlag\x12%\n!X509_CERTIFICATE_FLAG_UNSPECIFIED\x10\x00\x12\x1c\n\x18X509_CERTIFICATE_FLAG_CA\x10\x01\x12\x1c\n\x18X509_CERTIFICATE_FLAG_AA\x10\x02\x12\x1e\n\x1aX509_CERTIFICATE_FLAG_OCSP\x10\x03\x32\xa9\x08\n\x0cIPsecService\x12\x65\n\x0cIPsecVersion\x12(.opi_api.security.v1.IPsecVersionRequest\x1a).opi_api.security.v1.IPsecVersionResponse\"\x00\x12_\n\nIPsecStats\x12&.opi_api.security.v1.IPsecStatsRequest\x1a\'.opi_api.security.v1.IPsecStatsResponse\"\x00\x12h\n\rIPsecInitiate\x12).opi_api.security.v1.IPsecInitiateRequest\x1a*.opi_api.security.v1.IPsecInitiateResponse\"\x00\x12k\n\x0eIPsecTerminate\x12*.opi_api.security.v1.IPsecTerminateRequest\x1a+.opi_api.security.v1.IPsecTerminateResponse\"\x00\x12_\n\nIPsecRekey\x12&.opi_api.security.v1.IPsecRekeyRequest\x1a\'.opi_api.security.v1.IPsecRekeyResponse\"\x00\x12\x65\n\x0cIPsecListSas\x12(.opi_api.security.v1.IPsecListSasRequest\x1a).opi_api.security.v1.IPsecListSasResponse\"\x00\x12k\n\x0eIPsecListConns\x12*.opi_api.security.v1.IPsecListConnsRequest\x1a+.opi_api.security.v1.IPsecListConnsResponse\"\x00\x12k\n\x0eIPsecListCerts\x12*.opi_api.security.v1.IPsecListCertsRequest\x1a+.opi_api.security.v1.IPsecListCertsResponse\"\x00\x12h\n\rIPsecLoadConn\x12).opi_api.security.v1.IPsecLoadConnRequest\x1a*.opi_api.security.v1.IPsecLoadConnResponse\"\x00\x12n\n\x0fIPsecUnloadConn\x12+.opi_api.security.v1.IPsecUnloadConnRequest\x1a,.opi_api.security.v1.IPsecUnloadConnResponse\"\x00\x42\x32Z0github.com/opiproject/opi-api/security/v1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0bipsec.proto\x12\x13opi_api.security.v1\"\x80\x02\n\tProposals\x12\x43\n\ncrypto_alg\x18\x01 \x03(\x0e\x32$.opi_api.security.v1.CryptoAlgorithmR\tcryptoAlg\x12@\n\tinteg_alg\x18\x02 \x03(\x0e\x32#.opi_api.security.v1.IntegAlgorithmR\x08integAlg\x12\x31\n\x03prf\x18\x03 \x03(\x0e\x32\x1f.opi_api.security.v1.PRFunctionR\x03prf\x12\x39\n\x08\x64hgroups\x18\x04 \x03(\x0e\x32\x1d.opi_api.security.v1.DHGroupsR\x08\x64hgroups\"\x18\n\x04Vips\x12\x10\n\x03vip\x18\x01 \x03(\tR\x03vip\"\x1b\n\x05Pools\x12\x12\n\x04pool\x18\x01 \x03(\tR\x04pool\"\x1b\n\x05\x43\x65rts\x12\x12\n\x04\x63\x65rt\x18\x01 \x03(\tR\x04\x63\x65rt\"!\n\x07PubKeys\x12\x16\n\x06pubkey\x18\x01 \x03(\tR\x06pubkey\"\x1e\n\x06Groups\x12\x14\n\x05group\x18\x01 \x03(\tR\x05group\"-\n\nCertPolicy\x12\x1f\n\x0b\x63\x65rt_policy\x18\x01 \x03(\tR\ncertPolicy\"!\n\x07\x43\x61\x43\x65rts\x12\x16\n\x06\x63\x61\x63\x65rt\x18\x01 \x03(\tR\x06\x63\x61\x63\x65rt\"\x81\x02\n\tLocalAuth\x12\x31\n\x04\x61uth\x18\x01 \x01(\x0e\x32\x1d.opi_api.security.v1.AuthTypeR\x04\x61uth\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x15\n\x06\x65\x61p_id\x18\x03 \x01(\tR\x05\x65\x61pId\x12\x15\n\x06\x61\x61\x61_id\x18\x04 \x01(\tR\x05\x61\x61\x61Id\x12\x19\n\x08xauth_id\x18\x05 \x01(\tR\x07xauthId\x12\x30\n\x05\x63\x65rts\x18\x06 \x01(\x0b\x32\x1a.opi_api.security.v1.CertsR\x05\x63\x65rts\x12\x36\n\x07pubkeys\x18\x07 \x01(\x0b\x32\x1c.opi_api.security.v1.PubKeysR\x07pubkeys\"\x80\x03\n\nRemoteAuth\x12\x31\n\x04\x61uth\x18\x01 \x01(\x0e\x32\x1d.opi_api.security.v1.AuthTypeR\x04\x61uth\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x15\n\x06\x65\x61p_id\x18\x03 \x01(\tR\x05\x65\x61pId\x12\x33\n\x06groups\x18\x04 \x01(\x0b\x32\x1b.opi_api.security.v1.GroupsR\x06groups\x12@\n\x0b\x63\x65rt_policy\x18\x05 \x01(\x0b\x32\x1f.opi_api.security.v1.CertPolicyR\ncertPolicy\x12\x30\n\x05\x63\x65rts\x18\x06 \x01(\x0b\x32\x1a.opi_api.security.v1.CertsR\x05\x63\x65rts\x12\x37\n\x08\x63\x61_certs\x18\x07 \x01(\x0b\x32\x1c.opi_api.security.v1.CaCertsR\x07\x63\x61\x43\x65rts\x12\x36\n\x07pubkeys\x18\x08 \x01(\x0b\x32\x1c.opi_api.security.v1.PubKeysR\x07pubkeys\"\xaa\x01\n\x10TrafficSelectors\x12\x45\n\x02ts\x18\x01 \x03(\x0b\x32\x35.opi_api.security.v1.TrafficSelectors.TrafficSelectorR\x02ts\x1aO\n\x0fTrafficSelector\x12\x12\n\x04\x63idr\x18\x01 \x01(\tR\x04\x63idr\x12\x14\n\x05proto\x18\x02 \x01(\tR\x05proto\x12\x12\n\x04port\x18\x03 \x01(\tR\x04port\"\x1b\n\x05\x41\x64\x64rs\x12\x12\n\x04\x61\x64\x64r\x18\x01 \x01(\tR\x04\x61\x64\x64r\"\xed\x04\n\x05\x43hild\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x41\n\x0c\x61g_proposals\x18\x02 \x01(\x0b\x32\x1e.opi_api.security.v1.ProposalsR\x0b\x61gProposals\x12\x43\n\resp_proposals\x18\x03 \x01(\x0b\x32\x1e.opi_api.security.v1.ProposalsR\x0c\x65spProposals\x12@\n\x08local_ts\x18\x04 \x01(\x0b\x32%.opi_api.security.v1.TrafficSelectorsR\x07localTs\x12\x42\n\tremote_ts\x18\x05 \x01(\x0b\x32%.opi_api.security.v1.TrafficSelectorsR\x08remoteTs\x12\x1d\n\nrekey_time\x18\x06 \x01(\rR\trekeyTime\x12\x1b\n\tlife_time\x18\x07 \x01(\rR\x08lifeTime\x12\x1b\n\trand_time\x18\x08 \x01(\rR\x08randTime\x12\x16\n\x06updown\x18\t \x01(\tR\x06updown\x12\x1e\n\ninactivity\x18\n \x01(\rR\ninactivity\x12\x17\n\x07mark_in\x18\x0b \x01(\rR\x06markIn\x12\x1c\n\nmark_in_sa\x18\x0c \x01(\tR\x08markInSa\x12\x19\n\x08mark_out\x18\r \x01(\rR\x07markOut\x12\x1e\n\x0bset_mark_in\x18\x0e \x01(\rR\tsetMarkIn\x12 \n\x0cset_mark_out\x18\x0f \x01(\rR\nsetMarkOut\x12\x1d\n\nhw_offload\x18\x10 \x01(\tR\thwOffload\"\x8e\x06\n\nConnection\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12;\n\x0blocal_addrs\x18\x03 \x03(\x0b\x32\x1a.opi_api.security.v1.AddrsR\nlocalAddrs\x12=\n\x0cremote_addrs\x18\x04 \x03(\x0b\x32\x1a.opi_api.security.v1.AddrsR\x0bremoteAddrs\x12\x1d\n\nlocal_port\x18\x05 \x01(\rR\tlocalPort\x12\x1f\n\x0bremote_port\x18\x06 \x01(\rR\nremotePort\x12<\n\tproposals\x18\x07 \x01(\x0b\x32\x1e.opi_api.security.v1.ProposalsR\tproposals\x12-\n\x04vips\x18\x08 \x01(\x0b\x32\x19.opi_api.security.v1.VipsR\x04vips\x12\x12\n\x04\x64scp\x18\t \x01(\x04R\x04\x64scp\x12\x14\n\x05\x65ncap\x18\n \x01(\tR\x05\x65ncap\x12\x16\n\x06mobike\x18\x0b \x01(\tR\x06mobike\x12\x1b\n\tdpd_delay\x18\x0c \x01(\rR\x08\x64pdDelay\x12\x1f\n\x0b\x64pd_timeout\x18\r \x01(\rR\ndpdTimeout\x12\x1f\n\x0breauth_time\x18\x0e \x01(\rR\nreauthTime\x12\x1d\n\nrekey_time\x18\x0f \x01(\rR\trekeyTime\x12\x30\n\x05pools\x18\x10 \x01(\x0b\x32\x1a.opi_api.security.v1.PoolsR\x05pools\x12=\n\nlocal_auth\x18\x11 \x01(\x0b\x32\x1e.opi_api.security.v1.LocalAuthR\tlocalAuth\x12@\n\x0bremote_auth\x18\x12 \x01(\x0b\x32\x1f.opi_api.security.v1.RemoteAuthR\nremoteAuth\x12\x36\n\x08\x63hildren\x18\x13 \x03(\x0b\x32\x1a.opi_api.security.v1.ChildR\x08\x63hildren\"\x15\n\x13IPsecVersionRequest\"\x96\x01\n\x14IPsecVersionResponse\x12\x16\n\x06\x64\x61\x65mon\x18\x01 \x01(\tR\x06\x64\x61\x65mon\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x18\n\x07sysname\x18\x03 \x01(\tR\x07sysname\x12\x18\n\x07release\x18\x04 \x01(\tR\x07release\x12\x18\n\x07machine\x18\x05 \x01(\tR\x07machine\"\x13\n\x11IPsecStatsRequest\",\n\x12IPsecStatsResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"t\n\x14IPsecInitiateRequest\x12\x14\n\x05\x63hild\x18\x01 \x01(\tR\x05\x63hild\x12\x10\n\x03ike\x18\x02 \x01(\tR\x03ike\x12\x18\n\x07timeout\x18\x03 \x01(\tR\x07timeout\x12\x1a\n\x08loglevel\x18\x04 \x01(\tR\x08loglevel\"\x17\n\x15IPsecInitiateResponse\"\xbd\x01\n\x15IPsecTerminateRequest\x12\x14\n\x05\x63hild\x18\x01 \x01(\tR\x05\x63hild\x12\x10\n\x03ike\x18\x02 \x01(\tR\x03ike\x12\x19\n\x08\x63hild_id\x18\x03 \x01(\x04R\x07\x63hildId\x12\x15\n\x06ike_id\x18\x04 \x01(\x04R\x05ikeId\x12\x14\n\x05\x66orce\x18\x05 \x01(\tR\x05\x66orce\x12\x18\n\x07timeout\x18\x06 \x01(\tR\x07timeout\x12\x1a\n\x08loglevel\x18\x07 \x01(\tR\x08loglevel\"l\n\x16IPsecTerminateResponse\x12\x18\n\x07success\x18\x01 \x01(\tR\x07success\x12\x18\n\x07matches\x18\x02 \x01(\rR\x07matches\x12\x1e\n\nterminated\x18\x03 \x01(\rR\nterminated\"\x85\x01\n\x11IPsecRekeyRequest\x12\x14\n\x05\x63hild\x18\x01 \x01(\tR\x05\x63hild\x12\x10\n\x03ike\x18\x02 \x01(\tR\x03ike\x12\x19\n\x08\x63hild_id\x18\x03 \x01(\x04R\x07\x63hildId\x12\x15\n\x06ike_id\x18\x04 \x01(\x04R\x05ikeId\x12\x16\n\x06reauth\x18\x05 \x01(\tR\x06reauth\"H\n\x12IPsecRekeyResponse\x12\x18\n\x07success\x18\x01 \x01(\tR\x07success\x12\x18\n\x07matches\x18\x02 \x01(\rR\x07matches\"\x89\x01\n\x13IPsecListSasRequest\x12\x18\n\x07noblock\x18\x01 \x01(\tR\x07noblock\x12\x10\n\x03ike\x18\x02 \x01(\tR\x03ike\x12\x15\n\x06ike_id\x18\x03 \x01(\x04R\x05ikeId\x12\x14\n\x05\x63hild\x18\x04 \x01(\tR\x05\x63hild\x12\x19\n\x08\x63hild_id\x18\x05 \x01(\x04R\x07\x63hildId\"\x90\x04\n\x0bListChildSa\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08protocol\x18\x02 \x01(\tR\x08protocol\x12\x14\n\x05\x65ncap\x18\x03 \x01(\tR\x05\x65ncap\x12\x15\n\x06spi_in\x18\x04 \x01(\tR\x05spiIn\x12\x17\n\x07spi_out\x18\x05 \x01(\tR\x06spiOut\x12\x15\n\x06\x63pi_in\x18\x06 \x01(\tR\x05\x63piIn\x12\x17\n\x07\x63pi_out\x18\x07 \x01(\tR\x06\x63piOut\x12\x17\n\x07mark_in\x18\x08 \x01(\tR\x06markIn\x12 \n\x0cmark_mask_in\x18\t \x01(\tR\nmarkMaskIn\x12\x19\n\x08mark_out\x18\n \x01(\tR\x07markOut\x12\"\n\rmark_mask_out\x18\x0b \x01(\tR\x0bmarkMaskOut\x12\x18\n\x08if_id_in\x18\x0c \x01(\tR\x06ifIdIn\x12\x1a\n\tif_id_out\x18\r \x01(\tR\x07ifIdOut\x12\x19\n\x08\x65ncr_alg\x18\x0e \x01(\tR\x07\x65ncrAlg\x12!\n\x0c\x65ncr_keysize\x18\x0f \x01(\tR\x0b\x65ncrKeysize\x12\x1b\n\tinteg_alg\x18\x10 \x01(\tR\x08integAlg\x12#\n\rinteg_keysize\x18\x11 \x01(\tR\x0cintegKeysize\x12\x19\n\x08\x64h_group\x18\x12 \x01(\tR\x07\x64hGroup\x12\x10\n\x03\x65sn\x18\x13 \x01(\tR\x03\x65sn\"\xb5\t\n\tListIkeSa\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08uniqueid\x18\x02 \x01(\tR\x08uniqueid\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12;\n\x08ikestate\x18\x04 \x01(\x0e\x32\x1f.opi_api.security.v1.IkeSaStateR\x08ikestate\x12\x1d\n\nlocal_host\x18\x05 \x01(\tR\tlocalHost\x12\x1d\n\nlocal_port\x18\x06 \x01(\tR\tlocalPort\x12\x19\n\x08local_id\x18\x07 \x01(\tR\x07localId\x12\x1f\n\x0bremote_host\x18\x08 \x01(\tR\nremoteHost\x12\x1f\n\x0bremote_port\x18\t \x01(\tR\nremotePort\x12\x1b\n\tremote_id\x18\n \x01(\tR\x08remoteId\x12&\n\x0fremote_xauth_id\x18\x0b \x01(\tR\rremoteXauthId\x12\"\n\rremote_eap_id\x18\x0c \x01(\tR\x0bremoteEapId\x12\x1c\n\tinitiator\x18\r \x01(\tR\tinitiator\x12#\n\rinitiator_spi\x18\x0e \x01(\tR\x0cinitiatorSpi\x12#\n\rresponder_spi\x18\x0f \x01(\tR\x0cresponderSpi\x12\x1b\n\tnat_local\x18\x10 \x01(\tR\x08natLocal\x12\x1d\n\nnat_remote\x18\x11 \x01(\tR\tnatRemote\x12\x19\n\x08nat_fake\x18\x12 \x01(\tR\x07natFake\x12\x17\n\x07nat_any\x18\x13 \x01(\tR\x06natAny\x12\x18\n\x08if_id_in\x18\x14 \x01(\tR\x06ifIdIn\x12\x1a\n\tif_id_out\x18\x15 \x01(\tR\x07ifIdOut\x12\x19\n\x08\x65ncr_alg\x18\x16 \x01(\tR\x07\x65ncrAlg\x12!\n\x0c\x65ncr_keysize\x18\x17 \x01(\tR\x0b\x65ncrKeysize\x12\x1b\n\tinteg_alg\x18\x18 \x01(\tR\x08integAlg\x12#\n\rinteg_keysize\x18\x19 \x01(\tR\x0cintegKeysize\x12\x17\n\x07prf_alg\x18\x1a \x01(\tR\x06prfAlg\x12\x19\n\x08\x64h_group\x18\x1b \x01(\tR\x07\x64hGroup\x12\x10\n\x03ppk\x18\x1c \x01(\tR\x03ppk\x12 \n\x0b\x65stablished\x18\x1d \x01(\tR\x0b\x65stablished\x12\x1d\n\nrekey_time\x18\x1e \x01(\tR\trekeyTime\x12\x1f\n\x0breauth_time\x18\x1f \x01(\tR\nreauthTime\x12\x1d\n\nlocal_vips\x18 \x03(\tR\tlocalVips\x12\x1f\n\x0bremote_vips\x18! \x03(\tR\nremoteVips\x12!\n\x0ctasks_queued\x18\" \x03(\tR\x0btasksQueued\x12!\n\x0ctasks_active\x18# \x03(\tR\x0btasksActive\x12#\n\rtasks_passive\x18$ \x03(\tR\x0ctasksPassive\x12<\n\x08\x63hildsas\x18% \x03(\x0b\x32 .opi_api.security.v1.ListChildSaR\x08\x63hildsas\"N\n\x14IPsecListSasResponse\x12\x36\n\x06ikesas\x18\x01 \x03(\x0b\x32\x1e.opi_api.security.v1.ListIkeSaR\x06ikesas\")\n\x15IPsecListConnsRequest\x12\x10\n\x03ike\x18\x01 \x01(\tR\x03ike\"\xdf\x03\n\x0cListConnAuth\x12\x14\n\x05\x63lass\x18\x01 \x01(\tR\x05\x63lass\x12\x18\n\x07\x65\x61ptype\x18\x02 \x01(\tR\x07\x65\x61ptype\x12\x1c\n\teapvendor\x18\x03 \x01(\tR\teapvendor\x12\x14\n\x05xauth\x18\x04 \x01(\tR\x05xauth\x12\x1e\n\nrevocation\x18\x05 \x01(\tR\nrevocation\x12\x0e\n\x02id\x18\x06 \x01(\tR\x02id\x12\x13\n\x05\x63\x61_id\x18\x07 \x01(\tR\x04\x63\x61Id\x12\x15\n\x06\x61\x61\x61_id\x18\x08 \x01(\tR\x05\x61\x61\x61Id\x12\x15\n\x06\x65\x61p_id\x18\t \x01(\tR\x05\x65\x61pId\x12\x19\n\x08xauth_id\x18\n \x01(\tR\x07xauthId\x12\x31\n\x05group\x18\x0b \x01(\x0b\x32\x1b.opi_api.security.v1.GroupsR\x05group\x12@\n\x0b\x63\x65rt_policy\x18\x0c \x01(\x0b\x32\x1f.opi_api.security.v1.CertPolicyR\ncertPolicy\x12\x30\n\x05\x63\x65rts\x18\r \x01(\x0b\x32\x1a.opi_api.security.v1.CertsR\x05\x63\x65rts\x12\x36\n\x07\x63\x61\x63\x65rts\x18\x0e \x01(\x0b\x32\x1c.opi_api.security.v1.CaCertsR\x07\x63\x61\x63\x65rts\"\xb0\x03\n\tListChild\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04mode\x18\x02 \x01(\tR\x04mode\x12\x14\n\x05label\x18\x03 \x01(\tR\x05label\x12\x1d\n\nrekey_time\x18\x04 \x01(\rR\trekeyTime\x12\x1f\n\x0brekey_bytes\x18\x05 \x01(\rR\nrekeyBytes\x12#\n\rrekey_packets\x18\x06 \x01(\rR\x0crekeyPackets\x12\x1d\n\ndpd_action\x18\x07 \x01(\tR\tdpdAction\x12!\n\x0c\x63lose_action\x18\x08 \x01(\tR\x0b\x63loseAction\x12@\n\x08local_ts\x18\t \x01(\x0b\x32%.opi_api.security.v1.TrafficSelectorsR\x07localTs\x12\x42\n\tremote_ts\x18\n \x01(\x0b\x32%.opi_api.security.v1.TrafficSelectorsR\x08remoteTs\x12\x1c\n\tinterface\x18\x0b \x01(\tR\tinterface\x12\x1a\n\x08priority\x18\x0c \x01(\tR\x08priority\"\xc5\x04\n\x0cListConnResp\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12;\n\x0blocal_addrs\x18\x02 \x03(\x0b\x32\x1a.opi_api.security.v1.AddrsR\nlocalAddrs\x12=\n\x0cremote_addrs\x18\x03 \x03(\x0b\x32\x1a.opi_api.security.v1.AddrsR\x0bremoteAddrs\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12\x1f\n\x0breauth_time\x18\x05 \x01(\rR\nreauthTime\x12\x1d\n\nrekey_time\x18\x06 \x01(\rR\trekeyTime\x12\x16\n\x06unique\x18\x07 \x01(\tR\x06unique\x12\x1b\n\tdpd_delay\x18\x08 \x01(\rR\x08\x64pdDelay\x12\x1f\n\x0b\x64pd_timeout\x18\t \x01(\rR\ndpdTimeout\x12\x10\n\x03ppk\x18\n \x01(\tR\x03ppk\x12!\n\x0cppk_required\x18\x0b \x01(\tR\x0bppkRequired\x12@\n\nlocal_auth\x18\x0c \x03(\x0b\x32!.opi_api.security.v1.ListConnAuthR\tlocalAuth\x12\x42\n\x0bremote_auth\x18\r \x03(\x0b\x32!.opi_api.security.v1.ListConnAuthR\nremoteAuth\x12:\n\x08\x63hildren\x18\x0e \x03(\x0b\x32\x1e.opi_api.security.v1.ListChildR\x08\x63hildren\"[\n\x16IPsecListConnsResponse\x12\x41\n\nconnection\x18\x01 \x03(\x0b\x32!.opi_api.security.v1.ListConnRespR\nconnection\"Y\n\x15IPsecListCertsRequest\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x12\n\x04\x66lag\x18\x02 \x01(\tR\x04\x66lag\x12\x18\n\x07subject\x18\x03 \x01(\tR\x07subject\"\x8a\x02\n\x08ListCert\x12\x38\n\x04type\x18\x01 \x01(\x0e\x32$.opi_api.security.v1.CertificateTypeR\x04type\x12<\n\x04\x66lag\x18\x02 \x01(\x0e\x32(.opi_api.security.v1.X509CertificateFlagR\x04\x66lag\x12\x1e\n\nhasprivkey\x18\x03 \x01(\tR\nhasprivkey\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\tR\x04\x64\x61ta\x12\x18\n\x07subject\x18\x05 \x01(\tR\x07subject\x12\x1c\n\tnotbefore\x18\x06 \x01(\tR\tnotbefore\x12\x1a\n\x08notafter\x18\x07 \x01(\tR\x08notafter\"M\n\x16IPsecListCertsResponse\x12\x33\n\x05\x63\x65rts\x18\x01 \x03(\x0b\x32\x1d.opi_api.security.v1.ListCertR\x05\x63\x65rts\"W\n\x14IPsecLoadConnRequest\x12?\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.opi_api.security.v1.ConnectionR\nconnection\"1\n\x15IPsecLoadConnResponse\x12\x18\n\x07success\x18\x01 \x01(\tR\x07success\",\n\x16IPsecUnloadConnRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"3\n\x17IPsecUnloadConnResponse\x12\x18\n\x07success\x18\x01 \x01(\tR\x07success*\x92\x02\n\x0f\x43ryptoAlgorithm\x12 \n\x1c\x43RYPTO_ALGORITHM_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43RYPTO_ALGORITHM_AES128\x10\x01\x12\x1b\n\x17\x43RYPTO_ALGORITHM_AES192\x10\x02\x12\x1b\n\x17\x43RYPTO_ALGORITHM_AES256\x10\x03\x12!\n\x1d\x43RYPTO_ALGORITHM_AES128GCM128\x10\x04\x12!\n\x1d\x43RYPTO_ALGORITHM_AES256GCM128\x10\x05\x12\x1f\n\x1b\x43RYPTO_ALGORITHM_AES128GMAC\x10\x06\x12\x1f\n\x1b\x43RYPTO_ALGORITHM_AES256GMAC\x10\x07*\x92\x02\n\x0eIntegAlgorithm\x12\x1f\n\x1bINTEG_ALGORITHM_UNSPECIFIED\x10\x00\x12\x17\n\x13INTEG_ALGORITHM_MD5\x10\x01\x12\x1b\n\x17INTEG_ALGORITHM_MD5_128\x10\x02\x12\x18\n\x14INTEG_ALGORITHM_SHA1\x10\x03\x12\x1c\n\x18INTEG_ALGORITHM_SHA1_160\x10\x04\x12\x1a\n\x16INTEG_ALGORITHM_SHA256\x10\x05\x12\x1a\n\x16INTEG_ALGORITHM_SHA384\x10\x07\x12\x1a\n\x16INTEG_ALGORITHM_SHA512\x10\x08\x12\x1d\n\x19INTEG_ALGORITHM_SHA256_96\x10\t*\xd2\x02\n\x08\x44HGroups\x12\x19\n\x15\x44H_GROUPS_UNSPECIFIED\x10\x00\x12\x15\n\x11\x44H_GROUPS_MODP768\x10\x01\x12\x16\n\x12\x44H_GROUPS_MODP1024\x10\x02\x12\x16\n\x12\x44H_GROUPS_MODP1536\x10\x03\x12\x16\n\x12\x44H_GROUPS_MODP2048\x10\x04\x12\x16\n\x12\x44H_GROUPS_MODP3072\x10\x05\x12\x16\n\x12\x44H_GROUPS_MODP4096\x10\x06\x12\x16\n\x12\x44H_GROUPS_MODP6144\x10\x07\x12\x16\n\x12\x44H_GROUPS_MODP8192\x10\x08\x12\x1a\n\x16\x44H_GROUPS_MODP1024S160\x10\t\x12\x1a\n\x16\x44H_GROUPS_MODP2048S224\x10\n\x12\x1a\n\x16\x44H_GROUPS_MODP2048S256\x10\x0b\x12\x18\n\x14\x44H_GROUPS_CURVE25519\x10\x0c*\xce\x01\n\nPRFunction\x12\x1b\n\x17PR_FUNCTION_UNSPECIFIED\x10\x00\x12\x13\n\x0fPR_FUNCTION_MD5\x10\x01\x12\x14\n\x10PR_FUNCTION_SHA1\x10\x02\x12\x17\n\x13PR_FUNCTION_AESXCBC\x10\x03\x12\x17\n\x13PR_FUNCTION_AESCMAC\x10\x04\x12\x16\n\x12PR_FUNCTION_SHA256\x10\x05\x12\x16\n\x12PR_FUNCTION_SHA384\x10\x06\x12\x16\n\x12PR_FUNCTION_SHA512\x10\x07*b\n\tIpsecMode\x12\x1a\n\x16IPSEC_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16IPSEC_MODE_TUNNEL_MODE\x10\x01\x12\x1d\n\x19IPSEC_MODE_TRANSPORT_MODE\x10\x02*v\n\x08\x41uthType\x12\x19\n\x15\x41UTH_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41UTH_TYPE_PUBKEY\x10\x01\x12\x11\n\rAUTH_TYPE_PSK\x10\x02\x12\x13\n\x0f\x41UTH_TYPE_XAUTH\x10\x03\x12\x11\n\rAUTH_TYPE_EAP\x10\x04*\x86\x02\n\nIkeSaState\x12\x1c\n\x18IKE_SA_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14IKE_SA_STATE_CREATED\x10\x01\x12\x1b\n\x17IKE_SA_STATE_CONNECTING\x10\x02\x12\x1c\n\x18IKE_SA_STATE_ESTABLISHED\x10\x03\x12\x18\n\x14IKE_SA_STATE_PASSIVE\x10\x04\x12\x19\n\x15IKE_SA_STATE_REKEYING\x10\x05\x12\x18\n\x14IKE_SA_STATE_REKEYED\x10\x06\x12\x19\n\x15IKE_SA_STATE_DELETING\x10\x07\x12\x1b\n\x17IKE_SA_STATE_DESTROYING\x10\x08*\xed\x02\n\x0c\x43hildSaState\x12\x1e\n\x1a\x43HILD_SA_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43HILD_SA_STATE_CREATED\x10\x01\x12\x19\n\x15\x43HILD_SA_STATE_ROUTED\x10\x02\x12\x1d\n\x19\x43HILD_SA_STATE_INSTALLING\x10\x03\x12\x1c\n\x18\x43HILD_SA_STATE_INSTALLED\x10\x04\x12\x1b\n\x17\x43HILD_SA_STATE_UPDATING\x10\x05\x12\x1b\n\x17\x43HILD_SA_STATE_REKEYING\x10\x06\x12\x1a\n\x16\x43HILD_SA_STATE_REKEYED\x10\x07\x12\x1b\n\x17\x43HILD_SA_STATE_RETRYING\x10\x08\x12\x1b\n\x17\x43HILD_SA_STATE_DELETING\x10\t\x12\x1a\n\x16\x43HILD_SA_STATE_DELETED\x10\n\x12\x1d\n\x19\x43HILD_SA_STATE_DESTROYING\x10\x0b*\xb6\x01\n\x0f\x43\x65rtificateType\x12%\n!CERTIFICATE_TYPE_X509_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x43\x45RTIFICATE_TYPE_X509_AC\x10\x01\x12\x1d\n\x19\x43\x45RTIFICATE_TYPE_X509_CRL\x10\x02\x12\"\n\x1e\x43\x45RTIFICATE_TYPE_OCSP_RESPONSE\x10\x03\x12\x1b\n\x17\x43\x45RTIFICATE_TYPE_PUBKEY\x10\x04*\x98\x01\n\x13X509CertificateFlag\x12%\n!X509_CERTIFICATE_FLAG_UNSPECIFIED\x10\x00\x12\x1c\n\x18X509_CERTIFICATE_FLAG_CA\x10\x01\x12\x1c\n\x18X509_CERTIFICATE_FLAG_AA\x10\x02\x12\x1e\n\x1aX509_CERTIFICATE_FLAG_OCSP\x10\x03\x32\xa9\x08\n\x0cIPsecService\x12\x65\n\x0cIPsecVersion\x12(.opi_api.security.v1.IPsecVersionRequest\x1a).opi_api.security.v1.IPsecVersionResponse\"\x00\x12_\n\nIPsecStats\x12&.opi_api.security.v1.IPsecStatsRequest\x1a\'.opi_api.security.v1.IPsecStatsResponse\"\x00\x12h\n\rIPsecInitiate\x12).opi_api.security.v1.IPsecInitiateRequest\x1a*.opi_api.security.v1.IPsecInitiateResponse\"\x00\x12k\n\x0eIPsecTerminate\x12*.opi_api.security.v1.IPsecTerminateRequest\x1a+.opi_api.security.v1.IPsecTerminateResponse\"\x00\x12_\n\nIPsecRekey\x12&.opi_api.security.v1.IPsecRekeyRequest\x1a\'.opi_api.security.v1.IPsecRekeyResponse\"\x00\x12\x65\n\x0cIPsecListSas\x12(.opi_api.security.v1.IPsecListSasRequest\x1a).opi_api.security.v1.IPsecListSasResponse\"\x00\x12k\n\x0eIPsecListConns\x12*.opi_api.security.v1.IPsecListConnsRequest\x1a+.opi_api.security.v1.IPsecListConnsResponse\"\x00\x12k\n\x0eIPsecListCerts\x12*.opi_api.security.v1.IPsecListCertsRequest\x1a+.opi_api.security.v1.IPsecListCertsResponse\"\x00\x12h\n\rIPsecLoadConn\x12).opi_api.security.v1.IPsecLoadConnRequest\x1a*.opi_api.security.v1.IPsecLoadConnResponse\"\x00\x12n\n\x0fIPsecUnloadConn\x12+.opi_api.security.v1.IPsecUnloadConnRequest\x1a,.opi_api.security.v1.IPsecUnloadConnResponse\"\x00\x42\x32Z0github.com/opiproject/opi-api/security/v1/gen/gob\x06proto3') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ipsec_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ipsec_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z0github.com/opiproject/opi-api/security/v1/gen/go' - _CRYPTOALGORITHM._serialized_start=6022 - _CRYPTOALGORITHM._serialized_end=6296 - _INTEGALGORITHM._serialized_start=6299 - _INTEGALGORITHM._serialized_end=6573 - _DHGROUPS._serialized_start=6576 - _DHGROUPS._serialized_end=6914 - _PRFUNCTION._serialized_start=6917 - _PRFUNCTION._serialized_end=7123 - _IPSECMODE._serialized_start=7125 - _IPSECMODE._serialized_end=7223 - _AUTHTYPE._serialized_start=7225 - _AUTHTYPE._serialized_end=7343 - _IKESASTATE._serialized_start=7346 - _IKESASTATE._serialized_end=7608 - _CHILDSASTATE._serialized_start=7611 - _CHILDSASTATE._serialized_end=7976 - _CERTIFICATETYPE._serialized_start=7979 - _CERTIFICATETYPE._serialized_end=8161 - _X509CERTIFICATEFLAG._serialized_start=8164 - _X509CERTIFICATEFLAG._serialized_end=8316 - _PROPOSALS._serialized_start=37 - _PROPOSALS._serialized_end=257 - _VIPS._serialized_start=259 - _VIPS._serialized_end=278 - _POOLS._serialized_start=280 - _POOLS._serialized_end=301 - _CERTS._serialized_start=303 - _CERTS._serialized_end=324 - _PUBKEYS._serialized_start=326 - _PUBKEYS._serialized_end=351 - _GROUPS._serialized_start=353 - _GROUPS._serialized_end=376 - _CERTPOLICY._serialized_start=378 - _CERTPOLICY._serialized_end=411 - _CACERTS._serialized_start=413 - _CACERTS._serialized_end=438 - _LOCALAUTH._serialized_start=441 - _LOCALAUTH._serialized_end=649 - _REMOTEAUTH._serialized_start=652 - _REMOTEAUTH._serialized_end=974 - _TRAFFICSELECTORS._serialized_start=977 - _TRAFFICSELECTORS._serialized_end=1124 - _TRAFFICSELECTORS_TRAFFICSELECTOR._serialized_start=1064 - _TRAFFICSELECTORS_TRAFFICSELECTOR._serialized_end=1124 - _ADDRS._serialized_start=1126 - _ADDRS._serialized_end=1147 - _CHILD._serialized_start=1150 - _CHILD._serialized_end=1607 - _CONNECTION._serialized_start=1610 - _CONNECTION._serialized_end=2206 - _IPSECVERSIONREQUEST._serialized_start=2208 - _IPSECVERSIONREQUEST._serialized_end=2229 - _IPSECVERSIONRESPONSE._serialized_start=2231 - _IPSECVERSIONRESPONSE._serialized_end=2337 - _IPSECSTATSREQUEST._serialized_start=2339 - _IPSECSTATSREQUEST._serialized_end=2358 - _IPSECSTATSRESPONSE._serialized_start=2360 - _IPSECSTATSRESPONSE._serialized_end=2396 - _IPSECINITIATEREQUEST._serialized_start=2398 - _IPSECINITIATEREQUEST._serialized_end=2483 - _IPSECINITIATERESPONSE._serialized_start=2485 - _IPSECINITIATERESPONSE._serialized_end=2508 - _IPSECTERMINATEREQUEST._serialized_start=2511 - _IPSECTERMINATEREQUEST._serialized_end=2646 - _IPSECTERMINATERESPONSE._serialized_start=2648 - _IPSECTERMINATERESPONSE._serialized_end=2726 - _IPSECREKEYREQUEST._serialized_start=2728 - _IPSECREKEYREQUEST._serialized_end=2825 - _IPSECREKEYRESPONSE._serialized_start=2827 - _IPSECREKEYRESPONSE._serialized_end=2881 - _IPSECLISTSASREQUEST._serialized_start=2883 - _IPSECLISTSASREQUEST._serialized_end=2983 - _LISTCHILDSA._serialized_start=2986 - _LISTCHILDSA._serialized_end=3342 - _LISTIKESA._serialized_start=3345 - _LISTIKESA._serialized_end=4151 - _IPSECLISTSASRESPONSE._serialized_start=4153 - _IPSECLISTSASRESPONSE._serialized_end=4223 - _IPSECLISTCONNSREQUEST._serialized_start=4225 - _IPSECLISTCONNSREQUEST._serialized_end=4261 - _LISTCONNAUTH._serialized_start=4264 - _LISTCONNAUTH._serialized_end=4629 - _LISTCHILD._serialized_start=4632 - _LISTCHILD._serialized_end=4944 - _LISTCONNRESP._serialized_start=4947 - _LISTCONNRESP._serialized_end=5384 - _IPSECLISTCONNSRESPONSE._serialized_start=5386 - _IPSECLISTCONNSRESPONSE._serialized_end=5465 - _IPSECLISTCERTSREQUEST._serialized_start=5467 - _IPSECLISTCERTSREQUEST._serialized_end=5535 - _LISTCERT._serialized_start=5538 - _LISTCERT._serialized_end=5744 - _IPSECLISTCERTSRESPONSE._serialized_start=5746 - _IPSECLISTCERTSRESPONSE._serialized_end=5816 - _IPSECLOADCONNREQUEST._serialized_start=5818 - _IPSECLOADCONNREQUEST._serialized_end=5893 - _IPSECLOADCONNRESPONSE._serialized_start=5895 - _IPSECLOADCONNRESPONSE._serialized_end=5935 - _IPSECUNLOADCONNREQUEST._serialized_start=5937 - _IPSECUNLOADCONNREQUEST._serialized_end=5975 - _IPSECUNLOADCONNRESPONSE._serialized_start=5977 - _IPSECUNLOADCONNRESPONSE._serialized_end=6019 - _IPSECSERVICE._serialized_start=8319 - _IPSECSERVICE._serialized_end=9384 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z0github.com/opiproject/opi-api/security/v1/gen/go' + _globals['_CRYPTOALGORITHM']._serialized_start=7959 + _globals['_CRYPTOALGORITHM']._serialized_end=8233 + _globals['_INTEGALGORITHM']._serialized_start=8236 + _globals['_INTEGALGORITHM']._serialized_end=8510 + _globals['_DHGROUPS']._serialized_start=8513 + _globals['_DHGROUPS']._serialized_end=8851 + _globals['_PRFUNCTION']._serialized_start=8854 + _globals['_PRFUNCTION']._serialized_end=9060 + _globals['_IPSECMODE']._serialized_start=9062 + _globals['_IPSECMODE']._serialized_end=9160 + _globals['_AUTHTYPE']._serialized_start=9162 + _globals['_AUTHTYPE']._serialized_end=9280 + _globals['_IKESASTATE']._serialized_start=9283 + _globals['_IKESASTATE']._serialized_end=9545 + _globals['_CHILDSASTATE']._serialized_start=9548 + _globals['_CHILDSASTATE']._serialized_end=9913 + _globals['_CERTIFICATETYPE']._serialized_start=9916 + _globals['_CERTIFICATETYPE']._serialized_end=10098 + _globals['_X509CERTIFICATEFLAG']._serialized_start=10101 + _globals['_X509CERTIFICATEFLAG']._serialized_end=10253 + _globals['_PROPOSALS']._serialized_start=37 + _globals['_PROPOSALS']._serialized_end=293 + _globals['_VIPS']._serialized_start=295 + _globals['_VIPS']._serialized_end=319 + _globals['_POOLS']._serialized_start=321 + _globals['_POOLS']._serialized_end=348 + _globals['_CERTS']._serialized_start=350 + _globals['_CERTS']._serialized_end=377 + _globals['_PUBKEYS']._serialized_start=379 + _globals['_PUBKEYS']._serialized_end=412 + _globals['_GROUPS']._serialized_start=414 + _globals['_GROUPS']._serialized_end=444 + _globals['_CERTPOLICY']._serialized_start=446 + _globals['_CERTPOLICY']._serialized_end=491 + _globals['_CACERTS']._serialized_start=493 + _globals['_CACERTS']._serialized_end=526 + _globals['_LOCALAUTH']._serialized_start=529 + _globals['_LOCALAUTH']._serialized_end=786 + _globals['_REMOTEAUTH']._serialized_start=789 + _globals['_REMOTEAUTH']._serialized_end=1173 + _globals['_TRAFFICSELECTORS']._serialized_start=1176 + _globals['_TRAFFICSELECTORS']._serialized_end=1346 + _globals['_TRAFFICSELECTORS_TRAFFICSELECTOR']._serialized_start=1267 + _globals['_TRAFFICSELECTORS_TRAFFICSELECTOR']._serialized_end=1346 + _globals['_ADDRS']._serialized_start=1348 + _globals['_ADDRS']._serialized_end=1375 + _globals['_CHILD']._serialized_start=1378 + _globals['_CHILD']._serialized_end=1999 + _globals['_CONNECTION']._serialized_start=2002 + _globals['_CONNECTION']._serialized_end=2784 + _globals['_IPSECVERSIONREQUEST']._serialized_start=2786 + _globals['_IPSECVERSIONREQUEST']._serialized_end=2807 + _globals['_IPSECVERSIONRESPONSE']._serialized_start=2810 + _globals['_IPSECVERSIONRESPONSE']._serialized_end=2960 + _globals['_IPSECSTATSREQUEST']._serialized_start=2962 + _globals['_IPSECSTATSREQUEST']._serialized_end=2981 + _globals['_IPSECSTATSRESPONSE']._serialized_start=2983 + _globals['_IPSECSTATSRESPONSE']._serialized_end=3027 + _globals['_IPSECINITIATEREQUEST']._serialized_start=3029 + _globals['_IPSECINITIATEREQUEST']._serialized_end=3145 + _globals['_IPSECINITIATERESPONSE']._serialized_start=3147 + _globals['_IPSECINITIATERESPONSE']._serialized_end=3170 + _globals['_IPSECTERMINATEREQUEST']._serialized_start=3173 + _globals['_IPSECTERMINATEREQUEST']._serialized_end=3362 + _globals['_IPSECTERMINATERESPONSE']._serialized_start=3364 + _globals['_IPSECTERMINATERESPONSE']._serialized_end=3472 + _globals['_IPSECREKEYREQUEST']._serialized_start=3475 + _globals['_IPSECREKEYREQUEST']._serialized_end=3608 + _globals['_IPSECREKEYRESPONSE']._serialized_start=3610 + _globals['_IPSECREKEYRESPONSE']._serialized_end=3682 + _globals['_IPSECLISTSASREQUEST']._serialized_start=3685 + _globals['_IPSECLISTSASREQUEST']._serialized_end=3822 + _globals['_LISTCHILDSA']._serialized_start=3825 + _globals['_LISTCHILDSA']._serialized_end=4353 + _globals['_LISTIKESA']._serialized_start=4356 + _globals['_LISTIKESA']._serialized_end=5561 + _globals['_IPSECLISTSASRESPONSE']._serialized_start=5563 + _globals['_IPSECLISTSASRESPONSE']._serialized_end=5641 + _globals['_IPSECLISTCONNSREQUEST']._serialized_start=5643 + _globals['_IPSECLISTCONNSREQUEST']._serialized_end=5684 + _globals['_LISTCONNAUTH']._serialized_start=5687 + _globals['_LISTCONNAUTH']._serialized_end=6166 + _globals['_LISTCHILD']._serialized_start=6169 + _globals['_LISTCHILD']._serialized_end=6601 + _globals['_LISTCONNRESP']._serialized_start=6604 + _globals['_LISTCONNRESP']._serialized_end=7185 + _globals['_IPSECLISTCONNSRESPONSE']._serialized_start=7187 + _globals['_IPSECLISTCONNSRESPONSE']._serialized_end=7278 + _globals['_IPSECLISTCERTSREQUEST']._serialized_start=7280 + _globals['_IPSECLISTCERTSREQUEST']._serialized_end=7369 + _globals['_LISTCERT']._serialized_start=7372 + _globals['_LISTCERT']._serialized_end=7638 + _globals['_IPSECLISTCERTSRESPONSE']._serialized_start=7640 + _globals['_IPSECLISTCERTSRESPONSE']._serialized_end=7717 + _globals['_IPSECLOADCONNREQUEST']._serialized_start=7719 + _globals['_IPSECLOADCONNREQUEST']._serialized_end=7806 + _globals['_IPSECLOADCONNRESPONSE']._serialized_start=7808 + _globals['_IPSECLOADCONNRESPONSE']._serialized_end=7857 + _globals['_IPSECUNLOADCONNREQUEST']._serialized_start=7859 + _globals['_IPSECUNLOADCONNREQUEST']._serialized_end=7903 + _globals['_IPSECUNLOADCONNRESPONSE']._serialized_start=7905 + _globals['_IPSECUNLOADCONNRESPONSE']._serialized_end=7956 + _globals['_IPSECSERVICE']._serialized_start=10256 + _globals['_IPSECSERVICE']._serialized_end=11321 # @@protoc_insertion_point(module_scope)