From e5714310f353021c4866b9cd6ea1436944a576fb Mon Sep 17 00:00:00 2001 From: Robert Guo Date: Tue, 13 Nov 2018 16:53:16 -0500 Subject: [PATCH] TIG-1135 integrate gRPC into genny (#40) --- .gitignore | 3 +- README.md | 4 +- build/.gitignore | 4 + evergreen.yml | 50 +- src/CMakeLists.txt | 2 - src/gennylib/CMakeLists.txt | 6 +- {build => src/gennylib/gen}/.gitkeep | 0 src/gennylib/jasper/CMakeLists.txt | 13 + src/gennylib/jasper/README.md | 43 + src/gennylib/jasper/jasper.grpc.pb.cc | 453 + src/gennylib/jasper/jasper.grpc.pb.h | 1626 ++++ src/gennylib/jasper/jasper.pb.cc | 8584 +++++++++++++++++ src/gennylib/jasper/jasper.pb.h | 6180 ++++++++++++ src/gennylib/jasper/jasper.proto | 208 + .../tests/metrics_output_parser_test.py | 6 +- 15 files changed, 17158 insertions(+), 24 deletions(-) create mode 100644 build/.gitignore rename {build => src/gennylib/gen}/.gitkeep (100%) create mode 100644 src/gennylib/jasper/CMakeLists.txt create mode 100644 src/gennylib/jasper/README.md create mode 100644 src/gennylib/jasper/jasper.grpc.pb.cc create mode 100644 src/gennylib/jasper/jasper.grpc.pb.h create mode 100644 src/gennylib/jasper/jasper.pb.cc create mode 100644 src/gennylib/jasper/jasper.pb.h create mode 100644 src/gennylib/jasper/jasper.proto diff --git a/.gitignore b/.gitignore index 08a79a3e1b..81f73f51dd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,5 @@ mwg # clion +.idea cmake-build-debug - -/build diff --git a/README.md b/README.md index 59986b0a18..aea76c48b7 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ brew install cmake brew install icu4c brew install mongo-cxx-driver brew install yaml-cpp +brew install grpc brew install boost --build-from-source \ --include-test --with-icu4c --without-static @@ -53,7 +54,8 @@ apt-get install -y \ clang-6.0 \ make \ libboost-all-dev \ - libyaml-cpp-dev + libyaml-cpp-dev \ + libgrpc++-dev # install mongo C++ driver: # https://mongodb.github.io/mongo-cxx-driver/mongocxx-v3/installation/ diff --git a/build/.gitignore b/build/.gitignore new file mode 100644 index 0000000000..5e7d2734cf --- /dev/null +++ b/build/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore diff --git a/evergreen.yml b/evergreen.yml index b0e45c9503..6088d84f91 100644 --- a/evergreen.yml +++ b/evergreen.yml @@ -52,7 +52,6 @@ buildvariants: run_on: - archlinux-test expansions: - path: "" cmake_cxx_flags: -pthread tasks: - name: t_test @@ -64,7 +63,6 @@ buildvariants: # run_on: # - macos-1012 # expansions: -# path: "/Applications/CMake.app/Contents/bin" # cmake_cxx_flags: "" # tasks: # - name: t_test @@ -77,6 +75,7 @@ tasks: - name: t_test commands: - func: f_fetch_source + - func: f_build_grpc - func: f_compile - func: f_cmake_test - func: f_python_test @@ -110,51 +109,72 @@ functions: params: directory: src + ## + # Compile gRPC. This script should be synchronized with DSI's compilation sript for Genny: + # https://github.com/10gen/dsi/blob/master/configurations/workload_setup/workload_setup.common.yml + # (URL valid as of 11/2018) + ## + f_build_grpc: + - command: shell.exec + params: + working_dir: src/build + script: | + git clone --recurse-submodules https://github.com/grpc/grpc.git + git checkout b79462f186cc22550bc8d53a00ae751f50d194f5 + + pushd grpc + + # Work around https://github.com/grpc/grpc/issues/16675 by checking out a newer commit. + pushd third_party/boringssl + git checkout 9edbc7ff9f56dff801a49f5ecb15ee06718b995c + popd + + mkdir cmake-build + pushd cmake-build + cmake .. + make + ## # Compile the project in src/build. # # Expansions: - # path: prepended to $PATH # cmake_cxx_flags: sent to cmake as `-DCMAKE_CXX_FLAGS` ### f_compile: - command: shell.exec params: + working_dir: src/build script: | - export PATH="${path}:$PATH" - cd src/build + + # Add paths to gRPC and protobuf. + cwd=$(pwd) + export LIBRARY_PATH="$cwd/grpc/cmake-build/:$cwd/grpc/cmake-build/third_party/protobuf:$LIBRARY_PATH" + export CPLUS_INCLUDE_PATH="$cwd/grpc/include:$cwd/grpc/third_party/protobuf/src:$CPLUS_INCLUDE_PATH" + cmake -DCMAKE_CXX_FLAGS="${cmake_cxx_flags}" .. make ## # Runs tests via `make test`. # Requires f_compile to have been run first. - # - # Expansions: - # path: prepended to $PATH ## f_cmake_test: - command: shell.exec params: continue_on_err: true + working_dir: src/build script: | - export PATH="${path}:$PATH" - cd src/build make test ## # Runs python nosetests. - # - # Expansions: - # path: prepended to $PATH ## f_python_test: - command: shell.exec params: continue_on_err: true + working_dir: src/src/python script: | - export PATH="${path}:$PATH" - cd src/src/python python setup.py nosetests ## diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1bf1f8d88d..34f538ac49 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,2 @@ - add_subdirectory(gennylib) add_subdirectory(driver) - diff --git a/src/gennylib/CMakeLists.txt b/src/gennylib/CMakeLists.txt index b1bc6df53d..624593d9fc 100644 --- a/src/gennylib/CMakeLists.txt +++ b/src/gennylib/CMakeLists.txt @@ -16,7 +16,6 @@ add_library(gennylib_headers SHARED # Eventually will move gennylib/actors into its own lib so keep those files together add_library(gennylib SHARED src/version.cpp - src/context.cpp src/Orchestrator.cpp @@ -34,6 +33,8 @@ add_library(gennylib SHARED # ActorsEnd ) +add_subdirectory(jasper) + # Define headers for this library. PUBLIC headers are used for # compiling the library, and will be added to consumers' build # paths. @@ -45,6 +46,7 @@ target_include_directories(gennylib ${YAML_CPP_INCLUDE_DIR} ${LIBMONGOCXX_INCLUDE_DIRS} PRIVATE + jasper src src/value_generators ) @@ -57,6 +59,8 @@ target_link_libraries(gennylib ${Boost_LIBRARIES} ${YAML_CPP_LIBRARIES} ${LIBMONGOCXX_LIBRARIES} + PRIVATE + jasperlib ) # 'make install' to the correct locations (provided by GNUInstallDirs). diff --git a/build/.gitkeep b/src/gennylib/gen/.gitkeep similarity index 100% rename from build/.gitkeep rename to src/gennylib/gen/.gitkeep diff --git a/src/gennylib/jasper/CMakeLists.txt b/src/gennylib/jasper/CMakeLists.txt new file mode 100644 index 0000000000..73bca16df4 --- /dev/null +++ b/src/gennylib/jasper/CMakeLists.txt @@ -0,0 +1,13 @@ +add_library(jasperlib STATIC + jasper.pb.h + jasper.pb.cc + + jasper.grpc.pb.h + jasper.grpc.pb.cc +) + +target_link_libraries(jasperlib + PRIVATE + grpc++ + protobuf +) diff --git a/src/gennylib/jasper/README.md b/src/gennylib/jasper/README.md new file mode 100644 index 0000000000..0bceb02e47 --- /dev/null +++ b/src/gennylib/jasper/README.md @@ -0,0 +1,43 @@ +## Jasper gRPC Client for Genny + +### Overview + +The `/src/third_party/jasper` directory contains files related to the +[jasper](https://github.com/mongodb/jasper) process management service C++ +gRPC client that Genny uses. + +There are three categories of files here: + + +1. `jasper.proto`: The proto file copied verbatim from the jasper repository. +2. `jasper.pb.*`: The generated protobuf C++ header and source which contain + the definition for the protobuf interface structure. +3. `jasper.grpc.*` The generated gRPC client C++ header and source which + contain the RPC functions to jasper. + +### Versioning +`jasper.proto` should correspond to the version used in the `curator` binary +(which contains jasper, among other things). The curator version used in DSI +will be updated concurrently with the `jasper.proto` file in the genny +repository. The best way to find the actual version is to ssh into a DSI +machine and run `curator --version`, or grep `curator --version` in the DSI +repository. + +The exact version of `curator` and `jasper.proto` will be stored in the DSI +repo, there is no separate version recorded in the genny repo. This allows +the source of truth to be kept in a single location. + +If you need to update the version of `jasper.proto` in genny manually: + +1. replace `jasper.proto` with the newer version. +2. from this directory, call: + +```bash +protoc --cpp_out=. \ + --grpc_out=. \ + --plugin=protoc-gen-grpc=$(which grpc_cpp_plugin) \ + ./jasper.proto +``` + +You will need the `protoc` and `grpc_cpp_plugin` binaries, which are part of +the `protobuf` and `grpc++` projects respectively. diff --git a/src/gennylib/jasper/jasper.grpc.pb.cc b/src/gennylib/jasper/jasper.grpc.pb.cc new file mode 100644 index 0000000000..4b07dbb523 --- /dev/null +++ b/src/gennylib/jasper/jasper.grpc.pb.cc @@ -0,0 +1,453 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: jasper.proto + +#include "jasper.pb.h" +#include "jasper.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +namespace jasper { + +static const char* JasperProcessManager_method_names[] = { + "/jasper.JasperProcessManager/Status", + "/jasper.JasperProcessManager/Create", + "/jasper.JasperProcessManager/List", + "/jasper.JasperProcessManager/Group", + "/jasper.JasperProcessManager/Get", + "/jasper.JasperProcessManager/Wait", + "/jasper.JasperProcessManager/Signal", + "/jasper.JasperProcessManager/Close", + "/jasper.JasperProcessManager/TagProcess", + "/jasper.JasperProcessManager/ResetTags", + "/jasper.JasperProcessManager/GetTags", + "/jasper.JasperProcessManager/DownloadFile", + "/jasper.JasperProcessManager/DownloadFileAsync", + "/jasper.JasperProcessManager/DownloadMongoDB", + "/jasper.JasperProcessManager/ConfigureCache", + "/jasper.JasperProcessManager/GetBuildloggerURLs", +}; + +std::unique_ptr< JasperProcessManager::Stub> JasperProcessManager::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< JasperProcessManager::Stub> stub(new JasperProcessManager::Stub(channel)); + return stub; +} + +JasperProcessManager::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) + : channel_(channel), rpcmethod_Status_(JasperProcessManager_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_Create_(JasperProcessManager_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_List_(JasperProcessManager_method_names[2], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_Group_(JasperProcessManager_method_names[3], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_Get_(JasperProcessManager_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_Wait_(JasperProcessManager_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_Signal_(JasperProcessManager_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_Close_(JasperProcessManager_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_TagProcess_(JasperProcessManager_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ResetTags_(JasperProcessManager_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetTags_(JasperProcessManager_method_names[10], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DownloadFile_(JasperProcessManager_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DownloadFileAsync_(JasperProcessManager_method_names[12], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DownloadMongoDB_(JasperProcessManager_method_names[13], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ConfigureCache_(JasperProcessManager_method_names[14], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetBuildloggerURLs_(JasperProcessManager_method_names[15], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + {} + +::grpc::Status JasperProcessManager::Stub::Status(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::jasper::StatusResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Status_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::StatusResponse>* JasperProcessManager::Stub::AsyncStatusRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::StatusResponse>::Create(channel_.get(), cq, rpcmethod_Status_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::StatusResponse>* JasperProcessManager::Stub::PrepareAsyncStatusRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::StatusResponse>::Create(channel_.get(), cq, rpcmethod_Status_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::Create(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::jasper::ProcessInfo* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Create_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::AsyncCreateRaw(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), cq, rpcmethod_Create_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::PrepareAsyncCreateRaw(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), cq, rpcmethod_Create_, context, request, false); +} + +::grpc::ClientReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::ListRaw(::grpc::ClientContext* context, const ::jasper::Filter& request) { + return ::grpc::internal::ClientReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), rpcmethod_List_, context, request); +} + +::grpc::ClientAsyncReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::AsyncListRaw(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq, void* tag) { + return ::grpc::internal::ClientAsyncReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), cq, rpcmethod_List_, context, request, true, tag); +} + +::grpc::ClientAsyncReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::PrepareAsyncListRaw(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), cq, rpcmethod_List_, context, request, false, nullptr); +} + +::grpc::ClientReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::GroupRaw(::grpc::ClientContext* context, const ::jasper::TagName& request) { + return ::grpc::internal::ClientReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), rpcmethod_Group_, context, request); +} + +::grpc::ClientAsyncReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::AsyncGroupRaw(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq, void* tag) { + return ::grpc::internal::ClientAsyncReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), cq, rpcmethod_Group_, context, request, true, tag); +} + +::grpc::ClientAsyncReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::PrepareAsyncGroupRaw(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), cq, rpcmethod_Group_, context, request, false, nullptr); +} + +::grpc::Status JasperProcessManager::Stub::Get(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::ProcessInfo* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Get_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::AsyncGetRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), cq, rpcmethod_Get_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>* JasperProcessManager::Stub::PrepareAsyncGetRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::ProcessInfo>::Create(channel_.get(), cq, rpcmethod_Get_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::Wait(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::OperationOutcome* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Wait_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::AsyncWaitRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_Wait_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::PrepareAsyncWaitRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_Wait_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::Signal(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::jasper::OperationOutcome* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Signal_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::AsyncSignalRaw(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_Signal_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::PrepareAsyncSignalRaw(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_Signal_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::Close(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::jasper::OperationOutcome* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Close_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::AsyncCloseRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_Close_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::PrepareAsyncCloseRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_Close_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::TagProcess(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::jasper::OperationOutcome* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_TagProcess_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::AsyncTagProcessRaw(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_TagProcess_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::PrepareAsyncTagProcessRaw(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_TagProcess_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::ResetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::OperationOutcome* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ResetTags_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::AsyncResetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_ResetTags_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::PrepareAsyncResetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_ResetTags_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::GetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::ProcessTags* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetTags_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::ProcessTags>* JasperProcessManager::Stub::AsyncGetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::ProcessTags>::Create(channel_.get(), cq, rpcmethod_GetTags_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::ProcessTags>* JasperProcessManager::Stub::PrepareAsyncGetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::ProcessTags>::Create(channel_.get(), cq, rpcmethod_GetTags_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::DownloadFile(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::jasper::OperationOutcome* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DownloadFile_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::AsyncDownloadFileRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_DownloadFile_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::PrepareAsyncDownloadFileRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_DownloadFile_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::DownloadFileAsync(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::jasper::OperationOutcome* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DownloadFileAsync_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::AsyncDownloadFileAsyncRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_DownloadFileAsync_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::PrepareAsyncDownloadFileAsyncRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_DownloadFileAsync_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::DownloadMongoDB(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::jasper::OperationOutcome* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DownloadMongoDB_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::AsyncDownloadMongoDBRaw(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_DownloadMongoDB_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::PrepareAsyncDownloadMongoDBRaw(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_DownloadMongoDB_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::ConfigureCache(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::jasper::OperationOutcome* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ConfigureCache_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::AsyncConfigureCacheRaw(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_ConfigureCache_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* JasperProcessManager::Stub::PrepareAsyncConfigureCacheRaw(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::OperationOutcome>::Create(channel_.get(), cq, rpcmethod_ConfigureCache_, context, request, false); +} + +::grpc::Status JasperProcessManager::Stub::GetBuildloggerURLs(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::BuildloggerURLs* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetBuildloggerURLs_, context, request, response); +} + +::grpc::ClientAsyncResponseReader< ::jasper::BuildloggerURLs>* JasperProcessManager::Stub::AsyncGetBuildloggerURLsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::BuildloggerURLs>::Create(channel_.get(), cq, rpcmethod_GetBuildloggerURLs_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::jasper::BuildloggerURLs>* JasperProcessManager::Stub::PrepareAsyncGetBuildloggerURLsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::jasper::BuildloggerURLs>::Create(channel_.get(), cq, rpcmethod_GetBuildloggerURLs_, context, request, false); +} + +JasperProcessManager::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::google::protobuf::Empty, ::jasper::StatusResponse>( + std::mem_fn(&JasperProcessManager::Service::Status), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[1], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::CreateOptions, ::jasper::ProcessInfo>( + std::mem_fn(&JasperProcessManager::Service::Create), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[2], + ::grpc::internal::RpcMethod::SERVER_STREAMING, + new ::grpc::internal::ServerStreamingHandler< JasperProcessManager::Service, ::jasper::Filter, ::jasper::ProcessInfo>( + std::mem_fn(&JasperProcessManager::Service::List), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[3], + ::grpc::internal::RpcMethod::SERVER_STREAMING, + new ::grpc::internal::ServerStreamingHandler< JasperProcessManager::Service, ::jasper::TagName, ::jasper::ProcessInfo>( + std::mem_fn(&JasperProcessManager::Service::Group), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[4], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::JasperProcessID, ::jasper::ProcessInfo>( + std::mem_fn(&JasperProcessManager::Service::Get), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[5], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::JasperProcessID, ::jasper::OperationOutcome>( + std::mem_fn(&JasperProcessManager::Service::Wait), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[6], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::SignalProcess, ::jasper::OperationOutcome>( + std::mem_fn(&JasperProcessManager::Service::Signal), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[7], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::google::protobuf::Empty, ::jasper::OperationOutcome>( + std::mem_fn(&JasperProcessManager::Service::Close), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[8], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::ProcessTags, ::jasper::OperationOutcome>( + std::mem_fn(&JasperProcessManager::Service::TagProcess), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[9], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::JasperProcessID, ::jasper::OperationOutcome>( + std::mem_fn(&JasperProcessManager::Service::ResetTags), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[10], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::JasperProcessID, ::jasper::ProcessTags>( + std::mem_fn(&JasperProcessManager::Service::GetTags), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[11], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::DownloadInfo, ::jasper::OperationOutcome>( + std::mem_fn(&JasperProcessManager::Service::DownloadFile), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[12], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::DownloadInfo, ::jasper::OperationOutcome>( + std::mem_fn(&JasperProcessManager::Service::DownloadFileAsync), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[13], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::MongoDBDownloadOptions, ::jasper::OperationOutcome>( + std::mem_fn(&JasperProcessManager::Service::DownloadMongoDB), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[14], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::CacheOptions, ::jasper::OperationOutcome>( + std::mem_fn(&JasperProcessManager::Service::ConfigureCache), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + JasperProcessManager_method_names[15], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< JasperProcessManager::Service, ::jasper::JasperProcessID, ::jasper::BuildloggerURLs>( + std::mem_fn(&JasperProcessManager::Service::GetBuildloggerURLs), this))); +} + +JasperProcessManager::Service::~Service() { +} + +::grpc::Status JasperProcessManager::Service::Status(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::StatusResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::Create(::grpc::ServerContext* context, const ::jasper::CreateOptions* request, ::jasper::ProcessInfo* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::List(::grpc::ServerContext* context, const ::jasper::Filter* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) { + (void) context; + (void) request; + (void) writer; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::Group(::grpc::ServerContext* context, const ::jasper::TagName* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) { + (void) context; + (void) request; + (void) writer; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::Get(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessInfo* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::Wait(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::Signal(::grpc::ServerContext* context, const ::jasper::SignalProcess* request, ::jasper::OperationOutcome* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::Close(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::OperationOutcome* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::TagProcess(::grpc::ServerContext* context, const ::jasper::ProcessTags* request, ::jasper::OperationOutcome* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::ResetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::GetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessTags* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::DownloadFile(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::DownloadFileAsync(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::DownloadMongoDB(::grpc::ServerContext* context, const ::jasper::MongoDBDownloadOptions* request, ::jasper::OperationOutcome* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::ConfigureCache(::grpc::ServerContext* context, const ::jasper::CacheOptions* request, ::jasper::OperationOutcome* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status JasperProcessManager::Service::GetBuildloggerURLs(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::BuildloggerURLs* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace jasper diff --git a/src/gennylib/jasper/jasper.grpc.pb.h b/src/gennylib/jasper/jasper.grpc.pb.h new file mode 100644 index 0000000000..06785f3fac --- /dev/null +++ b/src/gennylib/jasper/jasper.grpc.pb.h @@ -0,0 +1,1626 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: jasper.proto +#ifndef GRPC_jasper_2eproto__INCLUDED +#define GRPC_jasper_2eproto__INCLUDED + +#include "jasper.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc { +class CompletionQueue; +class Channel; +class ServerCompletionQueue; +class ServerContext; +} // namespace grpc + +namespace jasper { + +class JasperProcessManager final { + public: + static constexpr char const* service_full_name() { + return "jasper.JasperProcessManager"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + virtual ::grpc::Status Status(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::jasper::StatusResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::StatusResponse>> AsyncStatus(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::StatusResponse>>(AsyncStatusRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::StatusResponse>> PrepareAsyncStatus(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::StatusResponse>>(PrepareAsyncStatusRaw(context, request, cq)); + } + virtual ::grpc::Status Create(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::jasper::ProcessInfo* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>> AsyncCreate(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>>(AsyncCreateRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>> PrepareAsyncCreate(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>>(PrepareAsyncCreateRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReaderInterface< ::jasper::ProcessInfo>> List(::grpc::ClientContext* context, const ::jasper::Filter& request) { + return std::unique_ptr< ::grpc::ClientReaderInterface< ::jasper::ProcessInfo>>(ListRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>> AsyncList(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>>(AsyncListRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>> PrepareAsyncList(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>>(PrepareAsyncListRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReaderInterface< ::jasper::ProcessInfo>> Group(::grpc::ClientContext* context, const ::jasper::TagName& request) { + return std::unique_ptr< ::grpc::ClientReaderInterface< ::jasper::ProcessInfo>>(GroupRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>> AsyncGroup(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>>(AsyncGroupRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>> PrepareAsyncGroup(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>>(PrepareAsyncGroupRaw(context, request, cq)); + } + virtual ::grpc::Status Get(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::ProcessInfo* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>> AsyncGet(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>>(AsyncGetRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>> PrepareAsyncGet(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>>(PrepareAsyncGetRaw(context, request, cq)); + } + virtual ::grpc::Status Wait(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::OperationOutcome* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> AsyncWait(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(AsyncWaitRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> PrepareAsyncWait(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(PrepareAsyncWaitRaw(context, request, cq)); + } + virtual ::grpc::Status Signal(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::jasper::OperationOutcome* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> AsyncSignal(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(AsyncSignalRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> PrepareAsyncSignal(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(PrepareAsyncSignalRaw(context, request, cq)); + } + virtual ::grpc::Status Close(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::jasper::OperationOutcome* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> AsyncClose(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(AsyncCloseRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> PrepareAsyncClose(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(PrepareAsyncCloseRaw(context, request, cq)); + } + virtual ::grpc::Status TagProcess(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::jasper::OperationOutcome* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> AsyncTagProcess(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(AsyncTagProcessRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> PrepareAsyncTagProcess(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(PrepareAsyncTagProcessRaw(context, request, cq)); + } + virtual ::grpc::Status ResetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::OperationOutcome* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> AsyncResetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(AsyncResetTagsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> PrepareAsyncResetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(PrepareAsyncResetTagsRaw(context, request, cq)); + } + virtual ::grpc::Status GetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::ProcessTags* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessTags>> AsyncGetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessTags>>(AsyncGetTagsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessTags>> PrepareAsyncGetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessTags>>(PrepareAsyncGetTagsRaw(context, request, cq)); + } + virtual ::grpc::Status DownloadFile(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::jasper::OperationOutcome* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> AsyncDownloadFile(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(AsyncDownloadFileRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> PrepareAsyncDownloadFile(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(PrepareAsyncDownloadFileRaw(context, request, cq)); + } + virtual ::grpc::Status DownloadFileAsync(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::jasper::OperationOutcome* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> AsyncDownloadFileAsync(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(AsyncDownloadFileAsyncRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> PrepareAsyncDownloadFileAsync(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(PrepareAsyncDownloadFileAsyncRaw(context, request, cq)); + } + virtual ::grpc::Status DownloadMongoDB(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::jasper::OperationOutcome* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> AsyncDownloadMongoDB(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(AsyncDownloadMongoDBRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> PrepareAsyncDownloadMongoDB(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(PrepareAsyncDownloadMongoDBRaw(context, request, cq)); + } + virtual ::grpc::Status ConfigureCache(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::jasper::OperationOutcome* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> AsyncConfigureCache(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(AsyncConfigureCacheRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>> PrepareAsyncConfigureCache(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>>(PrepareAsyncConfigureCacheRaw(context, request, cq)); + } + virtual ::grpc::Status GetBuildloggerURLs(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::BuildloggerURLs* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::BuildloggerURLs>> AsyncGetBuildloggerURLs(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::BuildloggerURLs>>(AsyncGetBuildloggerURLsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::BuildloggerURLs>> PrepareAsyncGetBuildloggerURLs(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::jasper::BuildloggerURLs>>(PrepareAsyncGetBuildloggerURLsRaw(context, request, cq)); + } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::StatusResponse>* AsyncStatusRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::StatusResponse>* PrepareAsyncStatusRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>* AsyncCreateRaw(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>* PrepareAsyncCreateRaw(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientReaderInterface< ::jasper::ProcessInfo>* ListRaw(::grpc::ClientContext* context, const ::jasper::Filter& request) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>* AsyncListRaw(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq, void* tag) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>* PrepareAsyncListRaw(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientReaderInterface< ::jasper::ProcessInfo>* GroupRaw(::grpc::ClientContext* context, const ::jasper::TagName& request) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>* AsyncGroupRaw(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq, void* tag) = 0; + virtual ::grpc::ClientAsyncReaderInterface< ::jasper::ProcessInfo>* PrepareAsyncGroupRaw(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>* AsyncGetRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessInfo>* PrepareAsyncGetRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* AsyncWaitRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* PrepareAsyncWaitRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* AsyncSignalRaw(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* PrepareAsyncSignalRaw(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* AsyncCloseRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* PrepareAsyncCloseRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* AsyncTagProcessRaw(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* PrepareAsyncTagProcessRaw(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* AsyncResetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* PrepareAsyncResetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessTags>* AsyncGetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::ProcessTags>* PrepareAsyncGetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* AsyncDownloadFileRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* PrepareAsyncDownloadFileRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* AsyncDownloadFileAsyncRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* PrepareAsyncDownloadFileAsyncRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* AsyncDownloadMongoDBRaw(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* PrepareAsyncDownloadMongoDBRaw(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* AsyncConfigureCacheRaw(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::OperationOutcome>* PrepareAsyncConfigureCacheRaw(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::BuildloggerURLs>* AsyncGetBuildloggerURLsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::jasper::BuildloggerURLs>* PrepareAsyncGetBuildloggerURLsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); + ::grpc::Status Status(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::jasper::StatusResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::StatusResponse>> AsyncStatus(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::StatusResponse>>(AsyncStatusRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::StatusResponse>> PrepareAsyncStatus(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::StatusResponse>>(PrepareAsyncStatusRaw(context, request, cq)); + } + ::grpc::Status Create(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::jasper::ProcessInfo* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>> AsyncCreate(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>>(AsyncCreateRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>> PrepareAsyncCreate(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>>(PrepareAsyncCreateRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReader< ::jasper::ProcessInfo>> List(::grpc::ClientContext* context, const ::jasper::Filter& request) { + return std::unique_ptr< ::grpc::ClientReader< ::jasper::ProcessInfo>>(ListRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>> AsyncList(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>>(AsyncListRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>> PrepareAsyncList(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>>(PrepareAsyncListRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientReader< ::jasper::ProcessInfo>> Group(::grpc::ClientContext* context, const ::jasper::TagName& request) { + return std::unique_ptr< ::grpc::ClientReader< ::jasper::ProcessInfo>>(GroupRaw(context, request)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>> AsyncGroup(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq, void* tag) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>>(AsyncGroupRaw(context, request, cq, tag)); + } + std::unique_ptr< ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>> PrepareAsyncGroup(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>>(PrepareAsyncGroupRaw(context, request, cq)); + } + ::grpc::Status Get(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::ProcessInfo* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>> AsyncGet(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>>(AsyncGetRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>> PrepareAsyncGet(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>>(PrepareAsyncGetRaw(context, request, cq)); + } + ::grpc::Status Wait(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::OperationOutcome* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> AsyncWait(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(AsyncWaitRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> PrepareAsyncWait(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(PrepareAsyncWaitRaw(context, request, cq)); + } + ::grpc::Status Signal(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::jasper::OperationOutcome* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> AsyncSignal(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(AsyncSignalRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> PrepareAsyncSignal(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(PrepareAsyncSignalRaw(context, request, cq)); + } + ::grpc::Status Close(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::jasper::OperationOutcome* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> AsyncClose(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(AsyncCloseRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> PrepareAsyncClose(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(PrepareAsyncCloseRaw(context, request, cq)); + } + ::grpc::Status TagProcess(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::jasper::OperationOutcome* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> AsyncTagProcess(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(AsyncTagProcessRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> PrepareAsyncTagProcess(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(PrepareAsyncTagProcessRaw(context, request, cq)); + } + ::grpc::Status ResetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::OperationOutcome* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> AsyncResetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(AsyncResetTagsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> PrepareAsyncResetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(PrepareAsyncResetTagsRaw(context, request, cq)); + } + ::grpc::Status GetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::ProcessTags* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessTags>> AsyncGetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessTags>>(AsyncGetTagsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessTags>> PrepareAsyncGetTags(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::ProcessTags>>(PrepareAsyncGetTagsRaw(context, request, cq)); + } + ::grpc::Status DownloadFile(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::jasper::OperationOutcome* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> AsyncDownloadFile(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(AsyncDownloadFileRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> PrepareAsyncDownloadFile(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(PrepareAsyncDownloadFileRaw(context, request, cq)); + } + ::grpc::Status DownloadFileAsync(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::jasper::OperationOutcome* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> AsyncDownloadFileAsync(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(AsyncDownloadFileAsyncRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> PrepareAsyncDownloadFileAsync(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(PrepareAsyncDownloadFileAsyncRaw(context, request, cq)); + } + ::grpc::Status DownloadMongoDB(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::jasper::OperationOutcome* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> AsyncDownloadMongoDB(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(AsyncDownloadMongoDBRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> PrepareAsyncDownloadMongoDB(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(PrepareAsyncDownloadMongoDBRaw(context, request, cq)); + } + ::grpc::Status ConfigureCache(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::jasper::OperationOutcome* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> AsyncConfigureCache(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(AsyncConfigureCacheRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>> PrepareAsyncConfigureCache(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>>(PrepareAsyncConfigureCacheRaw(context, request, cq)); + } + ::grpc::Status GetBuildloggerURLs(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::jasper::BuildloggerURLs* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::BuildloggerURLs>> AsyncGetBuildloggerURLs(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::BuildloggerURLs>>(AsyncGetBuildloggerURLsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::BuildloggerURLs>> PrepareAsyncGetBuildloggerURLs(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::jasper::BuildloggerURLs>>(PrepareAsyncGetBuildloggerURLsRaw(context, request, cq)); + } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + ::grpc::ClientAsyncResponseReader< ::jasper::StatusResponse>* AsyncStatusRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::StatusResponse>* PrepareAsyncStatusRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>* AsyncCreateRaw(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>* PrepareAsyncCreateRaw(::grpc::ClientContext* context, const ::jasper::CreateOptions& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientReader< ::jasper::ProcessInfo>* ListRaw(::grpc::ClientContext* context, const ::jasper::Filter& request) override; + ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>* AsyncListRaw(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq, void* tag) override; + ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>* PrepareAsyncListRaw(::grpc::ClientContext* context, const ::jasper::Filter& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientReader< ::jasper::ProcessInfo>* GroupRaw(::grpc::ClientContext* context, const ::jasper::TagName& request) override; + ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>* AsyncGroupRaw(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq, void* tag) override; + ::grpc::ClientAsyncReader< ::jasper::ProcessInfo>* PrepareAsyncGroupRaw(::grpc::ClientContext* context, const ::jasper::TagName& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>* AsyncGetRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::ProcessInfo>* PrepareAsyncGetRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* AsyncWaitRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* PrepareAsyncWaitRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* AsyncSignalRaw(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* PrepareAsyncSignalRaw(::grpc::ClientContext* context, const ::jasper::SignalProcess& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* AsyncCloseRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* PrepareAsyncCloseRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* AsyncTagProcessRaw(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* PrepareAsyncTagProcessRaw(::grpc::ClientContext* context, const ::jasper::ProcessTags& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* AsyncResetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* PrepareAsyncResetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::ProcessTags>* AsyncGetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::ProcessTags>* PrepareAsyncGetTagsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* AsyncDownloadFileRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* PrepareAsyncDownloadFileRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* AsyncDownloadFileAsyncRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* PrepareAsyncDownloadFileAsyncRaw(::grpc::ClientContext* context, const ::jasper::DownloadInfo& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* AsyncDownloadMongoDBRaw(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* PrepareAsyncDownloadMongoDBRaw(::grpc::ClientContext* context, const ::jasper::MongoDBDownloadOptions& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* AsyncConfigureCacheRaw(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::OperationOutcome>* PrepareAsyncConfigureCacheRaw(::grpc::ClientContext* context, const ::jasper::CacheOptions& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::BuildloggerURLs>* AsyncGetBuildloggerURLsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::jasper::BuildloggerURLs>* PrepareAsyncGetBuildloggerURLsRaw(::grpc::ClientContext* context, const ::jasper::JasperProcessID& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_Status_; + const ::grpc::internal::RpcMethod rpcmethod_Create_; + const ::grpc::internal::RpcMethod rpcmethod_List_; + const ::grpc::internal::RpcMethod rpcmethod_Group_; + const ::grpc::internal::RpcMethod rpcmethod_Get_; + const ::grpc::internal::RpcMethod rpcmethod_Wait_; + const ::grpc::internal::RpcMethod rpcmethod_Signal_; + const ::grpc::internal::RpcMethod rpcmethod_Close_; + const ::grpc::internal::RpcMethod rpcmethod_TagProcess_; + const ::grpc::internal::RpcMethod rpcmethod_ResetTags_; + const ::grpc::internal::RpcMethod rpcmethod_GetTags_; + const ::grpc::internal::RpcMethod rpcmethod_DownloadFile_; + const ::grpc::internal::RpcMethod rpcmethod_DownloadFileAsync_; + const ::grpc::internal::RpcMethod rpcmethod_DownloadMongoDB_; + const ::grpc::internal::RpcMethod rpcmethod_ConfigureCache_; + const ::grpc::internal::RpcMethod rpcmethod_GetBuildloggerURLs_; + }; + 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 Status(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::StatusResponse* response); + virtual ::grpc::Status Create(::grpc::ServerContext* context, const ::jasper::CreateOptions* request, ::jasper::ProcessInfo* response); + virtual ::grpc::Status List(::grpc::ServerContext* context, const ::jasper::Filter* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer); + virtual ::grpc::Status Group(::grpc::ServerContext* context, const ::jasper::TagName* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer); + virtual ::grpc::Status Get(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessInfo* response); + virtual ::grpc::Status Wait(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response); + virtual ::grpc::Status Signal(::grpc::ServerContext* context, const ::jasper::SignalProcess* request, ::jasper::OperationOutcome* response); + virtual ::grpc::Status Close(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::OperationOutcome* response); + virtual ::grpc::Status TagProcess(::grpc::ServerContext* context, const ::jasper::ProcessTags* request, ::jasper::OperationOutcome* response); + virtual ::grpc::Status ResetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response); + virtual ::grpc::Status GetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessTags* response); + virtual ::grpc::Status DownloadFile(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response); + virtual ::grpc::Status DownloadFileAsync(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response); + virtual ::grpc::Status DownloadMongoDB(::grpc::ServerContext* context, const ::jasper::MongoDBDownloadOptions* request, ::jasper::OperationOutcome* response); + virtual ::grpc::Status ConfigureCache(::grpc::ServerContext* context, const ::jasper::CacheOptions* request, ::jasper::OperationOutcome* response); + virtual ::grpc::Status GetBuildloggerURLs(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::BuildloggerURLs* response); + }; + template + class WithAsyncMethod_Status : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_Status() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_Status() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Status(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::StatusResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestStatus(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::jasper::StatusResponse>* 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_Create : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_Create() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_Create() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Create(::grpc::ServerContext* context, const ::jasper::CreateOptions* request, ::jasper::ProcessInfo* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreate(::grpc::ServerContext* context, ::jasper::CreateOptions* request, ::grpc::ServerAsyncResponseWriter< ::jasper::ProcessInfo>* 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_List : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_List() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_List() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status List(::grpc::ServerContext* context, const ::jasper::Filter* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestList(::grpc::ServerContext* context, ::jasper::Filter* request, ::grpc::ServerAsyncWriter< ::jasper::ProcessInfo>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(2, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_Group : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_Group() { + ::grpc::Service::MarkMethodAsync(3); + } + ~WithAsyncMethod_Group() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Group(::grpc::ServerContext* context, const ::jasper::TagName* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGroup(::grpc::ServerContext* context, ::jasper::TagName* request, ::grpc::ServerAsyncWriter< ::jasper::ProcessInfo>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(3, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_Get : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_Get() { + ::grpc::Service::MarkMethodAsync(4); + } + ~WithAsyncMethod_Get() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Get(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessInfo* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGet(::grpc::ServerContext* context, ::jasper::JasperProcessID* request, ::grpc::ServerAsyncResponseWriter< ::jasper::ProcessInfo>* 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_Wait : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_Wait() { + ::grpc::Service::MarkMethodAsync(5); + } + ~WithAsyncMethod_Wait() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Wait(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestWait(::grpc::ServerContext* context, ::jasper::JasperProcessID* request, ::grpc::ServerAsyncResponseWriter< ::jasper::OperationOutcome>* 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_Signal : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_Signal() { + ::grpc::Service::MarkMethodAsync(6); + } + ~WithAsyncMethod_Signal() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Signal(::grpc::ServerContext* context, const ::jasper::SignalProcess* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSignal(::grpc::ServerContext* context, ::jasper::SignalProcess* request, ::grpc::ServerAsyncResponseWriter< ::jasper::OperationOutcome>* 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_Close : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_Close() { + ::grpc::Service::MarkMethodAsync(7); + } + ~WithAsyncMethod_Close() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Close(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestClose(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::jasper::OperationOutcome>* 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_TagProcess : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_TagProcess() { + ::grpc::Service::MarkMethodAsync(8); + } + ~WithAsyncMethod_TagProcess() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status TagProcess(::grpc::ServerContext* context, const ::jasper::ProcessTags* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestTagProcess(::grpc::ServerContext* context, ::jasper::ProcessTags* request, ::grpc::ServerAsyncResponseWriter< ::jasper::OperationOutcome>* 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_ResetTags : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_ResetTags() { + ::grpc::Service::MarkMethodAsync(9); + } + ~WithAsyncMethod_ResetTags() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ResetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestResetTags(::grpc::ServerContext* context, ::jasper::JasperProcessID* request, ::grpc::ServerAsyncResponseWriter< ::jasper::OperationOutcome>* 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 WithAsyncMethod_GetTags : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_GetTags() { + ::grpc::Service::MarkMethodAsync(10); + } + ~WithAsyncMethod_GetTags() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessTags* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetTags(::grpc::ServerContext* context, ::jasper::JasperProcessID* request, ::grpc::ServerAsyncResponseWriter< ::jasper::ProcessTags>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DownloadFile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_DownloadFile() { + ::grpc::Service::MarkMethodAsync(11); + } + ~WithAsyncMethod_DownloadFile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DownloadFile(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDownloadFile(::grpc::ServerContext* context, ::jasper::DownloadInfo* request, ::grpc::ServerAsyncResponseWriter< ::jasper::OperationOutcome>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DownloadFileAsync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_DownloadFileAsync() { + ::grpc::Service::MarkMethodAsync(12); + } + ~WithAsyncMethod_DownloadFileAsync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DownloadFileAsync(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDownloadFileAsync(::grpc::ServerContext* context, ::jasper::DownloadInfo* request, ::grpc::ServerAsyncResponseWriter< ::jasper::OperationOutcome>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DownloadMongoDB : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_DownloadMongoDB() { + ::grpc::Service::MarkMethodAsync(13); + } + ~WithAsyncMethod_DownloadMongoDB() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DownloadMongoDB(::grpc::ServerContext* context, const ::jasper::MongoDBDownloadOptions* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDownloadMongoDB(::grpc::ServerContext* context, ::jasper::MongoDBDownloadOptions* request, ::grpc::ServerAsyncResponseWriter< ::jasper::OperationOutcome>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_ConfigureCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_ConfigureCache() { + ::grpc::Service::MarkMethodAsync(14); + } + ~WithAsyncMethod_ConfigureCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ConfigureCache(::grpc::ServerContext* context, const ::jasper::CacheOptions* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestConfigureCache(::grpc::ServerContext* context, ::jasper::CacheOptions* request, ::grpc::ServerAsyncResponseWriter< ::jasper::OperationOutcome>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(14, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetBuildloggerURLs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_GetBuildloggerURLs() { + ::grpc::Service::MarkMethodAsync(15); + } + ~WithAsyncMethod_GetBuildloggerURLs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBuildloggerURLs(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::BuildloggerURLs* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetBuildloggerURLs(::grpc::ServerContext* context, ::jasper::JasperProcessID* request, ::grpc::ServerAsyncResponseWriter< ::jasper::BuildloggerURLs>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(15, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_Status > > > > > > > > > > > > > > > AsyncService; + template + class WithGenericMethod_Status : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_Status() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_Status() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Status(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::StatusResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_Create : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_Create() { + ::grpc::Service::MarkMethodGeneric(1); + } + ~WithGenericMethod_Create() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Create(::grpc::ServerContext* context, const ::jasper::CreateOptions* request, ::jasper::ProcessInfo* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_List : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_List() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_List() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status List(::grpc::ServerContext* context, const ::jasper::Filter* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_Group : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_Group() { + ::grpc::Service::MarkMethodGeneric(3); + } + ~WithGenericMethod_Group() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Group(::grpc::ServerContext* context, const ::jasper::TagName* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_Get : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_Get() { + ::grpc::Service::MarkMethodGeneric(4); + } + ~WithGenericMethod_Get() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Get(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessInfo* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_Wait : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_Wait() { + ::grpc::Service::MarkMethodGeneric(5); + } + ~WithGenericMethod_Wait() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Wait(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_Signal : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_Signal() { + ::grpc::Service::MarkMethodGeneric(6); + } + ~WithGenericMethod_Signal() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Signal(::grpc::ServerContext* context, const ::jasper::SignalProcess* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_Close : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_Close() { + ::grpc::Service::MarkMethodGeneric(7); + } + ~WithGenericMethod_Close() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Close(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_TagProcess : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_TagProcess() { + ::grpc::Service::MarkMethodGeneric(8); + } + ~WithGenericMethod_TagProcess() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status TagProcess(::grpc::ServerContext* context, const ::jasper::ProcessTags* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_ResetTags : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_ResetTags() { + ::grpc::Service::MarkMethodGeneric(9); + } + ~WithGenericMethod_ResetTags() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ResetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetTags : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_GetTags() { + ::grpc::Service::MarkMethodGeneric(10); + } + ~WithGenericMethod_GetTags() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessTags* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DownloadFile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_DownloadFile() { + ::grpc::Service::MarkMethodGeneric(11); + } + ~WithGenericMethod_DownloadFile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DownloadFile(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DownloadFileAsync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_DownloadFileAsync() { + ::grpc::Service::MarkMethodGeneric(12); + } + ~WithGenericMethod_DownloadFileAsync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DownloadFileAsync(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DownloadMongoDB : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_DownloadMongoDB() { + ::grpc::Service::MarkMethodGeneric(13); + } + ~WithGenericMethod_DownloadMongoDB() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DownloadMongoDB(::grpc::ServerContext* context, const ::jasper::MongoDBDownloadOptions* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_ConfigureCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_ConfigureCache() { + ::grpc::Service::MarkMethodGeneric(14); + } + ~WithGenericMethod_ConfigureCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ConfigureCache(::grpc::ServerContext* context, const ::jasper::CacheOptions* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetBuildloggerURLs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_GetBuildloggerURLs() { + ::grpc::Service::MarkMethodGeneric(15); + } + ~WithGenericMethod_GetBuildloggerURLs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBuildloggerURLs(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::BuildloggerURLs* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_Status : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_Status() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_Status() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Status(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::StatusResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestStatus(::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_Create : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_Create() { + ::grpc::Service::MarkMethodRaw(1); + } + ~WithRawMethod_Create() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Create(::grpc::ServerContext* context, const ::jasper::CreateOptions* request, ::jasper::ProcessInfo* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreate(::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_List : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_List() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_List() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status List(::grpc::ServerContext* context, const ::jasper::Filter* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestList(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(2, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_Group : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_Group() { + ::grpc::Service::MarkMethodRaw(3); + } + ~WithRawMethod_Group() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Group(::grpc::ServerContext* context, const ::jasper::TagName* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGroup(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncServerStreaming(3, context, request, writer, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_Get : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_Get() { + ::grpc::Service::MarkMethodRaw(4); + } + ~WithRawMethod_Get() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Get(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessInfo* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGet(::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_Wait : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_Wait() { + ::grpc::Service::MarkMethodRaw(5); + } + ~WithRawMethod_Wait() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Wait(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestWait(::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_Signal : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_Signal() { + ::grpc::Service::MarkMethodRaw(6); + } + ~WithRawMethod_Signal() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Signal(::grpc::ServerContext* context, const ::jasper::SignalProcess* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSignal(::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_Close : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_Close() { + ::grpc::Service::MarkMethodRaw(7); + } + ~WithRawMethod_Close() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status Close(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestClose(::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_TagProcess : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_TagProcess() { + ::grpc::Service::MarkMethodRaw(8); + } + ~WithRawMethod_TagProcess() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status TagProcess(::grpc::ServerContext* context, const ::jasper::ProcessTags* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestTagProcess(::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_ResetTags : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_ResetTags() { + ::grpc::Service::MarkMethodRaw(9); + } + ~WithRawMethod_ResetTags() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ResetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestResetTags(::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 WithRawMethod_GetTags : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_GetTags() { + ::grpc::Service::MarkMethodRaw(10); + } + ~WithRawMethod_GetTags() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessTags* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetTags(::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(10, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DownloadFile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_DownloadFile() { + ::grpc::Service::MarkMethodRaw(11); + } + ~WithRawMethod_DownloadFile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DownloadFile(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDownloadFile(::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(11, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DownloadFileAsync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_DownloadFileAsync() { + ::grpc::Service::MarkMethodRaw(12); + } + ~WithRawMethod_DownloadFileAsync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DownloadFileAsync(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDownloadFileAsync(::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(12, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DownloadMongoDB : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_DownloadMongoDB() { + ::grpc::Service::MarkMethodRaw(13); + } + ~WithRawMethod_DownloadMongoDB() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DownloadMongoDB(::grpc::ServerContext* context, const ::jasper::MongoDBDownloadOptions* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDownloadMongoDB(::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(13, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_ConfigureCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_ConfigureCache() { + ::grpc::Service::MarkMethodRaw(14); + } + ~WithRawMethod_ConfigureCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ConfigureCache(::grpc::ServerContext* context, const ::jasper::CacheOptions* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestConfigureCache(::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(14, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetBuildloggerURLs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_GetBuildloggerURLs() { + ::grpc::Service::MarkMethodRaw(15); + } + ~WithRawMethod_GetBuildloggerURLs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetBuildloggerURLs(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::BuildloggerURLs* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetBuildloggerURLs(::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(15, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithStreamedUnaryMethod_Status : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_Status() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::jasper::StatusResponse>(std::bind(&WithStreamedUnaryMethod_Status::StreamedStatus, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_Status() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status Status(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::StatusResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedStatus(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::jasper::StatusResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_Create : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_Create() { + ::grpc::Service::MarkMethodStreamed(1, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::CreateOptions, ::jasper::ProcessInfo>(std::bind(&WithStreamedUnaryMethod_Create::StreamedCreate, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_Create() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status Create(::grpc::ServerContext* context, const ::jasper::CreateOptions* request, ::jasper::ProcessInfo* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedCreate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::CreateOptions,::jasper::ProcessInfo>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_Get : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_Get() { + ::grpc::Service::MarkMethodStreamed(4, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::JasperProcessID, ::jasper::ProcessInfo>(std::bind(&WithStreamedUnaryMethod_Get::StreamedGet, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_Get() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status Get(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessInfo* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGet(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::JasperProcessID,::jasper::ProcessInfo>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_Wait : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_Wait() { + ::grpc::Service::MarkMethodStreamed(5, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::JasperProcessID, ::jasper::OperationOutcome>(std::bind(&WithStreamedUnaryMethod_Wait::StreamedWait, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_Wait() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status Wait(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedWait(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::JasperProcessID,::jasper::OperationOutcome>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_Signal : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_Signal() { + ::grpc::Service::MarkMethodStreamed(6, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::SignalProcess, ::jasper::OperationOutcome>(std::bind(&WithStreamedUnaryMethod_Signal::StreamedSignal, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_Signal() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status Signal(::grpc::ServerContext* context, const ::jasper::SignalProcess* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedSignal(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::SignalProcess,::jasper::OperationOutcome>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_Close : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_Close() { + ::grpc::Service::MarkMethodStreamed(7, + new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::jasper::OperationOutcome>(std::bind(&WithStreamedUnaryMethod_Close::StreamedClose, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_Close() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status Close(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedClose(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::jasper::OperationOutcome>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_TagProcess : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_TagProcess() { + ::grpc::Service::MarkMethodStreamed(8, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::ProcessTags, ::jasper::OperationOutcome>(std::bind(&WithStreamedUnaryMethod_TagProcess::StreamedTagProcess, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_TagProcess() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status TagProcess(::grpc::ServerContext* context, const ::jasper::ProcessTags* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedTagProcess(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::ProcessTags,::jasper::OperationOutcome>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_ResetTags : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_ResetTags() { + ::grpc::Service::MarkMethodStreamed(9, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::JasperProcessID, ::jasper::OperationOutcome>(std::bind(&WithStreamedUnaryMethod_ResetTags::StreamedResetTags, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_ResetTags() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status ResetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedResetTags(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::JasperProcessID,::jasper::OperationOutcome>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetTags : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_GetTags() { + ::grpc::Service::MarkMethodStreamed(10, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::JasperProcessID, ::jasper::ProcessTags>(std::bind(&WithStreamedUnaryMethod_GetTags::StreamedGetTags, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_GetTags() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetTags(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::ProcessTags* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetTags(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::JasperProcessID,::jasper::ProcessTags>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DownloadFile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_DownloadFile() { + ::grpc::Service::MarkMethodStreamed(11, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::DownloadInfo, ::jasper::OperationOutcome>(std::bind(&WithStreamedUnaryMethod_DownloadFile::StreamedDownloadFile, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_DownloadFile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DownloadFile(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDownloadFile(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::DownloadInfo,::jasper::OperationOutcome>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DownloadFileAsync : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_DownloadFileAsync() { + ::grpc::Service::MarkMethodStreamed(12, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::DownloadInfo, ::jasper::OperationOutcome>(std::bind(&WithStreamedUnaryMethod_DownloadFileAsync::StreamedDownloadFileAsync, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_DownloadFileAsync() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DownloadFileAsync(::grpc::ServerContext* context, const ::jasper::DownloadInfo* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDownloadFileAsync(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::DownloadInfo,::jasper::OperationOutcome>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DownloadMongoDB : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_DownloadMongoDB() { + ::grpc::Service::MarkMethodStreamed(13, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::MongoDBDownloadOptions, ::jasper::OperationOutcome>(std::bind(&WithStreamedUnaryMethod_DownloadMongoDB::StreamedDownloadMongoDB, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_DownloadMongoDB() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DownloadMongoDB(::grpc::ServerContext* context, const ::jasper::MongoDBDownloadOptions* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDownloadMongoDB(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::MongoDBDownloadOptions,::jasper::OperationOutcome>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_ConfigureCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_ConfigureCache() { + ::grpc::Service::MarkMethodStreamed(14, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::CacheOptions, ::jasper::OperationOutcome>(std::bind(&WithStreamedUnaryMethod_ConfigureCache::StreamedConfigureCache, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_ConfigureCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status ConfigureCache(::grpc::ServerContext* context, const ::jasper::CacheOptions* request, ::jasper::OperationOutcome* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedConfigureCache(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::CacheOptions,::jasper::OperationOutcome>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetBuildloggerURLs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_GetBuildloggerURLs() { + ::grpc::Service::MarkMethodStreamed(15, + new ::grpc::internal::StreamedUnaryHandler< ::jasper::JasperProcessID, ::jasper::BuildloggerURLs>(std::bind(&WithStreamedUnaryMethod_GetBuildloggerURLs::StreamedGetBuildloggerURLs, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_GetBuildloggerURLs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetBuildloggerURLs(::grpc::ServerContext* context, const ::jasper::JasperProcessID* request, ::jasper::BuildloggerURLs* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetBuildloggerURLs(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::jasper::JasperProcessID,::jasper::BuildloggerURLs>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_Status > > > > > > > > > > > > > StreamedUnaryService; + template + class WithSplitStreamingMethod_List : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithSplitStreamingMethod_List() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::SplitServerStreamingHandler< ::jasper::Filter, ::jasper::ProcessInfo>(std::bind(&WithSplitStreamingMethod_List::StreamedList, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithSplitStreamingMethod_List() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status List(::grpc::ServerContext* context, const ::jasper::Filter* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with split streamed + virtual ::grpc::Status StreamedList(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::jasper::Filter,::jasper::ProcessInfo>* server_split_streamer) = 0; + }; + template + class WithSplitStreamingMethod_Group : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithSplitStreamingMethod_Group() { + ::grpc::Service::MarkMethodStreamed(3, + new ::grpc::internal::SplitServerStreamingHandler< ::jasper::TagName, ::jasper::ProcessInfo>(std::bind(&WithSplitStreamingMethod_Group::StreamedGroup, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithSplitStreamingMethod_Group() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status Group(::grpc::ServerContext* context, const ::jasper::TagName* request, ::grpc::ServerWriter< ::jasper::ProcessInfo>* writer) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with split streamed + virtual ::grpc::Status StreamedGroup(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::jasper::TagName,::jasper::ProcessInfo>* server_split_streamer) = 0; + }; + typedef WithSplitStreamingMethod_List > SplitStreamedService; + typedef WithStreamedUnaryMethod_Status > > > > > > > > > > > > > > > StreamedService; +}; + +} // namespace jasper + + +#endif // GRPC_jasper_2eproto__INCLUDED diff --git a/src/gennylib/jasper/jasper.pb.cc b/src/gennylib/jasper/jasper.pb.cc new file mode 100644 index 0000000000..2ce752a21f --- /dev/null +++ b/src/gennylib/jasper/jasper.pb.cc @@ -0,0 +1,8584 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: jasper.proto + +#include "jasper.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// This is a temporary google only hack +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS +#include "third_party/protobuf/version.h" +#endif +// @@protoc_insertion_point(includes) + +namespace protobuf_jasper_2eproto { +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ArchiveOptions; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BufferOptions; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BuildOptions; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BuildloggerOptions; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CreateOptions_EnvironmentEntry_DoNotUse; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_JasperProcessID; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SplunkOptions; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Logger; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_OutputOptions; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_CreateOptions; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LogOptions; +} // namespace protobuf_jasper_2eproto +namespace jasper { +class LoggerDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _Logger_default_instance_; +class OutputOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _OutputOptions_default_instance_; +class LogOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _LogOptions_default_instance_; +class BufferOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _BufferOptions_default_instance_; +class BuildloggerOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _BuildloggerOptions_default_instance_; +class SplunkOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SplunkOptions_default_instance_; +class CreateOptions_EnvironmentEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CreateOptions_EnvironmentEntry_DoNotUse_default_instance_; +class CreateOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CreateOptions_default_instance_; +class ProcessInfoDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _ProcessInfo_default_instance_; +class StatusResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _StatusResponse_default_instance_; +class FilterDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _Filter_default_instance_; +class SignalProcessDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SignalProcess_default_instance_; +class TagNameDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _TagName_default_instance_; +class ProcessTagsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _ProcessTags_default_instance_; +class JasperProcessIDDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _JasperProcessID_default_instance_; +class OperationOutcomeDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _OperationOutcome_default_instance_; +class BuildOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _BuildOptions_default_instance_; +class MongoDBDownloadOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MongoDBDownloadOptions_default_instance_; +class CacheOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CacheOptions_default_instance_; +class ArchiveOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _ArchiveOptions_default_instance_; +class DownloadInfoDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _DownloadInfo_default_instance_; +class BuildloggerURLsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _BuildloggerURLs_default_instance_; +} // namespace jasper +namespace protobuf_jasper_2eproto { +static void InitDefaultsLogger() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_Logger_default_instance_; + new (ptr) ::jasper::Logger(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::Logger::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_Logger = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsLogger}, { + &protobuf_jasper_2eproto::scc_info_LogOptions.base,}}; + +static void InitDefaultsOutputOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_OutputOptions_default_instance_; + new (ptr) ::jasper::OutputOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::OutputOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_OutputOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsOutputOptions}, { + &protobuf_jasper_2eproto::scc_info_Logger.base,}}; + +static void InitDefaultsLogOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_LogOptions_default_instance_; + new (ptr) ::jasper::LogOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::LogOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_LogOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsLogOptions}, { + &protobuf_jasper_2eproto::scc_info_BufferOptions.base, + &protobuf_jasper_2eproto::scc_info_BuildloggerOptions.base, + &protobuf_jasper_2eproto::scc_info_SplunkOptions.base,}}; + +static void InitDefaultsBufferOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_BufferOptions_default_instance_; + new (ptr) ::jasper::BufferOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::BufferOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_BufferOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsBufferOptions}, {}}; + +static void InitDefaultsBuildloggerOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_BuildloggerOptions_default_instance_; + new (ptr) ::jasper::BuildloggerOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::BuildloggerOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_BuildloggerOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsBuildloggerOptions}, {}}; + +static void InitDefaultsSplunkOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_SplunkOptions_default_instance_; + new (ptr) ::jasper::SplunkOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::SplunkOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SplunkOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSplunkOptions}, {}}; + +static void InitDefaultsCreateOptions_EnvironmentEntry_DoNotUse() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_CreateOptions_EnvironmentEntry_DoNotUse_default_instance_; + new (ptr) ::jasper::CreateOptions_EnvironmentEntry_DoNotUse(); + } + ::jasper::CreateOptions_EnvironmentEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CreateOptions_EnvironmentEntry_DoNotUse = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateOptions_EnvironmentEntry_DoNotUse}, {}}; + +static void InitDefaultsCreateOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_CreateOptions_default_instance_; + new (ptr) ::jasper::CreateOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::CreateOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_CreateOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCreateOptions}, { + &protobuf_jasper_2eproto::scc_info_CreateOptions_EnvironmentEntry_DoNotUse.base, + &protobuf_jasper_2eproto::scc_info_OutputOptions.base,}}; + +static void InitDefaultsProcessInfo() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_ProcessInfo_default_instance_; + new (ptr) ::jasper::ProcessInfo(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::ProcessInfo::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_ProcessInfo = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProcessInfo}, { + &protobuf_jasper_2eproto::scc_info_CreateOptions.base,}}; + +static void InitDefaultsStatusResponse() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_StatusResponse_default_instance_; + new (ptr) ::jasper::StatusResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::StatusResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_StatusResponse = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsStatusResponse}, {}}; + +static void InitDefaultsFilter() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_Filter_default_instance_; + new (ptr) ::jasper::Filter(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::Filter::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_Filter = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFilter}, {}}; + +static void InitDefaultsSignalProcess() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_SignalProcess_default_instance_; + new (ptr) ::jasper::SignalProcess(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::SignalProcess::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_SignalProcess = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSignalProcess}, { + &protobuf_jasper_2eproto::scc_info_JasperProcessID.base,}}; + +static void InitDefaultsTagName() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_TagName_default_instance_; + new (ptr) ::jasper::TagName(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::TagName::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_TagName = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTagName}, {}}; + +static void InitDefaultsProcessTags() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_ProcessTags_default_instance_; + new (ptr) ::jasper::ProcessTags(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::ProcessTags::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ProcessTags = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProcessTags}, {}}; + +static void InitDefaultsJasperProcessID() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_JasperProcessID_default_instance_; + new (ptr) ::jasper::JasperProcessID(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::JasperProcessID::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_JasperProcessID = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsJasperProcessID}, {}}; + +static void InitDefaultsOperationOutcome() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_OperationOutcome_default_instance_; + new (ptr) ::jasper::OperationOutcome(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::OperationOutcome::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_OperationOutcome = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsOperationOutcome}, {}}; + +static void InitDefaultsBuildOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_BuildOptions_default_instance_; + new (ptr) ::jasper::BuildOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::BuildOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_BuildOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsBuildOptions}, {}}; + +static void InitDefaultsMongoDBDownloadOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_MongoDBDownloadOptions_default_instance_; + new (ptr) ::jasper::MongoDBDownloadOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::MongoDBDownloadOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_MongoDBDownloadOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsMongoDBDownloadOptions}, { + &protobuf_jasper_2eproto::scc_info_BuildOptions.base,}}; + +static void InitDefaultsCacheOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_CacheOptions_default_instance_; + new (ptr) ::jasper::CacheOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::CacheOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CacheOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCacheOptions}, {}}; + +static void InitDefaultsArchiveOptions() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_ArchiveOptions_default_instance_; + new (ptr) ::jasper::ArchiveOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::ArchiveOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ArchiveOptions = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsArchiveOptions}, {}}; + +static void InitDefaultsDownloadInfo() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_DownloadInfo_default_instance_; + new (ptr) ::jasper::DownloadInfo(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::DownloadInfo::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_DownloadInfo = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDownloadInfo}, { + &protobuf_jasper_2eproto::scc_info_ArchiveOptions.base,}}; + +static void InitDefaultsBuildloggerURLs() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::jasper::_BuildloggerURLs_default_instance_; + new (ptr) ::jasper::BuildloggerURLs(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::jasper::BuildloggerURLs::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_BuildloggerURLs = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsBuildloggerURLs}, {}}; + +void InitDefaults() { + ::google::protobuf::internal::InitSCC(&scc_info_Logger.base); + ::google::protobuf::internal::InitSCC(&scc_info_OutputOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_LogOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_BufferOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_BuildloggerOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_SplunkOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateOptions_EnvironmentEntry_DoNotUse.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_ProcessInfo.base); + ::google::protobuf::internal::InitSCC(&scc_info_StatusResponse.base); + ::google::protobuf::internal::InitSCC(&scc_info_Filter.base); + ::google::protobuf::internal::InitSCC(&scc_info_SignalProcess.base); + ::google::protobuf::internal::InitSCC(&scc_info_TagName.base); + ::google::protobuf::internal::InitSCC(&scc_info_ProcessTags.base); + ::google::protobuf::internal::InitSCC(&scc_info_JasperProcessID.base); + ::google::protobuf::internal::InitSCC(&scc_info_OperationOutcome.base); + ::google::protobuf::internal::InitSCC(&scc_info_BuildOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_MongoDBDownloadOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_CacheOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArchiveOptions.base); + ::google::protobuf::internal::InitSCC(&scc_info_DownloadInfo.base); + ::google::protobuf::internal::InitSCC(&scc_info_BuildloggerURLs.base); +} + +::google::protobuf::Metadata file_level_metadata[22]; +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[5]; + +const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::Logger, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::Logger, log_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::Logger, log_options_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::OutputOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::OutputOptions, loggers_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::OutputOptions, suppress_output_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::OutputOptions, suppress_error_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::OutputOptions, redirect_output_to_error_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::OutputOptions, redirect_error_to_output_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::LogOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::LogOptions, buffer_options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::LogOptions, buildlogger_options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::LogOptions, default_prefix_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::LogOptions, file_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::LogOptions, format_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::LogOptions, in_memory_cap_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::LogOptions, splunk_options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::LogOptions, sumo_endpoint_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BufferOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BufferOptions, buffered_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BufferOptions, duration_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BufferOptions, max_size_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerOptions, create_test_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerOptions, url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerOptions, number_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerOptions, phase_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerOptions, builder_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerOptions, test_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerOptions, command_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::SplunkOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::SplunkOptions, url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::SplunkOptions, token_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::SplunkOptions, channel_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions_EnvironmentEntry_DoNotUse, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions_EnvironmentEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions_EnvironmentEntry_DoNotUse, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions_EnvironmentEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, args_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, working_directory_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, environment_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, override_environ_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, timeout_seconds_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, tags_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, on_success_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, on_failure_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, on_timeout_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CreateOptions, output_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessInfo, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessInfo, pid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessInfo, host_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessInfo, running_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessInfo, successful_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessInfo, complete_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessInfo, timedout_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessInfo, options_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::StatusResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::StatusResponse, host_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::StatusResponse, active_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::Filter, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::Filter, name_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::SignalProcess, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::SignalProcess, processid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::SignalProcess, signal_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::TagName, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::TagName, value_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessTags, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessTags, processid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ProcessTags, tags_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::JasperProcessID, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::JasperProcessID, value_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::OperationOutcome, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::OperationOutcome, success_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::OperationOutcome, text_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildOptions, target_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildOptions, arch_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildOptions, edition_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildOptions, debug_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::MongoDBDownloadOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::MongoDBDownloadOptions, build_options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::MongoDBDownloadOptions, path_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::MongoDBDownloadOptions, releases_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CacheOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CacheOptions, disabled_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CacheOptions, prune_delay_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::CacheOptions, max_size_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ArchiveOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ArchiveOptions, should_extract_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ArchiveOptions, format_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::ArchiveOptions, target_path_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::DownloadInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::DownloadInfo, url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::DownloadInfo, path_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::DownloadInfo, archive_opts_), + ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerURLs, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::jasper::BuildloggerURLs, urls_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::jasper::Logger)}, + { 7, -1, sizeof(::jasper::OutputOptions)}, + { 17, -1, sizeof(::jasper::LogOptions)}, + { 30, -1, sizeof(::jasper::BufferOptions)}, + { 38, -1, sizeof(::jasper::BuildloggerOptions)}, + { 50, -1, sizeof(::jasper::SplunkOptions)}, + { 58, 65, sizeof(::jasper::CreateOptions_EnvironmentEntry_DoNotUse)}, + { 67, -1, sizeof(::jasper::CreateOptions)}, + { 82, -1, sizeof(::jasper::ProcessInfo)}, + { 95, -1, sizeof(::jasper::StatusResponse)}, + { 102, -1, sizeof(::jasper::Filter)}, + { 108, -1, sizeof(::jasper::SignalProcess)}, + { 115, -1, sizeof(::jasper::TagName)}, + { 121, -1, sizeof(::jasper::ProcessTags)}, + { 128, -1, sizeof(::jasper::JasperProcessID)}, + { 134, -1, sizeof(::jasper::OperationOutcome)}, + { 141, -1, sizeof(::jasper::BuildOptions)}, + { 150, -1, sizeof(::jasper::MongoDBDownloadOptions)}, + { 158, -1, sizeof(::jasper::CacheOptions)}, + { 166, -1, sizeof(::jasper::ArchiveOptions)}, + { 174, -1, sizeof(::jasper::DownloadInfo)}, + { 182, -1, sizeof(::jasper::BuildloggerURLs)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::jasper::_Logger_default_instance_), + reinterpret_cast(&::jasper::_OutputOptions_default_instance_), + reinterpret_cast(&::jasper::_LogOptions_default_instance_), + reinterpret_cast(&::jasper::_BufferOptions_default_instance_), + reinterpret_cast(&::jasper::_BuildloggerOptions_default_instance_), + reinterpret_cast(&::jasper::_SplunkOptions_default_instance_), + reinterpret_cast(&::jasper::_CreateOptions_EnvironmentEntry_DoNotUse_default_instance_), + reinterpret_cast(&::jasper::_CreateOptions_default_instance_), + reinterpret_cast(&::jasper::_ProcessInfo_default_instance_), + reinterpret_cast(&::jasper::_StatusResponse_default_instance_), + reinterpret_cast(&::jasper::_Filter_default_instance_), + reinterpret_cast(&::jasper::_SignalProcess_default_instance_), + reinterpret_cast(&::jasper::_TagName_default_instance_), + reinterpret_cast(&::jasper::_ProcessTags_default_instance_), + reinterpret_cast(&::jasper::_JasperProcessID_default_instance_), + reinterpret_cast(&::jasper::_OperationOutcome_default_instance_), + reinterpret_cast(&::jasper::_BuildOptions_default_instance_), + reinterpret_cast(&::jasper::_MongoDBDownloadOptions_default_instance_), + reinterpret_cast(&::jasper::_CacheOptions_default_instance_), + reinterpret_cast(&::jasper::_ArchiveOptions_default_instance_), + reinterpret_cast(&::jasper::_DownloadInfo_default_instance_), + reinterpret_cast(&::jasper::_BuildloggerURLs_default_instance_), +}; + +void protobuf_AssignDescriptors() { + AddDescriptors(); + AssignDescriptors( + "jasper.proto", schemas, file_default_instances, TableStruct::offsets, + file_level_metadata, file_level_enum_descriptors, NULL); +} + +void protobuf_AssignDescriptorsOnce() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); +} + +void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 22); +} + +void AddDescriptorsImpl() { + InitDefaults(); + static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + "\n\014jasper.proto\022\006jasper\032\033google/protobuf/" + "empty.proto\"T\n\006Logger\022!\n\010log_type\030\001 \001(\0162" + "\017.jasper.LogType\022\'\n\013log_options\030\002 \001(\0132\022." + "jasper.LogOptions\"\245\001\n\rOutputOptions\022\037\n\007l" + "oggers\030\001 \003(\0132\016.jasper.Logger\022\027\n\017suppress" + "_output\030\002 \001(\010\022\026\n\016suppress_error\030\003 \001(\010\022 \n" + "\030redirect_output_to_error\030\004 \001(\010\022 \n\030redir" + "ect_error_to_output\030\005 \001(\010\"\214\002\n\nLogOptions" + "\022-\n\016buffer_options\030\001 \001(\0132\025.jasper.Buffer" + "Options\0227\n\023buildlogger_options\030\002 \001(\0132\032.j" + "asper.BuildloggerOptions\022\026\n\016default_pref" + "ix\030\003 \001(\t\022\021\n\tfile_name\030\004 \001(\t\022\016\n\006format\030\005 " + "\001(\t\022\025\n\rin_memory_cap\030\006 \001(\003\022-\n\016splunk_opt" + "ions\030\007 \001(\0132\025.jasper.SplunkOptions\022\025\n\rsum" + "o_endpoint\030\010 \001(\t\"E\n\rBufferOptions\022\020\n\010buf" + "fered\030\001 \001(\010\022\020\n\010duration\030\002 \001(\003\022\020\n\010max_siz" + "e\030\003 \001(\003\"\205\001\n\022BuildloggerOptions\022\023\n\013create" + "_test\030\001 \001(\010\022\013\n\003url\030\002 \001(\t\022\016\n\006number\030\003 \001(\003" + "\022\r\n\005phase\030\004 \001(\t\022\017\n\007builder\030\005 \001(\t\022\014\n\004test" + "\030\006 \001(\t\022\017\n\007command\030\007 \001(\t\"<\n\rSplunkOptions" + "\022\013\n\003url\030\001 \001(\t\022\r\n\005token\030\002 \001(\t\022\017\n\007channel\030" + "\003 \001(\t\"\222\003\n\rCreateOptions\022\014\n\004args\030\001 \003(\t\022\031\n" + "\021working_directory\030\002 \001(\t\022;\n\013environment\030" + "\003 \003(\0132&.jasper.CreateOptions.Environment" + "Entry\022\030\n\020override_environ\030\004 \001(\010\022\027\n\017timeo" + "ut_seconds\030\005 \001(\003\022\014\n\004tags\030\006 \003(\t\022)\n\non_suc" + "cess\030\007 \003(\0132\025.jasper.CreateOptions\022)\n\non_" + "failure\030\010 \003(\0132\025.jasper.CreateOptions\022)\n\n" + "on_timeout\030\t \003(\0132\025.jasper.CreateOptions\022" + "%\n\006output\030\n \001(\0132\025.jasper.OutputOptions\0322" + "\n\020EnvironmentEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + "\030\002 \001(\t:\0028\001\"\250\001\n\013ProcessInfo\022\n\n\002id\030\001 \001(\t\022\013" + "\n\003pid\030\002 \001(\003\022\017\n\007host_id\030\003 \001(\t\022\017\n\007running\030" + "\004 \001(\010\022\022\n\nsuccessful\030\005 \001(\010\022\020\n\010complete\030\006 " + "\001(\010\022\020\n\010timedout\030\007 \001(\010\022&\n\007options\030\010 \001(\0132\025" + ".jasper.CreateOptions\"1\n\016StatusResponse\022" + "\017\n\007host_id\030\001 \001(\t\022\016\n\006active\030\002 \001(\010\"4\n\006Filt" + "er\022*\n\004name\030\001 \001(\0162\034.jasper.FilterSpecific" + "ations\"\\\n\rSignalProcess\022*\n\tProcessID\030\001 \001" + "(\0132\027.jasper.JasperProcessID\022\037\n\006signal\030\002 " + "\001(\0162\017.jasper.Signals\"\030\n\007TagName\022\r\n\005value" + "\030\001 \001(\t\".\n\013ProcessTags\022\021\n\tprocessID\030\001 \001(\t" + "\022\014\n\004tags\030\002 \003(\t\" \n\017JasperProcessID\022\r\n\005val" + "ue\030\001 \001(\t\"1\n\020OperationOutcome\022\017\n\007success\030" + "\001 \001(\010\022\014\n\004text\030\002 \001(\t\"L\n\014BuildOptions\022\016\n\006t" + "arget\030\001 \001(\t\022\014\n\004arch\030\002 \001(\t\022\017\n\007edition\030\003 \001" + "(\t\022\r\n\005debug\030\004 \001(\010\"e\n\026MongoDBDownloadOpti" + "ons\022+\n\rbuild_options\030\001 \001(\0132\024.jasper.Buil" + "dOptions\022\014\n\004path\030\002 \001(\t\022\020\n\010releases\030\003 \003(\t" + "\"G\n\014CacheOptions\022\020\n\010disabled\030\001 \001(\010\022\023\n\013pr" + "une_delay\030\002 \001(\003\022\020\n\010max_size\030\003 \001(\003\"d\n\016Arc" + "hiveOptions\022\026\n\016should_extract\030\001 \001(\010\022%\n\006f" + "ormat\030\002 \001(\0162\025.jasper.ArchiveFormat\022\023\n\013ta" + "rget_path\030\003 \001(\t\"W\n\014DownloadInfo\022\013\n\003url\030\001" + " \001(\t\022\014\n\004path\030\002 \001(\t\022,\n\014archive_opts\030\003 \001(\013" + "2\026.jasper.ArchiveOptions\"\037\n\017BuildloggerU" + "RLs\022\014\n\004urls\030\001 \003(\t*\244\001\n\007LogType\022\016\n\nLOGUNKN" + "OWN\020\000\022\024\n\020LOGBUILDLOGGERV2\020\001\022\024\n\020LOGBUILDL" + "OGGERV3\020\002\022\016\n\nLOGDEFAULT\020\003\022\013\n\007LOGFILE\020\004\022\016" + "\n\nLOGINHERIT\020\005\022\r\n\tLOGSPLUNK\020\006\022\020\n\014LOGSUMO" + "LOGIC\020\007\022\017\n\013LOGINMEMORY\020\010*^\n\tLogFormat\022\024\n" + "\020LOGFORMATUNKNOWN\020\000\022\024\n\020LOGFORMATDEFAULT\020" + "\001\022\021\n\rLOGFORMATJSON\020\002\022\022\n\016LOGFORMATPLAIN\020\003" + "*X\n\024FilterSpecifications\022\007\n\003ALL\020\000\022\013\n\007RUN" + "NING\020\001\022\016\n\nTERMINATED\020\002\022\n\n\006FAILED\020\003\022\016\n\nSU" + "CCESSFUL\020\004*[\n\007Signals\022\013\n\007UNKNOWN\020\000\022\r\n\tTE" + "RMINATE\020\001\022\010\n\004KILL\020\002\022\n\n\006HANGUP\020\003\022\010\n\004INIT\020" + "\004\022\t\n\005USER1\020\005\022\t\n\005USER2\020\006*V\n\rArchiveFormat" + "\022\022\n\016ARCHIVEUNKNOWN\020\000\022\017\n\013ARCHIVEAUTO\020\001\022\020\n" + "\014ARCHIVETARGZ\020\002\022\016\n\nARCHIVEZIP\020\0032\336\007\n\024Jasp" + "erProcessManager\0228\n\006Status\022\026.google.prot" + "obuf.Empty\032\026.jasper.StatusResponse\0224\n\006Cr" + "eate\022\025.jasper.CreateOptions\032\023.jasper.Pro" + "cessInfo\022-\n\004List\022\016.jasper.Filter\032\023.jaspe" + "r.ProcessInfo0\001\022/\n\005Group\022\017.jasper.TagNam" + "e\032\023.jasper.ProcessInfo0\001\0223\n\003Get\022\027.jasper" + ".JasperProcessID\032\023.jasper.ProcessInfo\0229\n" + "\004Wait\022\027.jasper.JasperProcessID\032\030.jasper." + "OperationOutcome\0229\n\006Signal\022\025.jasper.Sign" + "alProcess\032\030.jasper.OperationOutcome\0229\n\005C" + "lose\022\026.google.protobuf.Empty\032\030.jasper.Op" + "erationOutcome\022;\n\nTagProcess\022\023.jasper.Pr" + "ocessTags\032\030.jasper.OperationOutcome\022>\n\tR" + "esetTags\022\027.jasper.JasperProcessID\032\030.jasp" + "er.OperationOutcome\0227\n\007GetTags\022\027.jasper." + "JasperProcessID\032\023.jasper.ProcessTags\022>\n\014" + "DownloadFile\022\024.jasper.DownloadInfo\032\030.jas" + "per.OperationOutcome\022C\n\021DownloadFileAsyn" + "c\022\024.jasper.DownloadInfo\032\030.jasper.Operati" + "onOutcome\022K\n\017DownloadMongoDB\022\036.jasper.Mo" + "ngoDBDownloadOptions\032\030.jasper.OperationO" + "utcome\022@\n\016ConfigureCache\022\024.jasper.CacheO" + "ptions\032\030.jasper.OperationOutcome\022F\n\022GetB" + "uildloggerURLs\022\027.jasper.JasperProcessID\032" + "\027.jasper.BuildloggerURLsB\nZ\010internalb\006pr" + "oto3" + }; + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + descriptor, 3804); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "jasper.proto", &protobuf_RegisterTypes); + ::protobuf_google_2fprotobuf_2fempty_2eproto::AddDescriptors(); +} + +void AddDescriptors() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); +} +// Force AddDescriptors() to be called at dynamic initialization time. +struct StaticDescriptorInitializer { + StaticDescriptorInitializer() { + AddDescriptors(); + } +} static_descriptor_initializer; +} // namespace protobuf_jasper_2eproto +namespace jasper { +const ::google::protobuf::EnumDescriptor* LogType_descriptor() { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_jasper_2eproto::file_level_enum_descriptors[0]; +} +bool LogType_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 ::google::protobuf::EnumDescriptor* LogFormat_descriptor() { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_jasper_2eproto::file_level_enum_descriptors[1]; +} +bool LogFormat_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* FilterSpecifications_descriptor() { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_jasper_2eproto::file_level_enum_descriptors[2]; +} +bool FilterSpecifications_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* Signals_descriptor() { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_jasper_2eproto::file_level_enum_descriptors[3]; +} +bool Signals_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* ArchiveFormat_descriptor() { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_jasper_2eproto::file_level_enum_descriptors[4]; +} +bool ArchiveFormat_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + + +// =================================================================== + +void Logger::InitAsDefaultInstance() { + ::jasper::_Logger_default_instance_._instance.get_mutable()->log_options_ = const_cast< ::jasper::LogOptions*>( + ::jasper::LogOptions::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Logger::kLogTypeFieldNumber; +const int Logger::kLogOptionsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Logger::Logger() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_Logger.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.Logger) +} +Logger::Logger(const Logger& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_log_options()) { + log_options_ = new ::jasper::LogOptions(*from.log_options_); + } else { + log_options_ = NULL; + } + log_type_ = from.log_type_; + // @@protoc_insertion_point(copy_constructor:jasper.Logger) +} + +void Logger::SharedCtor() { + ::memset(&log_options_, 0, static_cast( + reinterpret_cast(&log_type_) - + reinterpret_cast(&log_options_)) + sizeof(log_type_)); +} + +Logger::~Logger() { + // @@protoc_insertion_point(destructor:jasper.Logger) + SharedDtor(); +} + +void Logger::SharedDtor() { + if (this != internal_default_instance()) delete log_options_; +} + +void Logger::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* Logger::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const Logger& Logger::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_Logger.base); + return *internal_default_instance(); +} + + +void Logger::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.Logger) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == NULL && log_options_ != NULL) { + delete log_options_; + } + log_options_ = NULL; + log_type_ = 0; + _internal_metadata_.Clear(); +} + +bool Logger::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.Logger) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .jasper.LogType log_type = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_log_type(static_cast< ::jasper::LogType >(value)); + } else { + goto handle_unusual; + } + break; + } + + // .jasper.LogOptions log_options = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_log_options())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.Logger) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.Logger) + return false; +#undef DO_ +} + +void Logger::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.Logger) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.LogType log_type = 1; + if (this->log_type() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->log_type(), output); + } + + // .jasper.LogOptions log_options = 2; + if (this->has_log_options()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->_internal_log_options(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.Logger) +} + +::google::protobuf::uint8* Logger::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.Logger) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.LogType log_type = 1; + if (this->log_type() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->log_type(), target); + } + + // .jasper.LogOptions log_options = 2; + if (this->has_log_options()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, this->_internal_log_options(), deterministic, target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.Logger) + return target; +} + +size_t Logger::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.Logger) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // .jasper.LogOptions log_options = 2; + if (this->has_log_options()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *log_options_); + } + + // .jasper.LogType log_type = 1; + if (this->log_type() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->log_type()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Logger::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.Logger) + GOOGLE_DCHECK_NE(&from, this); + const Logger* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.Logger) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.Logger) + MergeFrom(*source); + } +} + +void Logger::MergeFrom(const Logger& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.Logger) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_log_options()) { + mutable_log_options()->::jasper::LogOptions::MergeFrom(from.log_options()); + } + if (from.log_type() != 0) { + set_log_type(from.log_type()); + } +} + +void Logger::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.Logger) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Logger::CopyFrom(const Logger& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.Logger) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Logger::IsInitialized() const { + return true; +} + +void Logger::Swap(Logger* other) { + if (other == this) return; + InternalSwap(other); +} +void Logger::InternalSwap(Logger* other) { + using std::swap; + swap(log_options_, other->log_options_); + swap(log_type_, other->log_type_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata Logger::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void OutputOptions::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int OutputOptions::kLoggersFieldNumber; +const int OutputOptions::kSuppressOutputFieldNumber; +const int OutputOptions::kSuppressErrorFieldNumber; +const int OutputOptions::kRedirectOutputToErrorFieldNumber; +const int OutputOptions::kRedirectErrorToOutputFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +OutputOptions::OutputOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_OutputOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.OutputOptions) +} +OutputOptions::OutputOptions(const OutputOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + loggers_(from.loggers_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&suppress_output_, &from.suppress_output_, + static_cast(reinterpret_cast(&redirect_error_to_output_) - + reinterpret_cast(&suppress_output_)) + sizeof(redirect_error_to_output_)); + // @@protoc_insertion_point(copy_constructor:jasper.OutputOptions) +} + +void OutputOptions::SharedCtor() { + ::memset(&suppress_output_, 0, static_cast( + reinterpret_cast(&redirect_error_to_output_) - + reinterpret_cast(&suppress_output_)) + sizeof(redirect_error_to_output_)); +} + +OutputOptions::~OutputOptions() { + // @@protoc_insertion_point(destructor:jasper.OutputOptions) + SharedDtor(); +} + +void OutputOptions::SharedDtor() { +} + +void OutputOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* OutputOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const OutputOptions& OutputOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_OutputOptions.base); + return *internal_default_instance(); +} + + +void OutputOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.OutputOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + loggers_.Clear(); + ::memset(&suppress_output_, 0, static_cast( + reinterpret_cast(&redirect_error_to_output_) - + reinterpret_cast(&suppress_output_)) + sizeof(redirect_error_to_output_)); + _internal_metadata_.Clear(); +} + +bool OutputOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.OutputOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .jasper.Logger loggers = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_loggers())); + } else { + goto handle_unusual; + } + break; + } + + // bool suppress_output = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &suppress_output_))); + } else { + goto handle_unusual; + } + break; + } + + // bool suppress_error = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &suppress_error_))); + } else { + goto handle_unusual; + } + break; + } + + // bool redirect_output_to_error = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &redirect_output_to_error_))); + } else { + goto handle_unusual; + } + break; + } + + // bool redirect_error_to_output = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &redirect_error_to_output_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.OutputOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.OutputOptions) + return false; +#undef DO_ +} + +void OutputOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.OutputOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .jasper.Logger loggers = 1; + for (unsigned int i = 0, + n = static_cast(this->loggers_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->loggers(static_cast(i)), + output); + } + + // bool suppress_output = 2; + if (this->suppress_output() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->suppress_output(), output); + } + + // bool suppress_error = 3; + if (this->suppress_error() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->suppress_error(), output); + } + + // bool redirect_output_to_error = 4; + if (this->redirect_output_to_error() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->redirect_output_to_error(), output); + } + + // bool redirect_error_to_output = 5; + if (this->redirect_error_to_output() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->redirect_error_to_output(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.OutputOptions) +} + +::google::protobuf::uint8* OutputOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.OutputOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .jasper.Logger loggers = 1; + for (unsigned int i = 0, + n = static_cast(this->loggers_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->loggers(static_cast(i)), deterministic, target); + } + + // bool suppress_output = 2; + if (this->suppress_output() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->suppress_output(), target); + } + + // bool suppress_error = 3; + if (this->suppress_error() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->suppress_error(), target); + } + + // bool redirect_output_to_error = 4; + if (this->redirect_output_to_error() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->redirect_output_to_error(), target); + } + + // bool redirect_error_to_output = 5; + if (this->redirect_error_to_output() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->redirect_error_to_output(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.OutputOptions) + return target; +} + +size_t OutputOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.OutputOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // repeated .jasper.Logger loggers = 1; + { + unsigned int count = static_cast(this->loggers_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->loggers(static_cast(i))); + } + } + + // bool suppress_output = 2; + if (this->suppress_output() != 0) { + total_size += 1 + 1; + } + + // bool suppress_error = 3; + if (this->suppress_error() != 0) { + total_size += 1 + 1; + } + + // bool redirect_output_to_error = 4; + if (this->redirect_output_to_error() != 0) { + total_size += 1 + 1; + } + + // bool redirect_error_to_output = 5; + if (this->redirect_error_to_output() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void OutputOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.OutputOptions) + GOOGLE_DCHECK_NE(&from, this); + const OutputOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.OutputOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.OutputOptions) + MergeFrom(*source); + } +} + +void OutputOptions::MergeFrom(const OutputOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.OutputOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + loggers_.MergeFrom(from.loggers_); + if (from.suppress_output() != 0) { + set_suppress_output(from.suppress_output()); + } + if (from.suppress_error() != 0) { + set_suppress_error(from.suppress_error()); + } + if (from.redirect_output_to_error() != 0) { + set_redirect_output_to_error(from.redirect_output_to_error()); + } + if (from.redirect_error_to_output() != 0) { + set_redirect_error_to_output(from.redirect_error_to_output()); + } +} + +void OutputOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.OutputOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void OutputOptions::CopyFrom(const OutputOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.OutputOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool OutputOptions::IsInitialized() const { + return true; +} + +void OutputOptions::Swap(OutputOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void OutputOptions::InternalSwap(OutputOptions* other) { + using std::swap; + CastToBase(&loggers_)->InternalSwap(CastToBase(&other->loggers_)); + swap(suppress_output_, other->suppress_output_); + swap(suppress_error_, other->suppress_error_); + swap(redirect_output_to_error_, other->redirect_output_to_error_); + swap(redirect_error_to_output_, other->redirect_error_to_output_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata OutputOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void LogOptions::InitAsDefaultInstance() { + ::jasper::_LogOptions_default_instance_._instance.get_mutable()->buffer_options_ = const_cast< ::jasper::BufferOptions*>( + ::jasper::BufferOptions::internal_default_instance()); + ::jasper::_LogOptions_default_instance_._instance.get_mutable()->buildlogger_options_ = const_cast< ::jasper::BuildloggerOptions*>( + ::jasper::BuildloggerOptions::internal_default_instance()); + ::jasper::_LogOptions_default_instance_._instance.get_mutable()->splunk_options_ = const_cast< ::jasper::SplunkOptions*>( + ::jasper::SplunkOptions::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int LogOptions::kBufferOptionsFieldNumber; +const int LogOptions::kBuildloggerOptionsFieldNumber; +const int LogOptions::kDefaultPrefixFieldNumber; +const int LogOptions::kFileNameFieldNumber; +const int LogOptions::kFormatFieldNumber; +const int LogOptions::kInMemoryCapFieldNumber; +const int LogOptions::kSplunkOptionsFieldNumber; +const int LogOptions::kSumoEndpointFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +LogOptions::LogOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_LogOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.LogOptions) +} +LogOptions::LogOptions(const LogOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + default_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.default_prefix().size() > 0) { + default_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.default_prefix_); + } + file_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.file_name().size() > 0) { + file_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.file_name_); + } + format_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.format().size() > 0) { + format_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.format_); + } + sumo_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.sumo_endpoint().size() > 0) { + sumo_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sumo_endpoint_); + } + if (from.has_buffer_options()) { + buffer_options_ = new ::jasper::BufferOptions(*from.buffer_options_); + } else { + buffer_options_ = NULL; + } + if (from.has_buildlogger_options()) { + buildlogger_options_ = new ::jasper::BuildloggerOptions(*from.buildlogger_options_); + } else { + buildlogger_options_ = NULL; + } + if (from.has_splunk_options()) { + splunk_options_ = new ::jasper::SplunkOptions(*from.splunk_options_); + } else { + splunk_options_ = NULL; + } + in_memory_cap_ = from.in_memory_cap_; + // @@protoc_insertion_point(copy_constructor:jasper.LogOptions) +} + +void LogOptions::SharedCtor() { + default_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + file_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + format_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + sumo_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&buffer_options_, 0, static_cast( + reinterpret_cast(&in_memory_cap_) - + reinterpret_cast(&buffer_options_)) + sizeof(in_memory_cap_)); +} + +LogOptions::~LogOptions() { + // @@protoc_insertion_point(destructor:jasper.LogOptions) + SharedDtor(); +} + +void LogOptions::SharedDtor() { + default_prefix_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + file_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + format_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + sumo_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete buffer_options_; + if (this != internal_default_instance()) delete buildlogger_options_; + if (this != internal_default_instance()) delete splunk_options_; +} + +void LogOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* LogOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const LogOptions& LogOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_LogOptions.base); + return *internal_default_instance(); +} + + +void LogOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.LogOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + default_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + file_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + sumo_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == NULL && buffer_options_ != NULL) { + delete buffer_options_; + } + buffer_options_ = NULL; + if (GetArenaNoVirtual() == NULL && buildlogger_options_ != NULL) { + delete buildlogger_options_; + } + buildlogger_options_ = NULL; + if (GetArenaNoVirtual() == NULL && splunk_options_ != NULL) { + delete splunk_options_; + } + splunk_options_ = NULL; + in_memory_cap_ = GOOGLE_LONGLONG(0); + _internal_metadata_.Clear(); +} + +bool LogOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.LogOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .jasper.BufferOptions buffer_options = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_buffer_options())); + } else { + goto handle_unusual; + } + break; + } + + // .jasper.BuildloggerOptions buildlogger_options = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_buildlogger_options())); + } else { + goto handle_unusual; + } + break; + } + + // string default_prefix = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_default_prefix())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->default_prefix().data(), static_cast(this->default_prefix().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.LogOptions.default_prefix")); + } else { + goto handle_unusual; + } + break; + } + + // string file_name = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_file_name())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->file_name().data(), static_cast(this->file_name().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.LogOptions.file_name")); + } else { + goto handle_unusual; + } + break; + } + + // string format = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_format())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->format().data(), static_cast(this->format().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.LogOptions.format")); + } else { + goto handle_unusual; + } + break; + } + + // int64 in_memory_cap = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &in_memory_cap_))); + } else { + goto handle_unusual; + } + break; + } + + // .jasper.SplunkOptions splunk_options = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_splunk_options())); + } else { + goto handle_unusual; + } + break; + } + + // string sumo_endpoint = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_sumo_endpoint())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->sumo_endpoint().data(), static_cast(this->sumo_endpoint().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.LogOptions.sumo_endpoint")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.LogOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.LogOptions) + return false; +#undef DO_ +} + +void LogOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.LogOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.BufferOptions buffer_options = 1; + if (this->has_buffer_options()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->_internal_buffer_options(), output); + } + + // .jasper.BuildloggerOptions buildlogger_options = 2; + if (this->has_buildlogger_options()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->_internal_buildlogger_options(), output); + } + + // string default_prefix = 3; + if (this->default_prefix().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->default_prefix().data(), static_cast(this->default_prefix().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.LogOptions.default_prefix"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->default_prefix(), output); + } + + // string file_name = 4; + if (this->file_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->file_name().data(), static_cast(this->file_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.LogOptions.file_name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->file_name(), output); + } + + // string format = 5; + if (this->format().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->format().data(), static_cast(this->format().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.LogOptions.format"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 5, this->format(), output); + } + + // int64 in_memory_cap = 6; + if (this->in_memory_cap() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(6, this->in_memory_cap(), output); + } + + // .jasper.SplunkOptions splunk_options = 7; + if (this->has_splunk_options()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, this->_internal_splunk_options(), output); + } + + // string sumo_endpoint = 8; + if (this->sumo_endpoint().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->sumo_endpoint().data(), static_cast(this->sumo_endpoint().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.LogOptions.sumo_endpoint"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 8, this->sumo_endpoint(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.LogOptions) +} + +::google::protobuf::uint8* LogOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.LogOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.BufferOptions buffer_options = 1; + if (this->has_buffer_options()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->_internal_buffer_options(), deterministic, target); + } + + // .jasper.BuildloggerOptions buildlogger_options = 2; + if (this->has_buildlogger_options()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, this->_internal_buildlogger_options(), deterministic, target); + } + + // string default_prefix = 3; + if (this->default_prefix().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->default_prefix().data(), static_cast(this->default_prefix().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.LogOptions.default_prefix"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->default_prefix(), target); + } + + // string file_name = 4; + if (this->file_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->file_name().data(), static_cast(this->file_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.LogOptions.file_name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->file_name(), target); + } + + // string format = 5; + if (this->format().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->format().data(), static_cast(this->format().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.LogOptions.format"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 5, this->format(), target); + } + + // int64 in_memory_cap = 6; + if (this->in_memory_cap() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(6, this->in_memory_cap(), target); + } + + // .jasper.SplunkOptions splunk_options = 7; + if (this->has_splunk_options()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, this->_internal_splunk_options(), deterministic, target); + } + + // string sumo_endpoint = 8; + if (this->sumo_endpoint().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->sumo_endpoint().data(), static_cast(this->sumo_endpoint().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.LogOptions.sumo_endpoint"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 8, this->sumo_endpoint(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.LogOptions) + return target; +} + +size_t LogOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.LogOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string default_prefix = 3; + if (this->default_prefix().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->default_prefix()); + } + + // string file_name = 4; + if (this->file_name().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->file_name()); + } + + // string format = 5; + if (this->format().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->format()); + } + + // string sumo_endpoint = 8; + if (this->sumo_endpoint().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->sumo_endpoint()); + } + + // .jasper.BufferOptions buffer_options = 1; + if (this->has_buffer_options()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *buffer_options_); + } + + // .jasper.BuildloggerOptions buildlogger_options = 2; + if (this->has_buildlogger_options()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *buildlogger_options_); + } + + // .jasper.SplunkOptions splunk_options = 7; + if (this->has_splunk_options()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *splunk_options_); + } + + // int64 in_memory_cap = 6; + if (this->in_memory_cap() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->in_memory_cap()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void LogOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.LogOptions) + GOOGLE_DCHECK_NE(&from, this); + const LogOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.LogOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.LogOptions) + MergeFrom(*source); + } +} + +void LogOptions::MergeFrom(const LogOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.LogOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.default_prefix().size() > 0) { + + default_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.default_prefix_); + } + if (from.file_name().size() > 0) { + + file_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.file_name_); + } + if (from.format().size() > 0) { + + format_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.format_); + } + if (from.sumo_endpoint().size() > 0) { + + sumo_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sumo_endpoint_); + } + if (from.has_buffer_options()) { + mutable_buffer_options()->::jasper::BufferOptions::MergeFrom(from.buffer_options()); + } + if (from.has_buildlogger_options()) { + mutable_buildlogger_options()->::jasper::BuildloggerOptions::MergeFrom(from.buildlogger_options()); + } + if (from.has_splunk_options()) { + mutable_splunk_options()->::jasper::SplunkOptions::MergeFrom(from.splunk_options()); + } + if (from.in_memory_cap() != 0) { + set_in_memory_cap(from.in_memory_cap()); + } +} + +void LogOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.LogOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void LogOptions::CopyFrom(const LogOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.LogOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool LogOptions::IsInitialized() const { + return true; +} + +void LogOptions::Swap(LogOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void LogOptions::InternalSwap(LogOptions* other) { + using std::swap; + default_prefix_.Swap(&other->default_prefix_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + file_name_.Swap(&other->file_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + format_.Swap(&other->format_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + sumo_endpoint_.Swap(&other->sumo_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(buffer_options_, other->buffer_options_); + swap(buildlogger_options_, other->buildlogger_options_); + swap(splunk_options_, other->splunk_options_); + swap(in_memory_cap_, other->in_memory_cap_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata LogOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void BufferOptions::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int BufferOptions::kBufferedFieldNumber; +const int BufferOptions::kDurationFieldNumber; +const int BufferOptions::kMaxSizeFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +BufferOptions::BufferOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_BufferOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.BufferOptions) +} +BufferOptions::BufferOptions(const BufferOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&duration_, &from.duration_, + static_cast(reinterpret_cast(&buffered_) - + reinterpret_cast(&duration_)) + sizeof(buffered_)); + // @@protoc_insertion_point(copy_constructor:jasper.BufferOptions) +} + +void BufferOptions::SharedCtor() { + ::memset(&duration_, 0, static_cast( + reinterpret_cast(&buffered_) - + reinterpret_cast(&duration_)) + sizeof(buffered_)); +} + +BufferOptions::~BufferOptions() { + // @@protoc_insertion_point(destructor:jasper.BufferOptions) + SharedDtor(); +} + +void BufferOptions::SharedDtor() { +} + +void BufferOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* BufferOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const BufferOptions& BufferOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_BufferOptions.base); + return *internal_default_instance(); +} + + +void BufferOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.BufferOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&duration_, 0, static_cast( + reinterpret_cast(&buffered_) - + reinterpret_cast(&duration_)) + sizeof(buffered_)); + _internal_metadata_.Clear(); +} + +bool BufferOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.BufferOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // bool buffered = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &buffered_))); + } else { + goto handle_unusual; + } + break; + } + + // int64 duration = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &duration_))); + } else { + goto handle_unusual; + } + break; + } + + // int64 max_size = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &max_size_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.BufferOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.BufferOptions) + return false; +#undef DO_ +} + +void BufferOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.BufferOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool buffered = 1; + if (this->buffered() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->buffered(), output); + } + + // int64 duration = 2; + if (this->duration() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->duration(), output); + } + + // int64 max_size = 3; + if (this->max_size() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->max_size(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.BufferOptions) +} + +::google::protobuf::uint8* BufferOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.BufferOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool buffered = 1; + if (this->buffered() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->buffered(), target); + } + + // int64 duration = 2; + if (this->duration() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->duration(), target); + } + + // int64 max_size = 3; + if (this->max_size() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->max_size(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.BufferOptions) + return target; +} + +size_t BufferOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.BufferOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // int64 duration = 2; + if (this->duration() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->duration()); + } + + // int64 max_size = 3; + if (this->max_size() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->max_size()); + } + + // bool buffered = 1; + if (this->buffered() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void BufferOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.BufferOptions) + GOOGLE_DCHECK_NE(&from, this); + const BufferOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.BufferOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.BufferOptions) + MergeFrom(*source); + } +} + +void BufferOptions::MergeFrom(const BufferOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.BufferOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.duration() != 0) { + set_duration(from.duration()); + } + if (from.max_size() != 0) { + set_max_size(from.max_size()); + } + if (from.buffered() != 0) { + set_buffered(from.buffered()); + } +} + +void BufferOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.BufferOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void BufferOptions::CopyFrom(const BufferOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.BufferOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool BufferOptions::IsInitialized() const { + return true; +} + +void BufferOptions::Swap(BufferOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void BufferOptions::InternalSwap(BufferOptions* other) { + using std::swap; + swap(duration_, other->duration_); + swap(max_size_, other->max_size_); + swap(buffered_, other->buffered_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata BufferOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void BuildloggerOptions::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int BuildloggerOptions::kCreateTestFieldNumber; +const int BuildloggerOptions::kUrlFieldNumber; +const int BuildloggerOptions::kNumberFieldNumber; +const int BuildloggerOptions::kPhaseFieldNumber; +const int BuildloggerOptions::kBuilderFieldNumber; +const int BuildloggerOptions::kTestFieldNumber; +const int BuildloggerOptions::kCommandFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +BuildloggerOptions::BuildloggerOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_BuildloggerOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.BuildloggerOptions) +} +BuildloggerOptions::BuildloggerOptions(const BuildloggerOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.url().size() > 0) { + url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); + } + phase_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.phase().size() > 0) { + phase_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.phase_); + } + builder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.builder().size() > 0) { + builder_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.builder_); + } + test_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.test().size() > 0) { + test_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.test_); + } + command_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.command().size() > 0) { + command_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_); + } + ::memcpy(&number_, &from.number_, + static_cast(reinterpret_cast(&create_test_) - + reinterpret_cast(&number_)) + sizeof(create_test_)); + // @@protoc_insertion_point(copy_constructor:jasper.BuildloggerOptions) +} + +void BuildloggerOptions::SharedCtor() { + url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + phase_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + builder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + test_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + command_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&number_, 0, static_cast( + reinterpret_cast(&create_test_) - + reinterpret_cast(&number_)) + sizeof(create_test_)); +} + +BuildloggerOptions::~BuildloggerOptions() { + // @@protoc_insertion_point(destructor:jasper.BuildloggerOptions) + SharedDtor(); +} + +void BuildloggerOptions::SharedDtor() { + url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + phase_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + builder_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + test_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + command_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void BuildloggerOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* BuildloggerOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const BuildloggerOptions& BuildloggerOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_BuildloggerOptions.base); + return *internal_default_instance(); +} + + +void BuildloggerOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.BuildloggerOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + phase_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + builder_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + test_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + command_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&number_, 0, static_cast( + reinterpret_cast(&create_test_) - + reinterpret_cast(&number_)) + sizeof(create_test_)); + _internal_metadata_.Clear(); +} + +bool BuildloggerOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.BuildloggerOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // bool create_test = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &create_test_))); + } else { + goto handle_unusual; + } + break; + } + + // string url = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_url())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->url().data(), static_cast(this->url().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.BuildloggerOptions.url")); + } else { + goto handle_unusual; + } + break; + } + + // int64 number = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &number_))); + } else { + goto handle_unusual; + } + break; + } + + // string phase = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_phase())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->phase().data(), static_cast(this->phase().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.BuildloggerOptions.phase")); + } else { + goto handle_unusual; + } + break; + } + + // string builder = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_builder())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->builder().data(), static_cast(this->builder().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.BuildloggerOptions.builder")); + } else { + goto handle_unusual; + } + break; + } + + // string test = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_test())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->test().data(), static_cast(this->test().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.BuildloggerOptions.test")); + } else { + goto handle_unusual; + } + break; + } + + // string command = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_command())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->command().data(), static_cast(this->command().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.BuildloggerOptions.command")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.BuildloggerOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.BuildloggerOptions) + return false; +#undef DO_ +} + +void BuildloggerOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.BuildloggerOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool create_test = 1; + if (this->create_test() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->create_test(), output); + } + + // string url = 2; + if (this->url().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->url().data(), static_cast(this->url().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.url"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->url(), output); + } + + // int64 number = 3; + if (this->number() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->number(), output); + } + + // string phase = 4; + if (this->phase().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->phase().data(), static_cast(this->phase().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.phase"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->phase(), output); + } + + // string builder = 5; + if (this->builder().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->builder().data(), static_cast(this->builder().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.builder"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 5, this->builder(), output); + } + + // string test = 6; + if (this->test().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->test().data(), static_cast(this->test().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.test"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 6, this->test(), output); + } + + // string command = 7; + if (this->command().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->command().data(), static_cast(this->command().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.command"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 7, this->command(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.BuildloggerOptions) +} + +::google::protobuf::uint8* BuildloggerOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.BuildloggerOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool create_test = 1; + if (this->create_test() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->create_test(), target); + } + + // string url = 2; + if (this->url().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->url().data(), static_cast(this->url().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.url"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->url(), target); + } + + // int64 number = 3; + if (this->number() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->number(), target); + } + + // string phase = 4; + if (this->phase().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->phase().data(), static_cast(this->phase().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.phase"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->phase(), target); + } + + // string builder = 5; + if (this->builder().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->builder().data(), static_cast(this->builder().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.builder"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 5, this->builder(), target); + } + + // string test = 6; + if (this->test().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->test().data(), static_cast(this->test().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.test"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 6, this->test(), target); + } + + // string command = 7; + if (this->command().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->command().data(), static_cast(this->command().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerOptions.command"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 7, this->command(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.BuildloggerOptions) + return target; +} + +size_t BuildloggerOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.BuildloggerOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string url = 2; + if (this->url().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->url()); + } + + // string phase = 4; + if (this->phase().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->phase()); + } + + // string builder = 5; + if (this->builder().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->builder()); + } + + // string test = 6; + if (this->test().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->test()); + } + + // string command = 7; + if (this->command().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->command()); + } + + // int64 number = 3; + if (this->number() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->number()); + } + + // bool create_test = 1; + if (this->create_test() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void BuildloggerOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.BuildloggerOptions) + GOOGLE_DCHECK_NE(&from, this); + const BuildloggerOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.BuildloggerOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.BuildloggerOptions) + MergeFrom(*source); + } +} + +void BuildloggerOptions::MergeFrom(const BuildloggerOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.BuildloggerOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.url().size() > 0) { + + url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); + } + if (from.phase().size() > 0) { + + phase_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.phase_); + } + if (from.builder().size() > 0) { + + builder_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.builder_); + } + if (from.test().size() > 0) { + + test_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.test_); + } + if (from.command().size() > 0) { + + command_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_); + } + if (from.number() != 0) { + set_number(from.number()); + } + if (from.create_test() != 0) { + set_create_test(from.create_test()); + } +} + +void BuildloggerOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.BuildloggerOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void BuildloggerOptions::CopyFrom(const BuildloggerOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.BuildloggerOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool BuildloggerOptions::IsInitialized() const { + return true; +} + +void BuildloggerOptions::Swap(BuildloggerOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void BuildloggerOptions::InternalSwap(BuildloggerOptions* other) { + using std::swap; + url_.Swap(&other->url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + phase_.Swap(&other->phase_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + builder_.Swap(&other->builder_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + test_.Swap(&other->test_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + command_.Swap(&other->command_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(number_, other->number_); + swap(create_test_, other->create_test_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata BuildloggerOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SplunkOptions::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SplunkOptions::kUrlFieldNumber; +const int SplunkOptions::kTokenFieldNumber; +const int SplunkOptions::kChannelFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SplunkOptions::SplunkOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_SplunkOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.SplunkOptions) +} +SplunkOptions::SplunkOptions(const SplunkOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.url().size() > 0) { + url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); + } + token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.token().size() > 0) { + token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); + } + channel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.channel().size() > 0) { + channel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.channel_); + } + // @@protoc_insertion_point(copy_constructor:jasper.SplunkOptions) +} + +void SplunkOptions::SharedCtor() { + url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + channel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +SplunkOptions::~SplunkOptions() { + // @@protoc_insertion_point(destructor:jasper.SplunkOptions) + SharedDtor(); +} + +void SplunkOptions::SharedDtor() { + url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + channel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void SplunkOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SplunkOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SplunkOptions& SplunkOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_SplunkOptions.base); + return *internal_default_instance(); +} + + +void SplunkOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.SplunkOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + channel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +bool SplunkOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.SplunkOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string url = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_url())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->url().data(), static_cast(this->url().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.SplunkOptions.url")); + } else { + goto handle_unusual; + } + break; + } + + // string token = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_token())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->token().data(), static_cast(this->token().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.SplunkOptions.token")); + } else { + goto handle_unusual; + } + break; + } + + // string channel = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_channel())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->channel().data(), static_cast(this->channel().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.SplunkOptions.channel")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.SplunkOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.SplunkOptions) + return false; +#undef DO_ +} + +void SplunkOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.SplunkOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string url = 1; + if (this->url().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->url().data(), static_cast(this->url().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.SplunkOptions.url"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->url(), output); + } + + // string token = 2; + if (this->token().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->token().data(), static_cast(this->token().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.SplunkOptions.token"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->token(), output); + } + + // string channel = 3; + if (this->channel().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->channel().data(), static_cast(this->channel().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.SplunkOptions.channel"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->channel(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.SplunkOptions) +} + +::google::protobuf::uint8* SplunkOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.SplunkOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string url = 1; + if (this->url().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->url().data(), static_cast(this->url().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.SplunkOptions.url"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->url(), target); + } + + // string token = 2; + if (this->token().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->token().data(), static_cast(this->token().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.SplunkOptions.token"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->token(), target); + } + + // string channel = 3; + if (this->channel().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->channel().data(), static_cast(this->channel().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.SplunkOptions.channel"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->channel(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.SplunkOptions) + return target; +} + +size_t SplunkOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.SplunkOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string url = 1; + if (this->url().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->url()); + } + + // string token = 2; + if (this->token().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->token()); + } + + // string channel = 3; + if (this->channel().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->channel()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SplunkOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.SplunkOptions) + GOOGLE_DCHECK_NE(&from, this); + const SplunkOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.SplunkOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.SplunkOptions) + MergeFrom(*source); + } +} + +void SplunkOptions::MergeFrom(const SplunkOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.SplunkOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.url().size() > 0) { + + url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); + } + if (from.token().size() > 0) { + + token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); + } + if (from.channel().size() > 0) { + + channel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.channel_); + } +} + +void SplunkOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.SplunkOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SplunkOptions::CopyFrom(const SplunkOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.SplunkOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SplunkOptions::IsInitialized() const { + return true; +} + +void SplunkOptions::Swap(SplunkOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void SplunkOptions::InternalSwap(SplunkOptions* other) { + using std::swap; + url_.Swap(&other->url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + channel_.Swap(&other->channel_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SplunkOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +CreateOptions_EnvironmentEntry_DoNotUse::CreateOptions_EnvironmentEntry_DoNotUse() {} +CreateOptions_EnvironmentEntry_DoNotUse::CreateOptions_EnvironmentEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} +void CreateOptions_EnvironmentEntry_DoNotUse::MergeFrom(const CreateOptions_EnvironmentEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::google::protobuf::Metadata CreateOptions_EnvironmentEntry_DoNotUse::GetMetadata() const { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[6]; +} +void CreateOptions_EnvironmentEntry_DoNotUse::MergeFrom( + const ::google::protobuf::Message& other) { + ::google::protobuf::Message::MergeFrom(other); +} + + +// =================================================================== + +void CreateOptions::InitAsDefaultInstance() { + ::jasper::_CreateOptions_default_instance_._instance.get_mutable()->output_ = const_cast< ::jasper::OutputOptions*>( + ::jasper::OutputOptions::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CreateOptions::kArgsFieldNumber; +const int CreateOptions::kWorkingDirectoryFieldNumber; +const int CreateOptions::kEnvironmentFieldNumber; +const int CreateOptions::kOverrideEnvironFieldNumber; +const int CreateOptions::kTimeoutSecondsFieldNumber; +const int CreateOptions::kTagsFieldNumber; +const int CreateOptions::kOnSuccessFieldNumber; +const int CreateOptions::kOnFailureFieldNumber; +const int CreateOptions::kOnTimeoutFieldNumber; +const int CreateOptions::kOutputFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CreateOptions::CreateOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_CreateOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.CreateOptions) +} +CreateOptions::CreateOptions(const CreateOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + args_(from.args_), + tags_(from.tags_), + on_success_(from.on_success_), + on_failure_(from.on_failure_), + on_timeout_(from.on_timeout_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + environment_.MergeFrom(from.environment_); + working_directory_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.working_directory().size() > 0) { + working_directory_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.working_directory_); + } + if (from.has_output()) { + output_ = new ::jasper::OutputOptions(*from.output_); + } else { + output_ = NULL; + } + ::memcpy(&timeout_seconds_, &from.timeout_seconds_, + static_cast(reinterpret_cast(&override_environ_) - + reinterpret_cast(&timeout_seconds_)) + sizeof(override_environ_)); + // @@protoc_insertion_point(copy_constructor:jasper.CreateOptions) +} + +void CreateOptions::SharedCtor() { + working_directory_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&output_, 0, static_cast( + reinterpret_cast(&override_environ_) - + reinterpret_cast(&output_)) + sizeof(override_environ_)); +} + +CreateOptions::~CreateOptions() { + // @@protoc_insertion_point(destructor:jasper.CreateOptions) + SharedDtor(); +} + +void CreateOptions::SharedDtor() { + working_directory_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete output_; +} + +void CreateOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* CreateOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const CreateOptions& CreateOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_CreateOptions.base); + return *internal_default_instance(); +} + + +void CreateOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.CreateOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + args_.Clear(); + environment_.Clear(); + tags_.Clear(); + on_success_.Clear(); + on_failure_.Clear(); + on_timeout_.Clear(); + working_directory_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == NULL && output_ != NULL) { + delete output_; + } + output_ = NULL; + ::memset(&timeout_seconds_, 0, static_cast( + reinterpret_cast(&override_environ_) - + reinterpret_cast(&timeout_seconds_)) + sizeof(override_environ_)); + _internal_metadata_.Clear(); +} + +bool CreateOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.CreateOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated string args = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_args())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->args(this->args_size() - 1).data(), + static_cast(this->args(this->args_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.CreateOptions.args")); + } else { + goto handle_unusual; + } + break; + } + + // string working_directory = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_working_directory())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->working_directory().data(), static_cast(this->working_directory().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.CreateOptions.working_directory")); + } else { + goto handle_unusual; + } + break; + } + + // map environment = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + CreateOptions_EnvironmentEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + CreateOptions_EnvironmentEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 >, + ::google::protobuf::Map< ::std::string, ::std::string > > parser(&environment_); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, &parser)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.CreateOptions.EnvironmentEntry.key")); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.value().data(), static_cast(parser.value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.CreateOptions.EnvironmentEntry.value")); + } else { + goto handle_unusual; + } + break; + } + + // bool override_environ = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &override_environ_))); + } else { + goto handle_unusual; + } + break; + } + + // int64 timeout_seconds = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &timeout_seconds_))); + } else { + goto handle_unusual; + } + break; + } + + // repeated string tags = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_tags())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(this->tags_size() - 1).data(), + static_cast(this->tags(this->tags_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.CreateOptions.tags")); + } else { + goto handle_unusual; + } + break; + } + + // repeated .jasper.CreateOptions on_success = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_on_success())); + } else { + goto handle_unusual; + } + break; + } + + // repeated .jasper.CreateOptions on_failure = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_on_failure())); + } else { + goto handle_unusual; + } + break; + } + + // repeated .jasper.CreateOptions on_timeout = 9; + case 9: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_on_timeout())); + } else { + goto handle_unusual; + } + break; + } + + // .jasper.OutputOptions output = 10; + case 10: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_output())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.CreateOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.CreateOptions) + return false; +#undef DO_ +} + +void CreateOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.CreateOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string args = 1; + for (int i = 0, n = this->args_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->args(i).data(), static_cast(this->args(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.args"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->args(i), output); + } + + // string working_directory = 2; + if (this->working_directory().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->working_directory().data(), static_cast(this->working_directory().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.working_directory"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->working_directory(), output); + } + + // map environment = 3; + if (!this->environment().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.EnvironmentEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.EnvironmentEntry.value"); + } + }; + + if (output->IsSerializationDeterministic() && + this->environment().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->environment().size()]); + typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->environment().begin(); + it != this->environment().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(environment_.NewEntryWrapper( + items[static_cast(i)]->first, items[static_cast(i)]->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, *entry, output); + Utf8Check::Check(items[static_cast(i)]); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->environment().begin(); + it != this->environment().end(); ++it) { + entry.reset(environment_.NewEntryWrapper( + it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, *entry, output); + Utf8Check::Check(&*it); + } + } + } + + // bool override_environ = 4; + if (this->override_environ() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->override_environ(), output); + } + + // int64 timeout_seconds = 5; + if (this->timeout_seconds() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->timeout_seconds(), output); + } + + // repeated string tags = 6; + for (int i = 0, n = this->tags_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(i).data(), static_cast(this->tags(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.tags"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 6, this->tags(i), output); + } + + // repeated .jasper.CreateOptions on_success = 7; + for (unsigned int i = 0, + n = static_cast(this->on_success_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, + this->on_success(static_cast(i)), + output); + } + + // repeated .jasper.CreateOptions on_failure = 8; + for (unsigned int i = 0, + n = static_cast(this->on_failure_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, + this->on_failure(static_cast(i)), + output); + } + + // repeated .jasper.CreateOptions on_timeout = 9; + for (unsigned int i = 0, + n = static_cast(this->on_timeout_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 9, + this->on_timeout(static_cast(i)), + output); + } + + // .jasper.OutputOptions output = 10; + if (this->has_output()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 10, this->_internal_output(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.CreateOptions) +} + +::google::protobuf::uint8* CreateOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.CreateOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string args = 1; + for (int i = 0, n = this->args_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->args(i).data(), static_cast(this->args(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.args"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->args(i), target); + } + + // string working_directory = 2; + if (this->working_directory().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->working_directory().data(), static_cast(this->working_directory().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.working_directory"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->working_directory(), target); + } + + // map environment = 3; + if (!this->environment().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.EnvironmentEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.EnvironmentEntry.value"); + } + }; + + if (deterministic && + this->environment().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->environment().size()]); + typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->environment().begin(); + it != this->environment().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(environment_.NewEntryWrapper( + items[static_cast(i)]->first, items[static_cast(i)]->second)); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageNoVirtualToArray( + 3, *entry, deterministic, target); +; + Utf8Check::Check(items[static_cast(i)]); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->environment().begin(); + it != this->environment().end(); ++it) { + entry.reset(environment_.NewEntryWrapper( + it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageNoVirtualToArray( + 3, *entry, deterministic, target); +; + Utf8Check::Check(&*it); + } + } + } + + // bool override_environ = 4; + if (this->override_environ() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->override_environ(), target); + } + + // int64 timeout_seconds = 5; + if (this->timeout_seconds() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->timeout_seconds(), target); + } + + // repeated string tags = 6; + for (int i = 0, n = this->tags_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(i).data(), static_cast(this->tags(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.CreateOptions.tags"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(6, this->tags(i), target); + } + + // repeated .jasper.CreateOptions on_success = 7; + for (unsigned int i = 0, + n = static_cast(this->on_success_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, this->on_success(static_cast(i)), deterministic, target); + } + + // repeated .jasper.CreateOptions on_failure = 8; + for (unsigned int i = 0, + n = static_cast(this->on_failure_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, this->on_failure(static_cast(i)), deterministic, target); + } + + // repeated .jasper.CreateOptions on_timeout = 9; + for (unsigned int i = 0, + n = static_cast(this->on_timeout_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, this->on_timeout(static_cast(i)), deterministic, target); + } + + // .jasper.OutputOptions output = 10; + if (this->has_output()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, this->_internal_output(), deterministic, target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.CreateOptions) + return target; +} + +size_t CreateOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.CreateOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // repeated string args = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->args_size()); + for (int i = 0, n = this->args_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->args(i)); + } + + // map environment = 3; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->environment_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->environment().begin(); + it != this->environment().end(); ++it) { + entry.reset(environment_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + + // repeated string tags = 6; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->tags_size()); + for (int i = 0, n = this->tags_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->tags(i)); + } + + // repeated .jasper.CreateOptions on_success = 7; + { + unsigned int count = static_cast(this->on_success_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->on_success(static_cast(i))); + } + } + + // repeated .jasper.CreateOptions on_failure = 8; + { + unsigned int count = static_cast(this->on_failure_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->on_failure(static_cast(i))); + } + } + + // repeated .jasper.CreateOptions on_timeout = 9; + { + unsigned int count = static_cast(this->on_timeout_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->on_timeout(static_cast(i))); + } + } + + // string working_directory = 2; + if (this->working_directory().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->working_directory()); + } + + // .jasper.OutputOptions output = 10; + if (this->has_output()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *output_); + } + + // int64 timeout_seconds = 5; + if (this->timeout_seconds() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->timeout_seconds()); + } + + // bool override_environ = 4; + if (this->override_environ() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CreateOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.CreateOptions) + GOOGLE_DCHECK_NE(&from, this); + const CreateOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.CreateOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.CreateOptions) + MergeFrom(*source); + } +} + +void CreateOptions::MergeFrom(const CreateOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.CreateOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + args_.MergeFrom(from.args_); + environment_.MergeFrom(from.environment_); + tags_.MergeFrom(from.tags_); + on_success_.MergeFrom(from.on_success_); + on_failure_.MergeFrom(from.on_failure_); + on_timeout_.MergeFrom(from.on_timeout_); + if (from.working_directory().size() > 0) { + + working_directory_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.working_directory_); + } + if (from.has_output()) { + mutable_output()->::jasper::OutputOptions::MergeFrom(from.output()); + } + if (from.timeout_seconds() != 0) { + set_timeout_seconds(from.timeout_seconds()); + } + if (from.override_environ() != 0) { + set_override_environ(from.override_environ()); + } +} + +void CreateOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.CreateOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateOptions::CopyFrom(const CreateOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.CreateOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateOptions::IsInitialized() const { + return true; +} + +void CreateOptions::Swap(CreateOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void CreateOptions::InternalSwap(CreateOptions* other) { + using std::swap; + args_.InternalSwap(CastToBase(&other->args_)); + environment_.Swap(&other->environment_); + tags_.InternalSwap(CastToBase(&other->tags_)); + CastToBase(&on_success_)->InternalSwap(CastToBase(&other->on_success_)); + CastToBase(&on_failure_)->InternalSwap(CastToBase(&other->on_failure_)); + CastToBase(&on_timeout_)->InternalSwap(CastToBase(&other->on_timeout_)); + working_directory_.Swap(&other->working_directory_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(output_, other->output_); + swap(timeout_seconds_, other->timeout_seconds_); + swap(override_environ_, other->override_environ_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CreateOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void ProcessInfo::InitAsDefaultInstance() { + ::jasper::_ProcessInfo_default_instance_._instance.get_mutable()->options_ = const_cast< ::jasper::CreateOptions*>( + ::jasper::CreateOptions::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ProcessInfo::kIdFieldNumber; +const int ProcessInfo::kPidFieldNumber; +const int ProcessInfo::kHostIdFieldNumber; +const int ProcessInfo::kRunningFieldNumber; +const int ProcessInfo::kSuccessfulFieldNumber; +const int ProcessInfo::kCompleteFieldNumber; +const int ProcessInfo::kTimedoutFieldNumber; +const int ProcessInfo::kOptionsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ProcessInfo::ProcessInfo() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_ProcessInfo.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.ProcessInfo) +} +ProcessInfo::ProcessInfo(const ProcessInfo& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.id().size() > 0) { + id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); + } + host_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.host_id().size() > 0) { + host_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.host_id_); + } + if (from.has_options()) { + options_ = new ::jasper::CreateOptions(*from.options_); + } else { + options_ = NULL; + } + ::memcpy(&pid_, &from.pid_, + static_cast(reinterpret_cast(&timedout_) - + reinterpret_cast(&pid_)) + sizeof(timedout_)); + // @@protoc_insertion_point(copy_constructor:jasper.ProcessInfo) +} + +void ProcessInfo::SharedCtor() { + id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + host_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&options_, 0, static_cast( + reinterpret_cast(&timedout_) - + reinterpret_cast(&options_)) + sizeof(timedout_)); +} + +ProcessInfo::~ProcessInfo() { + // @@protoc_insertion_point(destructor:jasper.ProcessInfo) + SharedDtor(); +} + +void ProcessInfo::SharedDtor() { + id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + host_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete options_; +} + +void ProcessInfo::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* ProcessInfo::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const ProcessInfo& ProcessInfo::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_ProcessInfo.base); + return *internal_default_instance(); +} + + +void ProcessInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.ProcessInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + host_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == NULL && options_ != NULL) { + delete options_; + } + options_ = NULL; + ::memset(&pid_, 0, static_cast( + reinterpret_cast(&timedout_) - + reinterpret_cast(&pid_)) + sizeof(timedout_)); + _internal_metadata_.Clear(); +} + +bool ProcessInfo::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.ProcessInfo) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_id())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->id().data(), static_cast(this->id().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.ProcessInfo.id")); + } else { + goto handle_unusual; + } + break; + } + + // int64 pid = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &pid_))); + } else { + goto handle_unusual; + } + break; + } + + // string host_id = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_host_id())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->host_id().data(), static_cast(this->host_id().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.ProcessInfo.host_id")); + } else { + goto handle_unusual; + } + break; + } + + // bool running = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &running_))); + } else { + goto handle_unusual; + } + break; + } + + // bool successful = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &successful_))); + } else { + goto handle_unusual; + } + break; + } + + // bool complete = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &complete_))); + } else { + goto handle_unusual; + } + break; + } + + // bool timedout = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &timedout_))); + } else { + goto handle_unusual; + } + break; + } + + // .jasper.CreateOptions options = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_options())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.ProcessInfo) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.ProcessInfo) + return false; +#undef DO_ +} + +void ProcessInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.ProcessInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string id = 1; + if (this->id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->id().data(), static_cast(this->id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ProcessInfo.id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->id(), output); + } + + // int64 pid = 2; + if (this->pid() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->pid(), output); + } + + // string host_id = 3; + if (this->host_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->host_id().data(), static_cast(this->host_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ProcessInfo.host_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->host_id(), output); + } + + // bool running = 4; + if (this->running() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->running(), output); + } + + // bool successful = 5; + if (this->successful() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->successful(), output); + } + + // bool complete = 6; + if (this->complete() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->complete(), output); + } + + // bool timedout = 7; + if (this->timedout() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->timedout(), output); + } + + // .jasper.CreateOptions options = 8; + if (this->has_options()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, this->_internal_options(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.ProcessInfo) +} + +::google::protobuf::uint8* ProcessInfo::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.ProcessInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string id = 1; + if (this->id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->id().data(), static_cast(this->id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ProcessInfo.id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->id(), target); + } + + // int64 pid = 2; + if (this->pid() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->pid(), target); + } + + // string host_id = 3; + if (this->host_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->host_id().data(), static_cast(this->host_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ProcessInfo.host_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->host_id(), target); + } + + // bool running = 4; + if (this->running() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->running(), target); + } + + // bool successful = 5; + if (this->successful() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->successful(), target); + } + + // bool complete = 6; + if (this->complete() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->complete(), target); + } + + // bool timedout = 7; + if (this->timedout() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->timedout(), target); + } + + // .jasper.CreateOptions options = 8; + if (this->has_options()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, this->_internal_options(), deterministic, target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.ProcessInfo) + return target; +} + +size_t ProcessInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.ProcessInfo) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string id = 1; + if (this->id().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->id()); + } + + // string host_id = 3; + if (this->host_id().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->host_id()); + } + + // .jasper.CreateOptions options = 8; + if (this->has_options()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *options_); + } + + // int64 pid = 2; + if (this->pid() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->pid()); + } + + // bool running = 4; + if (this->running() != 0) { + total_size += 1 + 1; + } + + // bool successful = 5; + if (this->successful() != 0) { + total_size += 1 + 1; + } + + // bool complete = 6; + if (this->complete() != 0) { + total_size += 1 + 1; + } + + // bool timedout = 7; + if (this->timedout() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ProcessInfo::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.ProcessInfo) + GOOGLE_DCHECK_NE(&from, this); + const ProcessInfo* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.ProcessInfo) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.ProcessInfo) + MergeFrom(*source); + } +} + +void ProcessInfo::MergeFrom(const ProcessInfo& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.ProcessInfo) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.id().size() > 0) { + + id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); + } + if (from.host_id().size() > 0) { + + host_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.host_id_); + } + if (from.has_options()) { + mutable_options()->::jasper::CreateOptions::MergeFrom(from.options()); + } + if (from.pid() != 0) { + set_pid(from.pid()); + } + if (from.running() != 0) { + set_running(from.running()); + } + if (from.successful() != 0) { + set_successful(from.successful()); + } + if (from.complete() != 0) { + set_complete(from.complete()); + } + if (from.timedout() != 0) { + set_timedout(from.timedout()); + } +} + +void ProcessInfo::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.ProcessInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ProcessInfo::CopyFrom(const ProcessInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.ProcessInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProcessInfo::IsInitialized() const { + return true; +} + +void ProcessInfo::Swap(ProcessInfo* other) { + if (other == this) return; + InternalSwap(other); +} +void ProcessInfo::InternalSwap(ProcessInfo* other) { + using std::swap; + id_.Swap(&other->id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + host_id_.Swap(&other->host_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(options_, other->options_); + swap(pid_, other->pid_); + swap(running_, other->running_); + swap(successful_, other->successful_); + swap(complete_, other->complete_); + swap(timedout_, other->timedout_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata ProcessInfo::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void StatusResponse::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int StatusResponse::kHostIdFieldNumber; +const int StatusResponse::kActiveFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +StatusResponse::StatusResponse() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_StatusResponse.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.StatusResponse) +} +StatusResponse::StatusResponse(const StatusResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + host_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.host_id().size() > 0) { + host_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.host_id_); + } + active_ = from.active_; + // @@protoc_insertion_point(copy_constructor:jasper.StatusResponse) +} + +void StatusResponse::SharedCtor() { + host_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + active_ = false; +} + +StatusResponse::~StatusResponse() { + // @@protoc_insertion_point(destructor:jasper.StatusResponse) + SharedDtor(); +} + +void StatusResponse::SharedDtor() { + host_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void StatusResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* StatusResponse::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const StatusResponse& StatusResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_StatusResponse.base); + return *internal_default_instance(); +} + + +void StatusResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.StatusResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + host_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + active_ = false; + _internal_metadata_.Clear(); +} + +bool StatusResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.StatusResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string host_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_host_id())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->host_id().data(), static_cast(this->host_id().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.StatusResponse.host_id")); + } else { + goto handle_unusual; + } + break; + } + + // bool active = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &active_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.StatusResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.StatusResponse) + return false; +#undef DO_ +} + +void StatusResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.StatusResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string host_id = 1; + if (this->host_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->host_id().data(), static_cast(this->host_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.StatusResponse.host_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->host_id(), output); + } + + // bool active = 2; + if (this->active() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->active(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.StatusResponse) +} + +::google::protobuf::uint8* StatusResponse::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.StatusResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string host_id = 1; + if (this->host_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->host_id().data(), static_cast(this->host_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.StatusResponse.host_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->host_id(), target); + } + + // bool active = 2; + if (this->active() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->active(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.StatusResponse) + return target; +} + +size_t StatusResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.StatusResponse) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string host_id = 1; + if (this->host_id().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->host_id()); + } + + // bool active = 2; + if (this->active() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void StatusResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.StatusResponse) + GOOGLE_DCHECK_NE(&from, this); + const StatusResponse* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.StatusResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.StatusResponse) + MergeFrom(*source); + } +} + +void StatusResponse::MergeFrom(const StatusResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.StatusResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.host_id().size() > 0) { + + host_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.host_id_); + } + if (from.active() != 0) { + set_active(from.active()); + } +} + +void StatusResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.StatusResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void StatusResponse::CopyFrom(const StatusResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.StatusResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool StatusResponse::IsInitialized() const { + return true; +} + +void StatusResponse::Swap(StatusResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void StatusResponse::InternalSwap(StatusResponse* other) { + using std::swap; + host_id_.Swap(&other->host_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(active_, other->active_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata StatusResponse::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void Filter::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Filter::kNameFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Filter::Filter() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_Filter.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.Filter) +} +Filter::Filter(const Filter& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + name_ = from.name_; + // @@protoc_insertion_point(copy_constructor:jasper.Filter) +} + +void Filter::SharedCtor() { + name_ = 0; +} + +Filter::~Filter() { + // @@protoc_insertion_point(destructor:jasper.Filter) + SharedDtor(); +} + +void Filter::SharedDtor() { +} + +void Filter::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* Filter::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const Filter& Filter::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_Filter.base); + return *internal_default_instance(); +} + + +void Filter::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.Filter) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + name_ = 0; + _internal_metadata_.Clear(); +} + +bool Filter::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.Filter) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .jasper.FilterSpecifications name = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_name(static_cast< ::jasper::FilterSpecifications >(value)); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.Filter) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.Filter) + return false; +#undef DO_ +} + +void Filter::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.Filter) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.FilterSpecifications name = 1; + if (this->name() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->name(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.Filter) +} + +::google::protobuf::uint8* Filter::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.Filter) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.FilterSpecifications name = 1; + if (this->name() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->name(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.Filter) + return target; +} + +size_t Filter::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.Filter) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // .jasper.FilterSpecifications name = 1; + if (this->name() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->name()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Filter::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.Filter) + GOOGLE_DCHECK_NE(&from, this); + const Filter* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.Filter) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.Filter) + MergeFrom(*source); + } +} + +void Filter::MergeFrom(const Filter& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.Filter) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.name() != 0) { + set_name(from.name()); + } +} + +void Filter::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.Filter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Filter::CopyFrom(const Filter& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.Filter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Filter::IsInitialized() const { + return true; +} + +void Filter::Swap(Filter* other) { + if (other == this) return; + InternalSwap(other); +} +void Filter::InternalSwap(Filter* other) { + using std::swap; + swap(name_, other->name_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata Filter::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SignalProcess::InitAsDefaultInstance() { + ::jasper::_SignalProcess_default_instance_._instance.get_mutable()->processid_ = const_cast< ::jasper::JasperProcessID*>( + ::jasper::JasperProcessID::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SignalProcess::kProcessIDFieldNumber; +const int SignalProcess::kSignalFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SignalProcess::SignalProcess() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_SignalProcess.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.SignalProcess) +} +SignalProcess::SignalProcess(const SignalProcess& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_processid()) { + processid_ = new ::jasper::JasperProcessID(*from.processid_); + } else { + processid_ = NULL; + } + signal_ = from.signal_; + // @@protoc_insertion_point(copy_constructor:jasper.SignalProcess) +} + +void SignalProcess::SharedCtor() { + ::memset(&processid_, 0, static_cast( + reinterpret_cast(&signal_) - + reinterpret_cast(&processid_)) + sizeof(signal_)); +} + +SignalProcess::~SignalProcess() { + // @@protoc_insertion_point(destructor:jasper.SignalProcess) + SharedDtor(); +} + +void SignalProcess::SharedDtor() { + if (this != internal_default_instance()) delete processid_; +} + +void SignalProcess::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SignalProcess::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SignalProcess& SignalProcess::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_SignalProcess.base); + return *internal_default_instance(); +} + + +void SignalProcess::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.SignalProcess) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == NULL && processid_ != NULL) { + delete processid_; + } + processid_ = NULL; + signal_ = 0; + _internal_metadata_.Clear(); +} + +bool SignalProcess::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.SignalProcess) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .jasper.JasperProcessID ProcessID = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_processid())); + } else { + goto handle_unusual; + } + break; + } + + // .jasper.Signals signal = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_signal(static_cast< ::jasper::Signals >(value)); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.SignalProcess) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.SignalProcess) + return false; +#undef DO_ +} + +void SignalProcess::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.SignalProcess) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.JasperProcessID ProcessID = 1; + if (this->has_processid()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->_internal_processid(), output); + } + + // .jasper.Signals signal = 2; + if (this->signal() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 2, this->signal(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.SignalProcess) +} + +::google::protobuf::uint8* SignalProcess::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.SignalProcess) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.JasperProcessID ProcessID = 1; + if (this->has_processid()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->_internal_processid(), deterministic, target); + } + + // .jasper.Signals signal = 2; + if (this->signal() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 2, this->signal(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.SignalProcess) + return target; +} + +size_t SignalProcess::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.SignalProcess) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // .jasper.JasperProcessID ProcessID = 1; + if (this->has_processid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *processid_); + } + + // .jasper.Signals signal = 2; + if (this->signal() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->signal()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SignalProcess::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.SignalProcess) + GOOGLE_DCHECK_NE(&from, this); + const SignalProcess* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.SignalProcess) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.SignalProcess) + MergeFrom(*source); + } +} + +void SignalProcess::MergeFrom(const SignalProcess& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.SignalProcess) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_processid()) { + mutable_processid()->::jasper::JasperProcessID::MergeFrom(from.processid()); + } + if (from.signal() != 0) { + set_signal(from.signal()); + } +} + +void SignalProcess::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.SignalProcess) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SignalProcess::CopyFrom(const SignalProcess& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.SignalProcess) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SignalProcess::IsInitialized() const { + return true; +} + +void SignalProcess::Swap(SignalProcess* other) { + if (other == this) return; + InternalSwap(other); +} +void SignalProcess::InternalSwap(SignalProcess* other) { + using std::swap; + swap(processid_, other->processid_); + swap(signal_, other->signal_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SignalProcess::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void TagName::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int TagName::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +TagName::TagName() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_TagName.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.TagName) +} +TagName::TagName(const TagName& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.value().size() > 0) { + value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); + } + // @@protoc_insertion_point(copy_constructor:jasper.TagName) +} + +void TagName::SharedCtor() { + value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +TagName::~TagName() { + // @@protoc_insertion_point(destructor:jasper.TagName) + SharedDtor(); +} + +void TagName::SharedDtor() { + value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void TagName::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* TagName::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const TagName& TagName::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_TagName.base); + return *internal_default_instance(); +} + + +void TagName::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.TagName) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +bool TagName::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.TagName) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string value = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_value())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->value().data(), static_cast(this->value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.TagName.value")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.TagName) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.TagName) + return false; +#undef DO_ +} + +void TagName::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.TagName) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string value = 1; + if (this->value().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->value().data(), static_cast(this->value().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.TagName.value"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->value(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.TagName) +} + +::google::protobuf::uint8* TagName::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.TagName) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string value = 1; + if (this->value().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->value().data(), static_cast(this->value().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.TagName.value"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->value(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.TagName) + return target; +} + +size_t TagName::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.TagName) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string value = 1; + if (this->value().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->value()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void TagName::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.TagName) + GOOGLE_DCHECK_NE(&from, this); + const TagName* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.TagName) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.TagName) + MergeFrom(*source); + } +} + +void TagName::MergeFrom(const TagName& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.TagName) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.value().size() > 0) { + + value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); + } +} + +void TagName::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.TagName) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void TagName::CopyFrom(const TagName& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.TagName) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TagName::IsInitialized() const { + return true; +} + +void TagName::Swap(TagName* other) { + if (other == this) return; + InternalSwap(other); +} +void TagName::InternalSwap(TagName* other) { + using std::swap; + value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata TagName::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void ProcessTags::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ProcessTags::kProcessIDFieldNumber; +const int ProcessTags::kTagsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ProcessTags::ProcessTags() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_ProcessTags.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.ProcessTags) +} +ProcessTags::ProcessTags(const ProcessTags& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + tags_(from.tags_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + processid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.processid().size() > 0) { + processid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.processid_); + } + // @@protoc_insertion_point(copy_constructor:jasper.ProcessTags) +} + +void ProcessTags::SharedCtor() { + processid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +ProcessTags::~ProcessTags() { + // @@protoc_insertion_point(destructor:jasper.ProcessTags) + SharedDtor(); +} + +void ProcessTags::SharedDtor() { + processid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void ProcessTags::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* ProcessTags::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const ProcessTags& ProcessTags::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_ProcessTags.base); + return *internal_default_instance(); +} + + +void ProcessTags::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.ProcessTags) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + tags_.Clear(); + processid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +bool ProcessTags::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.ProcessTags) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string processID = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_processid())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->processid().data(), static_cast(this->processid().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.ProcessTags.processID")); + } else { + goto handle_unusual; + } + break; + } + + // repeated string tags = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_tags())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(this->tags_size() - 1).data(), + static_cast(this->tags(this->tags_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.ProcessTags.tags")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.ProcessTags) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.ProcessTags) + return false; +#undef DO_ +} + +void ProcessTags::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.ProcessTags) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string processID = 1; + if (this->processid().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->processid().data(), static_cast(this->processid().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ProcessTags.processID"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->processid(), output); + } + + // repeated string tags = 2; + for (int i = 0, n = this->tags_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(i).data(), static_cast(this->tags(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ProcessTags.tags"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->tags(i), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.ProcessTags) +} + +::google::protobuf::uint8* ProcessTags::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.ProcessTags) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string processID = 1; + if (this->processid().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->processid().data(), static_cast(this->processid().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ProcessTags.processID"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->processid(), target); + } + + // repeated string tags = 2; + for (int i = 0, n = this->tags_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(i).data(), static_cast(this->tags(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ProcessTags.tags"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(2, this->tags(i), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.ProcessTags) + return target; +} + +size_t ProcessTags::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.ProcessTags) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // repeated string tags = 2; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->tags_size()); + for (int i = 0, n = this->tags_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->tags(i)); + } + + // string processID = 1; + if (this->processid().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->processid()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ProcessTags::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.ProcessTags) + GOOGLE_DCHECK_NE(&from, this); + const ProcessTags* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.ProcessTags) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.ProcessTags) + MergeFrom(*source); + } +} + +void ProcessTags::MergeFrom(const ProcessTags& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.ProcessTags) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + tags_.MergeFrom(from.tags_); + if (from.processid().size() > 0) { + + processid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.processid_); + } +} + +void ProcessTags::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.ProcessTags) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ProcessTags::CopyFrom(const ProcessTags& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.ProcessTags) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProcessTags::IsInitialized() const { + return true; +} + +void ProcessTags::Swap(ProcessTags* other) { + if (other == this) return; + InternalSwap(other); +} +void ProcessTags::InternalSwap(ProcessTags* other) { + using std::swap; + tags_.InternalSwap(CastToBase(&other->tags_)); + processid_.Swap(&other->processid_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata ProcessTags::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void JasperProcessID::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int JasperProcessID::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +JasperProcessID::JasperProcessID() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_JasperProcessID.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.JasperProcessID) +} +JasperProcessID::JasperProcessID(const JasperProcessID& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.value().size() > 0) { + value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); + } + // @@protoc_insertion_point(copy_constructor:jasper.JasperProcessID) +} + +void JasperProcessID::SharedCtor() { + value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +JasperProcessID::~JasperProcessID() { + // @@protoc_insertion_point(destructor:jasper.JasperProcessID) + SharedDtor(); +} + +void JasperProcessID::SharedDtor() { + value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void JasperProcessID::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* JasperProcessID::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const JasperProcessID& JasperProcessID::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_JasperProcessID.base); + return *internal_default_instance(); +} + + +void JasperProcessID::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.JasperProcessID) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +bool JasperProcessID::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.JasperProcessID) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string value = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_value())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->value().data(), static_cast(this->value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.JasperProcessID.value")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.JasperProcessID) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.JasperProcessID) + return false; +#undef DO_ +} + +void JasperProcessID::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.JasperProcessID) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string value = 1; + if (this->value().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->value().data(), static_cast(this->value().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.JasperProcessID.value"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->value(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.JasperProcessID) +} + +::google::protobuf::uint8* JasperProcessID::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.JasperProcessID) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string value = 1; + if (this->value().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->value().data(), static_cast(this->value().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.JasperProcessID.value"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->value(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.JasperProcessID) + return target; +} + +size_t JasperProcessID::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.JasperProcessID) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string value = 1; + if (this->value().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->value()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void JasperProcessID::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.JasperProcessID) + GOOGLE_DCHECK_NE(&from, this); + const JasperProcessID* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.JasperProcessID) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.JasperProcessID) + MergeFrom(*source); + } +} + +void JasperProcessID::MergeFrom(const JasperProcessID& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.JasperProcessID) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.value().size() > 0) { + + value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); + } +} + +void JasperProcessID::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.JasperProcessID) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void JasperProcessID::CopyFrom(const JasperProcessID& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.JasperProcessID) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool JasperProcessID::IsInitialized() const { + return true; +} + +void JasperProcessID::Swap(JasperProcessID* other) { + if (other == this) return; + InternalSwap(other); +} +void JasperProcessID::InternalSwap(JasperProcessID* other) { + using std::swap; + value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata JasperProcessID::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void OperationOutcome::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int OperationOutcome::kSuccessFieldNumber; +const int OperationOutcome::kTextFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +OperationOutcome::OperationOutcome() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_OperationOutcome.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.OperationOutcome) +} +OperationOutcome::OperationOutcome(const OperationOutcome& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + text_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.text().size() > 0) { + text_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.text_); + } + success_ = from.success_; + // @@protoc_insertion_point(copy_constructor:jasper.OperationOutcome) +} + +void OperationOutcome::SharedCtor() { + text_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + success_ = false; +} + +OperationOutcome::~OperationOutcome() { + // @@protoc_insertion_point(destructor:jasper.OperationOutcome) + SharedDtor(); +} + +void OperationOutcome::SharedDtor() { + text_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void OperationOutcome::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* OperationOutcome::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const OperationOutcome& OperationOutcome::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_OperationOutcome.base); + return *internal_default_instance(); +} + + +void OperationOutcome::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.OperationOutcome) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + success_ = false; + _internal_metadata_.Clear(); +} + +bool OperationOutcome::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.OperationOutcome) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // bool success = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &success_))); + } else { + goto handle_unusual; + } + break; + } + + // string text = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_text())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->text().data(), static_cast(this->text().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.OperationOutcome.text")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.OperationOutcome) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.OperationOutcome) + return false; +#undef DO_ +} + +void OperationOutcome::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.OperationOutcome) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool success = 1; + if (this->success() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->success(), output); + } + + // string text = 2; + if (this->text().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->text().data(), static_cast(this->text().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.OperationOutcome.text"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->text(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.OperationOutcome) +} + +::google::protobuf::uint8* OperationOutcome::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.OperationOutcome) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool success = 1; + if (this->success() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->success(), target); + } + + // string text = 2; + if (this->text().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->text().data(), static_cast(this->text().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.OperationOutcome.text"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->text(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.OperationOutcome) + return target; +} + +size_t OperationOutcome::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.OperationOutcome) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string text = 2; + if (this->text().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->text()); + } + + // bool success = 1; + if (this->success() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void OperationOutcome::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.OperationOutcome) + GOOGLE_DCHECK_NE(&from, this); + const OperationOutcome* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.OperationOutcome) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.OperationOutcome) + MergeFrom(*source); + } +} + +void OperationOutcome::MergeFrom(const OperationOutcome& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.OperationOutcome) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.text().size() > 0) { + + text_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.text_); + } + if (from.success() != 0) { + set_success(from.success()); + } +} + +void OperationOutcome::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.OperationOutcome) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void OperationOutcome::CopyFrom(const OperationOutcome& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.OperationOutcome) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool OperationOutcome::IsInitialized() const { + return true; +} + +void OperationOutcome::Swap(OperationOutcome* other) { + if (other == this) return; + InternalSwap(other); +} +void OperationOutcome::InternalSwap(OperationOutcome* other) { + using std::swap; + text_.Swap(&other->text_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(success_, other->success_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata OperationOutcome::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void BuildOptions::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int BuildOptions::kTargetFieldNumber; +const int BuildOptions::kArchFieldNumber; +const int BuildOptions::kEditionFieldNumber; +const int BuildOptions::kDebugFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +BuildOptions::BuildOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_BuildOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.BuildOptions) +} +BuildOptions::BuildOptions(const BuildOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.target().size() > 0) { + target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_); + } + arch_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.arch().size() > 0) { + arch_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.arch_); + } + edition_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.edition().size() > 0) { + edition_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.edition_); + } + debug_ = from.debug_; + // @@protoc_insertion_point(copy_constructor:jasper.BuildOptions) +} + +void BuildOptions::SharedCtor() { + target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + arch_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + edition_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + debug_ = false; +} + +BuildOptions::~BuildOptions() { + // @@protoc_insertion_point(destructor:jasper.BuildOptions) + SharedDtor(); +} + +void BuildOptions::SharedDtor() { + target_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + arch_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + edition_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void BuildOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* BuildOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const BuildOptions& BuildOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_BuildOptions.base); + return *internal_default_instance(); +} + + +void BuildOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.BuildOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + target_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + arch_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + edition_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + debug_ = false; + _internal_metadata_.Clear(); +} + +bool BuildOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.BuildOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string target = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_target())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->target().data(), static_cast(this->target().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.BuildOptions.target")); + } else { + goto handle_unusual; + } + break; + } + + // string arch = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_arch())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->arch().data(), static_cast(this->arch().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.BuildOptions.arch")); + } else { + goto handle_unusual; + } + break; + } + + // string edition = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_edition())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->edition().data(), static_cast(this->edition().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.BuildOptions.edition")); + } else { + goto handle_unusual; + } + break; + } + + // bool debug = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &debug_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.BuildOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.BuildOptions) + return false; +#undef DO_ +} + +void BuildOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.BuildOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string target = 1; + if (this->target().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->target().data(), static_cast(this->target().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildOptions.target"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->target(), output); + } + + // string arch = 2; + if (this->arch().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->arch().data(), static_cast(this->arch().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildOptions.arch"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->arch(), output); + } + + // string edition = 3; + if (this->edition().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->edition().data(), static_cast(this->edition().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildOptions.edition"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->edition(), output); + } + + // bool debug = 4; + if (this->debug() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->debug(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.BuildOptions) +} + +::google::protobuf::uint8* BuildOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.BuildOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string target = 1; + if (this->target().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->target().data(), static_cast(this->target().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildOptions.target"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->target(), target); + } + + // string arch = 2; + if (this->arch().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->arch().data(), static_cast(this->arch().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildOptions.arch"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->arch(), target); + } + + // string edition = 3; + if (this->edition().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->edition().data(), static_cast(this->edition().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildOptions.edition"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->edition(), target); + } + + // bool debug = 4; + if (this->debug() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->debug(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.BuildOptions) + return target; +} + +size_t BuildOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.BuildOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string target = 1; + if (this->target().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->target()); + } + + // string arch = 2; + if (this->arch().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->arch()); + } + + // string edition = 3; + if (this->edition().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->edition()); + } + + // bool debug = 4; + if (this->debug() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void BuildOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.BuildOptions) + GOOGLE_DCHECK_NE(&from, this); + const BuildOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.BuildOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.BuildOptions) + MergeFrom(*source); + } +} + +void BuildOptions::MergeFrom(const BuildOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.BuildOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.target().size() > 0) { + + target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_); + } + if (from.arch().size() > 0) { + + arch_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.arch_); + } + if (from.edition().size() > 0) { + + edition_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.edition_); + } + if (from.debug() != 0) { + set_debug(from.debug()); + } +} + +void BuildOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.BuildOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void BuildOptions::CopyFrom(const BuildOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.BuildOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool BuildOptions::IsInitialized() const { + return true; +} + +void BuildOptions::Swap(BuildOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void BuildOptions::InternalSwap(BuildOptions* other) { + using std::swap; + target_.Swap(&other->target_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + arch_.Swap(&other->arch_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + edition_.Swap(&other->edition_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(debug_, other->debug_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata BuildOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MongoDBDownloadOptions::InitAsDefaultInstance() { + ::jasper::_MongoDBDownloadOptions_default_instance_._instance.get_mutable()->build_options_ = const_cast< ::jasper::BuildOptions*>( + ::jasper::BuildOptions::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MongoDBDownloadOptions::kBuildOptionsFieldNumber; +const int MongoDBDownloadOptions::kPathFieldNumber; +const int MongoDBDownloadOptions::kReleasesFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MongoDBDownloadOptions::MongoDBDownloadOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_MongoDBDownloadOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.MongoDBDownloadOptions) +} +MongoDBDownloadOptions::MongoDBDownloadOptions(const MongoDBDownloadOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + releases_(from.releases_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.path().size() > 0) { + path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_); + } + if (from.has_build_options()) { + build_options_ = new ::jasper::BuildOptions(*from.build_options_); + } else { + build_options_ = NULL; + } + // @@protoc_insertion_point(copy_constructor:jasper.MongoDBDownloadOptions) +} + +void MongoDBDownloadOptions::SharedCtor() { + path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + build_options_ = NULL; +} + +MongoDBDownloadOptions::~MongoDBDownloadOptions() { + // @@protoc_insertion_point(destructor:jasper.MongoDBDownloadOptions) + SharedDtor(); +} + +void MongoDBDownloadOptions::SharedDtor() { + path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete build_options_; +} + +void MongoDBDownloadOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MongoDBDownloadOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MongoDBDownloadOptions& MongoDBDownloadOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_MongoDBDownloadOptions.base); + return *internal_default_instance(); +} + + +void MongoDBDownloadOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.MongoDBDownloadOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + releases_.Clear(); + path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == NULL && build_options_ != NULL) { + delete build_options_; + } + build_options_ = NULL; + _internal_metadata_.Clear(); +} + +bool MongoDBDownloadOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.MongoDBDownloadOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .jasper.BuildOptions build_options = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_build_options())); + } else { + goto handle_unusual; + } + break; + } + + // string path = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_path())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->path().data(), static_cast(this->path().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.MongoDBDownloadOptions.path")); + } else { + goto handle_unusual; + } + break; + } + + // repeated string releases = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_releases())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->releases(this->releases_size() - 1).data(), + static_cast(this->releases(this->releases_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.MongoDBDownloadOptions.releases")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.MongoDBDownloadOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.MongoDBDownloadOptions) + return false; +#undef DO_ +} + +void MongoDBDownloadOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.MongoDBDownloadOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.BuildOptions build_options = 1; + if (this->has_build_options()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->_internal_build_options(), output); + } + + // string path = 2; + if (this->path().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->path().data(), static_cast(this->path().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.MongoDBDownloadOptions.path"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->path(), output); + } + + // repeated string releases = 3; + for (int i = 0, n = this->releases_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->releases(i).data(), static_cast(this->releases(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.MongoDBDownloadOptions.releases"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->releases(i), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.MongoDBDownloadOptions) +} + +::google::protobuf::uint8* MongoDBDownloadOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.MongoDBDownloadOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .jasper.BuildOptions build_options = 1; + if (this->has_build_options()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->_internal_build_options(), deterministic, target); + } + + // string path = 2; + if (this->path().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->path().data(), static_cast(this->path().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.MongoDBDownloadOptions.path"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->path(), target); + } + + // repeated string releases = 3; + for (int i = 0, n = this->releases_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->releases(i).data(), static_cast(this->releases(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.MongoDBDownloadOptions.releases"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(3, this->releases(i), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.MongoDBDownloadOptions) + return target; +} + +size_t MongoDBDownloadOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.MongoDBDownloadOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // repeated string releases = 3; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->releases_size()); + for (int i = 0, n = this->releases_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->releases(i)); + } + + // string path = 2; + if (this->path().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->path()); + } + + // .jasper.BuildOptions build_options = 1; + if (this->has_build_options()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *build_options_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MongoDBDownloadOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.MongoDBDownloadOptions) + GOOGLE_DCHECK_NE(&from, this); + const MongoDBDownloadOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.MongoDBDownloadOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.MongoDBDownloadOptions) + MergeFrom(*source); + } +} + +void MongoDBDownloadOptions::MergeFrom(const MongoDBDownloadOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.MongoDBDownloadOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + releases_.MergeFrom(from.releases_); + if (from.path().size() > 0) { + + path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_); + } + if (from.has_build_options()) { + mutable_build_options()->::jasper::BuildOptions::MergeFrom(from.build_options()); + } +} + +void MongoDBDownloadOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.MongoDBDownloadOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MongoDBDownloadOptions::CopyFrom(const MongoDBDownloadOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.MongoDBDownloadOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MongoDBDownloadOptions::IsInitialized() const { + return true; +} + +void MongoDBDownloadOptions::Swap(MongoDBDownloadOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void MongoDBDownloadOptions::InternalSwap(MongoDBDownloadOptions* other) { + using std::swap; + releases_.InternalSwap(CastToBase(&other->releases_)); + path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(build_options_, other->build_options_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MongoDBDownloadOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void CacheOptions::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CacheOptions::kDisabledFieldNumber; +const int CacheOptions::kPruneDelayFieldNumber; +const int CacheOptions::kMaxSizeFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CacheOptions::CacheOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_CacheOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.CacheOptions) +} +CacheOptions::CacheOptions(const CacheOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&prune_delay_, &from.prune_delay_, + static_cast(reinterpret_cast(&disabled_) - + reinterpret_cast(&prune_delay_)) + sizeof(disabled_)); + // @@protoc_insertion_point(copy_constructor:jasper.CacheOptions) +} + +void CacheOptions::SharedCtor() { + ::memset(&prune_delay_, 0, static_cast( + reinterpret_cast(&disabled_) - + reinterpret_cast(&prune_delay_)) + sizeof(disabled_)); +} + +CacheOptions::~CacheOptions() { + // @@protoc_insertion_point(destructor:jasper.CacheOptions) + SharedDtor(); +} + +void CacheOptions::SharedDtor() { +} + +void CacheOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* CacheOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const CacheOptions& CacheOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_CacheOptions.base); + return *internal_default_instance(); +} + + +void CacheOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.CacheOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&prune_delay_, 0, static_cast( + reinterpret_cast(&disabled_) - + reinterpret_cast(&prune_delay_)) + sizeof(disabled_)); + _internal_metadata_.Clear(); +} + +bool CacheOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.CacheOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // bool disabled = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &disabled_))); + } else { + goto handle_unusual; + } + break; + } + + // int64 prune_delay = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &prune_delay_))); + } else { + goto handle_unusual; + } + break; + } + + // int64 max_size = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &max_size_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.CacheOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.CacheOptions) + return false; +#undef DO_ +} + +void CacheOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.CacheOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool disabled = 1; + if (this->disabled() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->disabled(), output); + } + + // int64 prune_delay = 2; + if (this->prune_delay() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->prune_delay(), output); + } + + // int64 max_size = 3; + if (this->max_size() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->max_size(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.CacheOptions) +} + +::google::protobuf::uint8* CacheOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.CacheOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool disabled = 1; + if (this->disabled() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->disabled(), target); + } + + // int64 prune_delay = 2; + if (this->prune_delay() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->prune_delay(), target); + } + + // int64 max_size = 3; + if (this->max_size() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->max_size(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.CacheOptions) + return target; +} + +size_t CacheOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.CacheOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // int64 prune_delay = 2; + if (this->prune_delay() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->prune_delay()); + } + + // int64 max_size = 3; + if (this->max_size() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->max_size()); + } + + // bool disabled = 1; + if (this->disabled() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CacheOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.CacheOptions) + GOOGLE_DCHECK_NE(&from, this); + const CacheOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.CacheOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.CacheOptions) + MergeFrom(*source); + } +} + +void CacheOptions::MergeFrom(const CacheOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.CacheOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.prune_delay() != 0) { + set_prune_delay(from.prune_delay()); + } + if (from.max_size() != 0) { + set_max_size(from.max_size()); + } + if (from.disabled() != 0) { + set_disabled(from.disabled()); + } +} + +void CacheOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.CacheOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CacheOptions::CopyFrom(const CacheOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.CacheOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CacheOptions::IsInitialized() const { + return true; +} + +void CacheOptions::Swap(CacheOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void CacheOptions::InternalSwap(CacheOptions* other) { + using std::swap; + swap(prune_delay_, other->prune_delay_); + swap(max_size_, other->max_size_); + swap(disabled_, other->disabled_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CacheOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArchiveOptions::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArchiveOptions::kShouldExtractFieldNumber; +const int ArchiveOptions::kFormatFieldNumber; +const int ArchiveOptions::kTargetPathFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArchiveOptions::ArchiveOptions() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_ArchiveOptions.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.ArchiveOptions) +} +ArchiveOptions::ArchiveOptions(const ArchiveOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + target_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.target_path().size() > 0) { + target_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_path_); + } + ::memcpy(&should_extract_, &from.should_extract_, + static_cast(reinterpret_cast(&format_) - + reinterpret_cast(&should_extract_)) + sizeof(format_)); + // @@protoc_insertion_point(copy_constructor:jasper.ArchiveOptions) +} + +void ArchiveOptions::SharedCtor() { + target_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&should_extract_, 0, static_cast( + reinterpret_cast(&format_) - + reinterpret_cast(&should_extract_)) + sizeof(format_)); +} + +ArchiveOptions::~ArchiveOptions() { + // @@protoc_insertion_point(destructor:jasper.ArchiveOptions) + SharedDtor(); +} + +void ArchiveOptions::SharedDtor() { + target_path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void ArchiveOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* ArchiveOptions::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const ArchiveOptions& ArchiveOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_ArchiveOptions.base); + return *internal_default_instance(); +} + + +void ArchiveOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.ArchiveOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + target_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&should_extract_, 0, static_cast( + reinterpret_cast(&format_) - + reinterpret_cast(&should_extract_)) + sizeof(format_)); + _internal_metadata_.Clear(); +} + +bool ArchiveOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.ArchiveOptions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // bool should_extract = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &should_extract_))); + } else { + goto handle_unusual; + } + break; + } + + // .jasper.ArchiveFormat format = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_format(static_cast< ::jasper::ArchiveFormat >(value)); + } else { + goto handle_unusual; + } + break; + } + + // string target_path = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_target_path())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->target_path().data(), static_cast(this->target_path().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.ArchiveOptions.target_path")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.ArchiveOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.ArchiveOptions) + return false; +#undef DO_ +} + +void ArchiveOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.ArchiveOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool should_extract = 1; + if (this->should_extract() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->should_extract(), output); + } + + // .jasper.ArchiveFormat format = 2; + if (this->format() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 2, this->format(), output); + } + + // string target_path = 3; + if (this->target_path().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->target_path().data(), static_cast(this->target_path().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ArchiveOptions.target_path"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->target_path(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.ArchiveOptions) +} + +::google::protobuf::uint8* ArchiveOptions::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.ArchiveOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool should_extract = 1; + if (this->should_extract() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->should_extract(), target); + } + + // .jasper.ArchiveFormat format = 2; + if (this->format() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 2, this->format(), target); + } + + // string target_path = 3; + if (this->target_path().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->target_path().data(), static_cast(this->target_path().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.ArchiveOptions.target_path"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->target_path(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.ArchiveOptions) + return target; +} + +size_t ArchiveOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.ArchiveOptions) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string target_path = 3; + if (this->target_path().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->target_path()); + } + + // bool should_extract = 1; + if (this->should_extract() != 0) { + total_size += 1 + 1; + } + + // .jasper.ArchiveFormat format = 2; + if (this->format() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->format()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArchiveOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.ArchiveOptions) + GOOGLE_DCHECK_NE(&from, this); + const ArchiveOptions* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.ArchiveOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.ArchiveOptions) + MergeFrom(*source); + } +} + +void ArchiveOptions::MergeFrom(const ArchiveOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.ArchiveOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.target_path().size() > 0) { + + target_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_path_); + } + if (from.should_extract() != 0) { + set_should_extract(from.should_extract()); + } + if (from.format() != 0) { + set_format(from.format()); + } +} + +void ArchiveOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.ArchiveOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArchiveOptions::CopyFrom(const ArchiveOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.ArchiveOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArchiveOptions::IsInitialized() const { + return true; +} + +void ArchiveOptions::Swap(ArchiveOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void ArchiveOptions::InternalSwap(ArchiveOptions* other) { + using std::swap; + target_path_.Swap(&other->target_path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(should_extract_, other->should_extract_); + swap(format_, other->format_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata ArchiveOptions::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void DownloadInfo::InitAsDefaultInstance() { + ::jasper::_DownloadInfo_default_instance_._instance.get_mutable()->archive_opts_ = const_cast< ::jasper::ArchiveOptions*>( + ::jasper::ArchiveOptions::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DownloadInfo::kUrlFieldNumber; +const int DownloadInfo::kPathFieldNumber; +const int DownloadInfo::kArchiveOptsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DownloadInfo::DownloadInfo() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_DownloadInfo.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.DownloadInfo) +} +DownloadInfo::DownloadInfo(const DownloadInfo& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.url().size() > 0) { + url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); + } + path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.path().size() > 0) { + path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_); + } + if (from.has_archive_opts()) { + archive_opts_ = new ::jasper::ArchiveOptions(*from.archive_opts_); + } else { + archive_opts_ = NULL; + } + // @@protoc_insertion_point(copy_constructor:jasper.DownloadInfo) +} + +void DownloadInfo::SharedCtor() { + url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + archive_opts_ = NULL; +} + +DownloadInfo::~DownloadInfo() { + // @@protoc_insertion_point(destructor:jasper.DownloadInfo) + SharedDtor(); +} + +void DownloadInfo::SharedDtor() { + url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete archive_opts_; +} + +void DownloadInfo::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* DownloadInfo::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const DownloadInfo& DownloadInfo::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_DownloadInfo.base); + return *internal_default_instance(); +} + + +void DownloadInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.DownloadInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == NULL && archive_opts_ != NULL) { + delete archive_opts_; + } + archive_opts_ = NULL; + _internal_metadata_.Clear(); +} + +bool DownloadInfo::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.DownloadInfo) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string url = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_url())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->url().data(), static_cast(this->url().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.DownloadInfo.url")); + } else { + goto handle_unusual; + } + break; + } + + // string path = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_path())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->path().data(), static_cast(this->path().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.DownloadInfo.path")); + } else { + goto handle_unusual; + } + break; + } + + // .jasper.ArchiveOptions archive_opts = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_archive_opts())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.DownloadInfo) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.DownloadInfo) + return false; +#undef DO_ +} + +void DownloadInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.DownloadInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string url = 1; + if (this->url().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->url().data(), static_cast(this->url().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.DownloadInfo.url"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->url(), output); + } + + // string path = 2; + if (this->path().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->path().data(), static_cast(this->path().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.DownloadInfo.path"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->path(), output); + } + + // .jasper.ArchiveOptions archive_opts = 3; + if (this->has_archive_opts()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->_internal_archive_opts(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.DownloadInfo) +} + +::google::protobuf::uint8* DownloadInfo::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.DownloadInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string url = 1; + if (this->url().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->url().data(), static_cast(this->url().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.DownloadInfo.url"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->url(), target); + } + + // string path = 2; + if (this->path().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->path().data(), static_cast(this->path().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.DownloadInfo.path"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->path(), target); + } + + // .jasper.ArchiveOptions archive_opts = 3; + if (this->has_archive_opts()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, this->_internal_archive_opts(), deterministic, target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.DownloadInfo) + return target; +} + +size_t DownloadInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.DownloadInfo) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string url = 1; + if (this->url().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->url()); + } + + // string path = 2; + if (this->path().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->path()); + } + + // .jasper.ArchiveOptions archive_opts = 3; + if (this->has_archive_opts()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *archive_opts_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DownloadInfo::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.DownloadInfo) + GOOGLE_DCHECK_NE(&from, this); + const DownloadInfo* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.DownloadInfo) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.DownloadInfo) + MergeFrom(*source); + } +} + +void DownloadInfo::MergeFrom(const DownloadInfo& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.DownloadInfo) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.url().size() > 0) { + + url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); + } + if (from.path().size() > 0) { + + path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_); + } + if (from.has_archive_opts()) { + mutable_archive_opts()->::jasper::ArchiveOptions::MergeFrom(from.archive_opts()); + } +} + +void DownloadInfo::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.DownloadInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DownloadInfo::CopyFrom(const DownloadInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.DownloadInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DownloadInfo::IsInitialized() const { + return true; +} + +void DownloadInfo::Swap(DownloadInfo* other) { + if (other == this) return; + InternalSwap(other); +} +void DownloadInfo::InternalSwap(DownloadInfo* other) { + using std::swap; + url_.Swap(&other->url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(archive_opts_, other->archive_opts_); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata DownloadInfo::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void BuildloggerURLs::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int BuildloggerURLs::kUrlsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +BuildloggerURLs::BuildloggerURLs() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_jasper_2eproto::scc_info_BuildloggerURLs.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:jasper.BuildloggerURLs) +} +BuildloggerURLs::BuildloggerURLs(const BuildloggerURLs& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + urls_(from.urls_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:jasper.BuildloggerURLs) +} + +void BuildloggerURLs::SharedCtor() { +} + +BuildloggerURLs::~BuildloggerURLs() { + // @@protoc_insertion_point(destructor:jasper.BuildloggerURLs) + SharedDtor(); +} + +void BuildloggerURLs::SharedDtor() { +} + +void BuildloggerURLs::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* BuildloggerURLs::descriptor() { + ::protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const BuildloggerURLs& BuildloggerURLs::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_jasper_2eproto::scc_info_BuildloggerURLs.base); + return *internal_default_instance(); +} + + +void BuildloggerURLs::Clear() { +// @@protoc_insertion_point(message_clear_start:jasper.BuildloggerURLs) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + urls_.Clear(); + _internal_metadata_.Clear(); +} + +bool BuildloggerURLs::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:jasper.BuildloggerURLs) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated string urls = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_urls())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->urls(this->urls_size() - 1).data(), + static_cast(this->urls(this->urls_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "jasper.BuildloggerURLs.urls")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:jasper.BuildloggerURLs) + return true; +failure: + // @@protoc_insertion_point(parse_failure:jasper.BuildloggerURLs) + return false; +#undef DO_ +} + +void BuildloggerURLs::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:jasper.BuildloggerURLs) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string urls = 1; + for (int i = 0, n = this->urls_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->urls(i).data(), static_cast(this->urls(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerURLs.urls"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->urls(i), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:jasper.BuildloggerURLs) +} + +::google::protobuf::uint8* BuildloggerURLs::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:jasper.BuildloggerURLs) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string urls = 1; + for (int i = 0, n = this->urls_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->urls(i).data(), static_cast(this->urls(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "jasper.BuildloggerURLs.urls"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->urls(i), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:jasper.BuildloggerURLs) + return target; +} + +size_t BuildloggerURLs::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:jasper.BuildloggerURLs) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // repeated string urls = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->urls_size()); + for (int i = 0, n = this->urls_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->urls(i)); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void BuildloggerURLs::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:jasper.BuildloggerURLs) + GOOGLE_DCHECK_NE(&from, this); + const BuildloggerURLs* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:jasper.BuildloggerURLs) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:jasper.BuildloggerURLs) + MergeFrom(*source); + } +} + +void BuildloggerURLs::MergeFrom(const BuildloggerURLs& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:jasper.BuildloggerURLs) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + urls_.MergeFrom(from.urls_); +} + +void BuildloggerURLs::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:jasper.BuildloggerURLs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void BuildloggerURLs::CopyFrom(const BuildloggerURLs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:jasper.BuildloggerURLs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool BuildloggerURLs::IsInitialized() const { + return true; +} + +void BuildloggerURLs::Swap(BuildloggerURLs* other) { + if (other == this) return; + InternalSwap(other); +} +void BuildloggerURLs::InternalSwap(BuildloggerURLs* other) { + using std::swap; + urls_.InternalSwap(CastToBase(&other->urls_)); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata BuildloggerURLs::GetMetadata() const { + protobuf_jasper_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_jasper_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace jasper +namespace google { +namespace protobuf { +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::Logger* Arena::CreateMaybeMessage< ::jasper::Logger >(Arena* arena) { + return Arena::CreateInternal< ::jasper::Logger >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::OutputOptions* Arena::CreateMaybeMessage< ::jasper::OutputOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::OutputOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::LogOptions* Arena::CreateMaybeMessage< ::jasper::LogOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::LogOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::BufferOptions* Arena::CreateMaybeMessage< ::jasper::BufferOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::BufferOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::BuildloggerOptions* Arena::CreateMaybeMessage< ::jasper::BuildloggerOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::BuildloggerOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::SplunkOptions* Arena::CreateMaybeMessage< ::jasper::SplunkOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::SplunkOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::CreateOptions_EnvironmentEntry_DoNotUse* Arena::CreateMaybeMessage< ::jasper::CreateOptions_EnvironmentEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::jasper::CreateOptions_EnvironmentEntry_DoNotUse >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::CreateOptions* Arena::CreateMaybeMessage< ::jasper::CreateOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::CreateOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::ProcessInfo* Arena::CreateMaybeMessage< ::jasper::ProcessInfo >(Arena* arena) { + return Arena::CreateInternal< ::jasper::ProcessInfo >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::StatusResponse* Arena::CreateMaybeMessage< ::jasper::StatusResponse >(Arena* arena) { + return Arena::CreateInternal< ::jasper::StatusResponse >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::Filter* Arena::CreateMaybeMessage< ::jasper::Filter >(Arena* arena) { + return Arena::CreateInternal< ::jasper::Filter >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::SignalProcess* Arena::CreateMaybeMessage< ::jasper::SignalProcess >(Arena* arena) { + return Arena::CreateInternal< ::jasper::SignalProcess >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::TagName* Arena::CreateMaybeMessage< ::jasper::TagName >(Arena* arena) { + return Arena::CreateInternal< ::jasper::TagName >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::ProcessTags* Arena::CreateMaybeMessage< ::jasper::ProcessTags >(Arena* arena) { + return Arena::CreateInternal< ::jasper::ProcessTags >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::JasperProcessID* Arena::CreateMaybeMessage< ::jasper::JasperProcessID >(Arena* arena) { + return Arena::CreateInternal< ::jasper::JasperProcessID >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::OperationOutcome* Arena::CreateMaybeMessage< ::jasper::OperationOutcome >(Arena* arena) { + return Arena::CreateInternal< ::jasper::OperationOutcome >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::BuildOptions* Arena::CreateMaybeMessage< ::jasper::BuildOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::BuildOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::MongoDBDownloadOptions* Arena::CreateMaybeMessage< ::jasper::MongoDBDownloadOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::MongoDBDownloadOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::CacheOptions* Arena::CreateMaybeMessage< ::jasper::CacheOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::CacheOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::ArchiveOptions* Arena::CreateMaybeMessage< ::jasper::ArchiveOptions >(Arena* arena) { + return Arena::CreateInternal< ::jasper::ArchiveOptions >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::DownloadInfo* Arena::CreateMaybeMessage< ::jasper::DownloadInfo >(Arena* arena) { + return Arena::CreateInternal< ::jasper::DownloadInfo >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::jasper::BuildloggerURLs* Arena::CreateMaybeMessage< ::jasper::BuildloggerURLs >(Arena* arena) { + return Arena::CreateInternal< ::jasper::BuildloggerURLs >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) diff --git a/src/gennylib/jasper/jasper.pb.h b/src/gennylib/jasper/jasper.pb.h new file mode 100644 index 0000000000..46e0e219c0 --- /dev/null +++ b/src/gennylib/jasper/jasper.pb.h @@ -0,0 +1,6180 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: jasper.proto + +#ifndef PROTOBUF_INCLUDED_jasper_2eproto +#define PROTOBUF_INCLUDED_jasper_2eproto + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 3006001 +#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 3006001 < GOOGLE_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 // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#define PROTOBUF_INTERNAL_EXPORT_protobuf_jasper_2eproto + +namespace protobuf_jasper_2eproto { +// Internal implementation detail -- do not use these members. +struct TableStruct { + static const ::google::protobuf::internal::ParseTableField entries[]; + static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; + static const ::google::protobuf::internal::ParseTable schema[22]; + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors(); +} // namespace protobuf_jasper_2eproto +namespace jasper { +class ArchiveOptions; +class ArchiveOptionsDefaultTypeInternal; +extern ArchiveOptionsDefaultTypeInternal _ArchiveOptions_default_instance_; +class BufferOptions; +class BufferOptionsDefaultTypeInternal; +extern BufferOptionsDefaultTypeInternal _BufferOptions_default_instance_; +class BuildOptions; +class BuildOptionsDefaultTypeInternal; +extern BuildOptionsDefaultTypeInternal _BuildOptions_default_instance_; +class BuildloggerOptions; +class BuildloggerOptionsDefaultTypeInternal; +extern BuildloggerOptionsDefaultTypeInternal _BuildloggerOptions_default_instance_; +class BuildloggerURLs; +class BuildloggerURLsDefaultTypeInternal; +extern BuildloggerURLsDefaultTypeInternal _BuildloggerURLs_default_instance_; +class CacheOptions; +class CacheOptionsDefaultTypeInternal; +extern CacheOptionsDefaultTypeInternal _CacheOptions_default_instance_; +class CreateOptions; +class CreateOptionsDefaultTypeInternal; +extern CreateOptionsDefaultTypeInternal _CreateOptions_default_instance_; +class CreateOptions_EnvironmentEntry_DoNotUse; +class CreateOptions_EnvironmentEntry_DoNotUseDefaultTypeInternal; +extern CreateOptions_EnvironmentEntry_DoNotUseDefaultTypeInternal _CreateOptions_EnvironmentEntry_DoNotUse_default_instance_; +class DownloadInfo; +class DownloadInfoDefaultTypeInternal; +extern DownloadInfoDefaultTypeInternal _DownloadInfo_default_instance_; +class Filter; +class FilterDefaultTypeInternal; +extern FilterDefaultTypeInternal _Filter_default_instance_; +class JasperProcessID; +class JasperProcessIDDefaultTypeInternal; +extern JasperProcessIDDefaultTypeInternal _JasperProcessID_default_instance_; +class LogOptions; +class LogOptionsDefaultTypeInternal; +extern LogOptionsDefaultTypeInternal _LogOptions_default_instance_; +class Logger; +class LoggerDefaultTypeInternal; +extern LoggerDefaultTypeInternal _Logger_default_instance_; +class MongoDBDownloadOptions; +class MongoDBDownloadOptionsDefaultTypeInternal; +extern MongoDBDownloadOptionsDefaultTypeInternal _MongoDBDownloadOptions_default_instance_; +class OperationOutcome; +class OperationOutcomeDefaultTypeInternal; +extern OperationOutcomeDefaultTypeInternal _OperationOutcome_default_instance_; +class OutputOptions; +class OutputOptionsDefaultTypeInternal; +extern OutputOptionsDefaultTypeInternal _OutputOptions_default_instance_; +class ProcessInfo; +class ProcessInfoDefaultTypeInternal; +extern ProcessInfoDefaultTypeInternal _ProcessInfo_default_instance_; +class ProcessTags; +class ProcessTagsDefaultTypeInternal; +extern ProcessTagsDefaultTypeInternal _ProcessTags_default_instance_; +class SignalProcess; +class SignalProcessDefaultTypeInternal; +extern SignalProcessDefaultTypeInternal _SignalProcess_default_instance_; +class SplunkOptions; +class SplunkOptionsDefaultTypeInternal; +extern SplunkOptionsDefaultTypeInternal _SplunkOptions_default_instance_; +class StatusResponse; +class StatusResponseDefaultTypeInternal; +extern StatusResponseDefaultTypeInternal _StatusResponse_default_instance_; +class TagName; +class TagNameDefaultTypeInternal; +extern TagNameDefaultTypeInternal _TagName_default_instance_; +} // namespace jasper +namespace google { +namespace protobuf { +template<> ::jasper::ArchiveOptions* Arena::CreateMaybeMessage<::jasper::ArchiveOptions>(Arena*); +template<> ::jasper::BufferOptions* Arena::CreateMaybeMessage<::jasper::BufferOptions>(Arena*); +template<> ::jasper::BuildOptions* Arena::CreateMaybeMessage<::jasper::BuildOptions>(Arena*); +template<> ::jasper::BuildloggerOptions* Arena::CreateMaybeMessage<::jasper::BuildloggerOptions>(Arena*); +template<> ::jasper::BuildloggerURLs* Arena::CreateMaybeMessage<::jasper::BuildloggerURLs>(Arena*); +template<> ::jasper::CacheOptions* Arena::CreateMaybeMessage<::jasper::CacheOptions>(Arena*); +template<> ::jasper::CreateOptions* Arena::CreateMaybeMessage<::jasper::CreateOptions>(Arena*); +template<> ::jasper::CreateOptions_EnvironmentEntry_DoNotUse* Arena::CreateMaybeMessage<::jasper::CreateOptions_EnvironmentEntry_DoNotUse>(Arena*); +template<> ::jasper::DownloadInfo* Arena::CreateMaybeMessage<::jasper::DownloadInfo>(Arena*); +template<> ::jasper::Filter* Arena::CreateMaybeMessage<::jasper::Filter>(Arena*); +template<> ::jasper::JasperProcessID* Arena::CreateMaybeMessage<::jasper::JasperProcessID>(Arena*); +template<> ::jasper::LogOptions* Arena::CreateMaybeMessage<::jasper::LogOptions>(Arena*); +template<> ::jasper::Logger* Arena::CreateMaybeMessage<::jasper::Logger>(Arena*); +template<> ::jasper::MongoDBDownloadOptions* Arena::CreateMaybeMessage<::jasper::MongoDBDownloadOptions>(Arena*); +template<> ::jasper::OperationOutcome* Arena::CreateMaybeMessage<::jasper::OperationOutcome>(Arena*); +template<> ::jasper::OutputOptions* Arena::CreateMaybeMessage<::jasper::OutputOptions>(Arena*); +template<> ::jasper::ProcessInfo* Arena::CreateMaybeMessage<::jasper::ProcessInfo>(Arena*); +template<> ::jasper::ProcessTags* Arena::CreateMaybeMessage<::jasper::ProcessTags>(Arena*); +template<> ::jasper::SignalProcess* Arena::CreateMaybeMessage<::jasper::SignalProcess>(Arena*); +template<> ::jasper::SplunkOptions* Arena::CreateMaybeMessage<::jasper::SplunkOptions>(Arena*); +template<> ::jasper::StatusResponse* Arena::CreateMaybeMessage<::jasper::StatusResponse>(Arena*); +template<> ::jasper::TagName* Arena::CreateMaybeMessage<::jasper::TagName>(Arena*); +} // namespace protobuf +} // namespace google +namespace jasper { + +enum LogType { + LOGUNKNOWN = 0, + LOGBUILDLOGGERV2 = 1, + LOGBUILDLOGGERV3 = 2, + LOGDEFAULT = 3, + LOGFILE = 4, + LOGINHERIT = 5, + LOGSPLUNK = 6, + LOGSUMOLOGIC = 7, + LOGINMEMORY = 8, + LogType_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, + LogType_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max +}; +bool LogType_IsValid(int value); +const LogType LogType_MIN = LOGUNKNOWN; +const LogType LogType_MAX = LOGINMEMORY; +const int LogType_ARRAYSIZE = LogType_MAX + 1; + +const ::google::protobuf::EnumDescriptor* LogType_descriptor(); +inline const ::std::string& LogType_Name(LogType value) { + return ::google::protobuf::internal::NameOfEnum( + LogType_descriptor(), value); +} +inline bool LogType_Parse( + const ::std::string& name, LogType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + LogType_descriptor(), name, value); +} +enum LogFormat { + LOGFORMATUNKNOWN = 0, + LOGFORMATDEFAULT = 1, + LOGFORMATJSON = 2, + LOGFORMATPLAIN = 3, + LogFormat_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, + LogFormat_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max +}; +bool LogFormat_IsValid(int value); +const LogFormat LogFormat_MIN = LOGFORMATUNKNOWN; +const LogFormat LogFormat_MAX = LOGFORMATPLAIN; +const int LogFormat_ARRAYSIZE = LogFormat_MAX + 1; + +const ::google::protobuf::EnumDescriptor* LogFormat_descriptor(); +inline const ::std::string& LogFormat_Name(LogFormat value) { + return ::google::protobuf::internal::NameOfEnum( + LogFormat_descriptor(), value); +} +inline bool LogFormat_Parse( + const ::std::string& name, LogFormat* value) { + return ::google::protobuf::internal::ParseNamedEnum( + LogFormat_descriptor(), name, value); +} +enum FilterSpecifications { + ALL = 0, + RUNNING = 1, + TERMINATED = 2, + FAILED = 3, + SUCCESSFUL = 4, + FilterSpecifications_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, + FilterSpecifications_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max +}; +bool FilterSpecifications_IsValid(int value); +const FilterSpecifications FilterSpecifications_MIN = ALL; +const FilterSpecifications FilterSpecifications_MAX = SUCCESSFUL; +const int FilterSpecifications_ARRAYSIZE = FilterSpecifications_MAX + 1; + +const ::google::protobuf::EnumDescriptor* FilterSpecifications_descriptor(); +inline const ::std::string& FilterSpecifications_Name(FilterSpecifications value) { + return ::google::protobuf::internal::NameOfEnum( + FilterSpecifications_descriptor(), value); +} +inline bool FilterSpecifications_Parse( + const ::std::string& name, FilterSpecifications* value) { + return ::google::protobuf::internal::ParseNamedEnum( + FilterSpecifications_descriptor(), name, value); +} +enum Signals { + UNKNOWN = 0, + TERMINATE = 1, + KILL = 2, + HANGUP = 3, + INIT = 4, + USER1 = 5, + USER2 = 6, + Signals_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, + Signals_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max +}; +bool Signals_IsValid(int value); +const Signals Signals_MIN = UNKNOWN; +const Signals Signals_MAX = USER2; +const int Signals_ARRAYSIZE = Signals_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Signals_descriptor(); +inline const ::std::string& Signals_Name(Signals value) { + return ::google::protobuf::internal::NameOfEnum( + Signals_descriptor(), value); +} +inline bool Signals_Parse( + const ::std::string& name, Signals* value) { + return ::google::protobuf::internal::ParseNamedEnum( + Signals_descriptor(), name, value); +} +enum ArchiveFormat { + ARCHIVEUNKNOWN = 0, + ARCHIVEAUTO = 1, + ARCHIVETARGZ = 2, + ARCHIVEZIP = 3, + ArchiveFormat_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, + ArchiveFormat_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max +}; +bool ArchiveFormat_IsValid(int value); +const ArchiveFormat ArchiveFormat_MIN = ARCHIVEUNKNOWN; +const ArchiveFormat ArchiveFormat_MAX = ARCHIVEZIP; +const int ArchiveFormat_ARRAYSIZE = ArchiveFormat_MAX + 1; + +const ::google::protobuf::EnumDescriptor* ArchiveFormat_descriptor(); +inline const ::std::string& ArchiveFormat_Name(ArchiveFormat value) { + return ::google::protobuf::internal::NameOfEnum( + ArchiveFormat_descriptor(), value); +} +inline bool ArchiveFormat_Parse( + const ::std::string& name, ArchiveFormat* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ArchiveFormat_descriptor(), name, value); +} +// =================================================================== + +class Logger : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.Logger) */ { + public: + Logger(); + virtual ~Logger(); + + Logger(const Logger& from); + + inline Logger& operator=(const Logger& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Logger(Logger&& from) noexcept + : Logger() { + *this = ::std::move(from); + } + + inline Logger& operator=(Logger&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const Logger& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Logger* internal_default_instance() { + return reinterpret_cast( + &_Logger_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(Logger* other); + friend void swap(Logger& a, Logger& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Logger* New() const final { + return CreateMaybeMessage(NULL); + } + + Logger* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Logger& from); + void MergeFrom(const Logger& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Logger* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .jasper.LogOptions log_options = 2; + bool has_log_options() const; + void clear_log_options(); + static const int kLogOptionsFieldNumber = 2; + private: + const ::jasper::LogOptions& _internal_log_options() const; + public: + const ::jasper::LogOptions& log_options() const; + ::jasper::LogOptions* release_log_options(); + ::jasper::LogOptions* mutable_log_options(); + void set_allocated_log_options(::jasper::LogOptions* log_options); + + // .jasper.LogType log_type = 1; + void clear_log_type(); + static const int kLogTypeFieldNumber = 1; + ::jasper::LogType log_type() const; + void set_log_type(::jasper::LogType value); + + // @@protoc_insertion_point(class_scope:jasper.Logger) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::jasper::LogOptions* log_options_; + int log_type_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class OutputOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.OutputOptions) */ { + public: + OutputOptions(); + virtual ~OutputOptions(); + + OutputOptions(const OutputOptions& from); + + inline OutputOptions& operator=(const OutputOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + OutputOptions(OutputOptions&& from) noexcept + : OutputOptions() { + *this = ::std::move(from); + } + + inline OutputOptions& operator=(OutputOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const OutputOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const OutputOptions* internal_default_instance() { + return reinterpret_cast( + &_OutputOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(OutputOptions* other); + friend void swap(OutputOptions& a, OutputOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline OutputOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + OutputOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const OutputOptions& from); + void MergeFrom(const OutputOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(OutputOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .jasper.Logger loggers = 1; + int loggers_size() const; + void clear_loggers(); + static const int kLoggersFieldNumber = 1; + ::jasper::Logger* mutable_loggers(int index); + ::google::protobuf::RepeatedPtrField< ::jasper::Logger >* + mutable_loggers(); + const ::jasper::Logger& loggers(int index) const; + ::jasper::Logger* add_loggers(); + const ::google::protobuf::RepeatedPtrField< ::jasper::Logger >& + loggers() const; + + // bool suppress_output = 2; + void clear_suppress_output(); + static const int kSuppressOutputFieldNumber = 2; + bool suppress_output() const; + void set_suppress_output(bool value); + + // bool suppress_error = 3; + void clear_suppress_error(); + static const int kSuppressErrorFieldNumber = 3; + bool suppress_error() const; + void set_suppress_error(bool value); + + // bool redirect_output_to_error = 4; + void clear_redirect_output_to_error(); + static const int kRedirectOutputToErrorFieldNumber = 4; + bool redirect_output_to_error() const; + void set_redirect_output_to_error(bool value); + + // bool redirect_error_to_output = 5; + void clear_redirect_error_to_output(); + static const int kRedirectErrorToOutputFieldNumber = 5; + bool redirect_error_to_output() const; + void set_redirect_error_to_output(bool value); + + // @@protoc_insertion_point(class_scope:jasper.OutputOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::jasper::Logger > loggers_; + bool suppress_output_; + bool suppress_error_; + bool redirect_output_to_error_; + bool redirect_error_to_output_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class LogOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.LogOptions) */ { + public: + LogOptions(); + virtual ~LogOptions(); + + LogOptions(const LogOptions& from); + + inline LogOptions& operator=(const LogOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + LogOptions(LogOptions&& from) noexcept + : LogOptions() { + *this = ::std::move(from); + } + + inline LogOptions& operator=(LogOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const LogOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const LogOptions* internal_default_instance() { + return reinterpret_cast( + &_LogOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(LogOptions* other); + friend void swap(LogOptions& a, LogOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline LogOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + LogOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const LogOptions& from); + void MergeFrom(const LogOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(LogOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string default_prefix = 3; + void clear_default_prefix(); + static const int kDefaultPrefixFieldNumber = 3; + const ::std::string& default_prefix() const; + void set_default_prefix(const ::std::string& value); + #if LANG_CXX11 + void set_default_prefix(::std::string&& value); + #endif + void set_default_prefix(const char* value); + void set_default_prefix(const char* value, size_t size); + ::std::string* mutable_default_prefix(); + ::std::string* release_default_prefix(); + void set_allocated_default_prefix(::std::string* default_prefix); + + // string file_name = 4; + void clear_file_name(); + static const int kFileNameFieldNumber = 4; + const ::std::string& file_name() const; + void set_file_name(const ::std::string& value); + #if LANG_CXX11 + void set_file_name(::std::string&& value); + #endif + void set_file_name(const char* value); + void set_file_name(const char* value, size_t size); + ::std::string* mutable_file_name(); + ::std::string* release_file_name(); + void set_allocated_file_name(::std::string* file_name); + + // string format = 5; + void clear_format(); + static const int kFormatFieldNumber = 5; + const ::std::string& format() const; + void set_format(const ::std::string& value); + #if LANG_CXX11 + void set_format(::std::string&& value); + #endif + void set_format(const char* value); + void set_format(const char* value, size_t size); + ::std::string* mutable_format(); + ::std::string* release_format(); + void set_allocated_format(::std::string* format); + + // string sumo_endpoint = 8; + void clear_sumo_endpoint(); + static const int kSumoEndpointFieldNumber = 8; + const ::std::string& sumo_endpoint() const; + void set_sumo_endpoint(const ::std::string& value); + #if LANG_CXX11 + void set_sumo_endpoint(::std::string&& value); + #endif + void set_sumo_endpoint(const char* value); + void set_sumo_endpoint(const char* value, size_t size); + ::std::string* mutable_sumo_endpoint(); + ::std::string* release_sumo_endpoint(); + void set_allocated_sumo_endpoint(::std::string* sumo_endpoint); + + // .jasper.BufferOptions buffer_options = 1; + bool has_buffer_options() const; + void clear_buffer_options(); + static const int kBufferOptionsFieldNumber = 1; + private: + const ::jasper::BufferOptions& _internal_buffer_options() const; + public: + const ::jasper::BufferOptions& buffer_options() const; + ::jasper::BufferOptions* release_buffer_options(); + ::jasper::BufferOptions* mutable_buffer_options(); + void set_allocated_buffer_options(::jasper::BufferOptions* buffer_options); + + // .jasper.BuildloggerOptions buildlogger_options = 2; + bool has_buildlogger_options() const; + void clear_buildlogger_options(); + static const int kBuildloggerOptionsFieldNumber = 2; + private: + const ::jasper::BuildloggerOptions& _internal_buildlogger_options() const; + public: + const ::jasper::BuildloggerOptions& buildlogger_options() const; + ::jasper::BuildloggerOptions* release_buildlogger_options(); + ::jasper::BuildloggerOptions* mutable_buildlogger_options(); + void set_allocated_buildlogger_options(::jasper::BuildloggerOptions* buildlogger_options); + + // .jasper.SplunkOptions splunk_options = 7; + bool has_splunk_options() const; + void clear_splunk_options(); + static const int kSplunkOptionsFieldNumber = 7; + private: + const ::jasper::SplunkOptions& _internal_splunk_options() const; + public: + const ::jasper::SplunkOptions& splunk_options() const; + ::jasper::SplunkOptions* release_splunk_options(); + ::jasper::SplunkOptions* mutable_splunk_options(); + void set_allocated_splunk_options(::jasper::SplunkOptions* splunk_options); + + // int64 in_memory_cap = 6; + void clear_in_memory_cap(); + static const int kInMemoryCapFieldNumber = 6; + ::google::protobuf::int64 in_memory_cap() const; + void set_in_memory_cap(::google::protobuf::int64 value); + + // @@protoc_insertion_point(class_scope:jasper.LogOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr default_prefix_; + ::google::protobuf::internal::ArenaStringPtr file_name_; + ::google::protobuf::internal::ArenaStringPtr format_; + ::google::protobuf::internal::ArenaStringPtr sumo_endpoint_; + ::jasper::BufferOptions* buffer_options_; + ::jasper::BuildloggerOptions* buildlogger_options_; + ::jasper::SplunkOptions* splunk_options_; + ::google::protobuf::int64 in_memory_cap_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class BufferOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.BufferOptions) */ { + public: + BufferOptions(); + virtual ~BufferOptions(); + + BufferOptions(const BufferOptions& from); + + inline BufferOptions& operator=(const BufferOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + BufferOptions(BufferOptions&& from) noexcept + : BufferOptions() { + *this = ::std::move(from); + } + + inline BufferOptions& operator=(BufferOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const BufferOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const BufferOptions* internal_default_instance() { + return reinterpret_cast( + &_BufferOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + void Swap(BufferOptions* other); + friend void swap(BufferOptions& a, BufferOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline BufferOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + BufferOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const BufferOptions& from); + void MergeFrom(const BufferOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(BufferOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // int64 duration = 2; + void clear_duration(); + static const int kDurationFieldNumber = 2; + ::google::protobuf::int64 duration() const; + void set_duration(::google::protobuf::int64 value); + + // int64 max_size = 3; + void clear_max_size(); + static const int kMaxSizeFieldNumber = 3; + ::google::protobuf::int64 max_size() const; + void set_max_size(::google::protobuf::int64 value); + + // bool buffered = 1; + void clear_buffered(); + static const int kBufferedFieldNumber = 1; + bool buffered() const; + void set_buffered(bool value); + + // @@protoc_insertion_point(class_scope:jasper.BufferOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::int64 duration_; + ::google::protobuf::int64 max_size_; + bool buffered_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class BuildloggerOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.BuildloggerOptions) */ { + public: + BuildloggerOptions(); + virtual ~BuildloggerOptions(); + + BuildloggerOptions(const BuildloggerOptions& from); + + inline BuildloggerOptions& operator=(const BuildloggerOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + BuildloggerOptions(BuildloggerOptions&& from) noexcept + : BuildloggerOptions() { + *this = ::std::move(from); + } + + inline BuildloggerOptions& operator=(BuildloggerOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const BuildloggerOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const BuildloggerOptions* internal_default_instance() { + return reinterpret_cast( + &_BuildloggerOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + void Swap(BuildloggerOptions* other); + friend void swap(BuildloggerOptions& a, BuildloggerOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline BuildloggerOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + BuildloggerOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const BuildloggerOptions& from); + void MergeFrom(const BuildloggerOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(BuildloggerOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string url = 2; + void clear_url(); + static const int kUrlFieldNumber = 2; + const ::std::string& url() const; + void set_url(const ::std::string& value); + #if LANG_CXX11 + void set_url(::std::string&& value); + #endif + void set_url(const char* value); + void set_url(const char* value, size_t size); + ::std::string* mutable_url(); + ::std::string* release_url(); + void set_allocated_url(::std::string* url); + + // string phase = 4; + void clear_phase(); + static const int kPhaseFieldNumber = 4; + const ::std::string& phase() const; + void set_phase(const ::std::string& value); + #if LANG_CXX11 + void set_phase(::std::string&& value); + #endif + void set_phase(const char* value); + void set_phase(const char* value, size_t size); + ::std::string* mutable_phase(); + ::std::string* release_phase(); + void set_allocated_phase(::std::string* phase); + + // string builder = 5; + void clear_builder(); + static const int kBuilderFieldNumber = 5; + const ::std::string& builder() const; + void set_builder(const ::std::string& value); + #if LANG_CXX11 + void set_builder(::std::string&& value); + #endif + void set_builder(const char* value); + void set_builder(const char* value, size_t size); + ::std::string* mutable_builder(); + ::std::string* release_builder(); + void set_allocated_builder(::std::string* builder); + + // string test = 6; + void clear_test(); + static const int kTestFieldNumber = 6; + const ::std::string& test() const; + void set_test(const ::std::string& value); + #if LANG_CXX11 + void set_test(::std::string&& value); + #endif + void set_test(const char* value); + void set_test(const char* value, size_t size); + ::std::string* mutable_test(); + ::std::string* release_test(); + void set_allocated_test(::std::string* test); + + // string command = 7; + void clear_command(); + static const int kCommandFieldNumber = 7; + const ::std::string& command() const; + void set_command(const ::std::string& value); + #if LANG_CXX11 + void set_command(::std::string&& value); + #endif + void set_command(const char* value); + void set_command(const char* value, size_t size); + ::std::string* mutable_command(); + ::std::string* release_command(); + void set_allocated_command(::std::string* command); + + // int64 number = 3; + void clear_number(); + static const int kNumberFieldNumber = 3; + ::google::protobuf::int64 number() const; + void set_number(::google::protobuf::int64 value); + + // bool create_test = 1; + void clear_create_test(); + static const int kCreateTestFieldNumber = 1; + bool create_test() const; + void set_create_test(bool value); + + // @@protoc_insertion_point(class_scope:jasper.BuildloggerOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr url_; + ::google::protobuf::internal::ArenaStringPtr phase_; + ::google::protobuf::internal::ArenaStringPtr builder_; + ::google::protobuf::internal::ArenaStringPtr test_; + ::google::protobuf::internal::ArenaStringPtr command_; + ::google::protobuf::int64 number_; + bool create_test_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SplunkOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.SplunkOptions) */ { + public: + SplunkOptions(); + virtual ~SplunkOptions(); + + SplunkOptions(const SplunkOptions& from); + + inline SplunkOptions& operator=(const SplunkOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SplunkOptions(SplunkOptions&& from) noexcept + : SplunkOptions() { + *this = ::std::move(from); + } + + inline SplunkOptions& operator=(SplunkOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const SplunkOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SplunkOptions* internal_default_instance() { + return reinterpret_cast( + &_SplunkOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + void Swap(SplunkOptions* other); + friend void swap(SplunkOptions& a, SplunkOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SplunkOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + SplunkOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SplunkOptions& from); + void MergeFrom(const SplunkOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SplunkOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string url = 1; + void clear_url(); + static const int kUrlFieldNumber = 1; + const ::std::string& url() const; + void set_url(const ::std::string& value); + #if LANG_CXX11 + void set_url(::std::string&& value); + #endif + void set_url(const char* value); + void set_url(const char* value, size_t size); + ::std::string* mutable_url(); + ::std::string* release_url(); + void set_allocated_url(::std::string* url); + + // string token = 2; + void clear_token(); + static const int kTokenFieldNumber = 2; + const ::std::string& token() const; + void set_token(const ::std::string& value); + #if LANG_CXX11 + void set_token(::std::string&& value); + #endif + void set_token(const char* value); + void set_token(const char* value, size_t size); + ::std::string* mutable_token(); + ::std::string* release_token(); + void set_allocated_token(::std::string* token); + + // string channel = 3; + void clear_channel(); + static const int kChannelFieldNumber = 3; + const ::std::string& channel() const; + void set_channel(const ::std::string& value); + #if LANG_CXX11 + void set_channel(::std::string&& value); + #endif + void set_channel(const char* value); + void set_channel(const char* value, size_t size); + ::std::string* mutable_channel(); + ::std::string* release_channel(); + void set_allocated_channel(::std::string* channel); + + // @@protoc_insertion_point(class_scope:jasper.SplunkOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr url_; + ::google::protobuf::internal::ArenaStringPtr token_; + ::google::protobuf::internal::ArenaStringPtr channel_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class CreateOptions_EnvironmentEntry_DoNotUse : public ::google::protobuf::internal::MapEntry { +public: + typedef ::google::protobuf::internal::MapEntry SuperType; + CreateOptions_EnvironmentEntry_DoNotUse(); + CreateOptions_EnvironmentEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const CreateOptions_EnvironmentEntry_DoNotUse& other); + static const CreateOptions_EnvironmentEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_CreateOptions_EnvironmentEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class CreateOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.CreateOptions) */ { + public: + CreateOptions(); + virtual ~CreateOptions(); + + CreateOptions(const CreateOptions& from); + + inline CreateOptions& operator=(const CreateOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CreateOptions(CreateOptions&& from) noexcept + : CreateOptions() { + *this = ::std::move(from); + } + + inline CreateOptions& operator=(CreateOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CreateOptions* internal_default_instance() { + return reinterpret_cast( + &_CreateOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + void Swap(CreateOptions* other); + friend void swap(CreateOptions& a, CreateOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CreateOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + CreateOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CreateOptions& from); + void MergeFrom(const CreateOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CreateOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + // repeated string args = 1; + int args_size() const; + void clear_args(); + static const int kArgsFieldNumber = 1; + const ::std::string& args(int index) const; + ::std::string* mutable_args(int index); + void set_args(int index, const ::std::string& value); + #if LANG_CXX11 + void set_args(int index, ::std::string&& value); + #endif + void set_args(int index, const char* value); + void set_args(int index, const char* value, size_t size); + ::std::string* add_args(); + void add_args(const ::std::string& value); + #if LANG_CXX11 + void add_args(::std::string&& value); + #endif + void add_args(const char* value); + void add_args(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& args() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_args(); + + // map environment = 3; + int environment_size() const; + void clear_environment(); + static const int kEnvironmentFieldNumber = 3; + const ::google::protobuf::Map< ::std::string, ::std::string >& + environment() const; + ::google::protobuf::Map< ::std::string, ::std::string >* + mutable_environment(); + + // repeated string tags = 6; + int tags_size() const; + void clear_tags(); + static const int kTagsFieldNumber = 6; + const ::std::string& tags(int index) const; + ::std::string* mutable_tags(int index); + void set_tags(int index, const ::std::string& value); + #if LANG_CXX11 + void set_tags(int index, ::std::string&& value); + #endif + void set_tags(int index, const char* value); + void set_tags(int index, const char* value, size_t size); + ::std::string* add_tags(); + void add_tags(const ::std::string& value); + #if LANG_CXX11 + void add_tags(::std::string&& value); + #endif + void add_tags(const char* value); + void add_tags(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& tags() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tags(); + + // repeated .jasper.CreateOptions on_success = 7; + int on_success_size() const; + void clear_on_success(); + static const int kOnSuccessFieldNumber = 7; + ::jasper::CreateOptions* mutable_on_success(int index); + ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >* + mutable_on_success(); + const ::jasper::CreateOptions& on_success(int index) const; + ::jasper::CreateOptions* add_on_success(); + const ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >& + on_success() const; + + // repeated .jasper.CreateOptions on_failure = 8; + int on_failure_size() const; + void clear_on_failure(); + static const int kOnFailureFieldNumber = 8; + ::jasper::CreateOptions* mutable_on_failure(int index); + ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >* + mutable_on_failure(); + const ::jasper::CreateOptions& on_failure(int index) const; + ::jasper::CreateOptions* add_on_failure(); + const ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >& + on_failure() const; + + // repeated .jasper.CreateOptions on_timeout = 9; + int on_timeout_size() const; + void clear_on_timeout(); + static const int kOnTimeoutFieldNumber = 9; + ::jasper::CreateOptions* mutable_on_timeout(int index); + ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >* + mutable_on_timeout(); + const ::jasper::CreateOptions& on_timeout(int index) const; + ::jasper::CreateOptions* add_on_timeout(); + const ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >& + on_timeout() const; + + // string working_directory = 2; + void clear_working_directory(); + static const int kWorkingDirectoryFieldNumber = 2; + const ::std::string& working_directory() const; + void set_working_directory(const ::std::string& value); + #if LANG_CXX11 + void set_working_directory(::std::string&& value); + #endif + void set_working_directory(const char* value); + void set_working_directory(const char* value, size_t size); + ::std::string* mutable_working_directory(); + ::std::string* release_working_directory(); + void set_allocated_working_directory(::std::string* working_directory); + + // .jasper.OutputOptions output = 10; + bool has_output() const; + void clear_output(); + static const int kOutputFieldNumber = 10; + private: + const ::jasper::OutputOptions& _internal_output() const; + public: + const ::jasper::OutputOptions& output() const; + ::jasper::OutputOptions* release_output(); + ::jasper::OutputOptions* mutable_output(); + void set_allocated_output(::jasper::OutputOptions* output); + + // int64 timeout_seconds = 5; + void clear_timeout_seconds(); + static const int kTimeoutSecondsFieldNumber = 5; + ::google::protobuf::int64 timeout_seconds() const; + void set_timeout_seconds(::google::protobuf::int64 value); + + // bool override_environ = 4; + void clear_override_environ(); + static const int kOverrideEnvironFieldNumber = 4; + bool override_environ() const; + void set_override_environ(bool value); + + // @@protoc_insertion_point(class_scope:jasper.CreateOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::std::string> args_; + ::google::protobuf::internal::MapField< + CreateOptions_EnvironmentEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 > environment_; + ::google::protobuf::RepeatedPtrField< ::std::string> tags_; + ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions > on_success_; + ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions > on_failure_; + ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions > on_timeout_; + ::google::protobuf::internal::ArenaStringPtr working_directory_; + ::jasper::OutputOptions* output_; + ::google::protobuf::int64 timeout_seconds_; + bool override_environ_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class ProcessInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.ProcessInfo) */ { + public: + ProcessInfo(); + virtual ~ProcessInfo(); + + ProcessInfo(const ProcessInfo& from); + + inline ProcessInfo& operator=(const ProcessInfo& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ProcessInfo(ProcessInfo&& from) noexcept + : ProcessInfo() { + *this = ::std::move(from); + } + + inline ProcessInfo& operator=(ProcessInfo&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const ProcessInfo& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ProcessInfo* internal_default_instance() { + return reinterpret_cast( + &_ProcessInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + void Swap(ProcessInfo* other); + friend void swap(ProcessInfo& a, ProcessInfo& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ProcessInfo* New() const final { + return CreateMaybeMessage(NULL); + } + + ProcessInfo* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ProcessInfo& from); + void MergeFrom(const ProcessInfo& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ProcessInfo* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string id = 1; + void clear_id(); + static const int kIdFieldNumber = 1; + const ::std::string& id() const; + void set_id(const ::std::string& value); + #if LANG_CXX11 + void set_id(::std::string&& value); + #endif + void set_id(const char* value); + void set_id(const char* value, size_t size); + ::std::string* mutable_id(); + ::std::string* release_id(); + void set_allocated_id(::std::string* id); + + // string host_id = 3; + void clear_host_id(); + static const int kHostIdFieldNumber = 3; + const ::std::string& host_id() const; + void set_host_id(const ::std::string& value); + #if LANG_CXX11 + void set_host_id(::std::string&& value); + #endif + void set_host_id(const char* value); + void set_host_id(const char* value, size_t size); + ::std::string* mutable_host_id(); + ::std::string* release_host_id(); + void set_allocated_host_id(::std::string* host_id); + + // .jasper.CreateOptions options = 8; + bool has_options() const; + void clear_options(); + static const int kOptionsFieldNumber = 8; + private: + const ::jasper::CreateOptions& _internal_options() const; + public: + const ::jasper::CreateOptions& options() const; + ::jasper::CreateOptions* release_options(); + ::jasper::CreateOptions* mutable_options(); + void set_allocated_options(::jasper::CreateOptions* options); + + // int64 pid = 2; + void clear_pid(); + static const int kPidFieldNumber = 2; + ::google::protobuf::int64 pid() const; + void set_pid(::google::protobuf::int64 value); + + // bool running = 4; + void clear_running(); + static const int kRunningFieldNumber = 4; + bool running() const; + void set_running(bool value); + + // bool successful = 5; + void clear_successful(); + static const int kSuccessfulFieldNumber = 5; + bool successful() const; + void set_successful(bool value); + + // bool complete = 6; + void clear_complete(); + static const int kCompleteFieldNumber = 6; + bool complete() const; + void set_complete(bool value); + + // bool timedout = 7; + void clear_timedout(); + static const int kTimedoutFieldNumber = 7; + bool timedout() const; + void set_timedout(bool value); + + // @@protoc_insertion_point(class_scope:jasper.ProcessInfo) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr id_; + ::google::protobuf::internal::ArenaStringPtr host_id_; + ::jasper::CreateOptions* options_; + ::google::protobuf::int64 pid_; + bool running_; + bool successful_; + bool complete_; + bool timedout_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class StatusResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.StatusResponse) */ { + public: + StatusResponse(); + virtual ~StatusResponse(); + + StatusResponse(const StatusResponse& from); + + inline StatusResponse& operator=(const StatusResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + StatusResponse(StatusResponse&& from) noexcept + : StatusResponse() { + *this = ::std::move(from); + } + + inline StatusResponse& operator=(StatusResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const StatusResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const StatusResponse* internal_default_instance() { + return reinterpret_cast( + &_StatusResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + void Swap(StatusResponse* other); + friend void swap(StatusResponse& a, StatusResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline StatusResponse* New() const final { + return CreateMaybeMessage(NULL); + } + + StatusResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const StatusResponse& from); + void MergeFrom(const StatusResponse& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(StatusResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string host_id = 1; + void clear_host_id(); + static const int kHostIdFieldNumber = 1; + const ::std::string& host_id() const; + void set_host_id(const ::std::string& value); + #if LANG_CXX11 + void set_host_id(::std::string&& value); + #endif + void set_host_id(const char* value); + void set_host_id(const char* value, size_t size); + ::std::string* mutable_host_id(); + ::std::string* release_host_id(); + void set_allocated_host_id(::std::string* host_id); + + // bool active = 2; + void clear_active(); + static const int kActiveFieldNumber = 2; + bool active() const; + void set_active(bool value); + + // @@protoc_insertion_point(class_scope:jasper.StatusResponse) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr host_id_; + bool active_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class Filter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.Filter) */ { + public: + Filter(); + virtual ~Filter(); + + Filter(const Filter& from); + + inline Filter& operator=(const Filter& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Filter(Filter&& from) noexcept + : Filter() { + *this = ::std::move(from); + } + + inline Filter& operator=(Filter&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const Filter& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Filter* internal_default_instance() { + return reinterpret_cast( + &_Filter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + void Swap(Filter* other); + friend void swap(Filter& a, Filter& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Filter* New() const final { + return CreateMaybeMessage(NULL); + } + + Filter* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Filter& from); + void MergeFrom(const Filter& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Filter* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .jasper.FilterSpecifications name = 1; + void clear_name(); + static const int kNameFieldNumber = 1; + ::jasper::FilterSpecifications name() const; + void set_name(::jasper::FilterSpecifications value); + + // @@protoc_insertion_point(class_scope:jasper.Filter) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + int name_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SignalProcess : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.SignalProcess) */ { + public: + SignalProcess(); + virtual ~SignalProcess(); + + SignalProcess(const SignalProcess& from); + + inline SignalProcess& operator=(const SignalProcess& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SignalProcess(SignalProcess&& from) noexcept + : SignalProcess() { + *this = ::std::move(from); + } + + inline SignalProcess& operator=(SignalProcess&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const SignalProcess& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SignalProcess* internal_default_instance() { + return reinterpret_cast( + &_SignalProcess_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + void Swap(SignalProcess* other); + friend void swap(SignalProcess& a, SignalProcess& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SignalProcess* New() const final { + return CreateMaybeMessage(NULL); + } + + SignalProcess* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SignalProcess& from); + void MergeFrom(const SignalProcess& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SignalProcess* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .jasper.JasperProcessID ProcessID = 1; + bool has_processid() const; + void clear_processid(); + static const int kProcessIDFieldNumber = 1; + private: + const ::jasper::JasperProcessID& _internal_processid() const; + public: + const ::jasper::JasperProcessID& processid() const; + ::jasper::JasperProcessID* release_processid(); + ::jasper::JasperProcessID* mutable_processid(); + void set_allocated_processid(::jasper::JasperProcessID* processid); + + // .jasper.Signals signal = 2; + void clear_signal(); + static const int kSignalFieldNumber = 2; + ::jasper::Signals signal() const; + void set_signal(::jasper::Signals value); + + // @@protoc_insertion_point(class_scope:jasper.SignalProcess) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::jasper::JasperProcessID* processid_; + int signal_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class TagName : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.TagName) */ { + public: + TagName(); + virtual ~TagName(); + + TagName(const TagName& from); + + inline TagName& operator=(const TagName& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TagName(TagName&& from) noexcept + : TagName() { + *this = ::std::move(from); + } + + inline TagName& operator=(TagName&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const TagName& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TagName* internal_default_instance() { + return reinterpret_cast( + &_TagName_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + void Swap(TagName* other); + friend void swap(TagName& a, TagName& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TagName* New() const final { + return CreateMaybeMessage(NULL); + } + + TagName* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const TagName& from); + void MergeFrom(const TagName& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(TagName* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string value = 1; + void clear_value(); + static const int kValueFieldNumber = 1; + const ::std::string& value() const; + void set_value(const ::std::string& value); + #if LANG_CXX11 + void set_value(::std::string&& value); + #endif + void set_value(const char* value); + void set_value(const char* value, size_t size); + ::std::string* mutable_value(); + ::std::string* release_value(); + void set_allocated_value(::std::string* value); + + // @@protoc_insertion_point(class_scope:jasper.TagName) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr value_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class ProcessTags : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.ProcessTags) */ { + public: + ProcessTags(); + virtual ~ProcessTags(); + + ProcessTags(const ProcessTags& from); + + inline ProcessTags& operator=(const ProcessTags& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ProcessTags(ProcessTags&& from) noexcept + : ProcessTags() { + *this = ::std::move(from); + } + + inline ProcessTags& operator=(ProcessTags&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const ProcessTags& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ProcessTags* internal_default_instance() { + return reinterpret_cast( + &_ProcessTags_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + void Swap(ProcessTags* other); + friend void swap(ProcessTags& a, ProcessTags& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ProcessTags* New() const final { + return CreateMaybeMessage(NULL); + } + + ProcessTags* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ProcessTags& from); + void MergeFrom(const ProcessTags& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ProcessTags* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string tags = 2; + int tags_size() const; + void clear_tags(); + static const int kTagsFieldNumber = 2; + const ::std::string& tags(int index) const; + ::std::string* mutable_tags(int index); + void set_tags(int index, const ::std::string& value); + #if LANG_CXX11 + void set_tags(int index, ::std::string&& value); + #endif + void set_tags(int index, const char* value); + void set_tags(int index, const char* value, size_t size); + ::std::string* add_tags(); + void add_tags(const ::std::string& value); + #if LANG_CXX11 + void add_tags(::std::string&& value); + #endif + void add_tags(const char* value); + void add_tags(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& tags() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tags(); + + // string processID = 1; + void clear_processid(); + static const int kProcessIDFieldNumber = 1; + const ::std::string& processid() const; + void set_processid(const ::std::string& value); + #if LANG_CXX11 + void set_processid(::std::string&& value); + #endif + void set_processid(const char* value); + void set_processid(const char* value, size_t size); + ::std::string* mutable_processid(); + ::std::string* release_processid(); + void set_allocated_processid(::std::string* processid); + + // @@protoc_insertion_point(class_scope:jasper.ProcessTags) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::std::string> tags_; + ::google::protobuf::internal::ArenaStringPtr processid_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class JasperProcessID : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.JasperProcessID) */ { + public: + JasperProcessID(); + virtual ~JasperProcessID(); + + JasperProcessID(const JasperProcessID& from); + + inline JasperProcessID& operator=(const JasperProcessID& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + JasperProcessID(JasperProcessID&& from) noexcept + : JasperProcessID() { + *this = ::std::move(from); + } + + inline JasperProcessID& operator=(JasperProcessID&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const JasperProcessID& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const JasperProcessID* internal_default_instance() { + return reinterpret_cast( + &_JasperProcessID_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + void Swap(JasperProcessID* other); + friend void swap(JasperProcessID& a, JasperProcessID& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline JasperProcessID* New() const final { + return CreateMaybeMessage(NULL); + } + + JasperProcessID* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const JasperProcessID& from); + void MergeFrom(const JasperProcessID& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(JasperProcessID* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string value = 1; + void clear_value(); + static const int kValueFieldNumber = 1; + const ::std::string& value() const; + void set_value(const ::std::string& value); + #if LANG_CXX11 + void set_value(::std::string&& value); + #endif + void set_value(const char* value); + void set_value(const char* value, size_t size); + ::std::string* mutable_value(); + ::std::string* release_value(); + void set_allocated_value(::std::string* value); + + // @@protoc_insertion_point(class_scope:jasper.JasperProcessID) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr value_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class OperationOutcome : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.OperationOutcome) */ { + public: + OperationOutcome(); + virtual ~OperationOutcome(); + + OperationOutcome(const OperationOutcome& from); + + inline OperationOutcome& operator=(const OperationOutcome& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + OperationOutcome(OperationOutcome&& from) noexcept + : OperationOutcome() { + *this = ::std::move(from); + } + + inline OperationOutcome& operator=(OperationOutcome&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const OperationOutcome& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const OperationOutcome* internal_default_instance() { + return reinterpret_cast( + &_OperationOutcome_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + void Swap(OperationOutcome* other); + friend void swap(OperationOutcome& a, OperationOutcome& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline OperationOutcome* New() const final { + return CreateMaybeMessage(NULL); + } + + OperationOutcome* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const OperationOutcome& from); + void MergeFrom(const OperationOutcome& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(OperationOutcome* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string text = 2; + void clear_text(); + static const int kTextFieldNumber = 2; + const ::std::string& text() const; + void set_text(const ::std::string& value); + #if LANG_CXX11 + void set_text(::std::string&& value); + #endif + void set_text(const char* value); + void set_text(const char* value, size_t size); + ::std::string* mutable_text(); + ::std::string* release_text(); + void set_allocated_text(::std::string* text); + + // bool success = 1; + void clear_success(); + static const int kSuccessFieldNumber = 1; + bool success() const; + void set_success(bool value); + + // @@protoc_insertion_point(class_scope:jasper.OperationOutcome) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr text_; + bool success_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class BuildOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.BuildOptions) */ { + public: + BuildOptions(); + virtual ~BuildOptions(); + + BuildOptions(const BuildOptions& from); + + inline BuildOptions& operator=(const BuildOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + BuildOptions(BuildOptions&& from) noexcept + : BuildOptions() { + *this = ::std::move(from); + } + + inline BuildOptions& operator=(BuildOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const BuildOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const BuildOptions* internal_default_instance() { + return reinterpret_cast( + &_BuildOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + void Swap(BuildOptions* other); + friend void swap(BuildOptions& a, BuildOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline BuildOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + BuildOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const BuildOptions& from); + void MergeFrom(const BuildOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(BuildOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string target = 1; + void clear_target(); + static const int kTargetFieldNumber = 1; + const ::std::string& target() const; + void set_target(const ::std::string& value); + #if LANG_CXX11 + void set_target(::std::string&& value); + #endif + void set_target(const char* value); + void set_target(const char* value, size_t size); + ::std::string* mutable_target(); + ::std::string* release_target(); + void set_allocated_target(::std::string* target); + + // string arch = 2; + void clear_arch(); + static const int kArchFieldNumber = 2; + const ::std::string& arch() const; + void set_arch(const ::std::string& value); + #if LANG_CXX11 + void set_arch(::std::string&& value); + #endif + void set_arch(const char* value); + void set_arch(const char* value, size_t size); + ::std::string* mutable_arch(); + ::std::string* release_arch(); + void set_allocated_arch(::std::string* arch); + + // string edition = 3; + void clear_edition(); + static const int kEditionFieldNumber = 3; + const ::std::string& edition() const; + void set_edition(const ::std::string& value); + #if LANG_CXX11 + void set_edition(::std::string&& value); + #endif + void set_edition(const char* value); + void set_edition(const char* value, size_t size); + ::std::string* mutable_edition(); + ::std::string* release_edition(); + void set_allocated_edition(::std::string* edition); + + // bool debug = 4; + void clear_debug(); + static const int kDebugFieldNumber = 4; + bool debug() const; + void set_debug(bool value); + + // @@protoc_insertion_point(class_scope:jasper.BuildOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr target_; + ::google::protobuf::internal::ArenaStringPtr arch_; + ::google::protobuf::internal::ArenaStringPtr edition_; + bool debug_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MongoDBDownloadOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.MongoDBDownloadOptions) */ { + public: + MongoDBDownloadOptions(); + virtual ~MongoDBDownloadOptions(); + + MongoDBDownloadOptions(const MongoDBDownloadOptions& from); + + inline MongoDBDownloadOptions& operator=(const MongoDBDownloadOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MongoDBDownloadOptions(MongoDBDownloadOptions&& from) noexcept + : MongoDBDownloadOptions() { + *this = ::std::move(from); + } + + inline MongoDBDownloadOptions& operator=(MongoDBDownloadOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const MongoDBDownloadOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MongoDBDownloadOptions* internal_default_instance() { + return reinterpret_cast( + &_MongoDBDownloadOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + void Swap(MongoDBDownloadOptions* other); + friend void swap(MongoDBDownloadOptions& a, MongoDBDownloadOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MongoDBDownloadOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + MongoDBDownloadOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MongoDBDownloadOptions& from); + void MergeFrom(const MongoDBDownloadOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MongoDBDownloadOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string releases = 3; + int releases_size() const; + void clear_releases(); + static const int kReleasesFieldNumber = 3; + const ::std::string& releases(int index) const; + ::std::string* mutable_releases(int index); + void set_releases(int index, const ::std::string& value); + #if LANG_CXX11 + void set_releases(int index, ::std::string&& value); + #endif + void set_releases(int index, const char* value); + void set_releases(int index, const char* value, size_t size); + ::std::string* add_releases(); + void add_releases(const ::std::string& value); + #if LANG_CXX11 + void add_releases(::std::string&& value); + #endif + void add_releases(const char* value); + void add_releases(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& releases() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_releases(); + + // string path = 2; + void clear_path(); + static const int kPathFieldNumber = 2; + const ::std::string& path() const; + void set_path(const ::std::string& value); + #if LANG_CXX11 + void set_path(::std::string&& value); + #endif + void set_path(const char* value); + void set_path(const char* value, size_t size); + ::std::string* mutable_path(); + ::std::string* release_path(); + void set_allocated_path(::std::string* path); + + // .jasper.BuildOptions build_options = 1; + bool has_build_options() const; + void clear_build_options(); + static const int kBuildOptionsFieldNumber = 1; + private: + const ::jasper::BuildOptions& _internal_build_options() const; + public: + const ::jasper::BuildOptions& build_options() const; + ::jasper::BuildOptions* release_build_options(); + ::jasper::BuildOptions* mutable_build_options(); + void set_allocated_build_options(::jasper::BuildOptions* build_options); + + // @@protoc_insertion_point(class_scope:jasper.MongoDBDownloadOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::std::string> releases_; + ::google::protobuf::internal::ArenaStringPtr path_; + ::jasper::BuildOptions* build_options_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class CacheOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.CacheOptions) */ { + public: + CacheOptions(); + virtual ~CacheOptions(); + + CacheOptions(const CacheOptions& from); + + inline CacheOptions& operator=(const CacheOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CacheOptions(CacheOptions&& from) noexcept + : CacheOptions() { + *this = ::std::move(from); + } + + inline CacheOptions& operator=(CacheOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const CacheOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CacheOptions* internal_default_instance() { + return reinterpret_cast( + &_CacheOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + void Swap(CacheOptions* other); + friend void swap(CacheOptions& a, CacheOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CacheOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + CacheOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CacheOptions& from); + void MergeFrom(const CacheOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CacheOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // int64 prune_delay = 2; + void clear_prune_delay(); + static const int kPruneDelayFieldNumber = 2; + ::google::protobuf::int64 prune_delay() const; + void set_prune_delay(::google::protobuf::int64 value); + + // int64 max_size = 3; + void clear_max_size(); + static const int kMaxSizeFieldNumber = 3; + ::google::protobuf::int64 max_size() const; + void set_max_size(::google::protobuf::int64 value); + + // bool disabled = 1; + void clear_disabled(); + static const int kDisabledFieldNumber = 1; + bool disabled() const; + void set_disabled(bool value); + + // @@protoc_insertion_point(class_scope:jasper.CacheOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::int64 prune_delay_; + ::google::protobuf::int64 max_size_; + bool disabled_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class ArchiveOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.ArchiveOptions) */ { + public: + ArchiveOptions(); + virtual ~ArchiveOptions(); + + ArchiveOptions(const ArchiveOptions& from); + + inline ArchiveOptions& operator=(const ArchiveOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArchiveOptions(ArchiveOptions&& from) noexcept + : ArchiveOptions() { + *this = ::std::move(from); + } + + inline ArchiveOptions& operator=(ArchiveOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const ArchiveOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArchiveOptions* internal_default_instance() { + return reinterpret_cast( + &_ArchiveOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + void Swap(ArchiveOptions* other); + friend void swap(ArchiveOptions& a, ArchiveOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArchiveOptions* New() const final { + return CreateMaybeMessage(NULL); + } + + ArchiveOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArchiveOptions& from); + void MergeFrom(const ArchiveOptions& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArchiveOptions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string target_path = 3; + void clear_target_path(); + static const int kTargetPathFieldNumber = 3; + const ::std::string& target_path() const; + void set_target_path(const ::std::string& value); + #if LANG_CXX11 + void set_target_path(::std::string&& value); + #endif + void set_target_path(const char* value); + void set_target_path(const char* value, size_t size); + ::std::string* mutable_target_path(); + ::std::string* release_target_path(); + void set_allocated_target_path(::std::string* target_path); + + // bool should_extract = 1; + void clear_should_extract(); + static const int kShouldExtractFieldNumber = 1; + bool should_extract() const; + void set_should_extract(bool value); + + // .jasper.ArchiveFormat format = 2; + void clear_format(); + static const int kFormatFieldNumber = 2; + ::jasper::ArchiveFormat format() const; + void set_format(::jasper::ArchiveFormat value); + + // @@protoc_insertion_point(class_scope:jasper.ArchiveOptions) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr target_path_; + bool should_extract_; + int format_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class DownloadInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.DownloadInfo) */ { + public: + DownloadInfo(); + virtual ~DownloadInfo(); + + DownloadInfo(const DownloadInfo& from); + + inline DownloadInfo& operator=(const DownloadInfo& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DownloadInfo(DownloadInfo&& from) noexcept + : DownloadInfo() { + *this = ::std::move(from); + } + + inline DownloadInfo& operator=(DownloadInfo&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const DownloadInfo& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DownloadInfo* internal_default_instance() { + return reinterpret_cast( + &_DownloadInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + void Swap(DownloadInfo* other); + friend void swap(DownloadInfo& a, DownloadInfo& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DownloadInfo* New() const final { + return CreateMaybeMessage(NULL); + } + + DownloadInfo* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DownloadInfo& from); + void MergeFrom(const DownloadInfo& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DownloadInfo* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string url = 1; + void clear_url(); + static const int kUrlFieldNumber = 1; + const ::std::string& url() const; + void set_url(const ::std::string& value); + #if LANG_CXX11 + void set_url(::std::string&& value); + #endif + void set_url(const char* value); + void set_url(const char* value, size_t size); + ::std::string* mutable_url(); + ::std::string* release_url(); + void set_allocated_url(::std::string* url); + + // string path = 2; + void clear_path(); + static const int kPathFieldNumber = 2; + const ::std::string& path() const; + void set_path(const ::std::string& value); + #if LANG_CXX11 + void set_path(::std::string&& value); + #endif + void set_path(const char* value); + void set_path(const char* value, size_t size); + ::std::string* mutable_path(); + ::std::string* release_path(); + void set_allocated_path(::std::string* path); + + // .jasper.ArchiveOptions archive_opts = 3; + bool has_archive_opts() const; + void clear_archive_opts(); + static const int kArchiveOptsFieldNumber = 3; + private: + const ::jasper::ArchiveOptions& _internal_archive_opts() const; + public: + const ::jasper::ArchiveOptions& archive_opts() const; + ::jasper::ArchiveOptions* release_archive_opts(); + ::jasper::ArchiveOptions* mutable_archive_opts(); + void set_allocated_archive_opts(::jasper::ArchiveOptions* archive_opts); + + // @@protoc_insertion_point(class_scope:jasper.DownloadInfo) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr url_; + ::google::protobuf::internal::ArenaStringPtr path_; + ::jasper::ArchiveOptions* archive_opts_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class BuildloggerURLs : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jasper.BuildloggerURLs) */ { + public: + BuildloggerURLs(); + virtual ~BuildloggerURLs(); + + BuildloggerURLs(const BuildloggerURLs& from); + + inline BuildloggerURLs& operator=(const BuildloggerURLs& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + BuildloggerURLs(BuildloggerURLs&& from) noexcept + : BuildloggerURLs() { + *this = ::std::move(from); + } + + inline BuildloggerURLs& operator=(BuildloggerURLs&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const BuildloggerURLs& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const BuildloggerURLs* internal_default_instance() { + return reinterpret_cast( + &_BuildloggerURLs_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + void Swap(BuildloggerURLs* other); + friend void swap(BuildloggerURLs& a, BuildloggerURLs& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline BuildloggerURLs* New() const final { + return CreateMaybeMessage(NULL); + } + + BuildloggerURLs* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const BuildloggerURLs& from); + void MergeFrom(const BuildloggerURLs& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(BuildloggerURLs* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string urls = 1; + int urls_size() const; + void clear_urls(); + static const int kUrlsFieldNumber = 1; + const ::std::string& urls(int index) const; + ::std::string* mutable_urls(int index); + void set_urls(int index, const ::std::string& value); + #if LANG_CXX11 + void set_urls(int index, ::std::string&& value); + #endif + void set_urls(int index, const char* value); + void set_urls(int index, const char* value, size_t size); + ::std::string* add_urls(); + void add_urls(const ::std::string& value); + #if LANG_CXX11 + void add_urls(::std::string&& value); + #endif + void add_urls(const char* value); + void add_urls(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& urls() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_urls(); + + // @@protoc_insertion_point(class_scope:jasper.BuildloggerURLs) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::std::string> urls_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_jasper_2eproto::TableStruct; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Logger + +// .jasper.LogType log_type = 1; +inline void Logger::clear_log_type() { + log_type_ = 0; +} +inline ::jasper::LogType Logger::log_type() const { + // @@protoc_insertion_point(field_get:jasper.Logger.log_type) + return static_cast< ::jasper::LogType >(log_type_); +} +inline void Logger::set_log_type(::jasper::LogType value) { + + log_type_ = value; + // @@protoc_insertion_point(field_set:jasper.Logger.log_type) +} + +// .jasper.LogOptions log_options = 2; +inline bool Logger::has_log_options() const { + return this != internal_default_instance() && log_options_ != NULL; +} +inline void Logger::clear_log_options() { + if (GetArenaNoVirtual() == NULL && log_options_ != NULL) { + delete log_options_; + } + log_options_ = NULL; +} +inline const ::jasper::LogOptions& Logger::_internal_log_options() const { + return *log_options_; +} +inline const ::jasper::LogOptions& Logger::log_options() const { + const ::jasper::LogOptions* p = log_options_; + // @@protoc_insertion_point(field_get:jasper.Logger.log_options) + return p != NULL ? *p : *reinterpret_cast( + &::jasper::_LogOptions_default_instance_); +} +inline ::jasper::LogOptions* Logger::release_log_options() { + // @@protoc_insertion_point(field_release:jasper.Logger.log_options) + + ::jasper::LogOptions* temp = log_options_; + log_options_ = NULL; + return temp; +} +inline ::jasper::LogOptions* Logger::mutable_log_options() { + + if (log_options_ == NULL) { + auto* p = CreateMaybeMessage<::jasper::LogOptions>(GetArenaNoVirtual()); + log_options_ = p; + } + // @@protoc_insertion_point(field_mutable:jasper.Logger.log_options) + return log_options_; +} +inline void Logger::set_allocated_log_options(::jasper::LogOptions* log_options) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete log_options_; + } + if (log_options) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + log_options = ::google::protobuf::internal::GetOwnedMessage( + message_arena, log_options, submessage_arena); + } + + } else { + + } + log_options_ = log_options; + // @@protoc_insertion_point(field_set_allocated:jasper.Logger.log_options) +} + +// ------------------------------------------------------------------- + +// OutputOptions + +// repeated .jasper.Logger loggers = 1; +inline int OutputOptions::loggers_size() const { + return loggers_.size(); +} +inline void OutputOptions::clear_loggers() { + loggers_.Clear(); +} +inline ::jasper::Logger* OutputOptions::mutable_loggers(int index) { + // @@protoc_insertion_point(field_mutable:jasper.OutputOptions.loggers) + return loggers_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::jasper::Logger >* +OutputOptions::mutable_loggers() { + // @@protoc_insertion_point(field_mutable_list:jasper.OutputOptions.loggers) + return &loggers_; +} +inline const ::jasper::Logger& OutputOptions::loggers(int index) const { + // @@protoc_insertion_point(field_get:jasper.OutputOptions.loggers) + return loggers_.Get(index); +} +inline ::jasper::Logger* OutputOptions::add_loggers() { + // @@protoc_insertion_point(field_add:jasper.OutputOptions.loggers) + return loggers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::jasper::Logger >& +OutputOptions::loggers() const { + // @@protoc_insertion_point(field_list:jasper.OutputOptions.loggers) + return loggers_; +} + +// bool suppress_output = 2; +inline void OutputOptions::clear_suppress_output() { + suppress_output_ = false; +} +inline bool OutputOptions::suppress_output() const { + // @@protoc_insertion_point(field_get:jasper.OutputOptions.suppress_output) + return suppress_output_; +} +inline void OutputOptions::set_suppress_output(bool value) { + + suppress_output_ = value; + // @@protoc_insertion_point(field_set:jasper.OutputOptions.suppress_output) +} + +// bool suppress_error = 3; +inline void OutputOptions::clear_suppress_error() { + suppress_error_ = false; +} +inline bool OutputOptions::suppress_error() const { + // @@protoc_insertion_point(field_get:jasper.OutputOptions.suppress_error) + return suppress_error_; +} +inline void OutputOptions::set_suppress_error(bool value) { + + suppress_error_ = value; + // @@protoc_insertion_point(field_set:jasper.OutputOptions.suppress_error) +} + +// bool redirect_output_to_error = 4; +inline void OutputOptions::clear_redirect_output_to_error() { + redirect_output_to_error_ = false; +} +inline bool OutputOptions::redirect_output_to_error() const { + // @@protoc_insertion_point(field_get:jasper.OutputOptions.redirect_output_to_error) + return redirect_output_to_error_; +} +inline void OutputOptions::set_redirect_output_to_error(bool value) { + + redirect_output_to_error_ = value; + // @@protoc_insertion_point(field_set:jasper.OutputOptions.redirect_output_to_error) +} + +// bool redirect_error_to_output = 5; +inline void OutputOptions::clear_redirect_error_to_output() { + redirect_error_to_output_ = false; +} +inline bool OutputOptions::redirect_error_to_output() const { + // @@protoc_insertion_point(field_get:jasper.OutputOptions.redirect_error_to_output) + return redirect_error_to_output_; +} +inline void OutputOptions::set_redirect_error_to_output(bool value) { + + redirect_error_to_output_ = value; + // @@protoc_insertion_point(field_set:jasper.OutputOptions.redirect_error_to_output) +} + +// ------------------------------------------------------------------- + +// LogOptions + +// .jasper.BufferOptions buffer_options = 1; +inline bool LogOptions::has_buffer_options() const { + return this != internal_default_instance() && buffer_options_ != NULL; +} +inline void LogOptions::clear_buffer_options() { + if (GetArenaNoVirtual() == NULL && buffer_options_ != NULL) { + delete buffer_options_; + } + buffer_options_ = NULL; +} +inline const ::jasper::BufferOptions& LogOptions::_internal_buffer_options() const { + return *buffer_options_; +} +inline const ::jasper::BufferOptions& LogOptions::buffer_options() const { + const ::jasper::BufferOptions* p = buffer_options_; + // @@protoc_insertion_point(field_get:jasper.LogOptions.buffer_options) + return p != NULL ? *p : *reinterpret_cast( + &::jasper::_BufferOptions_default_instance_); +} +inline ::jasper::BufferOptions* LogOptions::release_buffer_options() { + // @@protoc_insertion_point(field_release:jasper.LogOptions.buffer_options) + + ::jasper::BufferOptions* temp = buffer_options_; + buffer_options_ = NULL; + return temp; +} +inline ::jasper::BufferOptions* LogOptions::mutable_buffer_options() { + + if (buffer_options_ == NULL) { + auto* p = CreateMaybeMessage<::jasper::BufferOptions>(GetArenaNoVirtual()); + buffer_options_ = p; + } + // @@protoc_insertion_point(field_mutable:jasper.LogOptions.buffer_options) + return buffer_options_; +} +inline void LogOptions::set_allocated_buffer_options(::jasper::BufferOptions* buffer_options) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete buffer_options_; + } + if (buffer_options) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + buffer_options = ::google::protobuf::internal::GetOwnedMessage( + message_arena, buffer_options, submessage_arena); + } + + } else { + + } + buffer_options_ = buffer_options; + // @@protoc_insertion_point(field_set_allocated:jasper.LogOptions.buffer_options) +} + +// .jasper.BuildloggerOptions buildlogger_options = 2; +inline bool LogOptions::has_buildlogger_options() const { + return this != internal_default_instance() && buildlogger_options_ != NULL; +} +inline void LogOptions::clear_buildlogger_options() { + if (GetArenaNoVirtual() == NULL && buildlogger_options_ != NULL) { + delete buildlogger_options_; + } + buildlogger_options_ = NULL; +} +inline const ::jasper::BuildloggerOptions& LogOptions::_internal_buildlogger_options() const { + return *buildlogger_options_; +} +inline const ::jasper::BuildloggerOptions& LogOptions::buildlogger_options() const { + const ::jasper::BuildloggerOptions* p = buildlogger_options_; + // @@protoc_insertion_point(field_get:jasper.LogOptions.buildlogger_options) + return p != NULL ? *p : *reinterpret_cast( + &::jasper::_BuildloggerOptions_default_instance_); +} +inline ::jasper::BuildloggerOptions* LogOptions::release_buildlogger_options() { + // @@protoc_insertion_point(field_release:jasper.LogOptions.buildlogger_options) + + ::jasper::BuildloggerOptions* temp = buildlogger_options_; + buildlogger_options_ = NULL; + return temp; +} +inline ::jasper::BuildloggerOptions* LogOptions::mutable_buildlogger_options() { + + if (buildlogger_options_ == NULL) { + auto* p = CreateMaybeMessage<::jasper::BuildloggerOptions>(GetArenaNoVirtual()); + buildlogger_options_ = p; + } + // @@protoc_insertion_point(field_mutable:jasper.LogOptions.buildlogger_options) + return buildlogger_options_; +} +inline void LogOptions::set_allocated_buildlogger_options(::jasper::BuildloggerOptions* buildlogger_options) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete buildlogger_options_; + } + if (buildlogger_options) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + buildlogger_options = ::google::protobuf::internal::GetOwnedMessage( + message_arena, buildlogger_options, submessage_arena); + } + + } else { + + } + buildlogger_options_ = buildlogger_options; + // @@protoc_insertion_point(field_set_allocated:jasper.LogOptions.buildlogger_options) +} + +// string default_prefix = 3; +inline void LogOptions::clear_default_prefix() { + default_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& LogOptions::default_prefix() const { + // @@protoc_insertion_point(field_get:jasper.LogOptions.default_prefix) + return default_prefix_.GetNoArena(); +} +inline void LogOptions::set_default_prefix(const ::std::string& value) { + + default_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.LogOptions.default_prefix) +} +#if LANG_CXX11 +inline void LogOptions::set_default_prefix(::std::string&& value) { + + default_prefix_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.LogOptions.default_prefix) +} +#endif +inline void LogOptions::set_default_prefix(const char* value) { + GOOGLE_DCHECK(value != NULL); + + default_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.LogOptions.default_prefix) +} +inline void LogOptions::set_default_prefix(const char* value, size_t size) { + + default_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.LogOptions.default_prefix) +} +inline ::std::string* LogOptions::mutable_default_prefix() { + + // @@protoc_insertion_point(field_mutable:jasper.LogOptions.default_prefix) + return default_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LogOptions::release_default_prefix() { + // @@protoc_insertion_point(field_release:jasper.LogOptions.default_prefix) + + return default_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void LogOptions::set_allocated_default_prefix(::std::string* default_prefix) { + if (default_prefix != NULL) { + + } else { + + } + default_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_prefix); + // @@protoc_insertion_point(field_set_allocated:jasper.LogOptions.default_prefix) +} + +// string file_name = 4; +inline void LogOptions::clear_file_name() { + file_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& LogOptions::file_name() const { + // @@protoc_insertion_point(field_get:jasper.LogOptions.file_name) + return file_name_.GetNoArena(); +} +inline void LogOptions::set_file_name(const ::std::string& value) { + + file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.LogOptions.file_name) +} +#if LANG_CXX11 +inline void LogOptions::set_file_name(::std::string&& value) { + + file_name_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.LogOptions.file_name) +} +#endif +inline void LogOptions::set_file_name(const char* value) { + GOOGLE_DCHECK(value != NULL); + + file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.LogOptions.file_name) +} +inline void LogOptions::set_file_name(const char* value, size_t size) { + + file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.LogOptions.file_name) +} +inline ::std::string* LogOptions::mutable_file_name() { + + // @@protoc_insertion_point(field_mutable:jasper.LogOptions.file_name) + return file_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LogOptions::release_file_name() { + // @@protoc_insertion_point(field_release:jasper.LogOptions.file_name) + + return file_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void LogOptions::set_allocated_file_name(::std::string* file_name) { + if (file_name != NULL) { + + } else { + + } + file_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), file_name); + // @@protoc_insertion_point(field_set_allocated:jasper.LogOptions.file_name) +} + +// string format = 5; +inline void LogOptions::clear_format() { + format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& LogOptions::format() const { + // @@protoc_insertion_point(field_get:jasper.LogOptions.format) + return format_.GetNoArena(); +} +inline void LogOptions::set_format(const ::std::string& value) { + + format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.LogOptions.format) +} +#if LANG_CXX11 +inline void LogOptions::set_format(::std::string&& value) { + + format_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.LogOptions.format) +} +#endif +inline void LogOptions::set_format(const char* value) { + GOOGLE_DCHECK(value != NULL); + + format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.LogOptions.format) +} +inline void LogOptions::set_format(const char* value, size_t size) { + + format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.LogOptions.format) +} +inline ::std::string* LogOptions::mutable_format() { + + // @@protoc_insertion_point(field_mutable:jasper.LogOptions.format) + return format_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LogOptions::release_format() { + // @@protoc_insertion_point(field_release:jasper.LogOptions.format) + + return format_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void LogOptions::set_allocated_format(::std::string* format) { + if (format != NULL) { + + } else { + + } + format_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), format); + // @@protoc_insertion_point(field_set_allocated:jasper.LogOptions.format) +} + +// int64 in_memory_cap = 6; +inline void LogOptions::clear_in_memory_cap() { + in_memory_cap_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 LogOptions::in_memory_cap() const { + // @@protoc_insertion_point(field_get:jasper.LogOptions.in_memory_cap) + return in_memory_cap_; +} +inline void LogOptions::set_in_memory_cap(::google::protobuf::int64 value) { + + in_memory_cap_ = value; + // @@protoc_insertion_point(field_set:jasper.LogOptions.in_memory_cap) +} + +// .jasper.SplunkOptions splunk_options = 7; +inline bool LogOptions::has_splunk_options() const { + return this != internal_default_instance() && splunk_options_ != NULL; +} +inline void LogOptions::clear_splunk_options() { + if (GetArenaNoVirtual() == NULL && splunk_options_ != NULL) { + delete splunk_options_; + } + splunk_options_ = NULL; +} +inline const ::jasper::SplunkOptions& LogOptions::_internal_splunk_options() const { + return *splunk_options_; +} +inline const ::jasper::SplunkOptions& LogOptions::splunk_options() const { + const ::jasper::SplunkOptions* p = splunk_options_; + // @@protoc_insertion_point(field_get:jasper.LogOptions.splunk_options) + return p != NULL ? *p : *reinterpret_cast( + &::jasper::_SplunkOptions_default_instance_); +} +inline ::jasper::SplunkOptions* LogOptions::release_splunk_options() { + // @@protoc_insertion_point(field_release:jasper.LogOptions.splunk_options) + + ::jasper::SplunkOptions* temp = splunk_options_; + splunk_options_ = NULL; + return temp; +} +inline ::jasper::SplunkOptions* LogOptions::mutable_splunk_options() { + + if (splunk_options_ == NULL) { + auto* p = CreateMaybeMessage<::jasper::SplunkOptions>(GetArenaNoVirtual()); + splunk_options_ = p; + } + // @@protoc_insertion_point(field_mutable:jasper.LogOptions.splunk_options) + return splunk_options_; +} +inline void LogOptions::set_allocated_splunk_options(::jasper::SplunkOptions* splunk_options) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete splunk_options_; + } + if (splunk_options) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + splunk_options = ::google::protobuf::internal::GetOwnedMessage( + message_arena, splunk_options, submessage_arena); + } + + } else { + + } + splunk_options_ = splunk_options; + // @@protoc_insertion_point(field_set_allocated:jasper.LogOptions.splunk_options) +} + +// string sumo_endpoint = 8; +inline void LogOptions::clear_sumo_endpoint() { + sumo_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& LogOptions::sumo_endpoint() const { + // @@protoc_insertion_point(field_get:jasper.LogOptions.sumo_endpoint) + return sumo_endpoint_.GetNoArena(); +} +inline void LogOptions::set_sumo_endpoint(const ::std::string& value) { + + sumo_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.LogOptions.sumo_endpoint) +} +#if LANG_CXX11 +inline void LogOptions::set_sumo_endpoint(::std::string&& value) { + + sumo_endpoint_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.LogOptions.sumo_endpoint) +} +#endif +inline void LogOptions::set_sumo_endpoint(const char* value) { + GOOGLE_DCHECK(value != NULL); + + sumo_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.LogOptions.sumo_endpoint) +} +inline void LogOptions::set_sumo_endpoint(const char* value, size_t size) { + + sumo_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.LogOptions.sumo_endpoint) +} +inline ::std::string* LogOptions::mutable_sumo_endpoint() { + + // @@protoc_insertion_point(field_mutable:jasper.LogOptions.sumo_endpoint) + return sumo_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LogOptions::release_sumo_endpoint() { + // @@protoc_insertion_point(field_release:jasper.LogOptions.sumo_endpoint) + + return sumo_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void LogOptions::set_allocated_sumo_endpoint(::std::string* sumo_endpoint) { + if (sumo_endpoint != NULL) { + + } else { + + } + sumo_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), sumo_endpoint); + // @@protoc_insertion_point(field_set_allocated:jasper.LogOptions.sumo_endpoint) +} + +// ------------------------------------------------------------------- + +// BufferOptions + +// bool buffered = 1; +inline void BufferOptions::clear_buffered() { + buffered_ = false; +} +inline bool BufferOptions::buffered() const { + // @@protoc_insertion_point(field_get:jasper.BufferOptions.buffered) + return buffered_; +} +inline void BufferOptions::set_buffered(bool value) { + + buffered_ = value; + // @@protoc_insertion_point(field_set:jasper.BufferOptions.buffered) +} + +// int64 duration = 2; +inline void BufferOptions::clear_duration() { + duration_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 BufferOptions::duration() const { + // @@protoc_insertion_point(field_get:jasper.BufferOptions.duration) + return duration_; +} +inline void BufferOptions::set_duration(::google::protobuf::int64 value) { + + duration_ = value; + // @@protoc_insertion_point(field_set:jasper.BufferOptions.duration) +} + +// int64 max_size = 3; +inline void BufferOptions::clear_max_size() { + max_size_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 BufferOptions::max_size() const { + // @@protoc_insertion_point(field_get:jasper.BufferOptions.max_size) + return max_size_; +} +inline void BufferOptions::set_max_size(::google::protobuf::int64 value) { + + max_size_ = value; + // @@protoc_insertion_point(field_set:jasper.BufferOptions.max_size) +} + +// ------------------------------------------------------------------- + +// BuildloggerOptions + +// bool create_test = 1; +inline void BuildloggerOptions::clear_create_test() { + create_test_ = false; +} +inline bool BuildloggerOptions::create_test() const { + // @@protoc_insertion_point(field_get:jasper.BuildloggerOptions.create_test) + return create_test_; +} +inline void BuildloggerOptions::set_create_test(bool value) { + + create_test_ = value; + // @@protoc_insertion_point(field_set:jasper.BuildloggerOptions.create_test) +} + +// string url = 2; +inline void BuildloggerOptions::clear_url() { + url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& BuildloggerOptions::url() const { + // @@protoc_insertion_point(field_get:jasper.BuildloggerOptions.url) + return url_.GetNoArena(); +} +inline void BuildloggerOptions::set_url(const ::std::string& value) { + + url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.BuildloggerOptions.url) +} +#if LANG_CXX11 +inline void BuildloggerOptions::set_url(::std::string&& value) { + + url_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.BuildloggerOptions.url) +} +#endif +inline void BuildloggerOptions::set_url(const char* value) { + GOOGLE_DCHECK(value != NULL); + + url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.BuildloggerOptions.url) +} +inline void BuildloggerOptions::set_url(const char* value, size_t size) { + + url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.BuildloggerOptions.url) +} +inline ::std::string* BuildloggerOptions::mutable_url() { + + // @@protoc_insertion_point(field_mutable:jasper.BuildloggerOptions.url) + return url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* BuildloggerOptions::release_url() { + // @@protoc_insertion_point(field_release:jasper.BuildloggerOptions.url) + + return url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void BuildloggerOptions::set_allocated_url(::std::string* url) { + if (url != NULL) { + + } else { + + } + url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), url); + // @@protoc_insertion_point(field_set_allocated:jasper.BuildloggerOptions.url) +} + +// int64 number = 3; +inline void BuildloggerOptions::clear_number() { + number_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 BuildloggerOptions::number() const { + // @@protoc_insertion_point(field_get:jasper.BuildloggerOptions.number) + return number_; +} +inline void BuildloggerOptions::set_number(::google::protobuf::int64 value) { + + number_ = value; + // @@protoc_insertion_point(field_set:jasper.BuildloggerOptions.number) +} + +// string phase = 4; +inline void BuildloggerOptions::clear_phase() { + phase_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& BuildloggerOptions::phase() const { + // @@protoc_insertion_point(field_get:jasper.BuildloggerOptions.phase) + return phase_.GetNoArena(); +} +inline void BuildloggerOptions::set_phase(const ::std::string& value) { + + phase_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.BuildloggerOptions.phase) +} +#if LANG_CXX11 +inline void BuildloggerOptions::set_phase(::std::string&& value) { + + phase_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.BuildloggerOptions.phase) +} +#endif +inline void BuildloggerOptions::set_phase(const char* value) { + GOOGLE_DCHECK(value != NULL); + + phase_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.BuildloggerOptions.phase) +} +inline void BuildloggerOptions::set_phase(const char* value, size_t size) { + + phase_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.BuildloggerOptions.phase) +} +inline ::std::string* BuildloggerOptions::mutable_phase() { + + // @@protoc_insertion_point(field_mutable:jasper.BuildloggerOptions.phase) + return phase_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* BuildloggerOptions::release_phase() { + // @@protoc_insertion_point(field_release:jasper.BuildloggerOptions.phase) + + return phase_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void BuildloggerOptions::set_allocated_phase(::std::string* phase) { + if (phase != NULL) { + + } else { + + } + phase_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phase); + // @@protoc_insertion_point(field_set_allocated:jasper.BuildloggerOptions.phase) +} + +// string builder = 5; +inline void BuildloggerOptions::clear_builder() { + builder_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& BuildloggerOptions::builder() const { + // @@protoc_insertion_point(field_get:jasper.BuildloggerOptions.builder) + return builder_.GetNoArena(); +} +inline void BuildloggerOptions::set_builder(const ::std::string& value) { + + builder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.BuildloggerOptions.builder) +} +#if LANG_CXX11 +inline void BuildloggerOptions::set_builder(::std::string&& value) { + + builder_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.BuildloggerOptions.builder) +} +#endif +inline void BuildloggerOptions::set_builder(const char* value) { + GOOGLE_DCHECK(value != NULL); + + builder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.BuildloggerOptions.builder) +} +inline void BuildloggerOptions::set_builder(const char* value, size_t size) { + + builder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.BuildloggerOptions.builder) +} +inline ::std::string* BuildloggerOptions::mutable_builder() { + + // @@protoc_insertion_point(field_mutable:jasper.BuildloggerOptions.builder) + return builder_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* BuildloggerOptions::release_builder() { + // @@protoc_insertion_point(field_release:jasper.BuildloggerOptions.builder) + + return builder_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void BuildloggerOptions::set_allocated_builder(::std::string* builder) { + if (builder != NULL) { + + } else { + + } + builder_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), builder); + // @@protoc_insertion_point(field_set_allocated:jasper.BuildloggerOptions.builder) +} + +// string test = 6; +inline void BuildloggerOptions::clear_test() { + test_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& BuildloggerOptions::test() const { + // @@protoc_insertion_point(field_get:jasper.BuildloggerOptions.test) + return test_.GetNoArena(); +} +inline void BuildloggerOptions::set_test(const ::std::string& value) { + + test_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.BuildloggerOptions.test) +} +#if LANG_CXX11 +inline void BuildloggerOptions::set_test(::std::string&& value) { + + test_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.BuildloggerOptions.test) +} +#endif +inline void BuildloggerOptions::set_test(const char* value) { + GOOGLE_DCHECK(value != NULL); + + test_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.BuildloggerOptions.test) +} +inline void BuildloggerOptions::set_test(const char* value, size_t size) { + + test_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.BuildloggerOptions.test) +} +inline ::std::string* BuildloggerOptions::mutable_test() { + + // @@protoc_insertion_point(field_mutable:jasper.BuildloggerOptions.test) + return test_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* BuildloggerOptions::release_test() { + // @@protoc_insertion_point(field_release:jasper.BuildloggerOptions.test) + + return test_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void BuildloggerOptions::set_allocated_test(::std::string* test) { + if (test != NULL) { + + } else { + + } + test_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), test); + // @@protoc_insertion_point(field_set_allocated:jasper.BuildloggerOptions.test) +} + +// string command = 7; +inline void BuildloggerOptions::clear_command() { + command_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& BuildloggerOptions::command() const { + // @@protoc_insertion_point(field_get:jasper.BuildloggerOptions.command) + return command_.GetNoArena(); +} +inline void BuildloggerOptions::set_command(const ::std::string& value) { + + command_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.BuildloggerOptions.command) +} +#if LANG_CXX11 +inline void BuildloggerOptions::set_command(::std::string&& value) { + + command_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.BuildloggerOptions.command) +} +#endif +inline void BuildloggerOptions::set_command(const char* value) { + GOOGLE_DCHECK(value != NULL); + + command_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.BuildloggerOptions.command) +} +inline void BuildloggerOptions::set_command(const char* value, size_t size) { + + command_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.BuildloggerOptions.command) +} +inline ::std::string* BuildloggerOptions::mutable_command() { + + // @@protoc_insertion_point(field_mutable:jasper.BuildloggerOptions.command) + return command_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* BuildloggerOptions::release_command() { + // @@protoc_insertion_point(field_release:jasper.BuildloggerOptions.command) + + return command_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void BuildloggerOptions::set_allocated_command(::std::string* command) { + if (command != NULL) { + + } else { + + } + command_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command); + // @@protoc_insertion_point(field_set_allocated:jasper.BuildloggerOptions.command) +} + +// ------------------------------------------------------------------- + +// SplunkOptions + +// string url = 1; +inline void SplunkOptions::clear_url() { + url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& SplunkOptions::url() const { + // @@protoc_insertion_point(field_get:jasper.SplunkOptions.url) + return url_.GetNoArena(); +} +inline void SplunkOptions::set_url(const ::std::string& value) { + + url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.SplunkOptions.url) +} +#if LANG_CXX11 +inline void SplunkOptions::set_url(::std::string&& value) { + + url_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.SplunkOptions.url) +} +#endif +inline void SplunkOptions::set_url(const char* value) { + GOOGLE_DCHECK(value != NULL); + + url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.SplunkOptions.url) +} +inline void SplunkOptions::set_url(const char* value, size_t size) { + + url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.SplunkOptions.url) +} +inline ::std::string* SplunkOptions::mutable_url() { + + // @@protoc_insertion_point(field_mutable:jasper.SplunkOptions.url) + return url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SplunkOptions::release_url() { + // @@protoc_insertion_point(field_release:jasper.SplunkOptions.url) + + return url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SplunkOptions::set_allocated_url(::std::string* url) { + if (url != NULL) { + + } else { + + } + url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), url); + // @@protoc_insertion_point(field_set_allocated:jasper.SplunkOptions.url) +} + +// string token = 2; +inline void SplunkOptions::clear_token() { + token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& SplunkOptions::token() const { + // @@protoc_insertion_point(field_get:jasper.SplunkOptions.token) + return token_.GetNoArena(); +} +inline void SplunkOptions::set_token(const ::std::string& value) { + + token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.SplunkOptions.token) +} +#if LANG_CXX11 +inline void SplunkOptions::set_token(::std::string&& value) { + + token_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.SplunkOptions.token) +} +#endif +inline void SplunkOptions::set_token(const char* value) { + GOOGLE_DCHECK(value != NULL); + + token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.SplunkOptions.token) +} +inline void SplunkOptions::set_token(const char* value, size_t size) { + + token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.SplunkOptions.token) +} +inline ::std::string* SplunkOptions::mutable_token() { + + // @@protoc_insertion_point(field_mutable:jasper.SplunkOptions.token) + return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SplunkOptions::release_token() { + // @@protoc_insertion_point(field_release:jasper.SplunkOptions.token) + + return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SplunkOptions::set_allocated_token(::std::string* token) { + if (token != NULL) { + + } else { + + } + token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); + // @@protoc_insertion_point(field_set_allocated:jasper.SplunkOptions.token) +} + +// string channel = 3; +inline void SplunkOptions::clear_channel() { + channel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& SplunkOptions::channel() const { + // @@protoc_insertion_point(field_get:jasper.SplunkOptions.channel) + return channel_.GetNoArena(); +} +inline void SplunkOptions::set_channel(const ::std::string& value) { + + channel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.SplunkOptions.channel) +} +#if LANG_CXX11 +inline void SplunkOptions::set_channel(::std::string&& value) { + + channel_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.SplunkOptions.channel) +} +#endif +inline void SplunkOptions::set_channel(const char* value) { + GOOGLE_DCHECK(value != NULL); + + channel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.SplunkOptions.channel) +} +inline void SplunkOptions::set_channel(const char* value, size_t size) { + + channel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.SplunkOptions.channel) +} +inline ::std::string* SplunkOptions::mutable_channel() { + + // @@protoc_insertion_point(field_mutable:jasper.SplunkOptions.channel) + return channel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SplunkOptions::release_channel() { + // @@protoc_insertion_point(field_release:jasper.SplunkOptions.channel) + + return channel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SplunkOptions::set_allocated_channel(::std::string* channel) { + if (channel != NULL) { + + } else { + + } + channel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), channel); + // @@protoc_insertion_point(field_set_allocated:jasper.SplunkOptions.channel) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// CreateOptions + +// repeated string args = 1; +inline int CreateOptions::args_size() const { + return args_.size(); +} +inline void CreateOptions::clear_args() { + args_.Clear(); +} +inline const ::std::string& CreateOptions::args(int index) const { + // @@protoc_insertion_point(field_get:jasper.CreateOptions.args) + return args_.Get(index); +} +inline ::std::string* CreateOptions::mutable_args(int index) { + // @@protoc_insertion_point(field_mutable:jasper.CreateOptions.args) + return args_.Mutable(index); +} +inline void CreateOptions::set_args(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:jasper.CreateOptions.args) + args_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void CreateOptions::set_args(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:jasper.CreateOptions.args) + args_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void CreateOptions::set_args(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + args_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:jasper.CreateOptions.args) +} +inline void CreateOptions::set_args(int index, const char* value, size_t size) { + args_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:jasper.CreateOptions.args) +} +inline ::std::string* CreateOptions::add_args() { + // @@protoc_insertion_point(field_add_mutable:jasper.CreateOptions.args) + return args_.Add(); +} +inline void CreateOptions::add_args(const ::std::string& value) { + args_.Add()->assign(value); + // @@protoc_insertion_point(field_add:jasper.CreateOptions.args) +} +#if LANG_CXX11 +inline void CreateOptions::add_args(::std::string&& value) { + args_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:jasper.CreateOptions.args) +} +#endif +inline void CreateOptions::add_args(const char* value) { + GOOGLE_DCHECK(value != NULL); + args_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:jasper.CreateOptions.args) +} +inline void CreateOptions::add_args(const char* value, size_t size) { + args_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:jasper.CreateOptions.args) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +CreateOptions::args() const { + // @@protoc_insertion_point(field_list:jasper.CreateOptions.args) + return args_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +CreateOptions::mutable_args() { + // @@protoc_insertion_point(field_mutable_list:jasper.CreateOptions.args) + return &args_; +} + +// string working_directory = 2; +inline void CreateOptions::clear_working_directory() { + working_directory_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& CreateOptions::working_directory() const { + // @@protoc_insertion_point(field_get:jasper.CreateOptions.working_directory) + return working_directory_.GetNoArena(); +} +inline void CreateOptions::set_working_directory(const ::std::string& value) { + + working_directory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.CreateOptions.working_directory) +} +#if LANG_CXX11 +inline void CreateOptions::set_working_directory(::std::string&& value) { + + working_directory_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.CreateOptions.working_directory) +} +#endif +inline void CreateOptions::set_working_directory(const char* value) { + GOOGLE_DCHECK(value != NULL); + + working_directory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.CreateOptions.working_directory) +} +inline void CreateOptions::set_working_directory(const char* value, size_t size) { + + working_directory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.CreateOptions.working_directory) +} +inline ::std::string* CreateOptions::mutable_working_directory() { + + // @@protoc_insertion_point(field_mutable:jasper.CreateOptions.working_directory) + return working_directory_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CreateOptions::release_working_directory() { + // @@protoc_insertion_point(field_release:jasper.CreateOptions.working_directory) + + return working_directory_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CreateOptions::set_allocated_working_directory(::std::string* working_directory) { + if (working_directory != NULL) { + + } else { + + } + working_directory_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), working_directory); + // @@protoc_insertion_point(field_set_allocated:jasper.CreateOptions.working_directory) +} + +// map environment = 3; +inline int CreateOptions::environment_size() const { + return environment_.size(); +} +inline void CreateOptions::clear_environment() { + environment_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::std::string >& +CreateOptions::environment() const { + // @@protoc_insertion_point(field_map:jasper.CreateOptions.environment) + return environment_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::std::string >* +CreateOptions::mutable_environment() { + // @@protoc_insertion_point(field_mutable_map:jasper.CreateOptions.environment) + return environment_.MutableMap(); +} + +// bool override_environ = 4; +inline void CreateOptions::clear_override_environ() { + override_environ_ = false; +} +inline bool CreateOptions::override_environ() const { + // @@protoc_insertion_point(field_get:jasper.CreateOptions.override_environ) + return override_environ_; +} +inline void CreateOptions::set_override_environ(bool value) { + + override_environ_ = value; + // @@protoc_insertion_point(field_set:jasper.CreateOptions.override_environ) +} + +// int64 timeout_seconds = 5; +inline void CreateOptions::clear_timeout_seconds() { + timeout_seconds_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 CreateOptions::timeout_seconds() const { + // @@protoc_insertion_point(field_get:jasper.CreateOptions.timeout_seconds) + return timeout_seconds_; +} +inline void CreateOptions::set_timeout_seconds(::google::protobuf::int64 value) { + + timeout_seconds_ = value; + // @@protoc_insertion_point(field_set:jasper.CreateOptions.timeout_seconds) +} + +// repeated string tags = 6; +inline int CreateOptions::tags_size() const { + return tags_.size(); +} +inline void CreateOptions::clear_tags() { + tags_.Clear(); +} +inline const ::std::string& CreateOptions::tags(int index) const { + // @@protoc_insertion_point(field_get:jasper.CreateOptions.tags) + return tags_.Get(index); +} +inline ::std::string* CreateOptions::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:jasper.CreateOptions.tags) + return tags_.Mutable(index); +} +inline void CreateOptions::set_tags(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:jasper.CreateOptions.tags) + tags_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void CreateOptions::set_tags(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:jasper.CreateOptions.tags) + tags_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void CreateOptions::set_tags(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:jasper.CreateOptions.tags) +} +inline void CreateOptions::set_tags(int index, const char* value, size_t size) { + tags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:jasper.CreateOptions.tags) +} +inline ::std::string* CreateOptions::add_tags() { + // @@protoc_insertion_point(field_add_mutable:jasper.CreateOptions.tags) + return tags_.Add(); +} +inline void CreateOptions::add_tags(const ::std::string& value) { + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:jasper.CreateOptions.tags) +} +#if LANG_CXX11 +inline void CreateOptions::add_tags(::std::string&& value) { + tags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:jasper.CreateOptions.tags) +} +#endif +inline void CreateOptions::add_tags(const char* value) { + GOOGLE_DCHECK(value != NULL); + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:jasper.CreateOptions.tags) +} +inline void CreateOptions::add_tags(const char* value, size_t size) { + tags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:jasper.CreateOptions.tags) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +CreateOptions::tags() const { + // @@protoc_insertion_point(field_list:jasper.CreateOptions.tags) + return tags_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +CreateOptions::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:jasper.CreateOptions.tags) + return &tags_; +} + +// repeated .jasper.CreateOptions on_success = 7; +inline int CreateOptions::on_success_size() const { + return on_success_.size(); +} +inline void CreateOptions::clear_on_success() { + on_success_.Clear(); +} +inline ::jasper::CreateOptions* CreateOptions::mutable_on_success(int index) { + // @@protoc_insertion_point(field_mutable:jasper.CreateOptions.on_success) + return on_success_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >* +CreateOptions::mutable_on_success() { + // @@protoc_insertion_point(field_mutable_list:jasper.CreateOptions.on_success) + return &on_success_; +} +inline const ::jasper::CreateOptions& CreateOptions::on_success(int index) const { + // @@protoc_insertion_point(field_get:jasper.CreateOptions.on_success) + return on_success_.Get(index); +} +inline ::jasper::CreateOptions* CreateOptions::add_on_success() { + // @@protoc_insertion_point(field_add:jasper.CreateOptions.on_success) + return on_success_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >& +CreateOptions::on_success() const { + // @@protoc_insertion_point(field_list:jasper.CreateOptions.on_success) + return on_success_; +} + +// repeated .jasper.CreateOptions on_failure = 8; +inline int CreateOptions::on_failure_size() const { + return on_failure_.size(); +} +inline void CreateOptions::clear_on_failure() { + on_failure_.Clear(); +} +inline ::jasper::CreateOptions* CreateOptions::mutable_on_failure(int index) { + // @@protoc_insertion_point(field_mutable:jasper.CreateOptions.on_failure) + return on_failure_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >* +CreateOptions::mutable_on_failure() { + // @@protoc_insertion_point(field_mutable_list:jasper.CreateOptions.on_failure) + return &on_failure_; +} +inline const ::jasper::CreateOptions& CreateOptions::on_failure(int index) const { + // @@protoc_insertion_point(field_get:jasper.CreateOptions.on_failure) + return on_failure_.Get(index); +} +inline ::jasper::CreateOptions* CreateOptions::add_on_failure() { + // @@protoc_insertion_point(field_add:jasper.CreateOptions.on_failure) + return on_failure_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >& +CreateOptions::on_failure() const { + // @@protoc_insertion_point(field_list:jasper.CreateOptions.on_failure) + return on_failure_; +} + +// repeated .jasper.CreateOptions on_timeout = 9; +inline int CreateOptions::on_timeout_size() const { + return on_timeout_.size(); +} +inline void CreateOptions::clear_on_timeout() { + on_timeout_.Clear(); +} +inline ::jasper::CreateOptions* CreateOptions::mutable_on_timeout(int index) { + // @@protoc_insertion_point(field_mutable:jasper.CreateOptions.on_timeout) + return on_timeout_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >* +CreateOptions::mutable_on_timeout() { + // @@protoc_insertion_point(field_mutable_list:jasper.CreateOptions.on_timeout) + return &on_timeout_; +} +inline const ::jasper::CreateOptions& CreateOptions::on_timeout(int index) const { + // @@protoc_insertion_point(field_get:jasper.CreateOptions.on_timeout) + return on_timeout_.Get(index); +} +inline ::jasper::CreateOptions* CreateOptions::add_on_timeout() { + // @@protoc_insertion_point(field_add:jasper.CreateOptions.on_timeout) + return on_timeout_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::jasper::CreateOptions >& +CreateOptions::on_timeout() const { + // @@protoc_insertion_point(field_list:jasper.CreateOptions.on_timeout) + return on_timeout_; +} + +// .jasper.OutputOptions output = 10; +inline bool CreateOptions::has_output() const { + return this != internal_default_instance() && output_ != NULL; +} +inline void CreateOptions::clear_output() { + if (GetArenaNoVirtual() == NULL && output_ != NULL) { + delete output_; + } + output_ = NULL; +} +inline const ::jasper::OutputOptions& CreateOptions::_internal_output() const { + return *output_; +} +inline const ::jasper::OutputOptions& CreateOptions::output() const { + const ::jasper::OutputOptions* p = output_; + // @@protoc_insertion_point(field_get:jasper.CreateOptions.output) + return p != NULL ? *p : *reinterpret_cast( + &::jasper::_OutputOptions_default_instance_); +} +inline ::jasper::OutputOptions* CreateOptions::release_output() { + // @@protoc_insertion_point(field_release:jasper.CreateOptions.output) + + ::jasper::OutputOptions* temp = output_; + output_ = NULL; + return temp; +} +inline ::jasper::OutputOptions* CreateOptions::mutable_output() { + + if (output_ == NULL) { + auto* p = CreateMaybeMessage<::jasper::OutputOptions>(GetArenaNoVirtual()); + output_ = p; + } + // @@protoc_insertion_point(field_mutable:jasper.CreateOptions.output) + return output_; +} +inline void CreateOptions::set_allocated_output(::jasper::OutputOptions* output) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete output_; + } + if (output) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + output = ::google::protobuf::internal::GetOwnedMessage( + message_arena, output, submessage_arena); + } + + } else { + + } + output_ = output; + // @@protoc_insertion_point(field_set_allocated:jasper.CreateOptions.output) +} + +// ------------------------------------------------------------------- + +// ProcessInfo + +// string id = 1; +inline void ProcessInfo::clear_id() { + id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ProcessInfo::id() const { + // @@protoc_insertion_point(field_get:jasper.ProcessInfo.id) + return id_.GetNoArena(); +} +inline void ProcessInfo::set_id(const ::std::string& value) { + + id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.ProcessInfo.id) +} +#if LANG_CXX11 +inline void ProcessInfo::set_id(::std::string&& value) { + + id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.ProcessInfo.id) +} +#endif +inline void ProcessInfo::set_id(const char* value) { + GOOGLE_DCHECK(value != NULL); + + id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.ProcessInfo.id) +} +inline void ProcessInfo::set_id(const char* value, size_t size) { + + id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.ProcessInfo.id) +} +inline ::std::string* ProcessInfo::mutable_id() { + + // @@protoc_insertion_point(field_mutable:jasper.ProcessInfo.id) + return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ProcessInfo::release_id() { + // @@protoc_insertion_point(field_release:jasper.ProcessInfo.id) + + return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ProcessInfo::set_allocated_id(::std::string* id) { + if (id != NULL) { + + } else { + + } + id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); + // @@protoc_insertion_point(field_set_allocated:jasper.ProcessInfo.id) +} + +// int64 pid = 2; +inline void ProcessInfo::clear_pid() { + pid_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 ProcessInfo::pid() const { + // @@protoc_insertion_point(field_get:jasper.ProcessInfo.pid) + return pid_; +} +inline void ProcessInfo::set_pid(::google::protobuf::int64 value) { + + pid_ = value; + // @@protoc_insertion_point(field_set:jasper.ProcessInfo.pid) +} + +// string host_id = 3; +inline void ProcessInfo::clear_host_id() { + host_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ProcessInfo::host_id() const { + // @@protoc_insertion_point(field_get:jasper.ProcessInfo.host_id) + return host_id_.GetNoArena(); +} +inline void ProcessInfo::set_host_id(const ::std::string& value) { + + host_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.ProcessInfo.host_id) +} +#if LANG_CXX11 +inline void ProcessInfo::set_host_id(::std::string&& value) { + + host_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.ProcessInfo.host_id) +} +#endif +inline void ProcessInfo::set_host_id(const char* value) { + GOOGLE_DCHECK(value != NULL); + + host_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.ProcessInfo.host_id) +} +inline void ProcessInfo::set_host_id(const char* value, size_t size) { + + host_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.ProcessInfo.host_id) +} +inline ::std::string* ProcessInfo::mutable_host_id() { + + // @@protoc_insertion_point(field_mutable:jasper.ProcessInfo.host_id) + return host_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ProcessInfo::release_host_id() { + // @@protoc_insertion_point(field_release:jasper.ProcessInfo.host_id) + + return host_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ProcessInfo::set_allocated_host_id(::std::string* host_id) { + if (host_id != NULL) { + + } else { + + } + host_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), host_id); + // @@protoc_insertion_point(field_set_allocated:jasper.ProcessInfo.host_id) +} + +// bool running = 4; +inline void ProcessInfo::clear_running() { + running_ = false; +} +inline bool ProcessInfo::running() const { + // @@protoc_insertion_point(field_get:jasper.ProcessInfo.running) + return running_; +} +inline void ProcessInfo::set_running(bool value) { + + running_ = value; + // @@protoc_insertion_point(field_set:jasper.ProcessInfo.running) +} + +// bool successful = 5; +inline void ProcessInfo::clear_successful() { + successful_ = false; +} +inline bool ProcessInfo::successful() const { + // @@protoc_insertion_point(field_get:jasper.ProcessInfo.successful) + return successful_; +} +inline void ProcessInfo::set_successful(bool value) { + + successful_ = value; + // @@protoc_insertion_point(field_set:jasper.ProcessInfo.successful) +} + +// bool complete = 6; +inline void ProcessInfo::clear_complete() { + complete_ = false; +} +inline bool ProcessInfo::complete() const { + // @@protoc_insertion_point(field_get:jasper.ProcessInfo.complete) + return complete_; +} +inline void ProcessInfo::set_complete(bool value) { + + complete_ = value; + // @@protoc_insertion_point(field_set:jasper.ProcessInfo.complete) +} + +// bool timedout = 7; +inline void ProcessInfo::clear_timedout() { + timedout_ = false; +} +inline bool ProcessInfo::timedout() const { + // @@protoc_insertion_point(field_get:jasper.ProcessInfo.timedout) + return timedout_; +} +inline void ProcessInfo::set_timedout(bool value) { + + timedout_ = value; + // @@protoc_insertion_point(field_set:jasper.ProcessInfo.timedout) +} + +// .jasper.CreateOptions options = 8; +inline bool ProcessInfo::has_options() const { + return this != internal_default_instance() && options_ != NULL; +} +inline void ProcessInfo::clear_options() { + if (GetArenaNoVirtual() == NULL && options_ != NULL) { + delete options_; + } + options_ = NULL; +} +inline const ::jasper::CreateOptions& ProcessInfo::_internal_options() const { + return *options_; +} +inline const ::jasper::CreateOptions& ProcessInfo::options() const { + const ::jasper::CreateOptions* p = options_; + // @@protoc_insertion_point(field_get:jasper.ProcessInfo.options) + return p != NULL ? *p : *reinterpret_cast( + &::jasper::_CreateOptions_default_instance_); +} +inline ::jasper::CreateOptions* ProcessInfo::release_options() { + // @@protoc_insertion_point(field_release:jasper.ProcessInfo.options) + + ::jasper::CreateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline ::jasper::CreateOptions* ProcessInfo::mutable_options() { + + if (options_ == NULL) { + auto* p = CreateMaybeMessage<::jasper::CreateOptions>(GetArenaNoVirtual()); + options_ = p; + } + // @@protoc_insertion_point(field_mutable:jasper.ProcessInfo.options) + return options_; +} +inline void ProcessInfo::set_allocated_options(::jasper::CreateOptions* options) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete options_; + } + if (options) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + options = ::google::protobuf::internal::GetOwnedMessage( + message_arena, options, submessage_arena); + } + + } else { + + } + options_ = options; + // @@protoc_insertion_point(field_set_allocated:jasper.ProcessInfo.options) +} + +// ------------------------------------------------------------------- + +// StatusResponse + +// string host_id = 1; +inline void StatusResponse::clear_host_id() { + host_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& StatusResponse::host_id() const { + // @@protoc_insertion_point(field_get:jasper.StatusResponse.host_id) + return host_id_.GetNoArena(); +} +inline void StatusResponse::set_host_id(const ::std::string& value) { + + host_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.StatusResponse.host_id) +} +#if LANG_CXX11 +inline void StatusResponse::set_host_id(::std::string&& value) { + + host_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.StatusResponse.host_id) +} +#endif +inline void StatusResponse::set_host_id(const char* value) { + GOOGLE_DCHECK(value != NULL); + + host_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.StatusResponse.host_id) +} +inline void StatusResponse::set_host_id(const char* value, size_t size) { + + host_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.StatusResponse.host_id) +} +inline ::std::string* StatusResponse::mutable_host_id() { + + // @@protoc_insertion_point(field_mutable:jasper.StatusResponse.host_id) + return host_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* StatusResponse::release_host_id() { + // @@protoc_insertion_point(field_release:jasper.StatusResponse.host_id) + + return host_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void StatusResponse::set_allocated_host_id(::std::string* host_id) { + if (host_id != NULL) { + + } else { + + } + host_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), host_id); + // @@protoc_insertion_point(field_set_allocated:jasper.StatusResponse.host_id) +} + +// bool active = 2; +inline void StatusResponse::clear_active() { + active_ = false; +} +inline bool StatusResponse::active() const { + // @@protoc_insertion_point(field_get:jasper.StatusResponse.active) + return active_; +} +inline void StatusResponse::set_active(bool value) { + + active_ = value; + // @@protoc_insertion_point(field_set:jasper.StatusResponse.active) +} + +// ------------------------------------------------------------------- + +// Filter + +// .jasper.FilterSpecifications name = 1; +inline void Filter::clear_name() { + name_ = 0; +} +inline ::jasper::FilterSpecifications Filter::name() const { + // @@protoc_insertion_point(field_get:jasper.Filter.name) + return static_cast< ::jasper::FilterSpecifications >(name_); +} +inline void Filter::set_name(::jasper::FilterSpecifications value) { + + name_ = value; + // @@protoc_insertion_point(field_set:jasper.Filter.name) +} + +// ------------------------------------------------------------------- + +// SignalProcess + +// .jasper.JasperProcessID ProcessID = 1; +inline bool SignalProcess::has_processid() const { + return this != internal_default_instance() && processid_ != NULL; +} +inline void SignalProcess::clear_processid() { + if (GetArenaNoVirtual() == NULL && processid_ != NULL) { + delete processid_; + } + processid_ = NULL; +} +inline const ::jasper::JasperProcessID& SignalProcess::_internal_processid() const { + return *processid_; +} +inline const ::jasper::JasperProcessID& SignalProcess::processid() const { + const ::jasper::JasperProcessID* p = processid_; + // @@protoc_insertion_point(field_get:jasper.SignalProcess.ProcessID) + return p != NULL ? *p : *reinterpret_cast( + &::jasper::_JasperProcessID_default_instance_); +} +inline ::jasper::JasperProcessID* SignalProcess::release_processid() { + // @@protoc_insertion_point(field_release:jasper.SignalProcess.ProcessID) + + ::jasper::JasperProcessID* temp = processid_; + processid_ = NULL; + return temp; +} +inline ::jasper::JasperProcessID* SignalProcess::mutable_processid() { + + if (processid_ == NULL) { + auto* p = CreateMaybeMessage<::jasper::JasperProcessID>(GetArenaNoVirtual()); + processid_ = p; + } + // @@protoc_insertion_point(field_mutable:jasper.SignalProcess.ProcessID) + return processid_; +} +inline void SignalProcess::set_allocated_processid(::jasper::JasperProcessID* processid) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete processid_; + } + if (processid) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + processid = ::google::protobuf::internal::GetOwnedMessage( + message_arena, processid, submessage_arena); + } + + } else { + + } + processid_ = processid; + // @@protoc_insertion_point(field_set_allocated:jasper.SignalProcess.ProcessID) +} + +// .jasper.Signals signal = 2; +inline void SignalProcess::clear_signal() { + signal_ = 0; +} +inline ::jasper::Signals SignalProcess::signal() const { + // @@protoc_insertion_point(field_get:jasper.SignalProcess.signal) + return static_cast< ::jasper::Signals >(signal_); +} +inline void SignalProcess::set_signal(::jasper::Signals value) { + + signal_ = value; + // @@protoc_insertion_point(field_set:jasper.SignalProcess.signal) +} + +// ------------------------------------------------------------------- + +// TagName + +// string value = 1; +inline void TagName::clear_value() { + value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TagName::value() const { + // @@protoc_insertion_point(field_get:jasper.TagName.value) + return value_.GetNoArena(); +} +inline void TagName::set_value(const ::std::string& value) { + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.TagName.value) +} +#if LANG_CXX11 +inline void TagName::set_value(::std::string&& value) { + + value_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.TagName.value) +} +#endif +inline void TagName::set_value(const char* value) { + GOOGLE_DCHECK(value != NULL); + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.TagName.value) +} +inline void TagName::set_value(const char* value, size_t size) { + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.TagName.value) +} +inline ::std::string* TagName::mutable_value() { + + // @@protoc_insertion_point(field_mutable:jasper.TagName.value) + return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TagName::release_value() { + // @@protoc_insertion_point(field_release:jasper.TagName.value) + + return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TagName::set_allocated_value(::std::string* value) { + if (value != NULL) { + + } else { + + } + value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set_allocated:jasper.TagName.value) +} + +// ------------------------------------------------------------------- + +// ProcessTags + +// string processID = 1; +inline void ProcessTags::clear_processid() { + processid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ProcessTags::processid() const { + // @@protoc_insertion_point(field_get:jasper.ProcessTags.processID) + return processid_.GetNoArena(); +} +inline void ProcessTags::set_processid(const ::std::string& value) { + + processid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.ProcessTags.processID) +} +#if LANG_CXX11 +inline void ProcessTags::set_processid(::std::string&& value) { + + processid_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.ProcessTags.processID) +} +#endif +inline void ProcessTags::set_processid(const char* value) { + GOOGLE_DCHECK(value != NULL); + + processid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.ProcessTags.processID) +} +inline void ProcessTags::set_processid(const char* value, size_t size) { + + processid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.ProcessTags.processID) +} +inline ::std::string* ProcessTags::mutable_processid() { + + // @@protoc_insertion_point(field_mutable:jasper.ProcessTags.processID) + return processid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ProcessTags::release_processid() { + // @@protoc_insertion_point(field_release:jasper.ProcessTags.processID) + + return processid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ProcessTags::set_allocated_processid(::std::string* processid) { + if (processid != NULL) { + + } else { + + } + processid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), processid); + // @@protoc_insertion_point(field_set_allocated:jasper.ProcessTags.processID) +} + +// repeated string tags = 2; +inline int ProcessTags::tags_size() const { + return tags_.size(); +} +inline void ProcessTags::clear_tags() { + tags_.Clear(); +} +inline const ::std::string& ProcessTags::tags(int index) const { + // @@protoc_insertion_point(field_get:jasper.ProcessTags.tags) + return tags_.Get(index); +} +inline ::std::string* ProcessTags::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:jasper.ProcessTags.tags) + return tags_.Mutable(index); +} +inline void ProcessTags::set_tags(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:jasper.ProcessTags.tags) + tags_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void ProcessTags::set_tags(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:jasper.ProcessTags.tags) + tags_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void ProcessTags::set_tags(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:jasper.ProcessTags.tags) +} +inline void ProcessTags::set_tags(int index, const char* value, size_t size) { + tags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:jasper.ProcessTags.tags) +} +inline ::std::string* ProcessTags::add_tags() { + // @@protoc_insertion_point(field_add_mutable:jasper.ProcessTags.tags) + return tags_.Add(); +} +inline void ProcessTags::add_tags(const ::std::string& value) { + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:jasper.ProcessTags.tags) +} +#if LANG_CXX11 +inline void ProcessTags::add_tags(::std::string&& value) { + tags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:jasper.ProcessTags.tags) +} +#endif +inline void ProcessTags::add_tags(const char* value) { + GOOGLE_DCHECK(value != NULL); + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:jasper.ProcessTags.tags) +} +inline void ProcessTags::add_tags(const char* value, size_t size) { + tags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:jasper.ProcessTags.tags) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +ProcessTags::tags() const { + // @@protoc_insertion_point(field_list:jasper.ProcessTags.tags) + return tags_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +ProcessTags::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:jasper.ProcessTags.tags) + return &tags_; +} + +// ------------------------------------------------------------------- + +// JasperProcessID + +// string value = 1; +inline void JasperProcessID::clear_value() { + value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& JasperProcessID::value() const { + // @@protoc_insertion_point(field_get:jasper.JasperProcessID.value) + return value_.GetNoArena(); +} +inline void JasperProcessID::set_value(const ::std::string& value) { + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.JasperProcessID.value) +} +#if LANG_CXX11 +inline void JasperProcessID::set_value(::std::string&& value) { + + value_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.JasperProcessID.value) +} +#endif +inline void JasperProcessID::set_value(const char* value) { + GOOGLE_DCHECK(value != NULL); + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.JasperProcessID.value) +} +inline void JasperProcessID::set_value(const char* value, size_t size) { + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.JasperProcessID.value) +} +inline ::std::string* JasperProcessID::mutable_value() { + + // @@protoc_insertion_point(field_mutable:jasper.JasperProcessID.value) + return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* JasperProcessID::release_value() { + // @@protoc_insertion_point(field_release:jasper.JasperProcessID.value) + + return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void JasperProcessID::set_allocated_value(::std::string* value) { + if (value != NULL) { + + } else { + + } + value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set_allocated:jasper.JasperProcessID.value) +} + +// ------------------------------------------------------------------- + +// OperationOutcome + +// bool success = 1; +inline void OperationOutcome::clear_success() { + success_ = false; +} +inline bool OperationOutcome::success() const { + // @@protoc_insertion_point(field_get:jasper.OperationOutcome.success) + return success_; +} +inline void OperationOutcome::set_success(bool value) { + + success_ = value; + // @@protoc_insertion_point(field_set:jasper.OperationOutcome.success) +} + +// string text = 2; +inline void OperationOutcome::clear_text() { + text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& OperationOutcome::text() const { + // @@protoc_insertion_point(field_get:jasper.OperationOutcome.text) + return text_.GetNoArena(); +} +inline void OperationOutcome::set_text(const ::std::string& value) { + + text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.OperationOutcome.text) +} +#if LANG_CXX11 +inline void OperationOutcome::set_text(::std::string&& value) { + + text_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.OperationOutcome.text) +} +#endif +inline void OperationOutcome::set_text(const char* value) { + GOOGLE_DCHECK(value != NULL); + + text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.OperationOutcome.text) +} +inline void OperationOutcome::set_text(const char* value, size_t size) { + + text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.OperationOutcome.text) +} +inline ::std::string* OperationOutcome::mutable_text() { + + // @@protoc_insertion_point(field_mutable:jasper.OperationOutcome.text) + return text_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* OperationOutcome::release_text() { + // @@protoc_insertion_point(field_release:jasper.OperationOutcome.text) + + return text_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void OperationOutcome::set_allocated_text(::std::string* text) { + if (text != NULL) { + + } else { + + } + text_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), text); + // @@protoc_insertion_point(field_set_allocated:jasper.OperationOutcome.text) +} + +// ------------------------------------------------------------------- + +// BuildOptions + +// string target = 1; +inline void BuildOptions::clear_target() { + target_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& BuildOptions::target() const { + // @@protoc_insertion_point(field_get:jasper.BuildOptions.target) + return target_.GetNoArena(); +} +inline void BuildOptions::set_target(const ::std::string& value) { + + target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.BuildOptions.target) +} +#if LANG_CXX11 +inline void BuildOptions::set_target(::std::string&& value) { + + target_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.BuildOptions.target) +} +#endif +inline void BuildOptions::set_target(const char* value) { + GOOGLE_DCHECK(value != NULL); + + target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.BuildOptions.target) +} +inline void BuildOptions::set_target(const char* value, size_t size) { + + target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.BuildOptions.target) +} +inline ::std::string* BuildOptions::mutable_target() { + + // @@protoc_insertion_point(field_mutable:jasper.BuildOptions.target) + return target_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* BuildOptions::release_target() { + // @@protoc_insertion_point(field_release:jasper.BuildOptions.target) + + return target_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void BuildOptions::set_allocated_target(::std::string* target) { + if (target != NULL) { + + } else { + + } + target_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), target); + // @@protoc_insertion_point(field_set_allocated:jasper.BuildOptions.target) +} + +// string arch = 2; +inline void BuildOptions::clear_arch() { + arch_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& BuildOptions::arch() const { + // @@protoc_insertion_point(field_get:jasper.BuildOptions.arch) + return arch_.GetNoArena(); +} +inline void BuildOptions::set_arch(const ::std::string& value) { + + arch_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.BuildOptions.arch) +} +#if LANG_CXX11 +inline void BuildOptions::set_arch(::std::string&& value) { + + arch_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.BuildOptions.arch) +} +#endif +inline void BuildOptions::set_arch(const char* value) { + GOOGLE_DCHECK(value != NULL); + + arch_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.BuildOptions.arch) +} +inline void BuildOptions::set_arch(const char* value, size_t size) { + + arch_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.BuildOptions.arch) +} +inline ::std::string* BuildOptions::mutable_arch() { + + // @@protoc_insertion_point(field_mutable:jasper.BuildOptions.arch) + return arch_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* BuildOptions::release_arch() { + // @@protoc_insertion_point(field_release:jasper.BuildOptions.arch) + + return arch_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void BuildOptions::set_allocated_arch(::std::string* arch) { + if (arch != NULL) { + + } else { + + } + arch_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), arch); + // @@protoc_insertion_point(field_set_allocated:jasper.BuildOptions.arch) +} + +// string edition = 3; +inline void BuildOptions::clear_edition() { + edition_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& BuildOptions::edition() const { + // @@protoc_insertion_point(field_get:jasper.BuildOptions.edition) + return edition_.GetNoArena(); +} +inline void BuildOptions::set_edition(const ::std::string& value) { + + edition_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.BuildOptions.edition) +} +#if LANG_CXX11 +inline void BuildOptions::set_edition(::std::string&& value) { + + edition_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.BuildOptions.edition) +} +#endif +inline void BuildOptions::set_edition(const char* value) { + GOOGLE_DCHECK(value != NULL); + + edition_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.BuildOptions.edition) +} +inline void BuildOptions::set_edition(const char* value, size_t size) { + + edition_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.BuildOptions.edition) +} +inline ::std::string* BuildOptions::mutable_edition() { + + // @@protoc_insertion_point(field_mutable:jasper.BuildOptions.edition) + return edition_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* BuildOptions::release_edition() { + // @@protoc_insertion_point(field_release:jasper.BuildOptions.edition) + + return edition_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void BuildOptions::set_allocated_edition(::std::string* edition) { + if (edition != NULL) { + + } else { + + } + edition_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), edition); + // @@protoc_insertion_point(field_set_allocated:jasper.BuildOptions.edition) +} + +// bool debug = 4; +inline void BuildOptions::clear_debug() { + debug_ = false; +} +inline bool BuildOptions::debug() const { + // @@protoc_insertion_point(field_get:jasper.BuildOptions.debug) + return debug_; +} +inline void BuildOptions::set_debug(bool value) { + + debug_ = value; + // @@protoc_insertion_point(field_set:jasper.BuildOptions.debug) +} + +// ------------------------------------------------------------------- + +// MongoDBDownloadOptions + +// .jasper.BuildOptions build_options = 1; +inline bool MongoDBDownloadOptions::has_build_options() const { + return this != internal_default_instance() && build_options_ != NULL; +} +inline void MongoDBDownloadOptions::clear_build_options() { + if (GetArenaNoVirtual() == NULL && build_options_ != NULL) { + delete build_options_; + } + build_options_ = NULL; +} +inline const ::jasper::BuildOptions& MongoDBDownloadOptions::_internal_build_options() const { + return *build_options_; +} +inline const ::jasper::BuildOptions& MongoDBDownloadOptions::build_options() const { + const ::jasper::BuildOptions* p = build_options_; + // @@protoc_insertion_point(field_get:jasper.MongoDBDownloadOptions.build_options) + return p != NULL ? *p : *reinterpret_cast( + &::jasper::_BuildOptions_default_instance_); +} +inline ::jasper::BuildOptions* MongoDBDownloadOptions::release_build_options() { + // @@protoc_insertion_point(field_release:jasper.MongoDBDownloadOptions.build_options) + + ::jasper::BuildOptions* temp = build_options_; + build_options_ = NULL; + return temp; +} +inline ::jasper::BuildOptions* MongoDBDownloadOptions::mutable_build_options() { + + if (build_options_ == NULL) { + auto* p = CreateMaybeMessage<::jasper::BuildOptions>(GetArenaNoVirtual()); + build_options_ = p; + } + // @@protoc_insertion_point(field_mutable:jasper.MongoDBDownloadOptions.build_options) + return build_options_; +} +inline void MongoDBDownloadOptions::set_allocated_build_options(::jasper::BuildOptions* build_options) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete build_options_; + } + if (build_options) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + build_options = ::google::protobuf::internal::GetOwnedMessage( + message_arena, build_options, submessage_arena); + } + + } else { + + } + build_options_ = build_options; + // @@protoc_insertion_point(field_set_allocated:jasper.MongoDBDownloadOptions.build_options) +} + +// string path = 2; +inline void MongoDBDownloadOptions::clear_path() { + path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& MongoDBDownloadOptions::path() const { + // @@protoc_insertion_point(field_get:jasper.MongoDBDownloadOptions.path) + return path_.GetNoArena(); +} +inline void MongoDBDownloadOptions::set_path(const ::std::string& value) { + + path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.MongoDBDownloadOptions.path) +} +#if LANG_CXX11 +inline void MongoDBDownloadOptions::set_path(::std::string&& value) { + + path_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.MongoDBDownloadOptions.path) +} +#endif +inline void MongoDBDownloadOptions::set_path(const char* value) { + GOOGLE_DCHECK(value != NULL); + + path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.MongoDBDownloadOptions.path) +} +inline void MongoDBDownloadOptions::set_path(const char* value, size_t size) { + + path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.MongoDBDownloadOptions.path) +} +inline ::std::string* MongoDBDownloadOptions::mutable_path() { + + // @@protoc_insertion_point(field_mutable:jasper.MongoDBDownloadOptions.path) + return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MongoDBDownloadOptions::release_path() { + // @@protoc_insertion_point(field_release:jasper.MongoDBDownloadOptions.path) + + return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MongoDBDownloadOptions::set_allocated_path(::std::string* path) { + if (path != NULL) { + + } else { + + } + path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path); + // @@protoc_insertion_point(field_set_allocated:jasper.MongoDBDownloadOptions.path) +} + +// repeated string releases = 3; +inline int MongoDBDownloadOptions::releases_size() const { + return releases_.size(); +} +inline void MongoDBDownloadOptions::clear_releases() { + releases_.Clear(); +} +inline const ::std::string& MongoDBDownloadOptions::releases(int index) const { + // @@protoc_insertion_point(field_get:jasper.MongoDBDownloadOptions.releases) + return releases_.Get(index); +} +inline ::std::string* MongoDBDownloadOptions::mutable_releases(int index) { + // @@protoc_insertion_point(field_mutable:jasper.MongoDBDownloadOptions.releases) + return releases_.Mutable(index); +} +inline void MongoDBDownloadOptions::set_releases(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:jasper.MongoDBDownloadOptions.releases) + releases_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void MongoDBDownloadOptions::set_releases(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:jasper.MongoDBDownloadOptions.releases) + releases_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void MongoDBDownloadOptions::set_releases(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + releases_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:jasper.MongoDBDownloadOptions.releases) +} +inline void MongoDBDownloadOptions::set_releases(int index, const char* value, size_t size) { + releases_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:jasper.MongoDBDownloadOptions.releases) +} +inline ::std::string* MongoDBDownloadOptions::add_releases() { + // @@protoc_insertion_point(field_add_mutable:jasper.MongoDBDownloadOptions.releases) + return releases_.Add(); +} +inline void MongoDBDownloadOptions::add_releases(const ::std::string& value) { + releases_.Add()->assign(value); + // @@protoc_insertion_point(field_add:jasper.MongoDBDownloadOptions.releases) +} +#if LANG_CXX11 +inline void MongoDBDownloadOptions::add_releases(::std::string&& value) { + releases_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:jasper.MongoDBDownloadOptions.releases) +} +#endif +inline void MongoDBDownloadOptions::add_releases(const char* value) { + GOOGLE_DCHECK(value != NULL); + releases_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:jasper.MongoDBDownloadOptions.releases) +} +inline void MongoDBDownloadOptions::add_releases(const char* value, size_t size) { + releases_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:jasper.MongoDBDownloadOptions.releases) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +MongoDBDownloadOptions::releases() const { + // @@protoc_insertion_point(field_list:jasper.MongoDBDownloadOptions.releases) + return releases_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +MongoDBDownloadOptions::mutable_releases() { + // @@protoc_insertion_point(field_mutable_list:jasper.MongoDBDownloadOptions.releases) + return &releases_; +} + +// ------------------------------------------------------------------- + +// CacheOptions + +// bool disabled = 1; +inline void CacheOptions::clear_disabled() { + disabled_ = false; +} +inline bool CacheOptions::disabled() const { + // @@protoc_insertion_point(field_get:jasper.CacheOptions.disabled) + return disabled_; +} +inline void CacheOptions::set_disabled(bool value) { + + disabled_ = value; + // @@protoc_insertion_point(field_set:jasper.CacheOptions.disabled) +} + +// int64 prune_delay = 2; +inline void CacheOptions::clear_prune_delay() { + prune_delay_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 CacheOptions::prune_delay() const { + // @@protoc_insertion_point(field_get:jasper.CacheOptions.prune_delay) + return prune_delay_; +} +inline void CacheOptions::set_prune_delay(::google::protobuf::int64 value) { + + prune_delay_ = value; + // @@protoc_insertion_point(field_set:jasper.CacheOptions.prune_delay) +} + +// int64 max_size = 3; +inline void CacheOptions::clear_max_size() { + max_size_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 CacheOptions::max_size() const { + // @@protoc_insertion_point(field_get:jasper.CacheOptions.max_size) + return max_size_; +} +inline void CacheOptions::set_max_size(::google::protobuf::int64 value) { + + max_size_ = value; + // @@protoc_insertion_point(field_set:jasper.CacheOptions.max_size) +} + +// ------------------------------------------------------------------- + +// ArchiveOptions + +// bool should_extract = 1; +inline void ArchiveOptions::clear_should_extract() { + should_extract_ = false; +} +inline bool ArchiveOptions::should_extract() const { + // @@protoc_insertion_point(field_get:jasper.ArchiveOptions.should_extract) + return should_extract_; +} +inline void ArchiveOptions::set_should_extract(bool value) { + + should_extract_ = value; + // @@protoc_insertion_point(field_set:jasper.ArchiveOptions.should_extract) +} + +// .jasper.ArchiveFormat format = 2; +inline void ArchiveOptions::clear_format() { + format_ = 0; +} +inline ::jasper::ArchiveFormat ArchiveOptions::format() const { + // @@protoc_insertion_point(field_get:jasper.ArchiveOptions.format) + return static_cast< ::jasper::ArchiveFormat >(format_); +} +inline void ArchiveOptions::set_format(::jasper::ArchiveFormat value) { + + format_ = value; + // @@protoc_insertion_point(field_set:jasper.ArchiveOptions.format) +} + +// string target_path = 3; +inline void ArchiveOptions::clear_target_path() { + target_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArchiveOptions::target_path() const { + // @@protoc_insertion_point(field_get:jasper.ArchiveOptions.target_path) + return target_path_.GetNoArena(); +} +inline void ArchiveOptions::set_target_path(const ::std::string& value) { + + target_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.ArchiveOptions.target_path) +} +#if LANG_CXX11 +inline void ArchiveOptions::set_target_path(::std::string&& value) { + + target_path_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.ArchiveOptions.target_path) +} +#endif +inline void ArchiveOptions::set_target_path(const char* value) { + GOOGLE_DCHECK(value != NULL); + + target_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.ArchiveOptions.target_path) +} +inline void ArchiveOptions::set_target_path(const char* value, size_t size) { + + target_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.ArchiveOptions.target_path) +} +inline ::std::string* ArchiveOptions::mutable_target_path() { + + // @@protoc_insertion_point(field_mutable:jasper.ArchiveOptions.target_path) + return target_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArchiveOptions::release_target_path() { + // @@protoc_insertion_point(field_release:jasper.ArchiveOptions.target_path) + + return target_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArchiveOptions::set_allocated_target_path(::std::string* target_path) { + if (target_path != NULL) { + + } else { + + } + target_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), target_path); + // @@protoc_insertion_point(field_set_allocated:jasper.ArchiveOptions.target_path) +} + +// ------------------------------------------------------------------- + +// DownloadInfo + +// string url = 1; +inline void DownloadInfo::clear_url() { + url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DownloadInfo::url() const { + // @@protoc_insertion_point(field_get:jasper.DownloadInfo.url) + return url_.GetNoArena(); +} +inline void DownloadInfo::set_url(const ::std::string& value) { + + url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.DownloadInfo.url) +} +#if LANG_CXX11 +inline void DownloadInfo::set_url(::std::string&& value) { + + url_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.DownloadInfo.url) +} +#endif +inline void DownloadInfo::set_url(const char* value) { + GOOGLE_DCHECK(value != NULL); + + url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.DownloadInfo.url) +} +inline void DownloadInfo::set_url(const char* value, size_t size) { + + url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.DownloadInfo.url) +} +inline ::std::string* DownloadInfo::mutable_url() { + + // @@protoc_insertion_point(field_mutable:jasper.DownloadInfo.url) + return url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DownloadInfo::release_url() { + // @@protoc_insertion_point(field_release:jasper.DownloadInfo.url) + + return url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DownloadInfo::set_allocated_url(::std::string* url) { + if (url != NULL) { + + } else { + + } + url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), url); + // @@protoc_insertion_point(field_set_allocated:jasper.DownloadInfo.url) +} + +// string path = 2; +inline void DownloadInfo::clear_path() { + path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DownloadInfo::path() const { + // @@protoc_insertion_point(field_get:jasper.DownloadInfo.path) + return path_.GetNoArena(); +} +inline void DownloadInfo::set_path(const ::std::string& value) { + + path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:jasper.DownloadInfo.path) +} +#if LANG_CXX11 +inline void DownloadInfo::set_path(::std::string&& value) { + + path_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:jasper.DownloadInfo.path) +} +#endif +inline void DownloadInfo::set_path(const char* value) { + GOOGLE_DCHECK(value != NULL); + + path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:jasper.DownloadInfo.path) +} +inline void DownloadInfo::set_path(const char* value, size_t size) { + + path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:jasper.DownloadInfo.path) +} +inline ::std::string* DownloadInfo::mutable_path() { + + // @@protoc_insertion_point(field_mutable:jasper.DownloadInfo.path) + return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DownloadInfo::release_path() { + // @@protoc_insertion_point(field_release:jasper.DownloadInfo.path) + + return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DownloadInfo::set_allocated_path(::std::string* path) { + if (path != NULL) { + + } else { + + } + path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path); + // @@protoc_insertion_point(field_set_allocated:jasper.DownloadInfo.path) +} + +// .jasper.ArchiveOptions archive_opts = 3; +inline bool DownloadInfo::has_archive_opts() const { + return this != internal_default_instance() && archive_opts_ != NULL; +} +inline void DownloadInfo::clear_archive_opts() { + if (GetArenaNoVirtual() == NULL && archive_opts_ != NULL) { + delete archive_opts_; + } + archive_opts_ = NULL; +} +inline const ::jasper::ArchiveOptions& DownloadInfo::_internal_archive_opts() const { + return *archive_opts_; +} +inline const ::jasper::ArchiveOptions& DownloadInfo::archive_opts() const { + const ::jasper::ArchiveOptions* p = archive_opts_; + // @@protoc_insertion_point(field_get:jasper.DownloadInfo.archive_opts) + return p != NULL ? *p : *reinterpret_cast( + &::jasper::_ArchiveOptions_default_instance_); +} +inline ::jasper::ArchiveOptions* DownloadInfo::release_archive_opts() { + // @@protoc_insertion_point(field_release:jasper.DownloadInfo.archive_opts) + + ::jasper::ArchiveOptions* temp = archive_opts_; + archive_opts_ = NULL; + return temp; +} +inline ::jasper::ArchiveOptions* DownloadInfo::mutable_archive_opts() { + + if (archive_opts_ == NULL) { + auto* p = CreateMaybeMessage<::jasper::ArchiveOptions>(GetArenaNoVirtual()); + archive_opts_ = p; + } + // @@protoc_insertion_point(field_mutable:jasper.DownloadInfo.archive_opts) + return archive_opts_; +} +inline void DownloadInfo::set_allocated_archive_opts(::jasper::ArchiveOptions* archive_opts) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete archive_opts_; + } + if (archive_opts) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + archive_opts = ::google::protobuf::internal::GetOwnedMessage( + message_arena, archive_opts, submessage_arena); + } + + } else { + + } + archive_opts_ = archive_opts; + // @@protoc_insertion_point(field_set_allocated:jasper.DownloadInfo.archive_opts) +} + +// ------------------------------------------------------------------- + +// BuildloggerURLs + +// repeated string urls = 1; +inline int BuildloggerURLs::urls_size() const { + return urls_.size(); +} +inline void BuildloggerURLs::clear_urls() { + urls_.Clear(); +} +inline const ::std::string& BuildloggerURLs::urls(int index) const { + // @@protoc_insertion_point(field_get:jasper.BuildloggerURLs.urls) + return urls_.Get(index); +} +inline ::std::string* BuildloggerURLs::mutable_urls(int index) { + // @@protoc_insertion_point(field_mutable:jasper.BuildloggerURLs.urls) + return urls_.Mutable(index); +} +inline void BuildloggerURLs::set_urls(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:jasper.BuildloggerURLs.urls) + urls_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void BuildloggerURLs::set_urls(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:jasper.BuildloggerURLs.urls) + urls_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void BuildloggerURLs::set_urls(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + urls_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:jasper.BuildloggerURLs.urls) +} +inline void BuildloggerURLs::set_urls(int index, const char* value, size_t size) { + urls_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:jasper.BuildloggerURLs.urls) +} +inline ::std::string* BuildloggerURLs::add_urls() { + // @@protoc_insertion_point(field_add_mutable:jasper.BuildloggerURLs.urls) + return urls_.Add(); +} +inline void BuildloggerURLs::add_urls(const ::std::string& value) { + urls_.Add()->assign(value); + // @@protoc_insertion_point(field_add:jasper.BuildloggerURLs.urls) +} +#if LANG_CXX11 +inline void BuildloggerURLs::add_urls(::std::string&& value) { + urls_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:jasper.BuildloggerURLs.urls) +} +#endif +inline void BuildloggerURLs::add_urls(const char* value) { + GOOGLE_DCHECK(value != NULL); + urls_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:jasper.BuildloggerURLs.urls) +} +inline void BuildloggerURLs::add_urls(const char* value, size_t size) { + urls_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:jasper.BuildloggerURLs.urls) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +BuildloggerURLs::urls() const { + // @@protoc_insertion_point(field_list:jasper.BuildloggerURLs.urls) + return urls_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +BuildloggerURLs::mutable_urls() { + // @@protoc_insertion_point(field_mutable_list:jasper.BuildloggerURLs.urls) + return &urls_; +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace jasper + +namespace google { +namespace protobuf { + +template <> struct is_proto_enum< ::jasper::LogType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::jasper::LogType>() { + return ::jasper::LogType_descriptor(); +} +template <> struct is_proto_enum< ::jasper::LogFormat> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::jasper::LogFormat>() { + return ::jasper::LogFormat_descriptor(); +} +template <> struct is_proto_enum< ::jasper::FilterSpecifications> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::jasper::FilterSpecifications>() { + return ::jasper::FilterSpecifications_descriptor(); +} +template <> struct is_proto_enum< ::jasper::Signals> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::jasper::Signals>() { + return ::jasper::Signals_descriptor(); +} +template <> struct is_proto_enum< ::jasper::ArchiveFormat> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::jasper::ArchiveFormat>() { + return ::jasper::ArchiveFormat_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_INCLUDED_jasper_2eproto diff --git a/src/gennylib/jasper/jasper.proto b/src/gennylib/jasper/jasper.proto new file mode 100644 index 0000000000..e5e78a0165 --- /dev/null +++ b/src/gennylib/jasper/jasper.proto @@ -0,0 +1,208 @@ +syntax = "proto3"; + +package jasper; +option go_package = "internal"; + +import "google/protobuf/empty.proto"; + +message Logger { + LogType log_type = 1; + LogOptions log_options = 2; +} + +message OutputOptions { + repeated Logger loggers = 1; + bool suppress_output = 2; + bool suppress_error = 3; + bool redirect_output_to_error = 4; + bool redirect_error_to_output = 5; +} + +enum LogType { + LOGUNKNOWN = 0; + LOGBUILDLOGGERV2 = 1; + LOGBUILDLOGGERV3 = 2; + LOGDEFAULT = 3; + LOGFILE = 4; + LOGINHERIT = 5; + LOGSPLUNK = 6; + LOGSUMOLOGIC = 7; + LOGINMEMORY = 8; +} + +enum LogFormat { + LOGFORMATUNKNOWN = 0; + LOGFORMATDEFAULT = 1; + LOGFORMATJSON = 2; + LOGFORMATPLAIN = 3; +} + +message LogOptions { + BufferOptions buffer_options = 1; + BuildloggerOptions buildlogger_options = 2; + string default_prefix = 3; + string file_name = 4; + string format = 5; + int64 in_memory_cap = 6; + SplunkOptions splunk_options = 7; + string sumo_endpoint = 8; +} + +message BufferOptions { + bool buffered = 1; + int64 duration = 2; + int64 max_size = 3; +} + +message BuildloggerOptions { + bool create_test = 1; + string url = 2; + int64 number = 3; + string phase = 4; + string builder = 5; + string test = 6; + string command = 7; +} + +message SplunkOptions { + string url = 1; + string token = 2; + string channel = 3; +} + +message CreateOptions { + repeated string args = 1; + string working_directory = 2; + map environment = 3; + bool override_environ = 4; + int64 timeout_seconds = 5; + repeated string tags = 6; + repeated CreateOptions on_success = 7; + repeated CreateOptions on_failure = 8; + repeated CreateOptions on_timeout = 9; + OutputOptions output = 10; +} + +message ProcessInfo { + string id = 1; + int64 pid = 2; + string host_id = 3; + bool running = 4; + bool successful = 5; + bool complete = 6; + bool timedout = 7; + CreateOptions options = 8; +} + +message StatusResponse { + string host_id = 1; + bool active = 2; +} + +message Filter { + FilterSpecifications name = 1; +} + +enum FilterSpecifications { + ALL = 0; + RUNNING = 1; + TERMINATED = 2; + FAILED = 3; + SUCCESSFUL = 4; +} + +message SignalProcess { + JasperProcessID ProcessID = 1; + Signals signal = 2; +} + +enum Signals { + UNKNOWN = 0; + TERMINATE = 1; + KILL = 2; + HANGUP = 3; + INIT = 4; + USER1 = 5; + USER2 = 6; +} + + +message TagName { + string value = 1; +} + +message ProcessTags { + string processID = 1; + repeated string tags = 2; +} + +message JasperProcessID { + string value = 1; + +} + +message OperationOutcome { + bool success = 1; + string text = 2; +} + +message BuildOptions { + string target = 1; + string arch = 2; + string edition = 3; + bool debug = 4; +} + +message MongoDBDownloadOptions { + BuildOptions build_options = 1; + string path = 2; + repeated string releases = 3; +} + +message CacheOptions { + bool disabled = 1; + int64 prune_delay = 2; + int64 max_size = 3; +} + +enum ArchiveFormat { + ARCHIVEUNKNOWN = 0; + ARCHIVEAUTO = 1; + ARCHIVETARGZ = 2; + ARCHIVEZIP = 3; +} + +message ArchiveOptions { + bool should_extract = 1; + ArchiveFormat format = 2; + string target_path = 3; +} + +message DownloadInfo { + string url = 1; + string path = 2; + ArchiveOptions archive_opts = 3; +} + +message BuildloggerURLs { + repeated string urls = 1; +} + +service JasperProcessManager { + rpc Status(google.protobuf.Empty) returns (StatusResponse); + rpc Create(CreateOptions) returns (ProcessInfo); + rpc List(Filter) returns (stream ProcessInfo); + rpc Group(TagName) returns (stream ProcessInfo); + rpc Get(JasperProcessID) returns (ProcessInfo); + rpc Wait(JasperProcessID) returns (OperationOutcome); + rpc Signal(SignalProcess) returns (OperationOutcome); + rpc Close(google.protobuf.Empty) returns (OperationOutcome); + rpc TagProcess(ProcessTags) returns (OperationOutcome); + rpc ResetTags(JasperProcessID) returns (OperationOutcome); + rpc GetTags(JasperProcessID) returns (ProcessTags); + rpc DownloadFile(DownloadInfo) returns (OperationOutcome); + rpc DownloadFileAsync(DownloadInfo) returns (OperationOutcome); + rpc DownloadMongoDB(MongoDBDownloadOptions) returns (OperationOutcome); + rpc ConfigureCache(CacheOptions) returns (OperationOutcome); + rpc GetBuildloggerURLs(JasperProcessID) returns (BuildloggerURLs); +} diff --git a/src/python/tests/metrics_output_parser_test.py b/src/python/tests/metrics_output_parser_test.py index 0564113b08..18088b66aa 100644 --- a/src/python/tests/metrics_output_parser_test.py +++ b/src/python/tests/metrics_output_parser_test.py @@ -39,11 +39,11 @@ def test_csv_no_sections_have_data(self): self.assertEqual( test_lib.parse_string(""" Clocks - + Gauges - + Counters - + Timers """).timers(), {})