diff --git a/.travis.yml b/.travis.yml index 028c596..3493b91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,3 @@ addons: apt: packages: - libxml2-dev - - protobuf-compiler - - libprotobuf-dev - - libprotoc-dev - - libgrpc++-dev diff --git a/DESCRIPTION b/DESCRIPTION index 5deb5dd..10d0e06 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,15 +1,13 @@ -Package: grpc4bmi +Package: bmi Type: Package -Title: gRPC server of basic model interface (bmi) +Title: basic model interface Version: 1.0.0 Date: 2018-07-31 Author: S. Verhoeven Maintainer: S. Verhoeven -Description: Model as a service. Used in eWatercycle project to run hydrology models. +Description: Used in eWatercycle project to run hydrology models via grpc4bmi License: file LICENSE Depends: R (>= 3.4.0), configr, R6 -Imports: Rcpp (>= 0.12.18) -LinkingTo: Rcpp RoxygenNote: 6.1.0 Suggests: testthat diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 3d37300..0000000 --- a/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -FROM r-base -LABEL maintainer="Stefan Verhoeven " - -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - libcurl4-openssl-dev curl \ - git libgit2-dev libssl-dev \ - build-essential autoconf libtool pkg-config dh-autoreconf \ - && rm -rf /var/lib/apt/lists/* - -# Support for `Remotes: ` in DESCRIPTION -RUN install.r remotes devtools - -RUN git clone --recursive -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc && \ - cd /grpc && make -j $(nproc) && cd third_party/protobuf && make install && cd - && \ - make install && ldconfig && cd / && rm -rf /grpc - -COPY . /opt/grpc4bmi - -RUN Rscript -e 'devtools::install("/opt/grpc4bmi", dependencies=TRUE)' - -RUN mkdir /data -WORKDIR /data -VOLUME /data - -ENV BMI_PORT=55555 - -CMD ["Rscript", "-e", "grpc4bmi::run()"] - -EXPOSE 55555 diff --git a/NAMESPACE b/NAMESPACE index be7dc6c..05da247 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,9 +1,3 @@ # Generated by roxygen2: do not edit by hand export(AbstractBmi) -export(MockedBmi) -export(run) -export(runAsyncMultiServer) -export(runMocked) -importFrom(Rcpp,evalCpp) -useDynLib(grpc4bmi) diff --git a/R/RcppExports.R b/R/RcppExports.R deleted file mode 100644 index 55c5634..0000000 --- a/R/RcppExports.R +++ /dev/null @@ -1,10 +0,0 @@ -# Generated by using Rcpp::compileAttributes() -> do not edit by hand -# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 - -#' Async multi method server -#' -#' @export -runAsyncMultiServer <- function(model, ip = "0.0.0.0", port = "50051") { - invisible(.Call('_grpc4bmi_runAsyncMultiServer', PACKAGE = 'grpc4bmi', model, ip, port)) -} - diff --git a/R/abstract-bmi.R b/R/abstract-bmi.R index 23db83d..70c7855 100644 --- a/R/abstract-bmi.R +++ b/R/abstract-bmi.R @@ -18,8 +18,6 @@ AbstractBmi <- R6Class( runModel = function() stop('Not implemented'), getComponentName = function() stop('Not implemented'), - getInputVarNameCount = function() stop('Not implemented'), - getOutputVarNameCount = function() stop('Not implemented'), getInputVarNames = function() stop('Not implemented'), getOutputVarNames = function() stop('Not implemented'), @@ -36,11 +34,9 @@ AbstractBmi <- R6Class( getVarNBytes = function(name) stop('Not implemented'), getValue = function(name) stop('Not implemented'), - getValuePtr = function(name) stop('Not implemented'), getValueAtIndices = function(name, indices) stop('Not implemented'), - setValue = function(name, values, shape) stop('Not implemented'), - setValuePtr = function(name, ref) stop('Not implemented'), + setValue = function(name, values) stop('Not implemented'), setValueAtIndices = function(name, indices, values) stop('Not implemented'), getGridSize = function(grid_id) stop('Not implemented'), @@ -52,9 +48,6 @@ AbstractBmi <- R6Class( getGridX = function(grid_id) stop('Not implemented'), getGridY = function(grid_id) stop('Not implemented'), getGridZ = function(grid_id) stop('Not implemented'), - getGridCellCount = function(grid_id) stop('Not implemented'), - getGridPointCount = function(grid_id) stop('Not implemented'), - getGridVertexCount = function(grid_id) stop('Not implemented'), getGridConnectivity = function(grid_id) stop('Not implemented'), getGridOffset = function(grid_id) stop('Not implemented') ) diff --git a/R/bmi-server.R b/R/bmi-server.R deleted file mode 100644 index a8642c0..0000000 --- a/R/bmi-server.R +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env r - -#' @useDynLib grpc4bmi -#' @importFrom Rcpp evalCpp -NULL - -#' @export -MockedBmi <- R6Class( - inherit = AbstractBmi, - public = list( - bmi_initialize = function(config_file) { - print('Running initialize') - print(config_file) - }, - getComponentName = function() return('mock'), - updateFrac = function(arg) { - print('Been here') - print(arg) - }, - getInputVarNameCount = function() return(42), - getInputVarNames = function() return(c('ETact', 'Q', 'fGS', 'fQS', 'dV', 'dVeq', 'dG', 'hQ', 'hS', 'w')), - getVarGrid = function(name) { - print(name); - return(1); - }, - getValue = function(name) { - print(name); - return(array(1, dim=c(2,3,4))) - # return(array(as.integer(1), dim=c(2,3,4))) - # return(array("1", dim=c(2,3,4))) - } - ) -) - -#' Command line interface of grpc4 bmi server -#' Use following environment variables for configuration: -#' -#' * BMI_MODULE, file which contains bmi class -#' * BMI_CLASS, class name which subclasses AbstractBmi -#' * BMI_PORT, a tcp port number to run the server on -#' -#' @export -run <- function() { - module = Sys.getenv('BMI_MODULE') - if (module != "") { - source(module) - } - - class = Sys.getenv('BMI_CLASS') - if (class == "") { - stop("Require BMI_CLASS environment variable with name of class which implements the bmi interface") - } - model <- get(class)$new() - - port = Sys.getenv('BMI_PORT', '55555') - runAsyncMultiServer(model, port=port); -} - -#' Start a gRPC server wrapping a mocked bmi model -#' @export -runMocked <- function() { - model = MockedBmi$new() - runAsyncMultiServer(model); -} diff --git a/README.md b/README.md index dd6ee6d..72cd15c 100644 --- a/README.md +++ b/README.md @@ -1,63 +1,35 @@ -Wrap a model written in R which implements the basic model interface (bmi) in a gRPC server. +Contains abstract super class which implements the basic model interface (bmi) in R. See https://github.com/eWaterCycle/grpc4bmi for the Python server/client implementation. # Install -System requirements: -* Protobuf -* [grpc](https://github.com/grpc/grpc/blob/master/BUILDING.md) >=v1.14.x - From R ```R -devtools::install_github("eWaterCycle/grpc4bmi-r") +devtools::install_github("eWaterCycle/bmi-r") +``` + +For Python runner +```bash +pip install grpc4bmi[R] ``` -# Usage +# Serve the model using grpc4bmi First the model should be wrapped in a basic model interface be subclassing the AbstractBmi class. Then the server can be started with: ``` -export BMI_MODULE= -export BMI_CLASS= -export BMI_PORT= -Rscript -e 'grpc4bmi::run()' +run-bmi-server --lang R --path --name ``` ## Docker container -To install grpc is a bit of a hassle so a Docker image is provided called [ewatercycle/grpc4bmi-r](https://hub.docker.com/r/ewatercycle/grpc4bmi-r/) which contains R and grpc installation. - -To create a Docker image of a R based hydrology model use this image as a start. - -So for example for https://github.com/ClaudiaBrauer/WALRUS +So for example for [WALRUS](https://github.com/ClaudiaBrauer/WALRUS) model, see its [Dockerfile](https://github.com/eWaterCycle/grpc4bmi-examples/blob/master/walrus/Dockerfile). -```Dockerfile -FROM ewatercycle/grpc4bmi-r - -RUN installGithub.r ClaudiaBrauer/WALRUS - -RUN mkdir /opt/walrus-bmi - -COPY walrus-bmi.r /opt/walrus-bmi/walrus-bmi.r - -ENV BMI_MODULE=/opt/walrus-bmi/walrus-bmi.r -ENV BMI_CLASS=WalrusBmi -``` - -To run server use -```bash -docker run -d -v $PWD:/data -p 55555:55555 -``` The config file for the bmi initialize function should be put in current working directory and the initialize function should be called with `/data/ -``` - # Release ## Generate man pages @@ -66,19 +38,9 @@ docker run -d -v $PWD:/data -p 55555:55555 -e GRPC_TRACE=api -e GRPC_VERBOSITY=D Rscript -e "devtools::document(roclets=c('rd', 'collate', 'namespace'))" ``` -## Generate cpp files from proto file - -```bash -cd src -protoc -I ../inst/proto --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ../inst/proto/bmi.proto -protoc -I ../inst/proto --cpp_out=. ../inst/proto/bmi.proto -cd - -``` - ## Local build & install ```bash -Rscript -e 'Rcpp::compileAttributes();devtools::document()' +Rscript -e 'devtools::document()' R CMD INSTALL . -Rscript -e 'grpc4bmi::run()' ``` diff --git a/inst/proto/bmi.proto b/inst/proto/bmi.proto deleted file mode 100644 index 92b0656..0000000 --- a/inst/proto/bmi.proto +++ /dev/null @@ -1,257 +0,0 @@ -syntax = "proto3"; - -package bmi; - -message Empty{} - -message InitializeRequest -{ - string config_file = 1; -} - -message UpdateUntilRequest -{ - double until = 1; -} - -message UpdateFracRequest -{ - double frac = 1; -} - -message GetComponentNameResponse -{ - string name = 1; -} - -message GetVarNameCountResponse -{ - int32 count = 1; -} - -message GetVarNamesResponse -{ - repeated string names = 1; -} - -message GetTimeUnitsResponse -{ - string units = 1; -} - -message GetTimeStepResponse -{ - double interval = 1; -} - -message GetTimeResponse -{ - double time = 1; -} - -message GetVarRequest -{ - string name = 1; -} - -message GetVarGridResponse -{ - int32 grid_id = 1; -} - -message GetVarTypeResponse -{ - string type = 1; -} - -message GetVarItemSizeResponse -{ - int32 size = 1; -} - -message GetVarUnitsResponse -{ - string units = 1; -} - -message GetVarNBytesResponse -{ - int32 nbytes = 1; -} - -message IntArrayMessage -{ - repeated int32 values = 1 [packed = true]; -} - -message FloatArrayMessage -{ - repeated float values = 1 [packed = true]; -} - -message DoubleArrayMessage -{ - repeated double values = 1 [packed = true]; -} - -message GetValueResponse -{ - oneof values { - IntArrayMessage values_int = 1; - FloatArrayMessage values_float = 2; - DoubleArrayMessage values_double = 3; - } - repeated int32 shape = 4 [packed = true]; -} - -message GetValueAtIndicesRequest -{ - string name = 1; - repeated int32 indices = 2 [packed = true]; - int32 index_size = 3; -} - -message GetValueAtIndicesResponse -{ - oneof values { - IntArrayMessage values_int = 1; - FloatArrayMessage values_float = 2; - DoubleArrayMessage values_double = 3; - } - repeated int32 shape = 4 [packed = true]; -} - -message SetValueRequest -{ - string name = 1; - oneof values { - IntArrayMessage values_int = 2; - FloatArrayMessage values_float = 3; - DoubleArrayMessage values_double = 4; - } - repeated int32 shape = 5 [packed = true]; -} - -message SetValuePtrRequest -{ - string name = 1; - int32 ref = 2; -} - -message SetValueAtIndicesRequest -{ - string name = 1; - repeated int32 indices = 2 [packed = true]; - oneof values { - IntArrayMessage values_int = 3; - FloatArrayMessage values_float = 4; - DoubleArrayMessage values_double = 5; - } - int32 index_size = 6; -} - -message GridRequest -{ - int32 grid_id = 1; -} - -message GetGridSizeResponse -{ - int32 size = 1; -} - -message GetGridRankResponse -{ - int32 rank = 1; -} - -message GetGridTypeResponse -{ - string type = 1; -} - -message GetGridShapeResponse -{ - repeated int32 shape = 1 [packed = true]; -} - -message GetGridSpacingResponse -{ - repeated double spacing = 1 [packed = true]; -} - -message GetGridOriginResponse -{ - repeated double origin = 1 [packed = true]; -} - -message GetGridPointsResponse -{ - repeated double coordinates = 1 [packed = true]; -} - -message GetCountResponse -{ - int32 count = 1; -} - -message GetGridConnectivityResponse -{ - repeated int32 links = 1 [packed = true]; -} - -message GetGridOffsetResponse -{ - repeated int32 offsets = 1 [packed = true]; -} - -service BmiService { - - rpc initialize(InitializeRequest) returns(Empty) {} - rpc update(Empty) returns(Empty) {} - rpc updateUntil(UpdateUntilRequest) returns(Empty) {} - rpc updateFrac(UpdateFracRequest) returns(Empty) {} - rpc finalize(Empty) returns(Empty) {} - rpc runModel(Empty) returns(Empty) {} - - rpc getComponentName(Empty) returns(GetComponentNameResponse) {} - rpc getInputVarNameCount(Empty) returns(GetVarNameCountResponse) {} - rpc getOutputVarNameCount(Empty) returns(GetVarNameCountResponse) {} - rpc getInputVarNames(Empty) returns(GetVarNamesResponse) {} - rpc getOutputVarNames(Empty) returns(GetVarNamesResponse) {} - - rpc getTimeUnits(Empty) returns(GetTimeUnitsResponse) {} - rpc getTimeStep(Empty) returns(GetTimeStepResponse) {} - rpc getCurrentTime(Empty) returns(GetTimeResponse) {} - rpc getStartTime(Empty) returns(GetTimeResponse) {} - rpc getEndTime(Empty) returns(GetTimeResponse) {} - - rpc getVarGrid(GetVarRequest) returns(GetVarGridResponse) {} - rpc getVarType(GetVarRequest) returns(GetVarTypeResponse) {} - rpc getVarItemSize(GetVarRequest) returns(GetVarItemSizeResponse) {} - rpc getVarUnits(GetVarRequest) returns(GetVarUnitsResponse) {} - rpc getVarNBytes(GetVarRequest) returns(GetVarNBytesResponse) {} - - rpc getValue(GetVarRequest) returns(GetValueResponse) {} - rpc getValuePtr(GetVarRequest) returns(Empty) {} - rpc getValueAtIndices(GetValueAtIndicesRequest) returns(GetValueAtIndicesResponse) {} - - rpc setValue(SetValueRequest) returns(Empty) {} - rpc setValuePtr(SetValuePtrRequest) returns(Empty) {} - rpc setValueAtIndices(SetValueAtIndicesRequest) returns(Empty) {} - - rpc getGridSize(GridRequest) returns(GetGridSizeResponse) {} - rpc getGridType(GridRequest) returns(GetGridTypeResponse) {} - rpc getGridRank(GridRequest) returns(GetGridRankResponse) {} - rpc getGridShape(GridRequest) returns(GetGridShapeResponse) {} - rpc getGridSpacing(GridRequest) returns(GetGridSpacingResponse) {} - rpc getGridOrigin(GridRequest) returns(GetGridOriginResponse) {} - rpc getGridX(GridRequest) returns(GetGridPointsResponse) {} - rpc getGridY(GridRequest) returns(GetGridPointsResponse) {} - rpc getGridZ(GridRequest) returns(GetGridPointsResponse) {} - rpc getGridCellCount(GridRequest) returns(GetCountResponse) {} - rpc getGridPointCount(GridRequest) returns(GetCountResponse) {} - rpc getGridVertexCount(GridRequest) returns(GetCountResponse) {} - rpc getGridConnectivity(GridRequest) returns(GetGridConnectivityResponse) {} - rpc getGridOffset(GridRequest) returns(GetGridOffsetResponse) {} -} \ No newline at end of file diff --git a/man/bmi-package.Rd b/man/bmi-package.Rd new file mode 100644 index 0000000..c272bea --- /dev/null +++ b/man/bmi-package.Rd @@ -0,0 +1,23 @@ +\name{bmi-package} +\alias{bmi-package} +\alias{bmi} +\docType{package} +\title{ +\packageTitle{bmi} +} +\description{ +\packageDescription{bmi} +} +\details{ + +The DESCRIPTION file: +\packageDESCRIPTION{bmi} +\packageIndices{bmi} +} +\author{ +\packageAuthor{bmi} + +Maintainer: \packageMaintainer{bmi} +} +\keyword{ package } + diff --git a/man/gpcr4bmi-package.Rd b/man/gpcr4bmi-package.Rd deleted file mode 100644 index 6ad1111..0000000 --- a/man/gpcr4bmi-package.Rd +++ /dev/null @@ -1,23 +0,0 @@ -\name{grpc4bmi-package} -\alias{grpc4bmi-package} -\alias{grpc4bmi} -\docType{package} -\title{ -\packageTitle{grpc4bmi} -} -\description{ -\packageDescription{grpc4bmi} -} -\details{ - -The DESCRIPTION file: -\packageDESCRIPTION{grpc4bmi} -\packageIndices{grpc4bmi} -} -\author{ -\packageAuthor{grpc4bmi} - -Maintainer: \packageMaintainer{grpc4bmi} -} -\keyword{ package } - diff --git a/man/run.Rd b/man/run.Rd deleted file mode 100644 index 079eb73..0000000 --- a/man/run.Rd +++ /dev/null @@ -1,16 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/bmi-server.R -\name{run} -\alias{run} -\title{Command line interface of grpc4 bmi server -Use following environment variables for configuration:} -\usage{ -run() -} -\description{ -\itemize{ -\item BMI_MODULE, file which contains bmi class -\item BMI_CLASS, class name which subclasses AbstractBmi -\item BMI_PORT, a tcp port number to run the server on -} -} diff --git a/man/runAsyncMultiServer.Rd b/man/runAsyncMultiServer.Rd deleted file mode 100644 index 3b94be4..0000000 --- a/man/runAsyncMultiServer.Rd +++ /dev/null @@ -1,11 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/RcppExports.R -\name{runAsyncMultiServer} -\alias{runAsyncMultiServer} -\title{Async multi method server} -\usage{ -runAsyncMultiServer(model, ip = "0.0.0.0", port = "50051") -} -\description{ -Async multi method server -} diff --git a/man/runMocked.Rd b/man/runMocked.Rd deleted file mode 100644 index 66ff17d..0000000 --- a/man/runMocked.Rd +++ /dev/null @@ -1,11 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/bmi-server.R -\name{runMocked} -\alias{runMocked} -\title{Start a gRPC server wrapping a mocked bmi model} -\usage{ -runMocked() -} -\description{ -Start a gRPC server wrapping a mocked bmi model -} diff --git a/src/Makevars b/src/Makevars deleted file mode 100644 index 376a5f4..0000000 --- a/src/Makevars +++ /dev/null @@ -1,3 +0,0 @@ -CXX_STD=CXX11 -PKG_LIBS=-L/usr/local/lib -lprotobuf -pthread -lpthread -lgrpc++ -Wl,--no-as-needed -lgrpc++_reflection -PKG_CXXFLAGS=-pthread -I/usr/local/include diff --git a/src/RcppExports.cpp b/src/RcppExports.cpp deleted file mode 100644 index fe0422e..0000000 --- a/src/RcppExports.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by using Rcpp::compileAttributes() -> do not edit by hand -// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 - -#include - -using namespace Rcpp; - -// runAsyncMultiServer -void runAsyncMultiServer(Environment model, std::string ip, std::string port); -RcppExport SEXP _grpc4bmi_runAsyncMultiServer(SEXP modelSEXP, SEXP ipSEXP, SEXP portSEXP) { -BEGIN_RCPP - Rcpp::RNGScope rcpp_rngScope_gen; - Rcpp::traits::input_parameter< Environment >::type model(modelSEXP); - Rcpp::traits::input_parameter< std::string >::type ip(ipSEXP); - Rcpp::traits::input_parameter< std::string >::type port(portSEXP); - runAsyncMultiServer(model, ip, port); - return R_NilValue; -END_RCPP -} - -static const R_CallMethodDef CallEntries[] = { - {"_grpc4bmi_runAsyncMultiServer", (DL_FUNC) &_grpc4bmi_runAsyncMultiServer, 3}, - {NULL, NULL, 0} -}; - -RcppExport void R_init_grpc4bmi(DllInfo *dll) { - R_registerRoutines(dll, NULL, CallEntries, NULL, NULL); - R_useDynamicSymbols(dll, FALSE); -} diff --git a/src/bmi.grpc.pb.cc b/src/bmi.grpc.pb.cc deleted file mode 100644 index 506d3b4..0000000 --- a/src/bmi.grpc.pb.cc +++ /dev/null @@ -1,1104 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: bmi.proto - -#include "bmi.pb.h" -#include "bmi.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -namespace bmi { - -static const char* BmiService_method_names[] = { - "/bmi.BmiService/initialize", - "/bmi.BmiService/update", - "/bmi.BmiService/updateUntil", - "/bmi.BmiService/updateFrac", - "/bmi.BmiService/finalize", - "/bmi.BmiService/runModel", - "/bmi.BmiService/getComponentName", - "/bmi.BmiService/getInputVarNameCount", - "/bmi.BmiService/getOutputVarNameCount", - "/bmi.BmiService/getInputVarNames", - "/bmi.BmiService/getOutputVarNames", - "/bmi.BmiService/getTimeUnits", - "/bmi.BmiService/getTimeStep", - "/bmi.BmiService/getCurrentTime", - "/bmi.BmiService/getStartTime", - "/bmi.BmiService/getEndTime", - "/bmi.BmiService/getVarGrid", - "/bmi.BmiService/getVarType", - "/bmi.BmiService/getVarItemSize", - "/bmi.BmiService/getVarUnits", - "/bmi.BmiService/getVarNBytes", - "/bmi.BmiService/getValue", - "/bmi.BmiService/getValuePtr", - "/bmi.BmiService/getValueAtIndices", - "/bmi.BmiService/setValue", - "/bmi.BmiService/setValuePtr", - "/bmi.BmiService/setValueAtIndices", - "/bmi.BmiService/getGridSize", - "/bmi.BmiService/getGridType", - "/bmi.BmiService/getGridRank", - "/bmi.BmiService/getGridShape", - "/bmi.BmiService/getGridSpacing", - "/bmi.BmiService/getGridOrigin", - "/bmi.BmiService/getGridX", - "/bmi.BmiService/getGridY", - "/bmi.BmiService/getGridZ", - "/bmi.BmiService/getGridCellCount", - "/bmi.BmiService/getGridPointCount", - "/bmi.BmiService/getGridVertexCount", - "/bmi.BmiService/getGridConnectivity", - "/bmi.BmiService/getGridOffset", -}; - -std::unique_ptr< BmiService::Stub> BmiService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< BmiService::Stub> stub(new BmiService::Stub(channel)); - return stub; -} - -BmiService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_initialize_(BmiService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_update_(BmiService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_updateUntil_(BmiService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_updateFrac_(BmiService_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_finalize_(BmiService_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_runModel_(BmiService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getComponentName_(BmiService_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getInputVarNameCount_(BmiService_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getOutputVarNameCount_(BmiService_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getInputVarNames_(BmiService_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getOutputVarNames_(BmiService_method_names[10], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getTimeUnits_(BmiService_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getTimeStep_(BmiService_method_names[12], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getCurrentTime_(BmiService_method_names[13], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getStartTime_(BmiService_method_names[14], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getEndTime_(BmiService_method_names[15], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getVarGrid_(BmiService_method_names[16], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getVarType_(BmiService_method_names[17], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getVarItemSize_(BmiService_method_names[18], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getVarUnits_(BmiService_method_names[19], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getVarNBytes_(BmiService_method_names[20], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getValue_(BmiService_method_names[21], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getValuePtr_(BmiService_method_names[22], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getValueAtIndices_(BmiService_method_names[23], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_setValue_(BmiService_method_names[24], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_setValuePtr_(BmiService_method_names[25], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_setValueAtIndices_(BmiService_method_names[26], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridSize_(BmiService_method_names[27], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridType_(BmiService_method_names[28], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridRank_(BmiService_method_names[29], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridShape_(BmiService_method_names[30], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridSpacing_(BmiService_method_names[31], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridOrigin_(BmiService_method_names[32], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridX_(BmiService_method_names[33], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridY_(BmiService_method_names[34], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridZ_(BmiService_method_names[35], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridCellCount_(BmiService_method_names[36], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridPointCount_(BmiService_method_names[37], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridVertexCount_(BmiService_method_names[38], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridConnectivity_(BmiService_method_names[39], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_getGridOffset_(BmiService_method_names[40], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status BmiService::Stub::initialize(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_initialize_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncinitializeRaw(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_initialize_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncinitializeRaw(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_initialize_, context, request, false); -} - -::grpc::Status BmiService::Stub::update(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_update_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncupdateRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_update_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncupdateRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_update_, context, request, false); -} - -::grpc::Status BmiService::Stub::updateUntil(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_updateUntil_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncupdateUntilRaw(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_updateUntil_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncupdateUntilRaw(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_updateUntil_, context, request, false); -} - -::grpc::Status BmiService::Stub::updateFrac(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_updateFrac_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncupdateFracRaw(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_updateFrac_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncupdateFracRaw(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_updateFrac_, context, request, false); -} - -::grpc::Status BmiService::Stub::finalize(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_finalize_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncfinalizeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_finalize_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncfinalizeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_finalize_, context, request, false); -} - -::grpc::Status BmiService::Stub::runModel(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_runModel_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncrunModelRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_runModel_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncrunModelRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_runModel_, context, request, false); -} - -::grpc::Status BmiService::Stub::getComponentName(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetComponentNameResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getComponentName_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetComponentNameResponse>* BmiService::Stub::AsyncgetComponentNameRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetComponentNameResponse>::Create(channel_.get(), cq, rpcmethod_getComponentName_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetComponentNameResponse>* BmiService::Stub::PrepareAsyncgetComponentNameRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetComponentNameResponse>::Create(channel_.get(), cq, rpcmethod_getComponentName_, context, request, false); -} - -::grpc::Status BmiService::Stub::getInputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNameCountResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getInputVarNameCount_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>* BmiService::Stub::AsyncgetInputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNameCountResponse>::Create(channel_.get(), cq, rpcmethod_getInputVarNameCount_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>* BmiService::Stub::PrepareAsyncgetInputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNameCountResponse>::Create(channel_.get(), cq, rpcmethod_getInputVarNameCount_, context, request, false); -} - -::grpc::Status BmiService::Stub::getOutputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNameCountResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getOutputVarNameCount_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>* BmiService::Stub::AsyncgetOutputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNameCountResponse>::Create(channel_.get(), cq, rpcmethod_getOutputVarNameCount_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>* BmiService::Stub::PrepareAsyncgetOutputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNameCountResponse>::Create(channel_.get(), cq, rpcmethod_getOutputVarNameCount_, context, request, false); -} - -::grpc::Status BmiService::Stub::getInputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNamesResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getInputVarNames_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>* BmiService::Stub::AsyncgetInputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNamesResponse>::Create(channel_.get(), cq, rpcmethod_getInputVarNames_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>* BmiService::Stub::PrepareAsyncgetInputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNamesResponse>::Create(channel_.get(), cq, rpcmethod_getInputVarNames_, context, request, false); -} - -::grpc::Status BmiService::Stub::getOutputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNamesResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getOutputVarNames_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>* BmiService::Stub::AsyncgetOutputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNamesResponse>::Create(channel_.get(), cq, rpcmethod_getOutputVarNames_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>* BmiService::Stub::PrepareAsyncgetOutputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNamesResponse>::Create(channel_.get(), cq, rpcmethod_getOutputVarNames_, context, request, false); -} - -::grpc::Status BmiService::Stub::getTimeUnits(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeUnitsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getTimeUnits_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeUnitsResponse>* BmiService::Stub::AsyncgetTimeUnitsRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeUnitsResponse>::Create(channel_.get(), cq, rpcmethod_getTimeUnits_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeUnitsResponse>* BmiService::Stub::PrepareAsyncgetTimeUnitsRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeUnitsResponse>::Create(channel_.get(), cq, rpcmethod_getTimeUnits_, context, request, false); -} - -::grpc::Status BmiService::Stub::getTimeStep(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeStepResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getTimeStep_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeStepResponse>* BmiService::Stub::AsyncgetTimeStepRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeStepResponse>::Create(channel_.get(), cq, rpcmethod_getTimeStep_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeStepResponse>* BmiService::Stub::PrepareAsyncgetTimeStepRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeStepResponse>::Create(channel_.get(), cq, rpcmethod_getTimeStep_, context, request, false); -} - -::grpc::Status BmiService::Stub::getCurrentTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getCurrentTime_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* BmiService::Stub::AsyncgetCurrentTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeResponse>::Create(channel_.get(), cq, rpcmethod_getCurrentTime_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* BmiService::Stub::PrepareAsyncgetCurrentTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeResponse>::Create(channel_.get(), cq, rpcmethod_getCurrentTime_, context, request, false); -} - -::grpc::Status BmiService::Stub::getStartTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getStartTime_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* BmiService::Stub::AsyncgetStartTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeResponse>::Create(channel_.get(), cq, rpcmethod_getStartTime_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* BmiService::Stub::PrepareAsyncgetStartTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeResponse>::Create(channel_.get(), cq, rpcmethod_getStartTime_, context, request, false); -} - -::grpc::Status BmiService::Stub::getEndTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getEndTime_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* BmiService::Stub::AsyncgetEndTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeResponse>::Create(channel_.get(), cq, rpcmethod_getEndTime_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* BmiService::Stub::PrepareAsyncgetEndTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetTimeResponse>::Create(channel_.get(), cq, rpcmethod_getEndTime_, context, request, false); -} - -::grpc::Status BmiService::Stub::getVarGrid(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarGridResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getVarGrid_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarGridResponse>* BmiService::Stub::AsyncgetVarGridRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarGridResponse>::Create(channel_.get(), cq, rpcmethod_getVarGrid_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarGridResponse>* BmiService::Stub::PrepareAsyncgetVarGridRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarGridResponse>::Create(channel_.get(), cq, rpcmethod_getVarGrid_, context, request, false); -} - -::grpc::Status BmiService::Stub::getVarType(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarTypeResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getVarType_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarTypeResponse>* BmiService::Stub::AsyncgetVarTypeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarTypeResponse>::Create(channel_.get(), cq, rpcmethod_getVarType_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarTypeResponse>* BmiService::Stub::PrepareAsyncgetVarTypeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarTypeResponse>::Create(channel_.get(), cq, rpcmethod_getVarType_, context, request, false); -} - -::grpc::Status BmiService::Stub::getVarItemSize(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarItemSizeResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getVarItemSize_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarItemSizeResponse>* BmiService::Stub::AsyncgetVarItemSizeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarItemSizeResponse>::Create(channel_.get(), cq, rpcmethod_getVarItemSize_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarItemSizeResponse>* BmiService::Stub::PrepareAsyncgetVarItemSizeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarItemSizeResponse>::Create(channel_.get(), cq, rpcmethod_getVarItemSize_, context, request, false); -} - -::grpc::Status BmiService::Stub::getVarUnits(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarUnitsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getVarUnits_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarUnitsResponse>* BmiService::Stub::AsyncgetVarUnitsRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarUnitsResponse>::Create(channel_.get(), cq, rpcmethod_getVarUnits_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarUnitsResponse>* BmiService::Stub::PrepareAsyncgetVarUnitsRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarUnitsResponse>::Create(channel_.get(), cq, rpcmethod_getVarUnits_, context, request, false); -} - -::grpc::Status BmiService::Stub::getVarNBytes(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarNBytesResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getVarNBytes_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNBytesResponse>* BmiService::Stub::AsyncgetVarNBytesRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNBytesResponse>::Create(channel_.get(), cq, rpcmethod_getVarNBytes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetVarNBytesResponse>* BmiService::Stub::PrepareAsyncgetVarNBytesRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetVarNBytesResponse>::Create(channel_.get(), cq, rpcmethod_getVarNBytes_, context, request, false); -} - -::grpc::Status BmiService::Stub::getValue(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetValueResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getValue_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetValueResponse>* BmiService::Stub::AsyncgetValueRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetValueResponse>::Create(channel_.get(), cq, rpcmethod_getValue_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetValueResponse>* BmiService::Stub::PrepareAsyncgetValueRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetValueResponse>::Create(channel_.get(), cq, rpcmethod_getValue_, context, request, false); -} - -::grpc::Status BmiService::Stub::getValuePtr(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getValuePtr_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncgetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_getValuePtr_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncgetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_getValuePtr_, context, request, false); -} - -::grpc::Status BmiService::Stub::getValueAtIndices(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::bmi::GetValueAtIndicesResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getValueAtIndices_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetValueAtIndicesResponse>* BmiService::Stub::AsyncgetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetValueAtIndicesResponse>::Create(channel_.get(), cq, rpcmethod_getValueAtIndices_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetValueAtIndicesResponse>* BmiService::Stub::PrepareAsyncgetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetValueAtIndicesResponse>::Create(channel_.get(), cq, rpcmethod_getValueAtIndices_, context, request, false); -} - -::grpc::Status BmiService::Stub::setValue(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_setValue_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncsetValueRaw(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_setValue_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncsetValueRaw(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_setValue_, context, request, false); -} - -::grpc::Status BmiService::Stub::setValuePtr(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_setValuePtr_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncsetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_setValuePtr_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncsetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_setValuePtr_, context, request, false); -} - -::grpc::Status BmiService::Stub::setValueAtIndices(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::bmi::Empty* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_setValueAtIndices_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::AsyncsetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_setValueAtIndices_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::Empty>* BmiService::Stub::PrepareAsyncsetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::Empty>::Create(channel_.get(), cq, rpcmethod_setValueAtIndices_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridSize(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridSizeResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridSize_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridSizeResponse>* BmiService::Stub::AsyncgetGridSizeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridSizeResponse>::Create(channel_.get(), cq, rpcmethod_getGridSize_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridSizeResponse>* BmiService::Stub::PrepareAsyncgetGridSizeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridSizeResponse>::Create(channel_.get(), cq, rpcmethod_getGridSize_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridType(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridTypeResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridType_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridTypeResponse>* BmiService::Stub::AsyncgetGridTypeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridTypeResponse>::Create(channel_.get(), cq, rpcmethod_getGridType_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridTypeResponse>* BmiService::Stub::PrepareAsyncgetGridTypeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridTypeResponse>::Create(channel_.get(), cq, rpcmethod_getGridType_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridRank(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridRankResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridRank_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridRankResponse>* BmiService::Stub::AsyncgetGridRankRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridRankResponse>::Create(channel_.get(), cq, rpcmethod_getGridRank_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridRankResponse>* BmiService::Stub::PrepareAsyncgetGridRankRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridRankResponse>::Create(channel_.get(), cq, rpcmethod_getGridRank_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridShape(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridShapeResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridShape_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridShapeResponse>* BmiService::Stub::AsyncgetGridShapeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridShapeResponse>::Create(channel_.get(), cq, rpcmethod_getGridShape_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridShapeResponse>* BmiService::Stub::PrepareAsyncgetGridShapeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridShapeResponse>::Create(channel_.get(), cq, rpcmethod_getGridShape_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridSpacing(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridSpacingResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridSpacing_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridSpacingResponse>* BmiService::Stub::AsyncgetGridSpacingRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridSpacingResponse>::Create(channel_.get(), cq, rpcmethod_getGridSpacing_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridSpacingResponse>* BmiService::Stub::PrepareAsyncgetGridSpacingRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridSpacingResponse>::Create(channel_.get(), cq, rpcmethod_getGridSpacing_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridOrigin(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridOriginResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridOrigin_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridOriginResponse>* BmiService::Stub::AsyncgetGridOriginRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridOriginResponse>::Create(channel_.get(), cq, rpcmethod_getGridOrigin_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridOriginResponse>* BmiService::Stub::PrepareAsyncgetGridOriginRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridOriginResponse>::Create(channel_.get(), cq, rpcmethod_getGridOrigin_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridX(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridPointsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridX_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* BmiService::Stub::AsyncgetGridXRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridPointsResponse>::Create(channel_.get(), cq, rpcmethod_getGridX_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* BmiService::Stub::PrepareAsyncgetGridXRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridPointsResponse>::Create(channel_.get(), cq, rpcmethod_getGridX_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridY(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridPointsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridY_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* BmiService::Stub::AsyncgetGridYRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridPointsResponse>::Create(channel_.get(), cq, rpcmethod_getGridY_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* BmiService::Stub::PrepareAsyncgetGridYRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridPointsResponse>::Create(channel_.get(), cq, rpcmethod_getGridY_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridZ(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridPointsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridZ_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* BmiService::Stub::AsyncgetGridZRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridPointsResponse>::Create(channel_.get(), cq, rpcmethod_getGridZ_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* BmiService::Stub::PrepareAsyncgetGridZRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridPointsResponse>::Create(channel_.get(), cq, rpcmethod_getGridZ_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridCellCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetCountResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridCellCount_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* BmiService::Stub::AsyncgetGridCellCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetCountResponse>::Create(channel_.get(), cq, rpcmethod_getGridCellCount_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* BmiService::Stub::PrepareAsyncgetGridCellCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetCountResponse>::Create(channel_.get(), cq, rpcmethod_getGridCellCount_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridPointCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetCountResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridPointCount_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* BmiService::Stub::AsyncgetGridPointCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetCountResponse>::Create(channel_.get(), cq, rpcmethod_getGridPointCount_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* BmiService::Stub::PrepareAsyncgetGridPointCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetCountResponse>::Create(channel_.get(), cq, rpcmethod_getGridPointCount_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridVertexCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetCountResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridVertexCount_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* BmiService::Stub::AsyncgetGridVertexCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetCountResponse>::Create(channel_.get(), cq, rpcmethod_getGridVertexCount_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* BmiService::Stub::PrepareAsyncgetGridVertexCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetCountResponse>::Create(channel_.get(), cq, rpcmethod_getGridVertexCount_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridConnectivity(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridConnectivityResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridConnectivity_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridConnectivityResponse>* BmiService::Stub::AsyncgetGridConnectivityRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridConnectivityResponse>::Create(channel_.get(), cq, rpcmethod_getGridConnectivity_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridConnectivityResponse>* BmiService::Stub::PrepareAsyncgetGridConnectivityRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridConnectivityResponse>::Create(channel_.get(), cq, rpcmethod_getGridConnectivity_, context, request, false); -} - -::grpc::Status BmiService::Stub::getGridOffset(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridOffsetResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_getGridOffset_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridOffsetResponse>* BmiService::Stub::AsyncgetGridOffsetRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridOffsetResponse>::Create(channel_.get(), cq, rpcmethod_getGridOffset_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::bmi::GetGridOffsetResponse>* BmiService::Stub::PrepareAsyncgetGridOffsetRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::bmi::GetGridOffsetResponse>::Create(channel_.get(), cq, rpcmethod_getGridOffset_, context, request, false); -} - -BmiService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::InitializeRequest, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::initialize), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::update), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[2], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::UpdateUntilRequest, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::updateUntil), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[3], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::UpdateFracRequest, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::updateFrac), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[4], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::finalize), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[5], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::runModel), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[6], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetComponentNameResponse>( - std::mem_fn(&BmiService::Service::getComponentName), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[7], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetVarNameCountResponse>( - std::mem_fn(&BmiService::Service::getInputVarNameCount), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[8], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetVarNameCountResponse>( - std::mem_fn(&BmiService::Service::getOutputVarNameCount), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[9], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetVarNamesResponse>( - std::mem_fn(&BmiService::Service::getInputVarNames), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[10], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetVarNamesResponse>( - std::mem_fn(&BmiService::Service::getOutputVarNames), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[11], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetTimeUnitsResponse>( - std::mem_fn(&BmiService::Service::getTimeUnits), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[12], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetTimeStepResponse>( - std::mem_fn(&BmiService::Service::getTimeStep), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[13], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetTimeResponse>( - std::mem_fn(&BmiService::Service::getCurrentTime), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[14], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetTimeResponse>( - std::mem_fn(&BmiService::Service::getStartTime), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[15], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::Empty, ::bmi::GetTimeResponse>( - std::mem_fn(&BmiService::Service::getEndTime), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[16], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GetVarRequest, ::bmi::GetVarGridResponse>( - std::mem_fn(&BmiService::Service::getVarGrid), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[17], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GetVarRequest, ::bmi::GetVarTypeResponse>( - std::mem_fn(&BmiService::Service::getVarType), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[18], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GetVarRequest, ::bmi::GetVarItemSizeResponse>( - std::mem_fn(&BmiService::Service::getVarItemSize), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[19], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GetVarRequest, ::bmi::GetVarUnitsResponse>( - std::mem_fn(&BmiService::Service::getVarUnits), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[20], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GetVarRequest, ::bmi::GetVarNBytesResponse>( - std::mem_fn(&BmiService::Service::getVarNBytes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[21], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GetVarRequest, ::bmi::GetValueResponse>( - std::mem_fn(&BmiService::Service::getValue), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[22], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GetVarRequest, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::getValuePtr), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[23], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GetValueAtIndicesRequest, ::bmi::GetValueAtIndicesResponse>( - std::mem_fn(&BmiService::Service::getValueAtIndices), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[24], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::SetValueRequest, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::setValue), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[25], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::SetValuePtrRequest, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::setValuePtr), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[26], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::SetValueAtIndicesRequest, ::bmi::Empty>( - std::mem_fn(&BmiService::Service::setValueAtIndices), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[27], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridSizeResponse>( - std::mem_fn(&BmiService::Service::getGridSize), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[28], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridTypeResponse>( - std::mem_fn(&BmiService::Service::getGridType), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[29], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridRankResponse>( - std::mem_fn(&BmiService::Service::getGridRank), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[30], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridShapeResponse>( - std::mem_fn(&BmiService::Service::getGridShape), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[31], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridSpacingResponse>( - std::mem_fn(&BmiService::Service::getGridSpacing), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[32], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridOriginResponse>( - std::mem_fn(&BmiService::Service::getGridOrigin), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[33], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridPointsResponse>( - std::mem_fn(&BmiService::Service::getGridX), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[34], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridPointsResponse>( - std::mem_fn(&BmiService::Service::getGridY), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[35], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridPointsResponse>( - std::mem_fn(&BmiService::Service::getGridZ), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[36], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetCountResponse>( - std::mem_fn(&BmiService::Service::getGridCellCount), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[37], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetCountResponse>( - std::mem_fn(&BmiService::Service::getGridPointCount), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[38], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetCountResponse>( - std::mem_fn(&BmiService::Service::getGridVertexCount), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[39], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridConnectivityResponse>( - std::mem_fn(&BmiService::Service::getGridConnectivity), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - BmiService_method_names[40], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< BmiService::Service, ::bmi::GridRequest, ::bmi::GetGridOffsetResponse>( - std::mem_fn(&BmiService::Service::getGridOffset), this))); -} - -BmiService::Service::~Service() { -} - -::grpc::Status BmiService::Service::initialize(::grpc::ServerContext* context, const ::bmi::InitializeRequest* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::update(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::updateUntil(::grpc::ServerContext* context, const ::bmi::UpdateUntilRequest* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::updateFrac(::grpc::ServerContext* context, const ::bmi::UpdateFracRequest* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::finalize(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::runModel(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getComponentName(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetComponentNameResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getInputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getOutputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getInputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getOutputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getTimeUnits(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeUnitsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getTimeStep(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeStepResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getCurrentTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getStartTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getEndTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getVarGrid(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarGridResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getVarType(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarTypeResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getVarItemSize(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarItemSizeResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getVarUnits(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarUnitsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getVarNBytes(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarNBytesResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getValue(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetValueResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getValuePtr(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getValueAtIndices(::grpc::ServerContext* context, const ::bmi::GetValueAtIndicesRequest* request, ::bmi::GetValueAtIndicesResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::setValue(::grpc::ServerContext* context, const ::bmi::SetValueRequest* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::setValuePtr(::grpc::ServerContext* context, const ::bmi::SetValuePtrRequest* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::setValueAtIndices(::grpc::ServerContext* context, const ::bmi::SetValueAtIndicesRequest* request, ::bmi::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridSize(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSizeResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridType(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridTypeResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridRank(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridRankResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridShape(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridShapeResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridSpacing(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSpacingResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridOrigin(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOriginResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridX(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridY(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridZ(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridCellCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridPointCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridVertexCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridConnectivity(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridConnectivityResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status BmiService::Service::getGridOffset(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOffsetResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace bmi - diff --git a/src/bmi.grpc.pb.h b/src/bmi.grpc.pb.h deleted file mode 100644 index d2608cf..0000000 --- a/src/bmi.grpc.pb.h +++ /dev/null @@ -1,4039 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: bmi.proto -#ifndef GRPC_bmi_2eproto__INCLUDED -#define GRPC_bmi_2eproto__INCLUDED - -#include "bmi.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 bmi { - -class BmiService final { - public: - static constexpr char const* service_full_name() { - return "bmi.BmiService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - virtual ::grpc::Status initialize(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> Asyncinitialize(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncinitializeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncinitialize(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncinitializeRaw(context, request, cq)); - } - virtual ::grpc::Status update(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> Asyncupdate(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncupdateRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncupdate(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncupdateRaw(context, request, cq)); - } - virtual ::grpc::Status updateUntil(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> AsyncupdateUntil(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncupdateUntilRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncupdateUntil(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncupdateUntilRaw(context, request, cq)); - } - virtual ::grpc::Status updateFrac(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> AsyncupdateFrac(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncupdateFracRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncupdateFrac(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncupdateFracRaw(context, request, cq)); - } - virtual ::grpc::Status finalize(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> Asyncfinalize(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncfinalizeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncfinalize(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncfinalizeRaw(context, request, cq)); - } - virtual ::grpc::Status runModel(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> AsyncrunModel(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncrunModelRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncrunModel(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncrunModelRaw(context, request, cq)); - } - virtual ::grpc::Status getComponentName(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetComponentNameResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetComponentNameResponse>> AsyncgetComponentName(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetComponentNameResponse>>(AsyncgetComponentNameRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetComponentNameResponse>> PrepareAsyncgetComponentName(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetComponentNameResponse>>(PrepareAsyncgetComponentNameRaw(context, request, cq)); - } - virtual ::grpc::Status getInputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNameCountResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>> AsyncgetInputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>>(AsyncgetInputVarNameCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>> PrepareAsyncgetInputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>>(PrepareAsyncgetInputVarNameCountRaw(context, request, cq)); - } - virtual ::grpc::Status getOutputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNameCountResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>> AsyncgetOutputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>>(AsyncgetOutputVarNameCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>> PrepareAsyncgetOutputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>>(PrepareAsyncgetOutputVarNameCountRaw(context, request, cq)); - } - virtual ::grpc::Status getInputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNamesResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>> AsyncgetInputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>>(AsyncgetInputVarNamesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>> PrepareAsyncgetInputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>>(PrepareAsyncgetInputVarNamesRaw(context, request, cq)); - } - virtual ::grpc::Status getOutputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNamesResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>> AsyncgetOutputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>>(AsyncgetOutputVarNamesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>> PrepareAsyncgetOutputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>>(PrepareAsyncgetOutputVarNamesRaw(context, request, cq)); - } - virtual ::grpc::Status getTimeUnits(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeUnitsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeUnitsResponse>> AsyncgetTimeUnits(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeUnitsResponse>>(AsyncgetTimeUnitsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeUnitsResponse>> PrepareAsyncgetTimeUnits(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeUnitsResponse>>(PrepareAsyncgetTimeUnitsRaw(context, request, cq)); - } - virtual ::grpc::Status getTimeStep(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeStepResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeStepResponse>> AsyncgetTimeStep(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeStepResponse>>(AsyncgetTimeStepRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeStepResponse>> PrepareAsyncgetTimeStep(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeStepResponse>>(PrepareAsyncgetTimeStepRaw(context, request, cq)); - } - virtual ::grpc::Status getCurrentTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>> AsyncgetCurrentTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>>(AsyncgetCurrentTimeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>> PrepareAsyncgetCurrentTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>>(PrepareAsyncgetCurrentTimeRaw(context, request, cq)); - } - virtual ::grpc::Status getStartTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>> AsyncgetStartTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>>(AsyncgetStartTimeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>> PrepareAsyncgetStartTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>>(PrepareAsyncgetStartTimeRaw(context, request, cq)); - } - virtual ::grpc::Status getEndTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>> AsyncgetEndTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>>(AsyncgetEndTimeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>> PrepareAsyncgetEndTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>>(PrepareAsyncgetEndTimeRaw(context, request, cq)); - } - virtual ::grpc::Status getVarGrid(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarGridResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarGridResponse>> AsyncgetVarGrid(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarGridResponse>>(AsyncgetVarGridRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarGridResponse>> PrepareAsyncgetVarGrid(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarGridResponse>>(PrepareAsyncgetVarGridRaw(context, request, cq)); - } - virtual ::grpc::Status getVarType(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarTypeResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarTypeResponse>> AsyncgetVarType(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarTypeResponse>>(AsyncgetVarTypeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarTypeResponse>> PrepareAsyncgetVarType(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarTypeResponse>>(PrepareAsyncgetVarTypeRaw(context, request, cq)); - } - virtual ::grpc::Status getVarItemSize(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarItemSizeResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarItemSizeResponse>> AsyncgetVarItemSize(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarItemSizeResponse>>(AsyncgetVarItemSizeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarItemSizeResponse>> PrepareAsyncgetVarItemSize(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarItemSizeResponse>>(PrepareAsyncgetVarItemSizeRaw(context, request, cq)); - } - virtual ::grpc::Status getVarUnits(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarUnitsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarUnitsResponse>> AsyncgetVarUnits(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarUnitsResponse>>(AsyncgetVarUnitsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarUnitsResponse>> PrepareAsyncgetVarUnits(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarUnitsResponse>>(PrepareAsyncgetVarUnitsRaw(context, request, cq)); - } - virtual ::grpc::Status getVarNBytes(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarNBytesResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNBytesResponse>> AsyncgetVarNBytes(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNBytesResponse>>(AsyncgetVarNBytesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNBytesResponse>> PrepareAsyncgetVarNBytes(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNBytesResponse>>(PrepareAsyncgetVarNBytesRaw(context, request, cq)); - } - virtual ::grpc::Status getValue(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetValueResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueResponse>> AsyncgetValue(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueResponse>>(AsyncgetValueRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueResponse>> PrepareAsyncgetValue(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueResponse>>(PrepareAsyncgetValueRaw(context, request, cq)); - } - virtual ::grpc::Status getValuePtr(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> AsyncgetValuePtr(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncgetValuePtrRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncgetValuePtr(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncgetValuePtrRaw(context, request, cq)); - } - virtual ::grpc::Status getValueAtIndices(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::bmi::GetValueAtIndicesResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueAtIndicesResponse>> AsyncgetValueAtIndices(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueAtIndicesResponse>>(AsyncgetValueAtIndicesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueAtIndicesResponse>> PrepareAsyncgetValueAtIndices(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueAtIndicesResponse>>(PrepareAsyncgetValueAtIndicesRaw(context, request, cq)); - } - virtual ::grpc::Status setValue(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> AsyncsetValue(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncsetValueRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncsetValue(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncsetValueRaw(context, request, cq)); - } - virtual ::grpc::Status setValuePtr(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> AsyncsetValuePtr(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncsetValuePtrRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncsetValuePtr(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncsetValuePtrRaw(context, request, cq)); - } - virtual ::grpc::Status setValueAtIndices(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::bmi::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> AsyncsetValueAtIndices(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(AsyncsetValueAtIndicesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>> PrepareAsyncsetValueAtIndices(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>>(PrepareAsyncsetValueAtIndicesRaw(context, request, cq)); - } - virtual ::grpc::Status getGridSize(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridSizeResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSizeResponse>> AsyncgetGridSize(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSizeResponse>>(AsyncgetGridSizeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSizeResponse>> PrepareAsyncgetGridSize(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSizeResponse>>(PrepareAsyncgetGridSizeRaw(context, request, cq)); - } - virtual ::grpc::Status getGridType(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridTypeResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridTypeResponse>> AsyncgetGridType(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridTypeResponse>>(AsyncgetGridTypeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridTypeResponse>> PrepareAsyncgetGridType(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridTypeResponse>>(PrepareAsyncgetGridTypeRaw(context, request, cq)); - } - virtual ::grpc::Status getGridRank(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridRankResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridRankResponse>> AsyncgetGridRank(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridRankResponse>>(AsyncgetGridRankRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridRankResponse>> PrepareAsyncgetGridRank(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridRankResponse>>(PrepareAsyncgetGridRankRaw(context, request, cq)); - } - virtual ::grpc::Status getGridShape(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridShapeResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridShapeResponse>> AsyncgetGridShape(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridShapeResponse>>(AsyncgetGridShapeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridShapeResponse>> PrepareAsyncgetGridShape(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridShapeResponse>>(PrepareAsyncgetGridShapeRaw(context, request, cq)); - } - virtual ::grpc::Status getGridSpacing(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridSpacingResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSpacingResponse>> AsyncgetGridSpacing(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSpacingResponse>>(AsyncgetGridSpacingRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSpacingResponse>> PrepareAsyncgetGridSpacing(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSpacingResponse>>(PrepareAsyncgetGridSpacingRaw(context, request, cq)); - } - virtual ::grpc::Status getGridOrigin(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridOriginResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOriginResponse>> AsyncgetGridOrigin(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOriginResponse>>(AsyncgetGridOriginRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOriginResponse>> PrepareAsyncgetGridOrigin(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOriginResponse>>(PrepareAsyncgetGridOriginRaw(context, request, cq)); - } - virtual ::grpc::Status getGridX(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridPointsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>> AsyncgetGridX(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>>(AsyncgetGridXRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>> PrepareAsyncgetGridX(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>>(PrepareAsyncgetGridXRaw(context, request, cq)); - } - virtual ::grpc::Status getGridY(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridPointsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>> AsyncgetGridY(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>>(AsyncgetGridYRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>> PrepareAsyncgetGridY(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>>(PrepareAsyncgetGridYRaw(context, request, cq)); - } - virtual ::grpc::Status getGridZ(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridPointsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>> AsyncgetGridZ(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>>(AsyncgetGridZRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>> PrepareAsyncgetGridZ(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>>(PrepareAsyncgetGridZRaw(context, request, cq)); - } - virtual ::grpc::Status getGridCellCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetCountResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>> AsyncgetGridCellCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>>(AsyncgetGridCellCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>> PrepareAsyncgetGridCellCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>>(PrepareAsyncgetGridCellCountRaw(context, request, cq)); - } - virtual ::grpc::Status getGridPointCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetCountResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>> AsyncgetGridPointCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>>(AsyncgetGridPointCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>> PrepareAsyncgetGridPointCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>>(PrepareAsyncgetGridPointCountRaw(context, request, cq)); - } - virtual ::grpc::Status getGridVertexCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetCountResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>> AsyncgetGridVertexCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>>(AsyncgetGridVertexCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>> PrepareAsyncgetGridVertexCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>>(PrepareAsyncgetGridVertexCountRaw(context, request, cq)); - } - virtual ::grpc::Status getGridConnectivity(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridConnectivityResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridConnectivityResponse>> AsyncgetGridConnectivity(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridConnectivityResponse>>(AsyncgetGridConnectivityRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridConnectivityResponse>> PrepareAsyncgetGridConnectivity(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridConnectivityResponse>>(PrepareAsyncgetGridConnectivityRaw(context, request, cq)); - } - virtual ::grpc::Status getGridOffset(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridOffsetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOffsetResponse>> AsyncgetGridOffset(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOffsetResponse>>(AsyncgetGridOffsetRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOffsetResponse>> PrepareAsyncgetGridOffset(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOffsetResponse>>(PrepareAsyncgetGridOffsetRaw(context, request, cq)); - } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncinitializeRaw(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncinitializeRaw(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncupdateRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncupdateRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncupdateUntilRaw(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncupdateUntilRaw(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncupdateFracRaw(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncupdateFracRaw(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncfinalizeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncfinalizeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncrunModelRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncrunModelRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetComponentNameResponse>* AsyncgetComponentNameRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetComponentNameResponse>* PrepareAsyncgetComponentNameRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>* AsyncgetInputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>* PrepareAsyncgetInputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>* AsyncgetOutputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNameCountResponse>* PrepareAsyncgetOutputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>* AsyncgetInputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>* PrepareAsyncgetInputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>* AsyncgetOutputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNamesResponse>* PrepareAsyncgetOutputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeUnitsResponse>* AsyncgetTimeUnitsRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeUnitsResponse>* PrepareAsyncgetTimeUnitsRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeStepResponse>* AsyncgetTimeStepRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeStepResponse>* PrepareAsyncgetTimeStepRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>* AsyncgetCurrentTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>* PrepareAsyncgetCurrentTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>* AsyncgetStartTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>* PrepareAsyncgetStartTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>* AsyncgetEndTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetTimeResponse>* PrepareAsyncgetEndTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarGridResponse>* AsyncgetVarGridRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarGridResponse>* PrepareAsyncgetVarGridRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarTypeResponse>* AsyncgetVarTypeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarTypeResponse>* PrepareAsyncgetVarTypeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarItemSizeResponse>* AsyncgetVarItemSizeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarItemSizeResponse>* PrepareAsyncgetVarItemSizeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarUnitsResponse>* AsyncgetVarUnitsRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarUnitsResponse>* PrepareAsyncgetVarUnitsRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNBytesResponse>* AsyncgetVarNBytesRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetVarNBytesResponse>* PrepareAsyncgetVarNBytesRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueResponse>* AsyncgetValueRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueResponse>* PrepareAsyncgetValueRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncgetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncgetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueAtIndicesResponse>* AsyncgetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetValueAtIndicesResponse>* PrepareAsyncgetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncsetValueRaw(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncsetValueRaw(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncsetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncsetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* AsyncsetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::Empty>* PrepareAsyncsetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSizeResponse>* AsyncgetGridSizeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSizeResponse>* PrepareAsyncgetGridSizeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridTypeResponse>* AsyncgetGridTypeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridTypeResponse>* PrepareAsyncgetGridTypeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridRankResponse>* AsyncgetGridRankRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridRankResponse>* PrepareAsyncgetGridRankRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridShapeResponse>* AsyncgetGridShapeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridShapeResponse>* PrepareAsyncgetGridShapeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSpacingResponse>* AsyncgetGridSpacingRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridSpacingResponse>* PrepareAsyncgetGridSpacingRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOriginResponse>* AsyncgetGridOriginRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOriginResponse>* PrepareAsyncgetGridOriginRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>* AsyncgetGridXRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>* PrepareAsyncgetGridXRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>* AsyncgetGridYRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>* PrepareAsyncgetGridYRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>* AsyncgetGridZRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridPointsResponse>* PrepareAsyncgetGridZRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>* AsyncgetGridCellCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>* PrepareAsyncgetGridCellCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>* AsyncgetGridPointCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>* PrepareAsyncgetGridPointCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>* AsyncgetGridVertexCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetCountResponse>* PrepareAsyncgetGridVertexCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridConnectivityResponse>* AsyncgetGridConnectivityRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridConnectivityResponse>* PrepareAsyncgetGridConnectivityRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOffsetResponse>* AsyncgetGridOffsetRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::bmi::GetGridOffsetResponse>* PrepareAsyncgetGridOffsetRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status initialize(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> Asyncinitialize(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncinitializeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncinitialize(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncinitializeRaw(context, request, cq)); - } - ::grpc::Status update(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> Asyncupdate(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncupdateRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncupdate(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncupdateRaw(context, request, cq)); - } - ::grpc::Status updateUntil(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> AsyncupdateUntil(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncupdateUntilRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncupdateUntil(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncupdateUntilRaw(context, request, cq)); - } - ::grpc::Status updateFrac(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> AsyncupdateFrac(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncupdateFracRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncupdateFrac(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncupdateFracRaw(context, request, cq)); - } - ::grpc::Status finalize(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> Asyncfinalize(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncfinalizeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncfinalize(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncfinalizeRaw(context, request, cq)); - } - ::grpc::Status runModel(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> AsyncrunModel(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncrunModelRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncrunModel(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncrunModelRaw(context, request, cq)); - } - ::grpc::Status getComponentName(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetComponentNameResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetComponentNameResponse>> AsyncgetComponentName(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetComponentNameResponse>>(AsyncgetComponentNameRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetComponentNameResponse>> PrepareAsyncgetComponentName(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetComponentNameResponse>>(PrepareAsyncgetComponentNameRaw(context, request, cq)); - } - ::grpc::Status getInputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNameCountResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>> AsyncgetInputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>>(AsyncgetInputVarNameCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>> PrepareAsyncgetInputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>>(PrepareAsyncgetInputVarNameCountRaw(context, request, cq)); - } - ::grpc::Status getOutputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNameCountResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>> AsyncgetOutputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>>(AsyncgetOutputVarNameCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>> PrepareAsyncgetOutputVarNameCount(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>>(PrepareAsyncgetOutputVarNameCountRaw(context, request, cq)); - } - ::grpc::Status getInputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNamesResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>> AsyncgetInputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>>(AsyncgetInputVarNamesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>> PrepareAsyncgetInputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>>(PrepareAsyncgetInputVarNamesRaw(context, request, cq)); - } - ::grpc::Status getOutputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetVarNamesResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>> AsyncgetOutputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>>(AsyncgetOutputVarNamesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>> PrepareAsyncgetOutputVarNames(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>>(PrepareAsyncgetOutputVarNamesRaw(context, request, cq)); - } - ::grpc::Status getTimeUnits(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeUnitsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeUnitsResponse>> AsyncgetTimeUnits(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeUnitsResponse>>(AsyncgetTimeUnitsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeUnitsResponse>> PrepareAsyncgetTimeUnits(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeUnitsResponse>>(PrepareAsyncgetTimeUnitsRaw(context, request, cq)); - } - ::grpc::Status getTimeStep(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeStepResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeStepResponse>> AsyncgetTimeStep(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeStepResponse>>(AsyncgetTimeStepRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeStepResponse>> PrepareAsyncgetTimeStep(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeStepResponse>>(PrepareAsyncgetTimeStepRaw(context, request, cq)); - } - ::grpc::Status getCurrentTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>> AsyncgetCurrentTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>>(AsyncgetCurrentTimeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>> PrepareAsyncgetCurrentTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>>(PrepareAsyncgetCurrentTimeRaw(context, request, cq)); - } - ::grpc::Status getStartTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>> AsyncgetStartTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>>(AsyncgetStartTimeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>> PrepareAsyncgetStartTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>>(PrepareAsyncgetStartTimeRaw(context, request, cq)); - } - ::grpc::Status getEndTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::bmi::GetTimeResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>> AsyncgetEndTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>>(AsyncgetEndTimeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>> PrepareAsyncgetEndTime(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>>(PrepareAsyncgetEndTimeRaw(context, request, cq)); - } - ::grpc::Status getVarGrid(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarGridResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarGridResponse>> AsyncgetVarGrid(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarGridResponse>>(AsyncgetVarGridRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarGridResponse>> PrepareAsyncgetVarGrid(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarGridResponse>>(PrepareAsyncgetVarGridRaw(context, request, cq)); - } - ::grpc::Status getVarType(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarTypeResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarTypeResponse>> AsyncgetVarType(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarTypeResponse>>(AsyncgetVarTypeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarTypeResponse>> PrepareAsyncgetVarType(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarTypeResponse>>(PrepareAsyncgetVarTypeRaw(context, request, cq)); - } - ::grpc::Status getVarItemSize(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarItemSizeResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarItemSizeResponse>> AsyncgetVarItemSize(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarItemSizeResponse>>(AsyncgetVarItemSizeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarItemSizeResponse>> PrepareAsyncgetVarItemSize(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarItemSizeResponse>>(PrepareAsyncgetVarItemSizeRaw(context, request, cq)); - } - ::grpc::Status getVarUnits(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarUnitsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarUnitsResponse>> AsyncgetVarUnits(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarUnitsResponse>>(AsyncgetVarUnitsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarUnitsResponse>> PrepareAsyncgetVarUnits(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarUnitsResponse>>(PrepareAsyncgetVarUnitsRaw(context, request, cq)); - } - ::grpc::Status getVarNBytes(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetVarNBytesResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNBytesResponse>> AsyncgetVarNBytes(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNBytesResponse>>(AsyncgetVarNBytesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNBytesResponse>> PrepareAsyncgetVarNBytes(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNBytesResponse>>(PrepareAsyncgetVarNBytesRaw(context, request, cq)); - } - ::grpc::Status getValue(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::GetValueResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetValueResponse>> AsyncgetValue(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetValueResponse>>(AsyncgetValueRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetValueResponse>> PrepareAsyncgetValue(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetValueResponse>>(PrepareAsyncgetValueRaw(context, request, cq)); - } - ::grpc::Status getValuePtr(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> AsyncgetValuePtr(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncgetValuePtrRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncgetValuePtr(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncgetValuePtrRaw(context, request, cq)); - } - ::grpc::Status getValueAtIndices(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::bmi::GetValueAtIndicesResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetValueAtIndicesResponse>> AsyncgetValueAtIndices(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetValueAtIndicesResponse>>(AsyncgetValueAtIndicesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetValueAtIndicesResponse>> PrepareAsyncgetValueAtIndices(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetValueAtIndicesResponse>>(PrepareAsyncgetValueAtIndicesRaw(context, request, cq)); - } - ::grpc::Status setValue(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> AsyncsetValue(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncsetValueRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncsetValue(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncsetValueRaw(context, request, cq)); - } - ::grpc::Status setValuePtr(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> AsyncsetValuePtr(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncsetValuePtrRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncsetValuePtr(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncsetValuePtrRaw(context, request, cq)); - } - ::grpc::Status setValueAtIndices(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::bmi::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> AsyncsetValueAtIndices(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(AsyncsetValueAtIndicesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>> PrepareAsyncsetValueAtIndices(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::Empty>>(PrepareAsyncsetValueAtIndicesRaw(context, request, cq)); - } - ::grpc::Status getGridSize(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridSizeResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSizeResponse>> AsyncgetGridSize(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSizeResponse>>(AsyncgetGridSizeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSizeResponse>> PrepareAsyncgetGridSize(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSizeResponse>>(PrepareAsyncgetGridSizeRaw(context, request, cq)); - } - ::grpc::Status getGridType(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridTypeResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridTypeResponse>> AsyncgetGridType(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridTypeResponse>>(AsyncgetGridTypeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridTypeResponse>> PrepareAsyncgetGridType(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridTypeResponse>>(PrepareAsyncgetGridTypeRaw(context, request, cq)); - } - ::grpc::Status getGridRank(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridRankResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridRankResponse>> AsyncgetGridRank(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridRankResponse>>(AsyncgetGridRankRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridRankResponse>> PrepareAsyncgetGridRank(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridRankResponse>>(PrepareAsyncgetGridRankRaw(context, request, cq)); - } - ::grpc::Status getGridShape(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridShapeResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridShapeResponse>> AsyncgetGridShape(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridShapeResponse>>(AsyncgetGridShapeRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridShapeResponse>> PrepareAsyncgetGridShape(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridShapeResponse>>(PrepareAsyncgetGridShapeRaw(context, request, cq)); - } - ::grpc::Status getGridSpacing(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridSpacingResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSpacingResponse>> AsyncgetGridSpacing(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSpacingResponse>>(AsyncgetGridSpacingRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSpacingResponse>> PrepareAsyncgetGridSpacing(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSpacingResponse>>(PrepareAsyncgetGridSpacingRaw(context, request, cq)); - } - ::grpc::Status getGridOrigin(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridOriginResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOriginResponse>> AsyncgetGridOrigin(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOriginResponse>>(AsyncgetGridOriginRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOriginResponse>> PrepareAsyncgetGridOrigin(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOriginResponse>>(PrepareAsyncgetGridOriginRaw(context, request, cq)); - } - ::grpc::Status getGridX(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridPointsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>> AsyncgetGridX(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>>(AsyncgetGridXRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>> PrepareAsyncgetGridX(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>>(PrepareAsyncgetGridXRaw(context, request, cq)); - } - ::grpc::Status getGridY(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridPointsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>> AsyncgetGridY(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>>(AsyncgetGridYRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>> PrepareAsyncgetGridY(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>>(PrepareAsyncgetGridYRaw(context, request, cq)); - } - ::grpc::Status getGridZ(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridPointsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>> AsyncgetGridZ(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>>(AsyncgetGridZRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>> PrepareAsyncgetGridZ(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>>(PrepareAsyncgetGridZRaw(context, request, cq)); - } - ::grpc::Status getGridCellCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetCountResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>> AsyncgetGridCellCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>>(AsyncgetGridCellCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>> PrepareAsyncgetGridCellCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>>(PrepareAsyncgetGridCellCountRaw(context, request, cq)); - } - ::grpc::Status getGridPointCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetCountResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>> AsyncgetGridPointCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>>(AsyncgetGridPointCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>> PrepareAsyncgetGridPointCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>>(PrepareAsyncgetGridPointCountRaw(context, request, cq)); - } - ::grpc::Status getGridVertexCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetCountResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>> AsyncgetGridVertexCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>>(AsyncgetGridVertexCountRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>> PrepareAsyncgetGridVertexCount(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>>(PrepareAsyncgetGridVertexCountRaw(context, request, cq)); - } - ::grpc::Status getGridConnectivity(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridConnectivityResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridConnectivityResponse>> AsyncgetGridConnectivity(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridConnectivityResponse>>(AsyncgetGridConnectivityRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridConnectivityResponse>> PrepareAsyncgetGridConnectivity(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridConnectivityResponse>>(PrepareAsyncgetGridConnectivityRaw(context, request, cq)); - } - ::grpc::Status getGridOffset(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::bmi::GetGridOffsetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOffsetResponse>> AsyncgetGridOffset(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOffsetResponse>>(AsyncgetGridOffsetRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOffsetResponse>> PrepareAsyncgetGridOffset(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOffsetResponse>>(PrepareAsyncgetGridOffsetRaw(context, request, cq)); - } - - private: - std::shared_ptr< ::grpc::ChannelInterface> channel_; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncinitializeRaw(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncinitializeRaw(::grpc::ClientContext* context, const ::bmi::InitializeRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncupdateRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncupdateRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncupdateUntilRaw(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncupdateUntilRaw(::grpc::ClientContext* context, const ::bmi::UpdateUntilRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncupdateFracRaw(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncupdateFracRaw(::grpc::ClientContext* context, const ::bmi::UpdateFracRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncfinalizeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncfinalizeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncrunModelRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncrunModelRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetComponentNameResponse>* AsyncgetComponentNameRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetComponentNameResponse>* PrepareAsyncgetComponentNameRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>* AsyncgetInputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>* PrepareAsyncgetInputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>* AsyncgetOutputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNameCountResponse>* PrepareAsyncgetOutputVarNameCountRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>* AsyncgetInputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>* PrepareAsyncgetInputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>* AsyncgetOutputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNamesResponse>* PrepareAsyncgetOutputVarNamesRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeUnitsResponse>* AsyncgetTimeUnitsRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeUnitsResponse>* PrepareAsyncgetTimeUnitsRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeStepResponse>* AsyncgetTimeStepRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeStepResponse>* PrepareAsyncgetTimeStepRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* AsyncgetCurrentTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* PrepareAsyncgetCurrentTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* AsyncgetStartTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* PrepareAsyncgetStartTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* AsyncgetEndTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetTimeResponse>* PrepareAsyncgetEndTimeRaw(::grpc::ClientContext* context, const ::bmi::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarGridResponse>* AsyncgetVarGridRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarGridResponse>* PrepareAsyncgetVarGridRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarTypeResponse>* AsyncgetVarTypeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarTypeResponse>* PrepareAsyncgetVarTypeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarItemSizeResponse>* AsyncgetVarItemSizeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarItemSizeResponse>* PrepareAsyncgetVarItemSizeRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarUnitsResponse>* AsyncgetVarUnitsRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarUnitsResponse>* PrepareAsyncgetVarUnitsRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNBytesResponse>* AsyncgetVarNBytesRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetVarNBytesResponse>* PrepareAsyncgetVarNBytesRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetValueResponse>* AsyncgetValueRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetValueResponse>* PrepareAsyncgetValueRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncgetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncgetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::GetVarRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetValueAtIndicesResponse>* AsyncgetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetValueAtIndicesResponse>* PrepareAsyncgetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::GetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncsetValueRaw(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncsetValueRaw(::grpc::ClientContext* context, const ::bmi::SetValueRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncsetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncsetValuePtrRaw(::grpc::ClientContext* context, const ::bmi::SetValuePtrRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* AsyncsetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::Empty>* PrepareAsyncsetValueAtIndicesRaw(::grpc::ClientContext* context, const ::bmi::SetValueAtIndicesRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSizeResponse>* AsyncgetGridSizeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSizeResponse>* PrepareAsyncgetGridSizeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridTypeResponse>* AsyncgetGridTypeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridTypeResponse>* PrepareAsyncgetGridTypeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridRankResponse>* AsyncgetGridRankRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridRankResponse>* PrepareAsyncgetGridRankRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridShapeResponse>* AsyncgetGridShapeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridShapeResponse>* PrepareAsyncgetGridShapeRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSpacingResponse>* AsyncgetGridSpacingRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridSpacingResponse>* PrepareAsyncgetGridSpacingRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOriginResponse>* AsyncgetGridOriginRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOriginResponse>* PrepareAsyncgetGridOriginRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* AsyncgetGridXRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* PrepareAsyncgetGridXRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* AsyncgetGridYRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* PrepareAsyncgetGridYRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* AsyncgetGridZRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridPointsResponse>* PrepareAsyncgetGridZRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* AsyncgetGridCellCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* PrepareAsyncgetGridCellCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* AsyncgetGridPointCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* PrepareAsyncgetGridPointCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* AsyncgetGridVertexCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetCountResponse>* PrepareAsyncgetGridVertexCountRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridConnectivityResponse>* AsyncgetGridConnectivityRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridConnectivityResponse>* PrepareAsyncgetGridConnectivityRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOffsetResponse>* AsyncgetGridOffsetRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::bmi::GetGridOffsetResponse>* PrepareAsyncgetGridOffsetRaw(::grpc::ClientContext* context, const ::bmi::GridRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_initialize_; - const ::grpc::internal::RpcMethod rpcmethod_update_; - const ::grpc::internal::RpcMethod rpcmethod_updateUntil_; - const ::grpc::internal::RpcMethod rpcmethod_updateFrac_; - const ::grpc::internal::RpcMethod rpcmethod_finalize_; - const ::grpc::internal::RpcMethod rpcmethod_runModel_; - const ::grpc::internal::RpcMethod rpcmethod_getComponentName_; - const ::grpc::internal::RpcMethod rpcmethod_getInputVarNameCount_; - const ::grpc::internal::RpcMethod rpcmethod_getOutputVarNameCount_; - const ::grpc::internal::RpcMethod rpcmethod_getInputVarNames_; - const ::grpc::internal::RpcMethod rpcmethod_getOutputVarNames_; - const ::grpc::internal::RpcMethod rpcmethod_getTimeUnits_; - const ::grpc::internal::RpcMethod rpcmethod_getTimeStep_; - const ::grpc::internal::RpcMethod rpcmethod_getCurrentTime_; - const ::grpc::internal::RpcMethod rpcmethod_getStartTime_; - const ::grpc::internal::RpcMethod rpcmethod_getEndTime_; - const ::grpc::internal::RpcMethod rpcmethod_getVarGrid_; - const ::grpc::internal::RpcMethod rpcmethod_getVarType_; - const ::grpc::internal::RpcMethod rpcmethod_getVarItemSize_; - const ::grpc::internal::RpcMethod rpcmethod_getVarUnits_; - const ::grpc::internal::RpcMethod rpcmethod_getVarNBytes_; - const ::grpc::internal::RpcMethod rpcmethod_getValue_; - const ::grpc::internal::RpcMethod rpcmethod_getValuePtr_; - const ::grpc::internal::RpcMethod rpcmethod_getValueAtIndices_; - const ::grpc::internal::RpcMethod rpcmethod_setValue_; - const ::grpc::internal::RpcMethod rpcmethod_setValuePtr_; - const ::grpc::internal::RpcMethod rpcmethod_setValueAtIndices_; - const ::grpc::internal::RpcMethod rpcmethod_getGridSize_; - const ::grpc::internal::RpcMethod rpcmethod_getGridType_; - const ::grpc::internal::RpcMethod rpcmethod_getGridRank_; - const ::grpc::internal::RpcMethod rpcmethod_getGridShape_; - const ::grpc::internal::RpcMethod rpcmethod_getGridSpacing_; - const ::grpc::internal::RpcMethod rpcmethod_getGridOrigin_; - const ::grpc::internal::RpcMethod rpcmethod_getGridX_; - const ::grpc::internal::RpcMethod rpcmethod_getGridY_; - const ::grpc::internal::RpcMethod rpcmethod_getGridZ_; - const ::grpc::internal::RpcMethod rpcmethod_getGridCellCount_; - const ::grpc::internal::RpcMethod rpcmethod_getGridPointCount_; - const ::grpc::internal::RpcMethod rpcmethod_getGridVertexCount_; - const ::grpc::internal::RpcMethod rpcmethod_getGridConnectivity_; - const ::grpc::internal::RpcMethod rpcmethod_getGridOffset_; - }; - 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 initialize(::grpc::ServerContext* context, const ::bmi::InitializeRequest* request, ::bmi::Empty* response); - virtual ::grpc::Status update(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response); - virtual ::grpc::Status updateUntil(::grpc::ServerContext* context, const ::bmi::UpdateUntilRequest* request, ::bmi::Empty* response); - virtual ::grpc::Status updateFrac(::grpc::ServerContext* context, const ::bmi::UpdateFracRequest* request, ::bmi::Empty* response); - virtual ::grpc::Status finalize(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response); - virtual ::grpc::Status runModel(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response); - virtual ::grpc::Status getComponentName(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetComponentNameResponse* response); - virtual ::grpc::Status getInputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response); - virtual ::grpc::Status getOutputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response); - virtual ::grpc::Status getInputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response); - virtual ::grpc::Status getOutputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response); - virtual ::grpc::Status getTimeUnits(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeUnitsResponse* response); - virtual ::grpc::Status getTimeStep(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeStepResponse* response); - virtual ::grpc::Status getCurrentTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response); - virtual ::grpc::Status getStartTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response); - virtual ::grpc::Status getEndTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response); - virtual ::grpc::Status getVarGrid(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarGridResponse* response); - virtual ::grpc::Status getVarType(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarTypeResponse* response); - virtual ::grpc::Status getVarItemSize(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarItemSizeResponse* response); - virtual ::grpc::Status getVarUnits(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarUnitsResponse* response); - virtual ::grpc::Status getVarNBytes(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarNBytesResponse* response); - virtual ::grpc::Status getValue(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetValueResponse* response); - virtual ::grpc::Status getValuePtr(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::Empty* response); - virtual ::grpc::Status getValueAtIndices(::grpc::ServerContext* context, const ::bmi::GetValueAtIndicesRequest* request, ::bmi::GetValueAtIndicesResponse* response); - virtual ::grpc::Status setValue(::grpc::ServerContext* context, const ::bmi::SetValueRequest* request, ::bmi::Empty* response); - virtual ::grpc::Status setValuePtr(::grpc::ServerContext* context, const ::bmi::SetValuePtrRequest* request, ::bmi::Empty* response); - virtual ::grpc::Status setValueAtIndices(::grpc::ServerContext* context, const ::bmi::SetValueAtIndicesRequest* request, ::bmi::Empty* response); - virtual ::grpc::Status getGridSize(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSizeResponse* response); - virtual ::grpc::Status getGridType(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridTypeResponse* response); - virtual ::grpc::Status getGridRank(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridRankResponse* response); - virtual ::grpc::Status getGridShape(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridShapeResponse* response); - virtual ::grpc::Status getGridSpacing(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSpacingResponse* response); - virtual ::grpc::Status getGridOrigin(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOriginResponse* response); - virtual ::grpc::Status getGridX(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response); - virtual ::grpc::Status getGridY(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response); - virtual ::grpc::Status getGridZ(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response); - virtual ::grpc::Status getGridCellCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response); - virtual ::grpc::Status getGridPointCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response); - virtual ::grpc::Status getGridVertexCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response); - virtual ::grpc::Status getGridConnectivity(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridConnectivityResponse* response); - virtual ::grpc::Status getGridOffset(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOffsetResponse* response); - }; - template - class WithAsyncMethod_initialize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_initialize() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_initialize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status initialize(::grpc::ServerContext* context, const ::bmi::InitializeRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void Requestinitialize(::grpc::ServerContext* context, ::bmi::InitializeRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* 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_update : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_update() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_update() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status update(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void Requestupdate(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* 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_updateUntil : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_updateUntil() { - ::grpc::Service::MarkMethodAsync(2); - } - ~WithAsyncMethod_updateUntil() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status updateUntil(::grpc::ServerContext* context, const ::bmi::UpdateUntilRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestupdateUntil(::grpc::ServerContext* context, ::bmi::UpdateUntilRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_updateFrac : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_updateFrac() { - ::grpc::Service::MarkMethodAsync(3); - } - ~WithAsyncMethod_updateFrac() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status updateFrac(::grpc::ServerContext* context, const ::bmi::UpdateFracRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestupdateFrac(::grpc::ServerContext* context, ::bmi::UpdateFracRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_finalize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_finalize() { - ::grpc::Service::MarkMethodAsync(4); - } - ~WithAsyncMethod_finalize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status finalize(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void Requestfinalize(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* 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_runModel : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_runModel() { - ::grpc::Service::MarkMethodAsync(5); - } - ~WithAsyncMethod_runModel() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status runModel(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestrunModel(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* 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_getComponentName : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getComponentName() { - ::grpc::Service::MarkMethodAsync(6); - } - ~WithAsyncMethod_getComponentName() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getComponentName(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetComponentNameResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetComponentName(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetComponentNameResponse>* 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_getInputVarNameCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getInputVarNameCount() { - ::grpc::Service::MarkMethodAsync(7); - } - ~WithAsyncMethod_getInputVarNameCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getInputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetInputVarNameCount(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetVarNameCountResponse>* 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_getOutputVarNameCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getOutputVarNameCount() { - ::grpc::Service::MarkMethodAsync(8); - } - ~WithAsyncMethod_getOutputVarNameCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getOutputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetOutputVarNameCount(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetVarNameCountResponse>* 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_getInputVarNames : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getInputVarNames() { - ::grpc::Service::MarkMethodAsync(9); - } - ~WithAsyncMethod_getInputVarNames() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getInputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetInputVarNames(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetVarNamesResponse>* 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_getOutputVarNames : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getOutputVarNames() { - ::grpc::Service::MarkMethodAsync(10); - } - ~WithAsyncMethod_getOutputVarNames() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getOutputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetOutputVarNames(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetVarNamesResponse>* 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_getTimeUnits : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getTimeUnits() { - ::grpc::Service::MarkMethodAsync(11); - } - ~WithAsyncMethod_getTimeUnits() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getTimeUnits(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeUnitsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetTimeUnits(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetTimeUnitsResponse>* 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_getTimeStep : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getTimeStep() { - ::grpc::Service::MarkMethodAsync(12); - } - ~WithAsyncMethod_getTimeStep() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getTimeStep(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeStepResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetTimeStep(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetTimeStepResponse>* 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_getCurrentTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getCurrentTime() { - ::grpc::Service::MarkMethodAsync(13); - } - ~WithAsyncMethod_getCurrentTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getCurrentTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetCurrentTime(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetTimeResponse>* 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_getStartTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getStartTime() { - ::grpc::Service::MarkMethodAsync(14); - } - ~WithAsyncMethod_getStartTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getStartTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetStartTime(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetTimeResponse>* 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_getEndTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getEndTime() { - ::grpc::Service::MarkMethodAsync(15); - } - ~WithAsyncMethod_getEndTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getEndTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetEndTime(::grpc::ServerContext* context, ::bmi::Empty* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetTimeResponse>* 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 WithAsyncMethod_getVarGrid : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getVarGrid() { - ::grpc::Service::MarkMethodAsync(16); - } - ~WithAsyncMethod_getVarGrid() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarGrid(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarGridResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarGrid(::grpc::ServerContext* context, ::bmi::GetVarRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetVarGridResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getVarType : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getVarType() { - ::grpc::Service::MarkMethodAsync(17); - } - ~WithAsyncMethod_getVarType() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarType(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarTypeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarType(::grpc::ServerContext* context, ::bmi::GetVarRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetVarTypeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getVarItemSize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getVarItemSize() { - ::grpc::Service::MarkMethodAsync(18); - } - ~WithAsyncMethod_getVarItemSize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarItemSize(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarItemSizeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarItemSize(::grpc::ServerContext* context, ::bmi::GetVarRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetVarItemSizeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getVarUnits : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getVarUnits() { - ::grpc::Service::MarkMethodAsync(19); - } - ~WithAsyncMethod_getVarUnits() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarUnits(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarUnitsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarUnits(::grpc::ServerContext* context, ::bmi::GetVarRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetVarUnitsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getVarNBytes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getVarNBytes() { - ::grpc::Service::MarkMethodAsync(20); - } - ~WithAsyncMethod_getVarNBytes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarNBytes(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarNBytesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarNBytes(::grpc::ServerContext* context, ::bmi::GetVarRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetVarNBytesResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(20, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getValue : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getValue() { - ::grpc::Service::MarkMethodAsync(21); - } - ~WithAsyncMethod_getValue() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getValue(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetValueResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetValue(::grpc::ServerContext* context, ::bmi::GetVarRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetValueResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(21, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getValuePtr : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getValuePtr() { - ::grpc::Service::MarkMethodAsync(22); - } - ~WithAsyncMethod_getValuePtr() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getValuePtr(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetValuePtr(::grpc::ServerContext* context, ::bmi::GetVarRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(22, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getValueAtIndices : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getValueAtIndices() { - ::grpc::Service::MarkMethodAsync(23); - } - ~WithAsyncMethod_getValueAtIndices() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getValueAtIndices(::grpc::ServerContext* context, const ::bmi::GetValueAtIndicesRequest* request, ::bmi::GetValueAtIndicesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetValueAtIndices(::grpc::ServerContext* context, ::bmi::GetValueAtIndicesRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetValueAtIndicesResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(23, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_setValue : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_setValue() { - ::grpc::Service::MarkMethodAsync(24); - } - ~WithAsyncMethod_setValue() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status setValue(::grpc::ServerContext* context, const ::bmi::SetValueRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestsetValue(::grpc::ServerContext* context, ::bmi::SetValueRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(24, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_setValuePtr : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_setValuePtr() { - ::grpc::Service::MarkMethodAsync(25); - } - ~WithAsyncMethod_setValuePtr() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status setValuePtr(::grpc::ServerContext* context, const ::bmi::SetValuePtrRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestsetValuePtr(::grpc::ServerContext* context, ::bmi::SetValuePtrRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(25, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_setValueAtIndices : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_setValueAtIndices() { - ::grpc::Service::MarkMethodAsync(26); - } - ~WithAsyncMethod_setValueAtIndices() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status setValueAtIndices(::grpc::ServerContext* context, const ::bmi::SetValueAtIndicesRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestsetValueAtIndices(::grpc::ServerContext* context, ::bmi::SetValueAtIndicesRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(26, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridSize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridSize() { - ::grpc::Service::MarkMethodAsync(27); - } - ~WithAsyncMethod_getGridSize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridSize(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSizeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridSize(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridSizeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(27, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridType : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridType() { - ::grpc::Service::MarkMethodAsync(28); - } - ~WithAsyncMethod_getGridType() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridType(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridTypeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridType(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridTypeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(28, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridRank : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridRank() { - ::grpc::Service::MarkMethodAsync(29); - } - ~WithAsyncMethod_getGridRank() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridRank(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridRankResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridRank(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridRankResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(29, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridShape : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridShape() { - ::grpc::Service::MarkMethodAsync(30); - } - ~WithAsyncMethod_getGridShape() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridShape(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridShapeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridShape(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridShapeResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(30, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridSpacing : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridSpacing() { - ::grpc::Service::MarkMethodAsync(31); - } - ~WithAsyncMethod_getGridSpacing() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridSpacing(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSpacingResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridSpacing(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridSpacingResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(31, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridOrigin : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridOrigin() { - ::grpc::Service::MarkMethodAsync(32); - } - ~WithAsyncMethod_getGridOrigin() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridOrigin(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOriginResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridOrigin(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridOriginResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(32, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridX : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridX() { - ::grpc::Service::MarkMethodAsync(33); - } - ~WithAsyncMethod_getGridX() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridX(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridX(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridPointsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridY : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridY() { - ::grpc::Service::MarkMethodAsync(34); - } - ~WithAsyncMethod_getGridY() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridY(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridY(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridPointsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridZ : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridZ() { - ::grpc::Service::MarkMethodAsync(35); - } - ~WithAsyncMethod_getGridZ() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridZ(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridZ(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridPointsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridCellCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridCellCount() { - ::grpc::Service::MarkMethodAsync(36); - } - ~WithAsyncMethod_getGridCellCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridCellCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridCellCount(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetCountResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridPointCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridPointCount() { - ::grpc::Service::MarkMethodAsync(37); - } - ~WithAsyncMethod_getGridPointCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridPointCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridPointCount(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetCountResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridVertexCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridVertexCount() { - ::grpc::Service::MarkMethodAsync(38); - } - ~WithAsyncMethod_getGridVertexCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridVertexCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridVertexCount(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetCountResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(38, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridConnectivity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridConnectivity() { - ::grpc::Service::MarkMethodAsync(39); - } - ~WithAsyncMethod_getGridConnectivity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridConnectivity(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridConnectivityResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridConnectivity(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridConnectivityResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(39, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_getGridOffset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_getGridOffset() { - ::grpc::Service::MarkMethodAsync(40); - } - ~WithAsyncMethod_getGridOffset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridOffset(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOffsetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridOffset(::grpc::ServerContext* context, ::bmi::GridRequest* request, ::grpc::ServerAsyncResponseWriter< ::bmi::GetGridOffsetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); - } - }; - typedef WithAsyncMethod_initialize > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; - template - class WithGenericMethod_initialize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_initialize() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_initialize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status initialize(::grpc::ServerContext* context, const ::bmi::InitializeRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_update : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_update() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_update() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status update(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_updateUntil : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_updateUntil() { - ::grpc::Service::MarkMethodGeneric(2); - } - ~WithGenericMethod_updateUntil() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status updateUntil(::grpc::ServerContext* context, const ::bmi::UpdateUntilRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_updateFrac : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_updateFrac() { - ::grpc::Service::MarkMethodGeneric(3); - } - ~WithGenericMethod_updateFrac() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status updateFrac(::grpc::ServerContext* context, const ::bmi::UpdateFracRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_finalize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_finalize() { - ::grpc::Service::MarkMethodGeneric(4); - } - ~WithGenericMethod_finalize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status finalize(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_runModel : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_runModel() { - ::grpc::Service::MarkMethodGeneric(5); - } - ~WithGenericMethod_runModel() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status runModel(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getComponentName : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getComponentName() { - ::grpc::Service::MarkMethodGeneric(6); - } - ~WithGenericMethod_getComponentName() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getComponentName(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetComponentNameResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getInputVarNameCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getInputVarNameCount() { - ::grpc::Service::MarkMethodGeneric(7); - } - ~WithGenericMethod_getInputVarNameCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getInputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getOutputVarNameCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getOutputVarNameCount() { - ::grpc::Service::MarkMethodGeneric(8); - } - ~WithGenericMethod_getOutputVarNameCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getOutputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getInputVarNames : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getInputVarNames() { - ::grpc::Service::MarkMethodGeneric(9); - } - ~WithGenericMethod_getInputVarNames() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getInputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getOutputVarNames : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getOutputVarNames() { - ::grpc::Service::MarkMethodGeneric(10); - } - ~WithGenericMethod_getOutputVarNames() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getOutputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getTimeUnits : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getTimeUnits() { - ::grpc::Service::MarkMethodGeneric(11); - } - ~WithGenericMethod_getTimeUnits() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getTimeUnits(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeUnitsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getTimeStep : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getTimeStep() { - ::grpc::Service::MarkMethodGeneric(12); - } - ~WithGenericMethod_getTimeStep() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getTimeStep(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeStepResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getCurrentTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getCurrentTime() { - ::grpc::Service::MarkMethodGeneric(13); - } - ~WithGenericMethod_getCurrentTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getCurrentTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getStartTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getStartTime() { - ::grpc::Service::MarkMethodGeneric(14); - } - ~WithGenericMethod_getStartTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getStartTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getEndTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getEndTime() { - ::grpc::Service::MarkMethodGeneric(15); - } - ~WithGenericMethod_getEndTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getEndTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getVarGrid : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getVarGrid() { - ::grpc::Service::MarkMethodGeneric(16); - } - ~WithGenericMethod_getVarGrid() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarGrid(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarGridResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getVarType : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getVarType() { - ::grpc::Service::MarkMethodGeneric(17); - } - ~WithGenericMethod_getVarType() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarType(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarTypeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getVarItemSize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getVarItemSize() { - ::grpc::Service::MarkMethodGeneric(18); - } - ~WithGenericMethod_getVarItemSize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarItemSize(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarItemSizeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getVarUnits : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getVarUnits() { - ::grpc::Service::MarkMethodGeneric(19); - } - ~WithGenericMethod_getVarUnits() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarUnits(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarUnitsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getVarNBytes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getVarNBytes() { - ::grpc::Service::MarkMethodGeneric(20); - } - ~WithGenericMethod_getVarNBytes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarNBytes(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarNBytesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getValue : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getValue() { - ::grpc::Service::MarkMethodGeneric(21); - } - ~WithGenericMethod_getValue() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getValue(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetValueResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getValuePtr : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getValuePtr() { - ::grpc::Service::MarkMethodGeneric(22); - } - ~WithGenericMethod_getValuePtr() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getValuePtr(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getValueAtIndices : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getValueAtIndices() { - ::grpc::Service::MarkMethodGeneric(23); - } - ~WithGenericMethod_getValueAtIndices() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getValueAtIndices(::grpc::ServerContext* context, const ::bmi::GetValueAtIndicesRequest* request, ::bmi::GetValueAtIndicesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_setValue : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_setValue() { - ::grpc::Service::MarkMethodGeneric(24); - } - ~WithGenericMethod_setValue() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status setValue(::grpc::ServerContext* context, const ::bmi::SetValueRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_setValuePtr : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_setValuePtr() { - ::grpc::Service::MarkMethodGeneric(25); - } - ~WithGenericMethod_setValuePtr() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status setValuePtr(::grpc::ServerContext* context, const ::bmi::SetValuePtrRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_setValueAtIndices : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_setValueAtIndices() { - ::grpc::Service::MarkMethodGeneric(26); - } - ~WithGenericMethod_setValueAtIndices() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status setValueAtIndices(::grpc::ServerContext* context, const ::bmi::SetValueAtIndicesRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridSize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridSize() { - ::grpc::Service::MarkMethodGeneric(27); - } - ~WithGenericMethod_getGridSize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridSize(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSizeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridType : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridType() { - ::grpc::Service::MarkMethodGeneric(28); - } - ~WithGenericMethod_getGridType() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridType(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridTypeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridRank : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridRank() { - ::grpc::Service::MarkMethodGeneric(29); - } - ~WithGenericMethod_getGridRank() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridRank(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridRankResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridShape : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridShape() { - ::grpc::Service::MarkMethodGeneric(30); - } - ~WithGenericMethod_getGridShape() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridShape(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridShapeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridSpacing : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridSpacing() { - ::grpc::Service::MarkMethodGeneric(31); - } - ~WithGenericMethod_getGridSpacing() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridSpacing(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSpacingResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridOrigin : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridOrigin() { - ::grpc::Service::MarkMethodGeneric(32); - } - ~WithGenericMethod_getGridOrigin() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridOrigin(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOriginResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridX : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridX() { - ::grpc::Service::MarkMethodGeneric(33); - } - ~WithGenericMethod_getGridX() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridX(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridY : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridY() { - ::grpc::Service::MarkMethodGeneric(34); - } - ~WithGenericMethod_getGridY() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridY(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridZ : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridZ() { - ::grpc::Service::MarkMethodGeneric(35); - } - ~WithGenericMethod_getGridZ() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridZ(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridCellCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridCellCount() { - ::grpc::Service::MarkMethodGeneric(36); - } - ~WithGenericMethod_getGridCellCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridCellCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridPointCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridPointCount() { - ::grpc::Service::MarkMethodGeneric(37); - } - ~WithGenericMethod_getGridPointCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridPointCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridVertexCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridVertexCount() { - ::grpc::Service::MarkMethodGeneric(38); - } - ~WithGenericMethod_getGridVertexCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridVertexCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridConnectivity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridConnectivity() { - ::grpc::Service::MarkMethodGeneric(39); - } - ~WithGenericMethod_getGridConnectivity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridConnectivity(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridConnectivityResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_getGridOffset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_getGridOffset() { - ::grpc::Service::MarkMethodGeneric(40); - } - ~WithGenericMethod_getGridOffset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridOffset(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOffsetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_initialize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_initialize() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_initialize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status initialize(::grpc::ServerContext* context, const ::bmi::InitializeRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void Requestinitialize(::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_update : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_update() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_update() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status update(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void Requestupdate(::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_updateUntil : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_updateUntil() { - ::grpc::Service::MarkMethodRaw(2); - } - ~WithRawMethod_updateUntil() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status updateUntil(::grpc::ServerContext* context, const ::bmi::UpdateUntilRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestupdateUntil(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_updateFrac : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_updateFrac() { - ::grpc::Service::MarkMethodRaw(3); - } - ~WithRawMethod_updateFrac() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status updateFrac(::grpc::ServerContext* context, const ::bmi::UpdateFracRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestupdateFrac(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_finalize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_finalize() { - ::grpc::Service::MarkMethodRaw(4); - } - ~WithRawMethod_finalize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status finalize(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void Requestfinalize(::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_runModel : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_runModel() { - ::grpc::Service::MarkMethodRaw(5); - } - ~WithRawMethod_runModel() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status runModel(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestrunModel(::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_getComponentName : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getComponentName() { - ::grpc::Service::MarkMethodRaw(6); - } - ~WithRawMethod_getComponentName() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getComponentName(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetComponentNameResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetComponentName(::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_getInputVarNameCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getInputVarNameCount() { - ::grpc::Service::MarkMethodRaw(7); - } - ~WithRawMethod_getInputVarNameCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getInputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetInputVarNameCount(::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_getOutputVarNameCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getOutputVarNameCount() { - ::grpc::Service::MarkMethodRaw(8); - } - ~WithRawMethod_getOutputVarNameCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getOutputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetOutputVarNameCount(::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_getInputVarNames : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getInputVarNames() { - ::grpc::Service::MarkMethodRaw(9); - } - ~WithRawMethod_getInputVarNames() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getInputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetInputVarNames(::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_getOutputVarNames : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getOutputVarNames() { - ::grpc::Service::MarkMethodRaw(10); - } - ~WithRawMethod_getOutputVarNames() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getOutputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetOutputVarNames(::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_getTimeUnits : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getTimeUnits() { - ::grpc::Service::MarkMethodRaw(11); - } - ~WithRawMethod_getTimeUnits() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getTimeUnits(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeUnitsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetTimeUnits(::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_getTimeStep : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getTimeStep() { - ::grpc::Service::MarkMethodRaw(12); - } - ~WithRawMethod_getTimeStep() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getTimeStep(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeStepResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetTimeStep(::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_getCurrentTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getCurrentTime() { - ::grpc::Service::MarkMethodRaw(13); - } - ~WithRawMethod_getCurrentTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getCurrentTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetCurrentTime(::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_getStartTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getStartTime() { - ::grpc::Service::MarkMethodRaw(14); - } - ~WithRawMethod_getStartTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getStartTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetStartTime(::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_getEndTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getEndTime() { - ::grpc::Service::MarkMethodRaw(15); - } - ~WithRawMethod_getEndTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getEndTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetEndTime(::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 WithRawMethod_getVarGrid : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getVarGrid() { - ::grpc::Service::MarkMethodRaw(16); - } - ~WithRawMethod_getVarGrid() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarGrid(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarGridResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarGrid(::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(16, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getVarType : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getVarType() { - ::grpc::Service::MarkMethodRaw(17); - } - ~WithRawMethod_getVarType() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarType(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarTypeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarType(::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(17, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getVarItemSize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getVarItemSize() { - ::grpc::Service::MarkMethodRaw(18); - } - ~WithRawMethod_getVarItemSize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarItemSize(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarItemSizeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarItemSize(::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(18, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getVarUnits : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getVarUnits() { - ::grpc::Service::MarkMethodRaw(19); - } - ~WithRawMethod_getVarUnits() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarUnits(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarUnitsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarUnits(::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(19, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getVarNBytes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getVarNBytes() { - ::grpc::Service::MarkMethodRaw(20); - } - ~WithRawMethod_getVarNBytes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getVarNBytes(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarNBytesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetVarNBytes(::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(20, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getValue : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getValue() { - ::grpc::Service::MarkMethodRaw(21); - } - ~WithRawMethod_getValue() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getValue(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetValueResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetValue(::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(21, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getValuePtr : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getValuePtr() { - ::grpc::Service::MarkMethodRaw(22); - } - ~WithRawMethod_getValuePtr() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getValuePtr(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetValuePtr(::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(22, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getValueAtIndices : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getValueAtIndices() { - ::grpc::Service::MarkMethodRaw(23); - } - ~WithRawMethod_getValueAtIndices() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getValueAtIndices(::grpc::ServerContext* context, const ::bmi::GetValueAtIndicesRequest* request, ::bmi::GetValueAtIndicesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetValueAtIndices(::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(23, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_setValue : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_setValue() { - ::grpc::Service::MarkMethodRaw(24); - } - ~WithRawMethod_setValue() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status setValue(::grpc::ServerContext* context, const ::bmi::SetValueRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestsetValue(::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(24, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_setValuePtr : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_setValuePtr() { - ::grpc::Service::MarkMethodRaw(25); - } - ~WithRawMethod_setValuePtr() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status setValuePtr(::grpc::ServerContext* context, const ::bmi::SetValuePtrRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestsetValuePtr(::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(25, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_setValueAtIndices : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_setValueAtIndices() { - ::grpc::Service::MarkMethodRaw(26); - } - ~WithRawMethod_setValueAtIndices() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status setValueAtIndices(::grpc::ServerContext* context, const ::bmi::SetValueAtIndicesRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestsetValueAtIndices(::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(26, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridSize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridSize() { - ::grpc::Service::MarkMethodRaw(27); - } - ~WithRawMethod_getGridSize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridSize(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSizeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridSize(::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(27, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridType : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridType() { - ::grpc::Service::MarkMethodRaw(28); - } - ~WithRawMethod_getGridType() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridType(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridTypeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridType(::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(28, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridRank : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridRank() { - ::grpc::Service::MarkMethodRaw(29); - } - ~WithRawMethod_getGridRank() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridRank(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridRankResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridRank(::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(29, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridShape : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridShape() { - ::grpc::Service::MarkMethodRaw(30); - } - ~WithRawMethod_getGridShape() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridShape(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridShapeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridShape(::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(30, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridSpacing : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridSpacing() { - ::grpc::Service::MarkMethodRaw(31); - } - ~WithRawMethod_getGridSpacing() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridSpacing(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSpacingResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridSpacing(::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(31, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridOrigin : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridOrigin() { - ::grpc::Service::MarkMethodRaw(32); - } - ~WithRawMethod_getGridOrigin() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridOrigin(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOriginResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridOrigin(::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(32, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridX : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridX() { - ::grpc::Service::MarkMethodRaw(33); - } - ~WithRawMethod_getGridX() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridX(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridX(::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(33, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridY : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridY() { - ::grpc::Service::MarkMethodRaw(34); - } - ~WithRawMethod_getGridY() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridY(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridY(::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(34, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridZ : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridZ() { - ::grpc::Service::MarkMethodRaw(35); - } - ~WithRawMethod_getGridZ() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridZ(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridZ(::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(35, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridCellCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridCellCount() { - ::grpc::Service::MarkMethodRaw(36); - } - ~WithRawMethod_getGridCellCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridCellCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridCellCount(::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(36, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridPointCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridPointCount() { - ::grpc::Service::MarkMethodRaw(37); - } - ~WithRawMethod_getGridPointCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridPointCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridPointCount(::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(37, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridVertexCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridVertexCount() { - ::grpc::Service::MarkMethodRaw(38); - } - ~WithRawMethod_getGridVertexCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridVertexCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridVertexCount(::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(38, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridConnectivity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridConnectivity() { - ::grpc::Service::MarkMethodRaw(39); - } - ~WithRawMethod_getGridConnectivity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridConnectivity(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridConnectivityResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridConnectivity(::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(39, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_getGridOffset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_getGridOffset() { - ::grpc::Service::MarkMethodRaw(40); - } - ~WithRawMethod_getGridOffset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status getGridOffset(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOffsetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestgetGridOffset(::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(40, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithStreamedUnaryMethod_initialize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_initialize() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::InitializeRequest, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_initialize::Streamedinitialize, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_initialize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status initialize(::grpc::ServerContext* context, const ::bmi::InitializeRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status Streamedinitialize(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::InitializeRequest,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_update : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_update() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_update::Streamedupdate, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_update() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status update(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status Streamedupdate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_updateUntil : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_updateUntil() { - ::grpc::Service::MarkMethodStreamed(2, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::UpdateUntilRequest, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_updateUntil::StreamedupdateUntil, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_updateUntil() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status updateUntil(::grpc::ServerContext* context, const ::bmi::UpdateUntilRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedupdateUntil(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::UpdateUntilRequest,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_updateFrac : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_updateFrac() { - ::grpc::Service::MarkMethodStreamed(3, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::UpdateFracRequest, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_updateFrac::StreamedupdateFrac, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_updateFrac() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status updateFrac(::grpc::ServerContext* context, const ::bmi::UpdateFracRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedupdateFrac(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::UpdateFracRequest,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_finalize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_finalize() { - ::grpc::Service::MarkMethodStreamed(4, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_finalize::Streamedfinalize, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_finalize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status finalize(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status Streamedfinalize(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_runModel : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_runModel() { - ::grpc::Service::MarkMethodStreamed(5, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_runModel::StreamedrunModel, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_runModel() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status runModel(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedrunModel(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getComponentName : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getComponentName() { - ::grpc::Service::MarkMethodStreamed(6, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetComponentNameResponse>(std::bind(&WithStreamedUnaryMethod_getComponentName::StreamedgetComponentName, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getComponentName() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getComponentName(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetComponentNameResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetComponentName(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetComponentNameResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getInputVarNameCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getInputVarNameCount() { - ::grpc::Service::MarkMethodStreamed(7, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetVarNameCountResponse>(std::bind(&WithStreamedUnaryMethod_getInputVarNameCount::StreamedgetInputVarNameCount, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getInputVarNameCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getInputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetInputVarNameCount(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetVarNameCountResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getOutputVarNameCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getOutputVarNameCount() { - ::grpc::Service::MarkMethodStreamed(8, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetVarNameCountResponse>(std::bind(&WithStreamedUnaryMethod_getOutputVarNameCount::StreamedgetOutputVarNameCount, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getOutputVarNameCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getOutputVarNameCount(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNameCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetOutputVarNameCount(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetVarNameCountResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getInputVarNames : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getInputVarNames() { - ::grpc::Service::MarkMethodStreamed(9, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetVarNamesResponse>(std::bind(&WithStreamedUnaryMethod_getInputVarNames::StreamedgetInputVarNames, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getInputVarNames() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getInputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetInputVarNames(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetVarNamesResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getOutputVarNames : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getOutputVarNames() { - ::grpc::Service::MarkMethodStreamed(10, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetVarNamesResponse>(std::bind(&WithStreamedUnaryMethod_getOutputVarNames::StreamedgetOutputVarNames, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getOutputVarNames() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getOutputVarNames(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetVarNamesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetOutputVarNames(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetVarNamesResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getTimeUnits : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getTimeUnits() { - ::grpc::Service::MarkMethodStreamed(11, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetTimeUnitsResponse>(std::bind(&WithStreamedUnaryMethod_getTimeUnits::StreamedgetTimeUnits, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getTimeUnits() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getTimeUnits(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeUnitsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetTimeUnits(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetTimeUnitsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getTimeStep : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getTimeStep() { - ::grpc::Service::MarkMethodStreamed(12, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetTimeStepResponse>(std::bind(&WithStreamedUnaryMethod_getTimeStep::StreamedgetTimeStep, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getTimeStep() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getTimeStep(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeStepResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetTimeStep(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetTimeStepResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getCurrentTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getCurrentTime() { - ::grpc::Service::MarkMethodStreamed(13, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetTimeResponse>(std::bind(&WithStreamedUnaryMethod_getCurrentTime::StreamedgetCurrentTime, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getCurrentTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getCurrentTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetCurrentTime(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetTimeResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getStartTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getStartTime() { - ::grpc::Service::MarkMethodStreamed(14, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetTimeResponse>(std::bind(&WithStreamedUnaryMethod_getStartTime::StreamedgetStartTime, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getStartTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getStartTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetStartTime(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetTimeResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getEndTime : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getEndTime() { - ::grpc::Service::MarkMethodStreamed(15, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::Empty, ::bmi::GetTimeResponse>(std::bind(&WithStreamedUnaryMethod_getEndTime::StreamedgetEndTime, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getEndTime() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getEndTime(::grpc::ServerContext* context, const ::bmi::Empty* request, ::bmi::GetTimeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetEndTime(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::Empty,::bmi::GetTimeResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getVarGrid : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getVarGrid() { - ::grpc::Service::MarkMethodStreamed(16, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GetVarRequest, ::bmi::GetVarGridResponse>(std::bind(&WithStreamedUnaryMethod_getVarGrid::StreamedgetVarGrid, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getVarGrid() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getVarGrid(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarGridResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetVarGrid(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GetVarRequest,::bmi::GetVarGridResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getVarType : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getVarType() { - ::grpc::Service::MarkMethodStreamed(17, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GetVarRequest, ::bmi::GetVarTypeResponse>(std::bind(&WithStreamedUnaryMethod_getVarType::StreamedgetVarType, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getVarType() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getVarType(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarTypeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetVarType(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GetVarRequest,::bmi::GetVarTypeResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getVarItemSize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getVarItemSize() { - ::grpc::Service::MarkMethodStreamed(18, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GetVarRequest, ::bmi::GetVarItemSizeResponse>(std::bind(&WithStreamedUnaryMethod_getVarItemSize::StreamedgetVarItemSize, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getVarItemSize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getVarItemSize(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarItemSizeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetVarItemSize(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GetVarRequest,::bmi::GetVarItemSizeResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getVarUnits : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getVarUnits() { - ::grpc::Service::MarkMethodStreamed(19, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GetVarRequest, ::bmi::GetVarUnitsResponse>(std::bind(&WithStreamedUnaryMethod_getVarUnits::StreamedgetVarUnits, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getVarUnits() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getVarUnits(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarUnitsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetVarUnits(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GetVarRequest,::bmi::GetVarUnitsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getVarNBytes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getVarNBytes() { - ::grpc::Service::MarkMethodStreamed(20, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GetVarRequest, ::bmi::GetVarNBytesResponse>(std::bind(&WithStreamedUnaryMethod_getVarNBytes::StreamedgetVarNBytes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getVarNBytes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getVarNBytes(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetVarNBytesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetVarNBytes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GetVarRequest,::bmi::GetVarNBytesResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getValue : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getValue() { - ::grpc::Service::MarkMethodStreamed(21, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GetVarRequest, ::bmi::GetValueResponse>(std::bind(&WithStreamedUnaryMethod_getValue::StreamedgetValue, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getValue() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getValue(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::GetValueResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetValue(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GetVarRequest,::bmi::GetValueResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getValuePtr : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getValuePtr() { - ::grpc::Service::MarkMethodStreamed(22, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GetVarRequest, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_getValuePtr::StreamedgetValuePtr, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getValuePtr() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getValuePtr(::grpc::ServerContext* context, const ::bmi::GetVarRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetValuePtr(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GetVarRequest,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getValueAtIndices : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getValueAtIndices() { - ::grpc::Service::MarkMethodStreamed(23, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GetValueAtIndicesRequest, ::bmi::GetValueAtIndicesResponse>(std::bind(&WithStreamedUnaryMethod_getValueAtIndices::StreamedgetValueAtIndices, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getValueAtIndices() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getValueAtIndices(::grpc::ServerContext* context, const ::bmi::GetValueAtIndicesRequest* request, ::bmi::GetValueAtIndicesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetValueAtIndices(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GetValueAtIndicesRequest,::bmi::GetValueAtIndicesResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_setValue : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_setValue() { - ::grpc::Service::MarkMethodStreamed(24, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::SetValueRequest, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_setValue::StreamedsetValue, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_setValue() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status setValue(::grpc::ServerContext* context, const ::bmi::SetValueRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedsetValue(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::SetValueRequest,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_setValuePtr : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_setValuePtr() { - ::grpc::Service::MarkMethodStreamed(25, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::SetValuePtrRequest, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_setValuePtr::StreamedsetValuePtr, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_setValuePtr() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status setValuePtr(::grpc::ServerContext* context, const ::bmi::SetValuePtrRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedsetValuePtr(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::SetValuePtrRequest,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_setValueAtIndices : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_setValueAtIndices() { - ::grpc::Service::MarkMethodStreamed(26, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::SetValueAtIndicesRequest, ::bmi::Empty>(std::bind(&WithStreamedUnaryMethod_setValueAtIndices::StreamedsetValueAtIndices, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_setValueAtIndices() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status setValueAtIndices(::grpc::ServerContext* context, const ::bmi::SetValueAtIndicesRequest* request, ::bmi::Empty* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedsetValueAtIndices(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::SetValueAtIndicesRequest,::bmi::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridSize : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridSize() { - ::grpc::Service::MarkMethodStreamed(27, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridSizeResponse>(std::bind(&WithStreamedUnaryMethod_getGridSize::StreamedgetGridSize, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridSize() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridSize(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSizeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridSize(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridSizeResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridType : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridType() { - ::grpc::Service::MarkMethodStreamed(28, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridTypeResponse>(std::bind(&WithStreamedUnaryMethod_getGridType::StreamedgetGridType, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridType() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridType(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridTypeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridType(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridTypeResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridRank : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridRank() { - ::grpc::Service::MarkMethodStreamed(29, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridRankResponse>(std::bind(&WithStreamedUnaryMethod_getGridRank::StreamedgetGridRank, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridRank() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridRank(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridRankResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridRank(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridRankResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridShape : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridShape() { - ::grpc::Service::MarkMethodStreamed(30, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridShapeResponse>(std::bind(&WithStreamedUnaryMethod_getGridShape::StreamedgetGridShape, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridShape() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridShape(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridShapeResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridShape(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridShapeResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridSpacing : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridSpacing() { - ::grpc::Service::MarkMethodStreamed(31, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridSpacingResponse>(std::bind(&WithStreamedUnaryMethod_getGridSpacing::StreamedgetGridSpacing, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridSpacing() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridSpacing(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridSpacingResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridSpacing(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridSpacingResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridOrigin : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridOrigin() { - ::grpc::Service::MarkMethodStreamed(32, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridOriginResponse>(std::bind(&WithStreamedUnaryMethod_getGridOrigin::StreamedgetGridOrigin, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridOrigin() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridOrigin(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOriginResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridOrigin(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridOriginResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridX : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridX() { - ::grpc::Service::MarkMethodStreamed(33, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridPointsResponse>(std::bind(&WithStreamedUnaryMethod_getGridX::StreamedgetGridX, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridX() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridX(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridX(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridPointsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridY : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridY() { - ::grpc::Service::MarkMethodStreamed(34, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridPointsResponse>(std::bind(&WithStreamedUnaryMethod_getGridY::StreamedgetGridY, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridY() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridY(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridY(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridPointsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridZ : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridZ() { - ::grpc::Service::MarkMethodStreamed(35, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridPointsResponse>(std::bind(&WithStreamedUnaryMethod_getGridZ::StreamedgetGridZ, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridZ() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridZ(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridPointsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridZ(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridPointsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridCellCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridCellCount() { - ::grpc::Service::MarkMethodStreamed(36, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetCountResponse>(std::bind(&WithStreamedUnaryMethod_getGridCellCount::StreamedgetGridCellCount, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridCellCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridCellCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridCellCount(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetCountResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridPointCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridPointCount() { - ::grpc::Service::MarkMethodStreamed(37, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetCountResponse>(std::bind(&WithStreamedUnaryMethod_getGridPointCount::StreamedgetGridPointCount, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridPointCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridPointCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridPointCount(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetCountResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridVertexCount : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridVertexCount() { - ::grpc::Service::MarkMethodStreamed(38, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetCountResponse>(std::bind(&WithStreamedUnaryMethod_getGridVertexCount::StreamedgetGridVertexCount, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridVertexCount() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridVertexCount(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetCountResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridVertexCount(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetCountResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridConnectivity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridConnectivity() { - ::grpc::Service::MarkMethodStreamed(39, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridConnectivityResponse>(std::bind(&WithStreamedUnaryMethod_getGridConnectivity::StreamedgetGridConnectivity, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridConnectivity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridConnectivity(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridConnectivityResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridConnectivity(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridConnectivityResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_getGridOffset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_getGridOffset() { - ::grpc::Service::MarkMethodStreamed(40, - new ::grpc::internal::StreamedUnaryHandler< ::bmi::GridRequest, ::bmi::GetGridOffsetResponse>(std::bind(&WithStreamedUnaryMethod_getGridOffset::StreamedgetGridOffset, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_getGridOffset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status getGridOffset(::grpc::ServerContext* context, const ::bmi::GridRequest* request, ::bmi::GetGridOffsetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedgetGridOffset(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::bmi::GridRequest,::bmi::GetGridOffsetResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_initialize > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_initialize > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; -}; - -} // namespace bmi - - -#endif // GRPC_bmi_2eproto__INCLUDED diff --git a/src/bmi.pb.cc b/src/bmi.pb.cc deleted file mode 100644 index f5d4e55..0000000 --- a/src/bmi.pb.cc +++ /dev/null @@ -1,11631 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: bmi.proto - -#include "bmi.pb.h" - -#include - -#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 bmi { -class EmptyDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _Empty_default_instance_; -class InitializeRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _InitializeRequest_default_instance_; -class UpdateUntilRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _UpdateUntilRequest_default_instance_; -class UpdateFracRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _UpdateFracRequest_default_instance_; -class GetComponentNameResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetComponentNameResponse_default_instance_; -class GetVarNameCountResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetVarNameCountResponse_default_instance_; -class GetVarNamesResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetVarNamesResponse_default_instance_; -class GetTimeUnitsResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetTimeUnitsResponse_default_instance_; -class GetTimeStepResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetTimeStepResponse_default_instance_; -class GetTimeResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetTimeResponse_default_instance_; -class GetVarRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetVarRequest_default_instance_; -class GetVarGridResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetVarGridResponse_default_instance_; -class GetVarTypeResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetVarTypeResponse_default_instance_; -class GetVarItemSizeResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetVarItemSizeResponse_default_instance_; -class GetVarUnitsResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetVarUnitsResponse_default_instance_; -class GetVarNBytesResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetVarNBytesResponse_default_instance_; -class IntArrayMessageDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _IntArrayMessage_default_instance_; -class FloatArrayMessageDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _FloatArrayMessage_default_instance_; -class DoubleArrayMessageDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _DoubleArrayMessage_default_instance_; -class GetValueResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; - const ::bmi::IntArrayMessage* values_int_; - const ::bmi::FloatArrayMessage* values_float_; - const ::bmi::DoubleArrayMessage* values_double_; -} _GetValueResponse_default_instance_; -class GetValueAtIndicesRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetValueAtIndicesRequest_default_instance_; -class GetValueAtIndicesResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; - const ::bmi::IntArrayMessage* values_int_; - const ::bmi::FloatArrayMessage* values_float_; - const ::bmi::DoubleArrayMessage* values_double_; -} _GetValueAtIndicesResponse_default_instance_; -class SetValueRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; - const ::bmi::IntArrayMessage* values_int_; - const ::bmi::FloatArrayMessage* values_float_; - const ::bmi::DoubleArrayMessage* values_double_; -} _SetValueRequest_default_instance_; -class SetValuePtrRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _SetValuePtrRequest_default_instance_; -class SetValueAtIndicesRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; - const ::bmi::IntArrayMessage* values_int_; - const ::bmi::FloatArrayMessage* values_float_; - const ::bmi::DoubleArrayMessage* values_double_; -} _SetValueAtIndicesRequest_default_instance_; -class GridRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GridRequest_default_instance_; -class GetGridSizeResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetGridSizeResponse_default_instance_; -class GetGridRankResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetGridRankResponse_default_instance_; -class GetGridTypeResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetGridTypeResponse_default_instance_; -class GetGridShapeResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetGridShapeResponse_default_instance_; -class GetGridSpacingResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetGridSpacingResponse_default_instance_; -class GetGridOriginResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetGridOriginResponse_default_instance_; -class GetGridPointsResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetGridPointsResponse_default_instance_; -class GetCountResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetCountResponse_default_instance_; -class GetGridConnectivityResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetGridConnectivityResponse_default_instance_; -class GetGridOffsetResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed - _instance; -} _GetGridOffsetResponse_default_instance_; -} // namespace bmi -namespace protobuf_bmi_2eproto { -void InitDefaultsEmptyImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_Empty_default_instance_; - new (ptr) ::bmi::Empty(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::Empty::InitAsDefaultInstance(); -} - -void InitDefaultsEmpty() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEmptyImpl); -} - -void InitDefaultsInitializeRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_InitializeRequest_default_instance_; - new (ptr) ::bmi::InitializeRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::InitializeRequest::InitAsDefaultInstance(); -} - -void InitDefaultsInitializeRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsInitializeRequestImpl); -} - -void InitDefaultsUpdateUntilRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_UpdateUntilRequest_default_instance_; - new (ptr) ::bmi::UpdateUntilRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::UpdateUntilRequest::InitAsDefaultInstance(); -} - -void InitDefaultsUpdateUntilRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsUpdateUntilRequestImpl); -} - -void InitDefaultsUpdateFracRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_UpdateFracRequest_default_instance_; - new (ptr) ::bmi::UpdateFracRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::UpdateFracRequest::InitAsDefaultInstance(); -} - -void InitDefaultsUpdateFracRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsUpdateFracRequestImpl); -} - -void InitDefaultsGetComponentNameResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetComponentNameResponse_default_instance_; - new (ptr) ::bmi::GetComponentNameResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetComponentNameResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetComponentNameResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetComponentNameResponseImpl); -} - -void InitDefaultsGetVarNameCountResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetVarNameCountResponse_default_instance_; - new (ptr) ::bmi::GetVarNameCountResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetVarNameCountResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetVarNameCountResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetVarNameCountResponseImpl); -} - -void InitDefaultsGetVarNamesResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetVarNamesResponse_default_instance_; - new (ptr) ::bmi::GetVarNamesResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetVarNamesResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetVarNamesResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetVarNamesResponseImpl); -} - -void InitDefaultsGetTimeUnitsResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetTimeUnitsResponse_default_instance_; - new (ptr) ::bmi::GetTimeUnitsResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetTimeUnitsResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetTimeUnitsResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTimeUnitsResponseImpl); -} - -void InitDefaultsGetTimeStepResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetTimeStepResponse_default_instance_; - new (ptr) ::bmi::GetTimeStepResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetTimeStepResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetTimeStepResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTimeStepResponseImpl); -} - -void InitDefaultsGetTimeResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetTimeResponse_default_instance_; - new (ptr) ::bmi::GetTimeResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetTimeResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetTimeResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTimeResponseImpl); -} - -void InitDefaultsGetVarRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetVarRequest_default_instance_; - new (ptr) ::bmi::GetVarRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetVarRequest::InitAsDefaultInstance(); -} - -void InitDefaultsGetVarRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetVarRequestImpl); -} - -void InitDefaultsGetVarGridResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetVarGridResponse_default_instance_; - new (ptr) ::bmi::GetVarGridResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetVarGridResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetVarGridResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetVarGridResponseImpl); -} - -void InitDefaultsGetVarTypeResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetVarTypeResponse_default_instance_; - new (ptr) ::bmi::GetVarTypeResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetVarTypeResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetVarTypeResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetVarTypeResponseImpl); -} - -void InitDefaultsGetVarItemSizeResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetVarItemSizeResponse_default_instance_; - new (ptr) ::bmi::GetVarItemSizeResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetVarItemSizeResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetVarItemSizeResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetVarItemSizeResponseImpl); -} - -void InitDefaultsGetVarUnitsResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetVarUnitsResponse_default_instance_; - new (ptr) ::bmi::GetVarUnitsResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetVarUnitsResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetVarUnitsResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetVarUnitsResponseImpl); -} - -void InitDefaultsGetVarNBytesResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetVarNBytesResponse_default_instance_; - new (ptr) ::bmi::GetVarNBytesResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetVarNBytesResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetVarNBytesResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetVarNBytesResponseImpl); -} - -void InitDefaultsIntArrayMessageImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_IntArrayMessage_default_instance_; - new (ptr) ::bmi::IntArrayMessage(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::IntArrayMessage::InitAsDefaultInstance(); -} - -void InitDefaultsIntArrayMessage() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIntArrayMessageImpl); -} - -void InitDefaultsFloatArrayMessageImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_FloatArrayMessage_default_instance_; - new (ptr) ::bmi::FloatArrayMessage(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::FloatArrayMessage::InitAsDefaultInstance(); -} - -void InitDefaultsFloatArrayMessage() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsFloatArrayMessageImpl); -} - -void InitDefaultsDoubleArrayMessageImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_DoubleArrayMessage_default_instance_; - new (ptr) ::bmi::DoubleArrayMessage(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::DoubleArrayMessage::InitAsDefaultInstance(); -} - -void InitDefaultsDoubleArrayMessage() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDoubleArrayMessageImpl); -} - -void InitDefaultsGetValueResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_bmi_2eproto::InitDefaultsIntArrayMessage(); - protobuf_bmi_2eproto::InitDefaultsFloatArrayMessage(); - protobuf_bmi_2eproto::InitDefaultsDoubleArrayMessage(); - { - void* ptr = &::bmi::_GetValueResponse_default_instance_; - new (ptr) ::bmi::GetValueResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetValueResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetValueResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetValueResponseImpl); -} - -void InitDefaultsGetValueAtIndicesRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetValueAtIndicesRequest_default_instance_; - new (ptr) ::bmi::GetValueAtIndicesRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetValueAtIndicesRequest::InitAsDefaultInstance(); -} - -void InitDefaultsGetValueAtIndicesRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetValueAtIndicesRequestImpl); -} - -void InitDefaultsGetValueAtIndicesResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_bmi_2eproto::InitDefaultsIntArrayMessage(); - protobuf_bmi_2eproto::InitDefaultsFloatArrayMessage(); - protobuf_bmi_2eproto::InitDefaultsDoubleArrayMessage(); - { - void* ptr = &::bmi::_GetValueAtIndicesResponse_default_instance_; - new (ptr) ::bmi::GetValueAtIndicesResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetValueAtIndicesResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetValueAtIndicesResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetValueAtIndicesResponseImpl); -} - -void InitDefaultsSetValueRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_bmi_2eproto::InitDefaultsIntArrayMessage(); - protobuf_bmi_2eproto::InitDefaultsFloatArrayMessage(); - protobuf_bmi_2eproto::InitDefaultsDoubleArrayMessage(); - { - void* ptr = &::bmi::_SetValueRequest_default_instance_; - new (ptr) ::bmi::SetValueRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::SetValueRequest::InitAsDefaultInstance(); -} - -void InitDefaultsSetValueRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetValueRequestImpl); -} - -void InitDefaultsSetValuePtrRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_SetValuePtrRequest_default_instance_; - new (ptr) ::bmi::SetValuePtrRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::SetValuePtrRequest::InitAsDefaultInstance(); -} - -void InitDefaultsSetValuePtrRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetValuePtrRequestImpl); -} - -void InitDefaultsSetValueAtIndicesRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_bmi_2eproto::InitDefaultsIntArrayMessage(); - protobuf_bmi_2eproto::InitDefaultsFloatArrayMessage(); - protobuf_bmi_2eproto::InitDefaultsDoubleArrayMessage(); - { - void* ptr = &::bmi::_SetValueAtIndicesRequest_default_instance_; - new (ptr) ::bmi::SetValueAtIndicesRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::SetValueAtIndicesRequest::InitAsDefaultInstance(); -} - -void InitDefaultsSetValueAtIndicesRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetValueAtIndicesRequestImpl); -} - -void InitDefaultsGridRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GridRequest_default_instance_; - new (ptr) ::bmi::GridRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GridRequest::InitAsDefaultInstance(); -} - -void InitDefaultsGridRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGridRequestImpl); -} - -void InitDefaultsGetGridSizeResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetGridSizeResponse_default_instance_; - new (ptr) ::bmi::GetGridSizeResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetGridSizeResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetGridSizeResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetGridSizeResponseImpl); -} - -void InitDefaultsGetGridRankResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetGridRankResponse_default_instance_; - new (ptr) ::bmi::GetGridRankResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetGridRankResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetGridRankResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetGridRankResponseImpl); -} - -void InitDefaultsGetGridTypeResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetGridTypeResponse_default_instance_; - new (ptr) ::bmi::GetGridTypeResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetGridTypeResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetGridTypeResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetGridTypeResponseImpl); -} - -void InitDefaultsGetGridShapeResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetGridShapeResponse_default_instance_; - new (ptr) ::bmi::GetGridShapeResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetGridShapeResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetGridShapeResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetGridShapeResponseImpl); -} - -void InitDefaultsGetGridSpacingResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetGridSpacingResponse_default_instance_; - new (ptr) ::bmi::GetGridSpacingResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetGridSpacingResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetGridSpacingResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetGridSpacingResponseImpl); -} - -void InitDefaultsGetGridOriginResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetGridOriginResponse_default_instance_; - new (ptr) ::bmi::GetGridOriginResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetGridOriginResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetGridOriginResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetGridOriginResponseImpl); -} - -void InitDefaultsGetGridPointsResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetGridPointsResponse_default_instance_; - new (ptr) ::bmi::GetGridPointsResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetGridPointsResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetGridPointsResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetGridPointsResponseImpl); -} - -void InitDefaultsGetCountResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetCountResponse_default_instance_; - new (ptr) ::bmi::GetCountResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetCountResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetCountResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetCountResponseImpl); -} - -void InitDefaultsGetGridConnectivityResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetGridConnectivityResponse_default_instance_; - new (ptr) ::bmi::GetGridConnectivityResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetGridConnectivityResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetGridConnectivityResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetGridConnectivityResponseImpl); -} - -void InitDefaultsGetGridOffsetResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::bmi::_GetGridOffsetResponse_default_instance_; - new (ptr) ::bmi::GetGridOffsetResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::bmi::GetGridOffsetResponse::InitAsDefaultInstance(); -} - -void InitDefaultsGetGridOffsetResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetGridOffsetResponseImpl); -} - -::google::protobuf::Metadata file_level_metadata[36]; - -const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::Empty, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::InitializeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::InitializeRequest, config_file_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::UpdateUntilRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::UpdateUntilRequest, until_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::UpdateFracRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::UpdateFracRequest, frac_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetComponentNameResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetComponentNameResponse, name_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarNameCountResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarNameCountResponse, count_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarNamesResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarNamesResponse, names_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetTimeUnitsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetTimeUnitsResponse, units_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetTimeStepResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetTimeStepResponse, interval_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetTimeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetTimeResponse, time_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarRequest, name_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarGridResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarGridResponse, grid_id_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarTypeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarTypeResponse, type_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarItemSizeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarItemSizeResponse, size_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarUnitsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarUnitsResponse, units_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarNBytesResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetVarNBytesResponse, nbytes_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::IntArrayMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::IntArrayMessage, values_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::FloatArrayMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::FloatArrayMessage, values_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::DoubleArrayMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::DoubleArrayMessage, values_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueResponse, _internal_metadata_), - ~0u, // no _extensions_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueResponse, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::bmi::GetValueResponseDefaultTypeInternal, values_int_), - offsetof(::bmi::GetValueResponseDefaultTypeInternal, values_float_), - offsetof(::bmi::GetValueResponseDefaultTypeInternal, values_double_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueResponse, shape_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueResponse, values_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueAtIndicesRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueAtIndicesRequest, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueAtIndicesRequest, indices_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueAtIndicesRequest, index_size_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueAtIndicesResponse, _internal_metadata_), - ~0u, // no _extensions_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueAtIndicesResponse, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::bmi::GetValueAtIndicesResponseDefaultTypeInternal, values_int_), - offsetof(::bmi::GetValueAtIndicesResponseDefaultTypeInternal, values_float_), - offsetof(::bmi::GetValueAtIndicesResponseDefaultTypeInternal, values_double_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueAtIndicesResponse, shape_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetValueAtIndicesResponse, values_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueRequest, _internal_metadata_), - ~0u, // no _extensions_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueRequest, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueRequest, name_), - offsetof(::bmi::SetValueRequestDefaultTypeInternal, values_int_), - offsetof(::bmi::SetValueRequestDefaultTypeInternal, values_float_), - offsetof(::bmi::SetValueRequestDefaultTypeInternal, values_double_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueRequest, shape_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueRequest, values_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValuePtrRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValuePtrRequest, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValuePtrRequest, ref_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueAtIndicesRequest, _internal_metadata_), - ~0u, // no _extensions_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueAtIndicesRequest, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueAtIndicesRequest, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueAtIndicesRequest, indices_), - offsetof(::bmi::SetValueAtIndicesRequestDefaultTypeInternal, values_int_), - offsetof(::bmi::SetValueAtIndicesRequestDefaultTypeInternal, values_float_), - offsetof(::bmi::SetValueAtIndicesRequestDefaultTypeInternal, values_double_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueAtIndicesRequest, index_size_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::SetValueAtIndicesRequest, values_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GridRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GridRequest, grid_id_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridSizeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridSizeResponse, size_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridRankResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridRankResponse, rank_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridTypeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridTypeResponse, type_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridShapeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridShapeResponse, shape_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridSpacingResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridSpacingResponse, spacing_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridOriginResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridOriginResponse, origin_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridPointsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridPointsResponse, coordinates_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetCountResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetCountResponse, count_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridConnectivityResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridConnectivityResponse, links_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridOffsetResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::bmi::GetGridOffsetResponse, offsets_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::bmi::Empty)}, - { 5, -1, sizeof(::bmi::InitializeRequest)}, - { 11, -1, sizeof(::bmi::UpdateUntilRequest)}, - { 17, -1, sizeof(::bmi::UpdateFracRequest)}, - { 23, -1, sizeof(::bmi::GetComponentNameResponse)}, - { 29, -1, sizeof(::bmi::GetVarNameCountResponse)}, - { 35, -1, sizeof(::bmi::GetVarNamesResponse)}, - { 41, -1, sizeof(::bmi::GetTimeUnitsResponse)}, - { 47, -1, sizeof(::bmi::GetTimeStepResponse)}, - { 53, -1, sizeof(::bmi::GetTimeResponse)}, - { 59, -1, sizeof(::bmi::GetVarRequest)}, - { 65, -1, sizeof(::bmi::GetVarGridResponse)}, - { 71, -1, sizeof(::bmi::GetVarTypeResponse)}, - { 77, -1, sizeof(::bmi::GetVarItemSizeResponse)}, - { 83, -1, sizeof(::bmi::GetVarUnitsResponse)}, - { 89, -1, sizeof(::bmi::GetVarNBytesResponse)}, - { 95, -1, sizeof(::bmi::IntArrayMessage)}, - { 101, -1, sizeof(::bmi::FloatArrayMessage)}, - { 107, -1, sizeof(::bmi::DoubleArrayMessage)}, - { 113, -1, sizeof(::bmi::GetValueResponse)}, - { 123, -1, sizeof(::bmi::GetValueAtIndicesRequest)}, - { 131, -1, sizeof(::bmi::GetValueAtIndicesResponse)}, - { 141, -1, sizeof(::bmi::SetValueRequest)}, - { 152, -1, sizeof(::bmi::SetValuePtrRequest)}, - { 159, -1, sizeof(::bmi::SetValueAtIndicesRequest)}, - { 171, -1, sizeof(::bmi::GridRequest)}, - { 177, -1, sizeof(::bmi::GetGridSizeResponse)}, - { 183, -1, sizeof(::bmi::GetGridRankResponse)}, - { 189, -1, sizeof(::bmi::GetGridTypeResponse)}, - { 195, -1, sizeof(::bmi::GetGridShapeResponse)}, - { 201, -1, sizeof(::bmi::GetGridSpacingResponse)}, - { 207, -1, sizeof(::bmi::GetGridOriginResponse)}, - { 213, -1, sizeof(::bmi::GetGridPointsResponse)}, - { 219, -1, sizeof(::bmi::GetCountResponse)}, - { 225, -1, sizeof(::bmi::GetGridConnectivityResponse)}, - { 231, -1, sizeof(::bmi::GetGridOffsetResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::bmi::_Empty_default_instance_), - reinterpret_cast(&::bmi::_InitializeRequest_default_instance_), - reinterpret_cast(&::bmi::_UpdateUntilRequest_default_instance_), - reinterpret_cast(&::bmi::_UpdateFracRequest_default_instance_), - reinterpret_cast(&::bmi::_GetComponentNameResponse_default_instance_), - reinterpret_cast(&::bmi::_GetVarNameCountResponse_default_instance_), - reinterpret_cast(&::bmi::_GetVarNamesResponse_default_instance_), - reinterpret_cast(&::bmi::_GetTimeUnitsResponse_default_instance_), - reinterpret_cast(&::bmi::_GetTimeStepResponse_default_instance_), - reinterpret_cast(&::bmi::_GetTimeResponse_default_instance_), - reinterpret_cast(&::bmi::_GetVarRequest_default_instance_), - reinterpret_cast(&::bmi::_GetVarGridResponse_default_instance_), - reinterpret_cast(&::bmi::_GetVarTypeResponse_default_instance_), - reinterpret_cast(&::bmi::_GetVarItemSizeResponse_default_instance_), - reinterpret_cast(&::bmi::_GetVarUnitsResponse_default_instance_), - reinterpret_cast(&::bmi::_GetVarNBytesResponse_default_instance_), - reinterpret_cast(&::bmi::_IntArrayMessage_default_instance_), - reinterpret_cast(&::bmi::_FloatArrayMessage_default_instance_), - reinterpret_cast(&::bmi::_DoubleArrayMessage_default_instance_), - reinterpret_cast(&::bmi::_GetValueResponse_default_instance_), - reinterpret_cast(&::bmi::_GetValueAtIndicesRequest_default_instance_), - reinterpret_cast(&::bmi::_GetValueAtIndicesResponse_default_instance_), - reinterpret_cast(&::bmi::_SetValueRequest_default_instance_), - reinterpret_cast(&::bmi::_SetValuePtrRequest_default_instance_), - reinterpret_cast(&::bmi::_SetValueAtIndicesRequest_default_instance_), - reinterpret_cast(&::bmi::_GridRequest_default_instance_), - reinterpret_cast(&::bmi::_GetGridSizeResponse_default_instance_), - reinterpret_cast(&::bmi::_GetGridRankResponse_default_instance_), - reinterpret_cast(&::bmi::_GetGridTypeResponse_default_instance_), - reinterpret_cast(&::bmi::_GetGridShapeResponse_default_instance_), - reinterpret_cast(&::bmi::_GetGridSpacingResponse_default_instance_), - reinterpret_cast(&::bmi::_GetGridOriginResponse_default_instance_), - reinterpret_cast(&::bmi::_GetGridPointsResponse_default_instance_), - reinterpret_cast(&::bmi::_GetCountResponse_default_instance_), - reinterpret_cast(&::bmi::_GetGridConnectivityResponse_default_instance_), - reinterpret_cast(&::bmi::_GetGridOffsetResponse_default_instance_), -}; - -void protobuf_AssignDescriptors() { - AddDescriptors(); - ::google::protobuf::MessageFactory* factory = NULL; - AssignDescriptors( - "bmi.proto", schemas, file_default_instances, TableStruct::offsets, factory, - file_level_metadata, NULL, NULL); -} - -void protobuf_AssignDescriptorsOnce() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&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, 36); -} - -void AddDescriptorsImpl() { - InitDefaults(); - static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - "\n\tbmi.proto\022\003bmi\"\007\n\005Empty\"(\n\021InitializeR" - "equest\022\023\n\013config_file\030\001 \001(\t\"#\n\022UpdateUnt" - "ilRequest\022\r\n\005until\030\001 \001(\001\"!\n\021UpdateFracRe" - "quest\022\014\n\004frac\030\001 \001(\001\"(\n\030GetComponentNameR" - "esponse\022\014\n\004name\030\001 \001(\t\"(\n\027GetVarNameCount" - "Response\022\r\n\005count\030\001 \001(\005\"$\n\023GetVarNamesRe" - "sponse\022\r\n\005names\030\001 \003(\t\"%\n\024GetTimeUnitsRes" - "ponse\022\r\n\005units\030\001 \001(\t\"\'\n\023GetTimeStepRespo" - "nse\022\020\n\010interval\030\001 \001(\001\"\037\n\017GetTimeResponse" - "\022\014\n\004time\030\001 \001(\001\"\035\n\rGetVarRequest\022\014\n\004name\030" - "\001 \001(\t\"%\n\022GetVarGridResponse\022\017\n\007grid_id\030\001" - " \001(\005\"\"\n\022GetVarTypeResponse\022\014\n\004type\030\001 \001(\t" - "\"&\n\026GetVarItemSizeResponse\022\014\n\004size\030\001 \001(\005" - "\"$\n\023GetVarUnitsResponse\022\r\n\005units\030\001 \001(\t\"&" - "\n\024GetVarNBytesResponse\022\016\n\006nbytes\030\001 \001(\005\"%" - "\n\017IntArrayMessage\022\022\n\006values\030\001 \003(\005B\002\020\001\"\'\n" - "\021FloatArrayMessage\022\022\n\006values\030\001 \003(\002B\002\020\001\"(" - "\n\022DoubleArrayMessage\022\022\n\006values\030\001 \003(\001B\002\020\001" - "\"\275\001\n\020GetValueResponse\022*\n\nvalues_int\030\001 \001(" - "\0132\024.bmi.IntArrayMessageH\000\022.\n\014values_floa" - "t\030\002 \001(\0132\026.bmi.FloatArrayMessageH\000\0220\n\rval" - "ues_double\030\003 \001(\0132\027.bmi.DoubleArrayMessag" - "eH\000\022\021\n\005shape\030\004 \003(\005B\002\020\001B\010\n\006values\"Q\n\030GetV" - "alueAtIndicesRequest\022\014\n\004name\030\001 \001(\t\022\023\n\007in" - "dices\030\002 \003(\005B\002\020\001\022\022\n\nindex_size\030\003 \001(\005\"\306\001\n\031" - "GetValueAtIndicesResponse\022*\n\nvalues_int\030" - "\001 \001(\0132\024.bmi.IntArrayMessageH\000\022.\n\014values_" - "float\030\002 \001(\0132\026.bmi.FloatArrayMessageH\000\0220\n" - "\rvalues_double\030\003 \001(\0132\027.bmi.DoubleArrayMe" - "ssageH\000\022\021\n\005shape\030\004 \003(\005B\002\020\001B\010\n\006values\"\312\001\n" - "\017SetValueRequest\022\014\n\004name\030\001 \001(\t\022*\n\nvalues" - "_int\030\002 \001(\0132\024.bmi.IntArrayMessageH\000\022.\n\014va" - "lues_float\030\003 \001(\0132\026.bmi.FloatArrayMessage" - "H\000\0220\n\rvalues_double\030\004 \001(\0132\027.bmi.DoubleAr" - "rayMessageH\000\022\021\n\005shape\030\005 \003(\005B\002\020\001B\010\n\006value" - "s\"/\n\022SetValuePtrRequest\022\014\n\004name\030\001 \001(\t\022\013\n" - "\003ref\030\002 \001(\005\"\351\001\n\030SetValueAtIndicesRequest\022" - "\014\n\004name\030\001 \001(\t\022\023\n\007indices\030\002 \003(\005B\002\020\001\022*\n\nva" - "lues_int\030\003 \001(\0132\024.bmi.IntArrayMessageH\000\022." - "\n\014values_float\030\004 \001(\0132\026.bmi.FloatArrayMes" - "sageH\000\0220\n\rvalues_double\030\005 \001(\0132\027.bmi.Doub" - "leArrayMessageH\000\022\022\n\nindex_size\030\006 \001(\005B\010\n\006" - "values\"\036\n\013GridRequest\022\017\n\007grid_id\030\001 \001(\005\"#" - "\n\023GetGridSizeResponse\022\014\n\004size\030\001 \001(\005\"#\n\023G" - "etGridRankResponse\022\014\n\004rank\030\001 \001(\005\"#\n\023GetG" - "ridTypeResponse\022\014\n\004type\030\001 \001(\t\")\n\024GetGrid" - "ShapeResponse\022\021\n\005shape\030\001 \003(\005B\002\020\001\"-\n\026GetG" - "ridSpacingResponse\022\023\n\007spacing\030\001 \003(\001B\002\020\001\"" - "+\n\025GetGridOriginResponse\022\022\n\006origin\030\001 \003(\001" - "B\002\020\001\"0\n\025GetGridPointsResponse\022\027\n\013coordin" - "ates\030\001 \003(\001B\002\020\001\"!\n\020GetCountResponse\022\r\n\005co" - "unt\030\001 \001(\005\"0\n\033GetGridConnectivityResponse" - "\022\021\n\005links\030\001 \003(\005B\002\020\001\",\n\025GetGridOffsetResp" - "onse\022\023\n\007offsets\030\001 \003(\005B\002\020\0012\214\023\n\nBmiService" - "\0222\n\ninitialize\022\026.bmi.InitializeRequest\032\n" - ".bmi.Empty\"\000\022\"\n\006update\022\n.bmi.Empty\032\n.bmi" - ".Empty\"\000\0224\n\013updateUntil\022\027.bmi.UpdateUnti" - "lRequest\032\n.bmi.Empty\"\000\0222\n\nupdateFrac\022\026.b" - "mi.UpdateFracRequest\032\n.bmi.Empty\"\000\022$\n\010fi" - "nalize\022\n.bmi.Empty\032\n.bmi.Empty\"\000\022$\n\010runM" - "odel\022\n.bmi.Empty\032\n.bmi.Empty\"\000\022\?\n\020getCom" - "ponentName\022\n.bmi.Empty\032\035.bmi.GetComponen" - "tNameResponse\"\000\022B\n\024getInputVarNameCount\022" - "\n.bmi.Empty\032\034.bmi.GetVarNameCountRespons" - "e\"\000\022C\n\025getOutputVarNameCount\022\n.bmi.Empty" - "\032\034.bmi.GetVarNameCountResponse\"\000\022:\n\020getI" - "nputVarNames\022\n.bmi.Empty\032\030.bmi.GetVarNam" - "esResponse\"\000\022;\n\021getOutputVarNames\022\n.bmi." - "Empty\032\030.bmi.GetVarNamesResponse\"\000\0227\n\014get" - "TimeUnits\022\n.bmi.Empty\032\031.bmi.GetTimeUnits" - "Response\"\000\0225\n\013getTimeStep\022\n.bmi.Empty\032\030." - "bmi.GetTimeStepResponse\"\000\0224\n\016getCurrentT" - "ime\022\n.bmi.Empty\032\024.bmi.GetTimeResponse\"\000\022" - "2\n\014getStartTime\022\n.bmi.Empty\032\024.bmi.GetTim" - "eResponse\"\000\0220\n\ngetEndTime\022\n.bmi.Empty\032\024." - "bmi.GetTimeResponse\"\000\022;\n\ngetVarGrid\022\022.bm" - "i.GetVarRequest\032\027.bmi.GetVarGridResponse" - "\"\000\022;\n\ngetVarType\022\022.bmi.GetVarRequest\032\027.b" - "mi.GetVarTypeResponse\"\000\022C\n\016getVarItemSiz" - "e\022\022.bmi.GetVarRequest\032\033.bmi.GetVarItemSi" - "zeResponse\"\000\022=\n\013getVarUnits\022\022.bmi.GetVar" - "Request\032\030.bmi.GetVarUnitsResponse\"\000\022\?\n\014g" - "etVarNBytes\022\022.bmi.GetVarRequest\032\031.bmi.Ge" - "tVarNBytesResponse\"\000\0227\n\010getValue\022\022.bmi.G" - "etVarRequest\032\025.bmi.GetValueResponse\"\000\022/\n" - "\013getValuePtr\022\022.bmi.GetVarRequest\032\n.bmi.E" - "mpty\"\000\022T\n\021getValueAtIndices\022\035.bmi.GetVal" - "ueAtIndicesRequest\032\036.bmi.GetValueAtIndic" - "esResponse\"\000\022.\n\010setValue\022\024.bmi.SetValueR" - "equest\032\n.bmi.Empty\"\000\0224\n\013setValuePtr\022\027.bm" - "i.SetValuePtrRequest\032\n.bmi.Empty\"\000\022@\n\021se" - "tValueAtIndices\022\035.bmi.SetValueAtIndicesR" - "equest\032\n.bmi.Empty\"\000\022;\n\013getGridSize\022\020.bm" - "i.GridRequest\032\030.bmi.GetGridSizeResponse\"" - "\000\022;\n\013getGridType\022\020.bmi.GridRequest\032\030.bmi" - ".GetGridTypeResponse\"\000\022;\n\013getGridRank\022\020." - "bmi.GridRequest\032\030.bmi.GetGridRankRespons" - "e\"\000\022=\n\014getGridShape\022\020.bmi.GridRequest\032\031." - "bmi.GetGridShapeResponse\"\000\022A\n\016getGridSpa" - "cing\022\020.bmi.GridRequest\032\033.bmi.GetGridSpac" - "ingResponse\"\000\022\?\n\rgetGridOrigin\022\020.bmi.Gri" - "dRequest\032\032.bmi.GetGridOriginResponse\"\000\022:" - "\n\010getGridX\022\020.bmi.GridRequest\032\032.bmi.GetGr" - "idPointsResponse\"\000\022:\n\010getGridY\022\020.bmi.Gri" - "dRequest\032\032.bmi.GetGridPointsResponse\"\000\022:" - "\n\010getGridZ\022\020.bmi.GridRequest\032\032.bmi.GetGr" - "idPointsResponse\"\000\022=\n\020getGridCellCount\022\020" - ".bmi.GridRequest\032\025.bmi.GetCountResponse\"" - "\000\022>\n\021getGridPointCount\022\020.bmi.GridRequest" - "\032\025.bmi.GetCountResponse\"\000\022\?\n\022getGridVert" - "exCount\022\020.bmi.GridRequest\032\025.bmi.GetCount" - "Response\"\000\022K\n\023getGridConnectivity\022\020.bmi." - "GridRequest\032 .bmi.GetGridConnectivityRes" - "ponse\"\000\022\?\n\rgetGridOffset\022\020.bmi.GridReque" - "st\032\032.bmi.GetGridOffsetResponse\"\000b\006proto3" - }; - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - descriptor, 4600); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "bmi.proto", &protobuf_RegisterTypes); -} - -void AddDescriptors() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); -} -// Force AddDescriptors() to be called at dynamic initialization time. -struct StaticDescriptorInitializer { - StaticDescriptorInitializer() { - AddDescriptors(); - } -} static_descriptor_initializer; -} // namespace protobuf_bmi_2eproto -namespace bmi { - -// =================================================================== - -void Empty::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Empty::Empty() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsEmpty(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.Empty) -} -Empty::Empty(const Empty& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.Empty) -} - -void Empty::SharedCtor() { - _cached_size_ = 0; -} - -Empty::~Empty() { - // @@protoc_insertion_point(destructor:bmi.Empty) - SharedDtor(); -} - -void Empty::SharedDtor() { -} - -void Empty::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Empty::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const Empty& Empty::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsEmpty(); - return *internal_default_instance(); -} - -Empty* Empty::New(::google::protobuf::Arena* arena) const { - Empty* n = new Empty; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void Empty::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.Empty) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -bool Empty::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:bmi.Empty) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:bmi.Empty) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.Empty) - return false; -#undef DO_ -} - -void Empty::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.Empty) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - 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:bmi.Empty) -} - -::google::protobuf::uint8* Empty::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.Empty) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - 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:bmi.Empty) - return target; -} - -size_t Empty::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.Empty) - 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())); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void Empty::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.Empty) - GOOGLE_DCHECK_NE(&from, this); - const Empty* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.Empty) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.Empty) - MergeFrom(*source); - } -} - -void Empty::MergeFrom(const Empty& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.Empty) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void Empty::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.Empty) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Empty::CopyFrom(const Empty& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.Empty) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Empty::IsInitialized() const { - return true; -} - -void Empty::Swap(Empty* other) { - if (other == this) return; - InternalSwap(other); -} -void Empty::InternalSwap(Empty* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata Empty::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void InitializeRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int InitializeRequest::kConfigFileFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -InitializeRequest::InitializeRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsInitializeRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.InitializeRequest) -} -InitializeRequest::InitializeRequest(const InitializeRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - config_file_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.config_file().size() > 0) { - config_file_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.config_file_); - } - // @@protoc_insertion_point(copy_constructor:bmi.InitializeRequest) -} - -void InitializeRequest::SharedCtor() { - config_file_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -InitializeRequest::~InitializeRequest() { - // @@protoc_insertion_point(destructor:bmi.InitializeRequest) - SharedDtor(); -} - -void InitializeRequest::SharedDtor() { - config_file_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void InitializeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* InitializeRequest::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const InitializeRequest& InitializeRequest::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsInitializeRequest(); - return *internal_default_instance(); -} - -InitializeRequest* InitializeRequest::New(::google::protobuf::Arena* arena) const { - InitializeRequest* n = new InitializeRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void InitializeRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.InitializeRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - config_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool InitializeRequest::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:bmi.InitializeRequest) - 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 config_file = 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_config_file())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->config_file().data(), static_cast(this->config_file().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.InitializeRequest.config_file")); - } 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:bmi.InitializeRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.InitializeRequest) - return false; -#undef DO_ -} - -void InitializeRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.InitializeRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string config_file = 1; - if (this->config_file().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->config_file().data(), static_cast(this->config_file().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.InitializeRequest.config_file"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->config_file(), 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:bmi.InitializeRequest) -} - -::google::protobuf::uint8* InitializeRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.InitializeRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string config_file = 1; - if (this->config_file().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->config_file().data(), static_cast(this->config_file().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.InitializeRequest.config_file"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->config_file(), 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:bmi.InitializeRequest) - return target; -} - -size_t InitializeRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.InitializeRequest) - 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 config_file = 1; - if (this->config_file().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->config_file()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void InitializeRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.InitializeRequest) - GOOGLE_DCHECK_NE(&from, this); - const InitializeRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.InitializeRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.InitializeRequest) - MergeFrom(*source); - } -} - -void InitializeRequest::MergeFrom(const InitializeRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.InitializeRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.config_file().size() > 0) { - - config_file_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.config_file_); - } -} - -void InitializeRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.InitializeRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void InitializeRequest::CopyFrom(const InitializeRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.InitializeRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool InitializeRequest::IsInitialized() const { - return true; -} - -void InitializeRequest::Swap(InitializeRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void InitializeRequest::InternalSwap(InitializeRequest* other) { - using std::swap; - config_file_.Swap(&other->config_file_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata InitializeRequest::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void UpdateUntilRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int UpdateUntilRequest::kUntilFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -UpdateUntilRequest::UpdateUntilRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsUpdateUntilRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.UpdateUntilRequest) -} -UpdateUntilRequest::UpdateUntilRequest(const UpdateUntilRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - until_ = from.until_; - // @@protoc_insertion_point(copy_constructor:bmi.UpdateUntilRequest) -} - -void UpdateUntilRequest::SharedCtor() { - until_ = 0; - _cached_size_ = 0; -} - -UpdateUntilRequest::~UpdateUntilRequest() { - // @@protoc_insertion_point(destructor:bmi.UpdateUntilRequest) - SharedDtor(); -} - -void UpdateUntilRequest::SharedDtor() { -} - -void UpdateUntilRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UpdateUntilRequest::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const UpdateUntilRequest& UpdateUntilRequest::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsUpdateUntilRequest(); - return *internal_default_instance(); -} - -UpdateUntilRequest* UpdateUntilRequest::New(::google::protobuf::Arena* arena) const { - UpdateUntilRequest* n = new UpdateUntilRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void UpdateUntilRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.UpdateUntilRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - until_ = 0; - _internal_metadata_.Clear(); -} - -bool UpdateUntilRequest::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:bmi.UpdateUntilRequest) - 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)) { - // double until = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &until_))); - } 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:bmi.UpdateUntilRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.UpdateUntilRequest) - return false; -#undef DO_ -} - -void UpdateUntilRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.UpdateUntilRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double until = 1; - if (this->until() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(1, this->until(), 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:bmi.UpdateUntilRequest) -} - -::google::protobuf::uint8* UpdateUntilRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.UpdateUntilRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double until = 1; - if (this->until() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(1, this->until(), 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:bmi.UpdateUntilRequest) - return target; -} - -size_t UpdateUntilRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.UpdateUntilRequest) - 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())); - } - // double until = 1; - if (this->until() != 0) { - total_size += 1 + 8; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void UpdateUntilRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.UpdateUntilRequest) - GOOGLE_DCHECK_NE(&from, this); - const UpdateUntilRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.UpdateUntilRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.UpdateUntilRequest) - MergeFrom(*source); - } -} - -void UpdateUntilRequest::MergeFrom(const UpdateUntilRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.UpdateUntilRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.until() != 0) { - set_until(from.until()); - } -} - -void UpdateUntilRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.UpdateUntilRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void UpdateUntilRequest::CopyFrom(const UpdateUntilRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.UpdateUntilRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UpdateUntilRequest::IsInitialized() const { - return true; -} - -void UpdateUntilRequest::Swap(UpdateUntilRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void UpdateUntilRequest::InternalSwap(UpdateUntilRequest* other) { - using std::swap; - swap(until_, other->until_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata UpdateUntilRequest::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void UpdateFracRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int UpdateFracRequest::kFracFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -UpdateFracRequest::UpdateFracRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsUpdateFracRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.UpdateFracRequest) -} -UpdateFracRequest::UpdateFracRequest(const UpdateFracRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - frac_ = from.frac_; - // @@protoc_insertion_point(copy_constructor:bmi.UpdateFracRequest) -} - -void UpdateFracRequest::SharedCtor() { - frac_ = 0; - _cached_size_ = 0; -} - -UpdateFracRequest::~UpdateFracRequest() { - // @@protoc_insertion_point(destructor:bmi.UpdateFracRequest) - SharedDtor(); -} - -void UpdateFracRequest::SharedDtor() { -} - -void UpdateFracRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UpdateFracRequest::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const UpdateFracRequest& UpdateFracRequest::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsUpdateFracRequest(); - return *internal_default_instance(); -} - -UpdateFracRequest* UpdateFracRequest::New(::google::protobuf::Arena* arena) const { - UpdateFracRequest* n = new UpdateFracRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void UpdateFracRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.UpdateFracRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - frac_ = 0; - _internal_metadata_.Clear(); -} - -bool UpdateFracRequest::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:bmi.UpdateFracRequest) - 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)) { - // double frac = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &frac_))); - } 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:bmi.UpdateFracRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.UpdateFracRequest) - return false; -#undef DO_ -} - -void UpdateFracRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.UpdateFracRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double frac = 1; - if (this->frac() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(1, this->frac(), 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:bmi.UpdateFracRequest) -} - -::google::protobuf::uint8* UpdateFracRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.UpdateFracRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double frac = 1; - if (this->frac() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(1, this->frac(), 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:bmi.UpdateFracRequest) - return target; -} - -size_t UpdateFracRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.UpdateFracRequest) - 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())); - } - // double frac = 1; - if (this->frac() != 0) { - total_size += 1 + 8; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void UpdateFracRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.UpdateFracRequest) - GOOGLE_DCHECK_NE(&from, this); - const UpdateFracRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.UpdateFracRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.UpdateFracRequest) - MergeFrom(*source); - } -} - -void UpdateFracRequest::MergeFrom(const UpdateFracRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.UpdateFracRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.frac() != 0) { - set_frac(from.frac()); - } -} - -void UpdateFracRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.UpdateFracRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void UpdateFracRequest::CopyFrom(const UpdateFracRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.UpdateFracRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UpdateFracRequest::IsInitialized() const { - return true; -} - -void UpdateFracRequest::Swap(UpdateFracRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void UpdateFracRequest::InternalSwap(UpdateFracRequest* other) { - using std::swap; - swap(frac_, other->frac_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata UpdateFracRequest::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetComponentNameResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetComponentNameResponse::kNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetComponentNameResponse::GetComponentNameResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetComponentNameResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetComponentNameResponse) -} -GetComponentNameResponse::GetComponentNameResponse(const GetComponentNameResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - // @@protoc_insertion_point(copy_constructor:bmi.GetComponentNameResponse) -} - -void GetComponentNameResponse::SharedCtor() { - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -GetComponentNameResponse::~GetComponentNameResponse() { - // @@protoc_insertion_point(destructor:bmi.GetComponentNameResponse) - SharedDtor(); -} - -void GetComponentNameResponse::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetComponentNameResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetComponentNameResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetComponentNameResponse& GetComponentNameResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetComponentNameResponse(); - return *internal_default_instance(); -} - -GetComponentNameResponse* GetComponentNameResponse::New(::google::protobuf::Arena* arena) const { - GetComponentNameResponse* n = new GetComponentNameResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetComponentNameResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetComponentNameResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool GetComponentNameResponse::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:bmi.GetComponentNameResponse) - 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 name = 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_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.GetComponentNameResponse.name")); - } 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:bmi.GetComponentNameResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetComponentNameResponse) - return false; -#undef DO_ -} - -void GetComponentNameResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetComponentNameResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetComponentNameResponse.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 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:bmi.GetComponentNameResponse) -} - -::google::protobuf::uint8* GetComponentNameResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetComponentNameResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetComponentNameResponse.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 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:bmi.GetComponentNameResponse) - return target; -} - -size_t GetComponentNameResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetComponentNameResponse) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetComponentNameResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetComponentNameResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetComponentNameResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetComponentNameResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetComponentNameResponse) - MergeFrom(*source); - } -} - -void GetComponentNameResponse::MergeFrom(const GetComponentNameResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetComponentNameResponse) - 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().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } -} - -void GetComponentNameResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetComponentNameResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetComponentNameResponse::CopyFrom(const GetComponentNameResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetComponentNameResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetComponentNameResponse::IsInitialized() const { - return true; -} - -void GetComponentNameResponse::Swap(GetComponentNameResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetComponentNameResponse::InternalSwap(GetComponentNameResponse* other) { - using std::swap; - name_.Swap(&other->name_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetComponentNameResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetVarNameCountResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetVarNameCountResponse::kCountFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVarNameCountResponse::GetVarNameCountResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetVarNameCountResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetVarNameCountResponse) -} -GetVarNameCountResponse::GetVarNameCountResponse(const GetVarNameCountResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - count_ = from.count_; - // @@protoc_insertion_point(copy_constructor:bmi.GetVarNameCountResponse) -} - -void GetVarNameCountResponse::SharedCtor() { - count_ = 0; - _cached_size_ = 0; -} - -GetVarNameCountResponse::~GetVarNameCountResponse() { - // @@protoc_insertion_point(destructor:bmi.GetVarNameCountResponse) - SharedDtor(); -} - -void GetVarNameCountResponse::SharedDtor() { -} - -void GetVarNameCountResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetVarNameCountResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetVarNameCountResponse& GetVarNameCountResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetVarNameCountResponse(); - return *internal_default_instance(); -} - -GetVarNameCountResponse* GetVarNameCountResponse::New(::google::protobuf::Arena* arena) const { - GetVarNameCountResponse* n = new GetVarNameCountResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetVarNameCountResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetVarNameCountResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - count_ = 0; - _internal_metadata_.Clear(); -} - -bool GetVarNameCountResponse::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:bmi.GetVarNameCountResponse) - 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)) { - // int32 count = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &count_))); - } 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:bmi.GetVarNameCountResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetVarNameCountResponse) - return false; -#undef DO_ -} - -void GetVarNameCountResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetVarNameCountResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 count = 1; - if (this->count() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->count(), 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:bmi.GetVarNameCountResponse) -} - -::google::protobuf::uint8* GetVarNameCountResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetVarNameCountResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 count = 1; - if (this->count() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->count(), 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:bmi.GetVarNameCountResponse) - return target; -} - -size_t GetVarNameCountResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetVarNameCountResponse) - 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())); - } - // int32 count = 1; - if (this->count() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->count()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetVarNameCountResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetVarNameCountResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetVarNameCountResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetVarNameCountResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetVarNameCountResponse) - MergeFrom(*source); - } -} - -void GetVarNameCountResponse::MergeFrom(const GetVarNameCountResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetVarNameCountResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.count() != 0) { - set_count(from.count()); - } -} - -void GetVarNameCountResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetVarNameCountResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVarNameCountResponse::CopyFrom(const GetVarNameCountResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetVarNameCountResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVarNameCountResponse::IsInitialized() const { - return true; -} - -void GetVarNameCountResponse::Swap(GetVarNameCountResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVarNameCountResponse::InternalSwap(GetVarNameCountResponse* other) { - using std::swap; - swap(count_, other->count_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetVarNameCountResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetVarNamesResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetVarNamesResponse::kNamesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVarNamesResponse::GetVarNamesResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetVarNamesResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetVarNamesResponse) -} -GetVarNamesResponse::GetVarNamesResponse(const GetVarNamesResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - names_(from.names_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.GetVarNamesResponse) -} - -void GetVarNamesResponse::SharedCtor() { - _cached_size_ = 0; -} - -GetVarNamesResponse::~GetVarNamesResponse() { - // @@protoc_insertion_point(destructor:bmi.GetVarNamesResponse) - SharedDtor(); -} - -void GetVarNamesResponse::SharedDtor() { -} - -void GetVarNamesResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetVarNamesResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetVarNamesResponse& GetVarNamesResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetVarNamesResponse(); - return *internal_default_instance(); -} - -GetVarNamesResponse* GetVarNamesResponse::New(::google::protobuf::Arena* arena) const { - GetVarNamesResponse* n = new GetVarNamesResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetVarNamesResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetVarNamesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - names_.Clear(); - _internal_metadata_.Clear(); -} - -bool GetVarNamesResponse::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:bmi.GetVarNamesResponse) - 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 names = 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_names())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->names(this->names_size() - 1).data(), - static_cast(this->names(this->names_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.GetVarNamesResponse.names")); - } 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:bmi.GetVarNamesResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetVarNamesResponse) - return false; -#undef DO_ -} - -void GetVarNamesResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetVarNamesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string names = 1; - for (int i = 0, n = this->names_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->names(i).data(), static_cast(this->names(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetVarNamesResponse.names"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->names(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:bmi.GetVarNamesResponse) -} - -::google::protobuf::uint8* GetVarNamesResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetVarNamesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string names = 1; - for (int i = 0, n = this->names_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->names(i).data(), static_cast(this->names(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetVarNamesResponse.names"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->names(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:bmi.GetVarNamesResponse) - return target; -} - -size_t GetVarNamesResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetVarNamesResponse) - 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 names = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->names_size()); - for (int i = 0, n = this->names_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->names(i)); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetVarNamesResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetVarNamesResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetVarNamesResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetVarNamesResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetVarNamesResponse) - MergeFrom(*source); - } -} - -void GetVarNamesResponse::MergeFrom(const GetVarNamesResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetVarNamesResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - names_.MergeFrom(from.names_); -} - -void GetVarNamesResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetVarNamesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVarNamesResponse::CopyFrom(const GetVarNamesResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetVarNamesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVarNamesResponse::IsInitialized() const { - return true; -} - -void GetVarNamesResponse::Swap(GetVarNamesResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVarNamesResponse::InternalSwap(GetVarNamesResponse* other) { - using std::swap; - names_.InternalSwap(&other->names_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetVarNamesResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetTimeUnitsResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetTimeUnitsResponse::kUnitsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetTimeUnitsResponse::GetTimeUnitsResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetTimeUnitsResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetTimeUnitsResponse) -} -GetTimeUnitsResponse::GetTimeUnitsResponse(const GetTimeUnitsResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - units_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.units().size() > 0) { - units_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.units_); - } - // @@protoc_insertion_point(copy_constructor:bmi.GetTimeUnitsResponse) -} - -void GetTimeUnitsResponse::SharedCtor() { - units_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -GetTimeUnitsResponse::~GetTimeUnitsResponse() { - // @@protoc_insertion_point(destructor:bmi.GetTimeUnitsResponse) - SharedDtor(); -} - -void GetTimeUnitsResponse::SharedDtor() { - units_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetTimeUnitsResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetTimeUnitsResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetTimeUnitsResponse& GetTimeUnitsResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetTimeUnitsResponse(); - return *internal_default_instance(); -} - -GetTimeUnitsResponse* GetTimeUnitsResponse::New(::google::protobuf::Arena* arena) const { - GetTimeUnitsResponse* n = new GetTimeUnitsResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetTimeUnitsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetTimeUnitsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - units_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool GetTimeUnitsResponse::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:bmi.GetTimeUnitsResponse) - 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 units = 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_units())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->units().data(), static_cast(this->units().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.GetTimeUnitsResponse.units")); - } 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:bmi.GetTimeUnitsResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetTimeUnitsResponse) - return false; -#undef DO_ -} - -void GetTimeUnitsResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetTimeUnitsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string units = 1; - if (this->units().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->units().data(), static_cast(this->units().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetTimeUnitsResponse.units"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->units(), 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:bmi.GetTimeUnitsResponse) -} - -::google::protobuf::uint8* GetTimeUnitsResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetTimeUnitsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string units = 1; - if (this->units().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->units().data(), static_cast(this->units().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetTimeUnitsResponse.units"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->units(), 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:bmi.GetTimeUnitsResponse) - return target; -} - -size_t GetTimeUnitsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetTimeUnitsResponse) - 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 units = 1; - if (this->units().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->units()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetTimeUnitsResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetTimeUnitsResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetTimeUnitsResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetTimeUnitsResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetTimeUnitsResponse) - MergeFrom(*source); - } -} - -void GetTimeUnitsResponse::MergeFrom(const GetTimeUnitsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetTimeUnitsResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.units().size() > 0) { - - units_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.units_); - } -} - -void GetTimeUnitsResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetTimeUnitsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetTimeUnitsResponse::CopyFrom(const GetTimeUnitsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetTimeUnitsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetTimeUnitsResponse::IsInitialized() const { - return true; -} - -void GetTimeUnitsResponse::Swap(GetTimeUnitsResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetTimeUnitsResponse::InternalSwap(GetTimeUnitsResponse* other) { - using std::swap; - units_.Swap(&other->units_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetTimeUnitsResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetTimeStepResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetTimeStepResponse::kIntervalFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetTimeStepResponse::GetTimeStepResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetTimeStepResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetTimeStepResponse) -} -GetTimeStepResponse::GetTimeStepResponse(const GetTimeStepResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - interval_ = from.interval_; - // @@protoc_insertion_point(copy_constructor:bmi.GetTimeStepResponse) -} - -void GetTimeStepResponse::SharedCtor() { - interval_ = 0; - _cached_size_ = 0; -} - -GetTimeStepResponse::~GetTimeStepResponse() { - // @@protoc_insertion_point(destructor:bmi.GetTimeStepResponse) - SharedDtor(); -} - -void GetTimeStepResponse::SharedDtor() { -} - -void GetTimeStepResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetTimeStepResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetTimeStepResponse& GetTimeStepResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetTimeStepResponse(); - return *internal_default_instance(); -} - -GetTimeStepResponse* GetTimeStepResponse::New(::google::protobuf::Arena* arena) const { - GetTimeStepResponse* n = new GetTimeStepResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetTimeStepResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetTimeStepResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - interval_ = 0; - _internal_metadata_.Clear(); -} - -bool GetTimeStepResponse::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:bmi.GetTimeStepResponse) - 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)) { - // double interval = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &interval_))); - } 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:bmi.GetTimeStepResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetTimeStepResponse) - return false; -#undef DO_ -} - -void GetTimeStepResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetTimeStepResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double interval = 1; - if (this->interval() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(1, this->interval(), 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:bmi.GetTimeStepResponse) -} - -::google::protobuf::uint8* GetTimeStepResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetTimeStepResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double interval = 1; - if (this->interval() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(1, this->interval(), 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:bmi.GetTimeStepResponse) - return target; -} - -size_t GetTimeStepResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetTimeStepResponse) - 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())); - } - // double interval = 1; - if (this->interval() != 0) { - total_size += 1 + 8; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetTimeStepResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetTimeStepResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetTimeStepResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetTimeStepResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetTimeStepResponse) - MergeFrom(*source); - } -} - -void GetTimeStepResponse::MergeFrom(const GetTimeStepResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetTimeStepResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.interval() != 0) { - set_interval(from.interval()); - } -} - -void GetTimeStepResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetTimeStepResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetTimeStepResponse::CopyFrom(const GetTimeStepResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetTimeStepResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetTimeStepResponse::IsInitialized() const { - return true; -} - -void GetTimeStepResponse::Swap(GetTimeStepResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetTimeStepResponse::InternalSwap(GetTimeStepResponse* other) { - using std::swap; - swap(interval_, other->interval_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetTimeStepResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetTimeResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetTimeResponse::kTimeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetTimeResponse::GetTimeResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetTimeResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetTimeResponse) -} -GetTimeResponse::GetTimeResponse(const GetTimeResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - time_ = from.time_; - // @@protoc_insertion_point(copy_constructor:bmi.GetTimeResponse) -} - -void GetTimeResponse::SharedCtor() { - time_ = 0; - _cached_size_ = 0; -} - -GetTimeResponse::~GetTimeResponse() { - // @@protoc_insertion_point(destructor:bmi.GetTimeResponse) - SharedDtor(); -} - -void GetTimeResponse::SharedDtor() { -} - -void GetTimeResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetTimeResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetTimeResponse& GetTimeResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetTimeResponse(); - return *internal_default_instance(); -} - -GetTimeResponse* GetTimeResponse::New(::google::protobuf::Arena* arena) const { - GetTimeResponse* n = new GetTimeResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetTimeResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetTimeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - time_ = 0; - _internal_metadata_.Clear(); -} - -bool GetTimeResponse::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:bmi.GetTimeResponse) - 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)) { - // double time = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &time_))); - } 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:bmi.GetTimeResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetTimeResponse) - return false; -#undef DO_ -} - -void GetTimeResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetTimeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double time = 1; - if (this->time() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(1, this->time(), 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:bmi.GetTimeResponse) -} - -::google::protobuf::uint8* GetTimeResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetTimeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double time = 1; - if (this->time() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(1, this->time(), 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:bmi.GetTimeResponse) - return target; -} - -size_t GetTimeResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetTimeResponse) - 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())); - } - // double time = 1; - if (this->time() != 0) { - total_size += 1 + 8; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetTimeResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetTimeResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetTimeResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetTimeResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetTimeResponse) - MergeFrom(*source); - } -} - -void GetTimeResponse::MergeFrom(const GetTimeResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetTimeResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.time() != 0) { - set_time(from.time()); - } -} - -void GetTimeResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetTimeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetTimeResponse::CopyFrom(const GetTimeResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetTimeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetTimeResponse::IsInitialized() const { - return true; -} - -void GetTimeResponse::Swap(GetTimeResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetTimeResponse::InternalSwap(GetTimeResponse* other) { - using std::swap; - swap(time_, other->time_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetTimeResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetVarRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetVarRequest::kNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVarRequest::GetVarRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetVarRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetVarRequest) -} -GetVarRequest::GetVarRequest(const GetVarRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - // @@protoc_insertion_point(copy_constructor:bmi.GetVarRequest) -} - -void GetVarRequest::SharedCtor() { - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -GetVarRequest::~GetVarRequest() { - // @@protoc_insertion_point(destructor:bmi.GetVarRequest) - SharedDtor(); -} - -void GetVarRequest::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetVarRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetVarRequest::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetVarRequest& GetVarRequest::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetVarRequest(); - return *internal_default_instance(); -} - -GetVarRequest* GetVarRequest::New(::google::protobuf::Arena* arena) const { - GetVarRequest* n = new GetVarRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetVarRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetVarRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool GetVarRequest::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:bmi.GetVarRequest) - 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 name = 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_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.GetVarRequest.name")); - } 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:bmi.GetVarRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetVarRequest) - return false; -#undef DO_ -} - -void GetVarRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetVarRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetVarRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 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:bmi.GetVarRequest) -} - -::google::protobuf::uint8* GetVarRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetVarRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetVarRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 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:bmi.GetVarRequest) - return target; -} - -size_t GetVarRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetVarRequest) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetVarRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetVarRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetVarRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetVarRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetVarRequest) - MergeFrom(*source); - } -} - -void GetVarRequest::MergeFrom(const GetVarRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetVarRequest) - 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().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } -} - -void GetVarRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetVarRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVarRequest::CopyFrom(const GetVarRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetVarRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVarRequest::IsInitialized() const { - return true; -} - -void GetVarRequest::Swap(GetVarRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVarRequest::InternalSwap(GetVarRequest* other) { - using std::swap; - name_.Swap(&other->name_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetVarRequest::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetVarGridResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetVarGridResponse::kGridIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVarGridResponse::GetVarGridResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetVarGridResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetVarGridResponse) -} -GetVarGridResponse::GetVarGridResponse(const GetVarGridResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - grid_id_ = from.grid_id_; - // @@protoc_insertion_point(copy_constructor:bmi.GetVarGridResponse) -} - -void GetVarGridResponse::SharedCtor() { - grid_id_ = 0; - _cached_size_ = 0; -} - -GetVarGridResponse::~GetVarGridResponse() { - // @@protoc_insertion_point(destructor:bmi.GetVarGridResponse) - SharedDtor(); -} - -void GetVarGridResponse::SharedDtor() { -} - -void GetVarGridResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetVarGridResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetVarGridResponse& GetVarGridResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetVarGridResponse(); - return *internal_default_instance(); -} - -GetVarGridResponse* GetVarGridResponse::New(::google::protobuf::Arena* arena) const { - GetVarGridResponse* n = new GetVarGridResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetVarGridResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetVarGridResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - grid_id_ = 0; - _internal_metadata_.Clear(); -} - -bool GetVarGridResponse::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:bmi.GetVarGridResponse) - 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)) { - // int32 grid_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &grid_id_))); - } 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:bmi.GetVarGridResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetVarGridResponse) - return false; -#undef DO_ -} - -void GetVarGridResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetVarGridResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 grid_id = 1; - if (this->grid_id() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->grid_id(), 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:bmi.GetVarGridResponse) -} - -::google::protobuf::uint8* GetVarGridResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetVarGridResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 grid_id = 1; - if (this->grid_id() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->grid_id(), 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:bmi.GetVarGridResponse) - return target; -} - -size_t GetVarGridResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetVarGridResponse) - 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())); - } - // int32 grid_id = 1; - if (this->grid_id() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->grid_id()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetVarGridResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetVarGridResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetVarGridResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetVarGridResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetVarGridResponse) - MergeFrom(*source); - } -} - -void GetVarGridResponse::MergeFrom(const GetVarGridResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetVarGridResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.grid_id() != 0) { - set_grid_id(from.grid_id()); - } -} - -void GetVarGridResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetVarGridResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVarGridResponse::CopyFrom(const GetVarGridResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetVarGridResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVarGridResponse::IsInitialized() const { - return true; -} - -void GetVarGridResponse::Swap(GetVarGridResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVarGridResponse::InternalSwap(GetVarGridResponse* other) { - using std::swap; - swap(grid_id_, other->grid_id_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetVarGridResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetVarTypeResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetVarTypeResponse::kTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVarTypeResponse::GetVarTypeResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetVarTypeResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetVarTypeResponse) -} -GetVarTypeResponse::GetVarTypeResponse(const GetVarTypeResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.type().size() > 0) { - type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_); - } - // @@protoc_insertion_point(copy_constructor:bmi.GetVarTypeResponse) -} - -void GetVarTypeResponse::SharedCtor() { - type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -GetVarTypeResponse::~GetVarTypeResponse() { - // @@protoc_insertion_point(destructor:bmi.GetVarTypeResponse) - SharedDtor(); -} - -void GetVarTypeResponse::SharedDtor() { - type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetVarTypeResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetVarTypeResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetVarTypeResponse& GetVarTypeResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetVarTypeResponse(); - return *internal_default_instance(); -} - -GetVarTypeResponse* GetVarTypeResponse::New(::google::protobuf::Arena* arena) const { - GetVarTypeResponse* n = new GetVarTypeResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetVarTypeResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetVarTypeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool GetVarTypeResponse::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:bmi.GetVarTypeResponse) - 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 type = 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_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->type().data(), static_cast(this->type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.GetVarTypeResponse.type")); - } 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:bmi.GetVarTypeResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetVarTypeResponse) - return false; -#undef DO_ -} - -void GetVarTypeResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetVarTypeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string type = 1; - if (this->type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->type().data(), static_cast(this->type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetVarTypeResponse.type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->type(), 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:bmi.GetVarTypeResponse) -} - -::google::protobuf::uint8* GetVarTypeResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetVarTypeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string type = 1; - if (this->type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->type().data(), static_cast(this->type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetVarTypeResponse.type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->type(), 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:bmi.GetVarTypeResponse) - return target; -} - -size_t GetVarTypeResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetVarTypeResponse) - 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 type = 1; - if (this->type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetVarTypeResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetVarTypeResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetVarTypeResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetVarTypeResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetVarTypeResponse) - MergeFrom(*source); - } -} - -void GetVarTypeResponse::MergeFrom(const GetVarTypeResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetVarTypeResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.type().size() > 0) { - - type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_); - } -} - -void GetVarTypeResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetVarTypeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVarTypeResponse::CopyFrom(const GetVarTypeResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetVarTypeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVarTypeResponse::IsInitialized() const { - return true; -} - -void GetVarTypeResponse::Swap(GetVarTypeResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVarTypeResponse::InternalSwap(GetVarTypeResponse* other) { - using std::swap; - type_.Swap(&other->type_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetVarTypeResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetVarItemSizeResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetVarItemSizeResponse::kSizeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVarItemSizeResponse::GetVarItemSizeResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetVarItemSizeResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetVarItemSizeResponse) -} -GetVarItemSizeResponse::GetVarItemSizeResponse(const GetVarItemSizeResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - size_ = from.size_; - // @@protoc_insertion_point(copy_constructor:bmi.GetVarItemSizeResponse) -} - -void GetVarItemSizeResponse::SharedCtor() { - size_ = 0; - _cached_size_ = 0; -} - -GetVarItemSizeResponse::~GetVarItemSizeResponse() { - // @@protoc_insertion_point(destructor:bmi.GetVarItemSizeResponse) - SharedDtor(); -} - -void GetVarItemSizeResponse::SharedDtor() { -} - -void GetVarItemSizeResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetVarItemSizeResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetVarItemSizeResponse& GetVarItemSizeResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetVarItemSizeResponse(); - return *internal_default_instance(); -} - -GetVarItemSizeResponse* GetVarItemSizeResponse::New(::google::protobuf::Arena* arena) const { - GetVarItemSizeResponse* n = new GetVarItemSizeResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetVarItemSizeResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetVarItemSizeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - size_ = 0; - _internal_metadata_.Clear(); -} - -bool GetVarItemSizeResponse::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:bmi.GetVarItemSizeResponse) - 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)) { - // int32 size = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &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:bmi.GetVarItemSizeResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetVarItemSizeResponse) - return false; -#undef DO_ -} - -void GetVarItemSizeResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetVarItemSizeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 size = 1; - if (this->size() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->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:bmi.GetVarItemSizeResponse) -} - -::google::protobuf::uint8* GetVarItemSizeResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetVarItemSizeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 size = 1; - if (this->size() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->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:bmi.GetVarItemSizeResponse) - return target; -} - -size_t GetVarItemSizeResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetVarItemSizeResponse) - 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())); - } - // int32 size = 1; - if (this->size() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->size()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetVarItemSizeResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetVarItemSizeResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetVarItemSizeResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetVarItemSizeResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetVarItemSizeResponse) - MergeFrom(*source); - } -} - -void GetVarItemSizeResponse::MergeFrom(const GetVarItemSizeResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetVarItemSizeResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.size() != 0) { - set_size(from.size()); - } -} - -void GetVarItemSizeResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetVarItemSizeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVarItemSizeResponse::CopyFrom(const GetVarItemSizeResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetVarItemSizeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVarItemSizeResponse::IsInitialized() const { - return true; -} - -void GetVarItemSizeResponse::Swap(GetVarItemSizeResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVarItemSizeResponse::InternalSwap(GetVarItemSizeResponse* other) { - using std::swap; - swap(size_, other->size_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetVarItemSizeResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetVarUnitsResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetVarUnitsResponse::kUnitsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVarUnitsResponse::GetVarUnitsResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetVarUnitsResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetVarUnitsResponse) -} -GetVarUnitsResponse::GetVarUnitsResponse(const GetVarUnitsResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - units_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.units().size() > 0) { - units_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.units_); - } - // @@protoc_insertion_point(copy_constructor:bmi.GetVarUnitsResponse) -} - -void GetVarUnitsResponse::SharedCtor() { - units_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -GetVarUnitsResponse::~GetVarUnitsResponse() { - // @@protoc_insertion_point(destructor:bmi.GetVarUnitsResponse) - SharedDtor(); -} - -void GetVarUnitsResponse::SharedDtor() { - units_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetVarUnitsResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetVarUnitsResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetVarUnitsResponse& GetVarUnitsResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetVarUnitsResponse(); - return *internal_default_instance(); -} - -GetVarUnitsResponse* GetVarUnitsResponse::New(::google::protobuf::Arena* arena) const { - GetVarUnitsResponse* n = new GetVarUnitsResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetVarUnitsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetVarUnitsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - units_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool GetVarUnitsResponse::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:bmi.GetVarUnitsResponse) - 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 units = 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_units())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->units().data(), static_cast(this->units().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.GetVarUnitsResponse.units")); - } 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:bmi.GetVarUnitsResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetVarUnitsResponse) - return false; -#undef DO_ -} - -void GetVarUnitsResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetVarUnitsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string units = 1; - if (this->units().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->units().data(), static_cast(this->units().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetVarUnitsResponse.units"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->units(), 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:bmi.GetVarUnitsResponse) -} - -::google::protobuf::uint8* GetVarUnitsResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetVarUnitsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string units = 1; - if (this->units().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->units().data(), static_cast(this->units().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetVarUnitsResponse.units"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->units(), 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:bmi.GetVarUnitsResponse) - return target; -} - -size_t GetVarUnitsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetVarUnitsResponse) - 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 units = 1; - if (this->units().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->units()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetVarUnitsResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetVarUnitsResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetVarUnitsResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetVarUnitsResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetVarUnitsResponse) - MergeFrom(*source); - } -} - -void GetVarUnitsResponse::MergeFrom(const GetVarUnitsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetVarUnitsResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.units().size() > 0) { - - units_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.units_); - } -} - -void GetVarUnitsResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetVarUnitsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVarUnitsResponse::CopyFrom(const GetVarUnitsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetVarUnitsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVarUnitsResponse::IsInitialized() const { - return true; -} - -void GetVarUnitsResponse::Swap(GetVarUnitsResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVarUnitsResponse::InternalSwap(GetVarUnitsResponse* other) { - using std::swap; - units_.Swap(&other->units_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetVarUnitsResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetVarNBytesResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetVarNBytesResponse::kNbytesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVarNBytesResponse::GetVarNBytesResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetVarNBytesResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetVarNBytesResponse) -} -GetVarNBytesResponse::GetVarNBytesResponse(const GetVarNBytesResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - nbytes_ = from.nbytes_; - // @@protoc_insertion_point(copy_constructor:bmi.GetVarNBytesResponse) -} - -void GetVarNBytesResponse::SharedCtor() { - nbytes_ = 0; - _cached_size_ = 0; -} - -GetVarNBytesResponse::~GetVarNBytesResponse() { - // @@protoc_insertion_point(destructor:bmi.GetVarNBytesResponse) - SharedDtor(); -} - -void GetVarNBytesResponse::SharedDtor() { -} - -void GetVarNBytesResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetVarNBytesResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetVarNBytesResponse& GetVarNBytesResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetVarNBytesResponse(); - return *internal_default_instance(); -} - -GetVarNBytesResponse* GetVarNBytesResponse::New(::google::protobuf::Arena* arena) const { - GetVarNBytesResponse* n = new GetVarNBytesResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetVarNBytesResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetVarNBytesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - nbytes_ = 0; - _internal_metadata_.Clear(); -} - -bool GetVarNBytesResponse::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:bmi.GetVarNBytesResponse) - 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)) { - // int32 nbytes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &nbytes_))); - } 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:bmi.GetVarNBytesResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetVarNBytesResponse) - return false; -#undef DO_ -} - -void GetVarNBytesResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetVarNBytesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 nbytes = 1; - if (this->nbytes() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->nbytes(), 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:bmi.GetVarNBytesResponse) -} - -::google::protobuf::uint8* GetVarNBytesResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetVarNBytesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 nbytes = 1; - if (this->nbytes() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->nbytes(), 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:bmi.GetVarNBytesResponse) - return target; -} - -size_t GetVarNBytesResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetVarNBytesResponse) - 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())); - } - // int32 nbytes = 1; - if (this->nbytes() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->nbytes()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetVarNBytesResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetVarNBytesResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetVarNBytesResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetVarNBytesResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetVarNBytesResponse) - MergeFrom(*source); - } -} - -void GetVarNBytesResponse::MergeFrom(const GetVarNBytesResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetVarNBytesResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.nbytes() != 0) { - set_nbytes(from.nbytes()); - } -} - -void GetVarNBytesResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetVarNBytesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVarNBytesResponse::CopyFrom(const GetVarNBytesResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetVarNBytesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVarNBytesResponse::IsInitialized() const { - return true; -} - -void GetVarNBytesResponse::Swap(GetVarNBytesResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVarNBytesResponse::InternalSwap(GetVarNBytesResponse* other) { - using std::swap; - swap(nbytes_, other->nbytes_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetVarNBytesResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void IntArrayMessage::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int IntArrayMessage::kValuesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -IntArrayMessage::IntArrayMessage() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsIntArrayMessage(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.IntArrayMessage) -} -IntArrayMessage::IntArrayMessage(const IntArrayMessage& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - values_(from.values_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.IntArrayMessage) -} - -void IntArrayMessage::SharedCtor() { - _cached_size_ = 0; -} - -IntArrayMessage::~IntArrayMessage() { - // @@protoc_insertion_point(destructor:bmi.IntArrayMessage) - SharedDtor(); -} - -void IntArrayMessage::SharedDtor() { -} - -void IntArrayMessage::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* IntArrayMessage::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const IntArrayMessage& IntArrayMessage::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsIntArrayMessage(); - return *internal_default_instance(); -} - -IntArrayMessage* IntArrayMessage::New(::google::protobuf::Arena* arena) const { - IntArrayMessage* n = new IntArrayMessage; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void IntArrayMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.IntArrayMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - values_.Clear(); - _internal_metadata_.Clear(); -} - -bool IntArrayMessage::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:bmi.IntArrayMessage) - 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 int32 values = 1 [packed = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, this->mutable_values()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - 1, 10u, input, this->mutable_values()))); - } 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:bmi.IntArrayMessage) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.IntArrayMessage) - return false; -#undef DO_ -} - -void IntArrayMessage::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.IntArrayMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 values = 1 [packed = true]; - if (this->values_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _values_cached_byte_size_)); - } - for (int i = 0, n = this->values_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( - this->values(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:bmi.IntArrayMessage) -} - -::google::protobuf::uint8* IntArrayMessage::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.IntArrayMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 values = 1 [packed = true]; - if (this->values_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _values_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32NoTagToArray(this->values_, 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:bmi.IntArrayMessage) - return target; -} - -size_t IntArrayMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.IntArrayMessage) - 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 int32 values = 1 [packed = true]; - { - size_t data_size = ::google::protobuf::internal::WireFormatLite:: - Int32Size(this->values_); - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _values_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void IntArrayMessage::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.IntArrayMessage) - GOOGLE_DCHECK_NE(&from, this); - const IntArrayMessage* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.IntArrayMessage) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.IntArrayMessage) - MergeFrom(*source); - } -} - -void IntArrayMessage::MergeFrom(const IntArrayMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.IntArrayMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - values_.MergeFrom(from.values_); -} - -void IntArrayMessage::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.IntArrayMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void IntArrayMessage::CopyFrom(const IntArrayMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.IntArrayMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IntArrayMessage::IsInitialized() const { - return true; -} - -void IntArrayMessage::Swap(IntArrayMessage* other) { - if (other == this) return; - InternalSwap(other); -} -void IntArrayMessage::InternalSwap(IntArrayMessage* other) { - using std::swap; - values_.InternalSwap(&other->values_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata IntArrayMessage::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void FloatArrayMessage::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int FloatArrayMessage::kValuesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -FloatArrayMessage::FloatArrayMessage() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsFloatArrayMessage(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.FloatArrayMessage) -} -FloatArrayMessage::FloatArrayMessage(const FloatArrayMessage& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - values_(from.values_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.FloatArrayMessage) -} - -void FloatArrayMessage::SharedCtor() { - _cached_size_ = 0; -} - -FloatArrayMessage::~FloatArrayMessage() { - // @@protoc_insertion_point(destructor:bmi.FloatArrayMessage) - SharedDtor(); -} - -void FloatArrayMessage::SharedDtor() { -} - -void FloatArrayMessage::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* FloatArrayMessage::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const FloatArrayMessage& FloatArrayMessage::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsFloatArrayMessage(); - return *internal_default_instance(); -} - -FloatArrayMessage* FloatArrayMessage::New(::google::protobuf::Arena* arena) const { - FloatArrayMessage* n = new FloatArrayMessage; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void FloatArrayMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.FloatArrayMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - values_.Clear(); - _internal_metadata_.Clear(); -} - -bool FloatArrayMessage::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:bmi.FloatArrayMessage) - 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 float values = 1 [packed = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( - input, this->mutable_values()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( - 1, 10u, input, this->mutable_values()))); - } 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:bmi.FloatArrayMessage) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.FloatArrayMessage) - return false; -#undef DO_ -} - -void FloatArrayMessage::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.FloatArrayMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated float values = 1 [packed = true]; - if (this->values_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _values_cached_byte_size_)); - ::google::protobuf::internal::WireFormatLite::WriteFloatArray( - this->values().data(), this->values_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:bmi.FloatArrayMessage) -} - -::google::protobuf::uint8* FloatArrayMessage::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.FloatArrayMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated float values = 1 [packed = true]; - if (this->values_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _values_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteFloatNoTagToArray(this->values_, 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:bmi.FloatArrayMessage) - return target; -} - -size_t FloatArrayMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.FloatArrayMessage) - 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 float values = 1 [packed = true]; - { - unsigned int count = static_cast(this->values_size()); - size_t data_size = 4UL * count; - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _values_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void FloatArrayMessage::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.FloatArrayMessage) - GOOGLE_DCHECK_NE(&from, this); - const FloatArrayMessage* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.FloatArrayMessage) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.FloatArrayMessage) - MergeFrom(*source); - } -} - -void FloatArrayMessage::MergeFrom(const FloatArrayMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.FloatArrayMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - values_.MergeFrom(from.values_); -} - -void FloatArrayMessage::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.FloatArrayMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void FloatArrayMessage::CopyFrom(const FloatArrayMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.FloatArrayMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FloatArrayMessage::IsInitialized() const { - return true; -} - -void FloatArrayMessage::Swap(FloatArrayMessage* other) { - if (other == this) return; - InternalSwap(other); -} -void FloatArrayMessage::InternalSwap(FloatArrayMessage* other) { - using std::swap; - values_.InternalSwap(&other->values_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata FloatArrayMessage::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void DoubleArrayMessage::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DoubleArrayMessage::kValuesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DoubleArrayMessage::DoubleArrayMessage() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsDoubleArrayMessage(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.DoubleArrayMessage) -} -DoubleArrayMessage::DoubleArrayMessage(const DoubleArrayMessage& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - values_(from.values_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.DoubleArrayMessage) -} - -void DoubleArrayMessage::SharedCtor() { - _cached_size_ = 0; -} - -DoubleArrayMessage::~DoubleArrayMessage() { - // @@protoc_insertion_point(destructor:bmi.DoubleArrayMessage) - SharedDtor(); -} - -void DoubleArrayMessage::SharedDtor() { -} - -void DoubleArrayMessage::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* DoubleArrayMessage::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const DoubleArrayMessage& DoubleArrayMessage::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsDoubleArrayMessage(); - return *internal_default_instance(); -} - -DoubleArrayMessage* DoubleArrayMessage::New(::google::protobuf::Arena* arena) const { - DoubleArrayMessage* n = new DoubleArrayMessage; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void DoubleArrayMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.DoubleArrayMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - values_.Clear(); - _internal_metadata_.Clear(); -} - -bool DoubleArrayMessage::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:bmi.DoubleArrayMessage) - 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 double values = 1 [packed = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, this->mutable_values()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - 1, 10u, input, this->mutable_values()))); - } 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:bmi.DoubleArrayMessage) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.DoubleArrayMessage) - return false; -#undef DO_ -} - -void DoubleArrayMessage::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.DoubleArrayMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated double values = 1 [packed = true]; - if (this->values_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _values_cached_byte_size_)); - ::google::protobuf::internal::WireFormatLite::WriteDoubleArray( - this->values().data(), this->values_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:bmi.DoubleArrayMessage) -} - -::google::protobuf::uint8* DoubleArrayMessage::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.DoubleArrayMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated double values = 1 [packed = true]; - if (this->values_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _values_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteDoubleNoTagToArray(this->values_, 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:bmi.DoubleArrayMessage) - return target; -} - -size_t DoubleArrayMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.DoubleArrayMessage) - 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 double values = 1 [packed = true]; - { - unsigned int count = static_cast(this->values_size()); - size_t data_size = 8UL * count; - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _values_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void DoubleArrayMessage::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.DoubleArrayMessage) - GOOGLE_DCHECK_NE(&from, this); - const DoubleArrayMessage* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.DoubleArrayMessage) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.DoubleArrayMessage) - MergeFrom(*source); - } -} - -void DoubleArrayMessage::MergeFrom(const DoubleArrayMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.DoubleArrayMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - values_.MergeFrom(from.values_); -} - -void DoubleArrayMessage::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.DoubleArrayMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DoubleArrayMessage::CopyFrom(const DoubleArrayMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.DoubleArrayMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DoubleArrayMessage::IsInitialized() const { - return true; -} - -void DoubleArrayMessage::Swap(DoubleArrayMessage* other) { - if (other == this) return; - InternalSwap(other); -} -void DoubleArrayMessage::InternalSwap(DoubleArrayMessage* other) { - using std::swap; - values_.InternalSwap(&other->values_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata DoubleArrayMessage::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetValueResponse::InitAsDefaultInstance() { - ::bmi::_GetValueResponse_default_instance_.values_int_ = const_cast< ::bmi::IntArrayMessage*>( - ::bmi::IntArrayMessage::internal_default_instance()); - ::bmi::_GetValueResponse_default_instance_.values_float_ = const_cast< ::bmi::FloatArrayMessage*>( - ::bmi::FloatArrayMessage::internal_default_instance()); - ::bmi::_GetValueResponse_default_instance_.values_double_ = const_cast< ::bmi::DoubleArrayMessage*>( - ::bmi::DoubleArrayMessage::internal_default_instance()); -} -void GetValueResponse::set_allocated_values_int(::bmi::IntArrayMessage* values_int) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_int) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_int = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_int, submessage_arena); - } - set_has_values_int(); - values_.values_int_ = values_int; - } - // @@protoc_insertion_point(field_set_allocated:bmi.GetValueResponse.values_int) -} -void GetValueResponse::set_allocated_values_float(::bmi::FloatArrayMessage* values_float) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_float) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_float = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_float, submessage_arena); - } - set_has_values_float(); - values_.values_float_ = values_float; - } - // @@protoc_insertion_point(field_set_allocated:bmi.GetValueResponse.values_float) -} -void GetValueResponse::set_allocated_values_double(::bmi::DoubleArrayMessage* values_double) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_double) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_double = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_double, submessage_arena); - } - set_has_values_double(); - values_.values_double_ = values_double; - } - // @@protoc_insertion_point(field_set_allocated:bmi.GetValueResponse.values_double) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetValueResponse::kValuesIntFieldNumber; -const int GetValueResponse::kValuesFloatFieldNumber; -const int GetValueResponse::kValuesDoubleFieldNumber; -const int GetValueResponse::kShapeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetValueResponse::GetValueResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetValueResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetValueResponse) -} -GetValueResponse::GetValueResponse(const GetValueResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - shape_(from.shape_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_values(); - switch (from.values_case()) { - case kValuesInt: { - mutable_values_int()->::bmi::IntArrayMessage::MergeFrom(from.values_int()); - break; - } - case kValuesFloat: { - mutable_values_float()->::bmi::FloatArrayMessage::MergeFrom(from.values_float()); - break; - } - case kValuesDouble: { - mutable_values_double()->::bmi::DoubleArrayMessage::MergeFrom(from.values_double()); - break; - } - case VALUES_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:bmi.GetValueResponse) -} - -void GetValueResponse::SharedCtor() { - clear_has_values(); - _cached_size_ = 0; -} - -GetValueResponse::~GetValueResponse() { - // @@protoc_insertion_point(destructor:bmi.GetValueResponse) - SharedDtor(); -} - -void GetValueResponse::SharedDtor() { - if (has_values()) { - clear_values(); - } -} - -void GetValueResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetValueResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetValueResponse& GetValueResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetValueResponse(); - return *internal_default_instance(); -} - -GetValueResponse* GetValueResponse::New(::google::protobuf::Arena* arena) const { - GetValueResponse* n = new GetValueResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetValueResponse::clear_values() { -// @@protoc_insertion_point(one_of_clear_start:bmi.GetValueResponse) - switch (values_case()) { - case kValuesInt: { - delete values_.values_int_; - break; - } - case kValuesFloat: { - delete values_.values_float_; - break; - } - case kValuesDouble: { - delete values_.values_double_; - break; - } - case VALUES_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUES_NOT_SET; -} - - -void GetValueResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetValueResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - shape_.Clear(); - clear_values(); - _internal_metadata_.Clear(); -} - -bool GetValueResponse::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:bmi.GetValueResponse) - 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)) { - // .bmi.IntArrayMessage values_int = 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_values_int())); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.FloatArrayMessage values_float = 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_values_float())); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.DoubleArrayMessage values_double = 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_values_double())); - } else { - goto handle_unusual; - } - break; - } - - // repeated int32 shape = 4 [packed = true]; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, this->mutable_shape()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - 1, 34u, input, this->mutable_shape()))); - } 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:bmi.GetValueResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetValueResponse) - return false; -#undef DO_ -} - -void GetValueResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetValueResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .bmi.IntArrayMessage values_int = 1; - if (has_values_int()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, *values_.values_int_, output); - } - - // .bmi.FloatArrayMessage values_float = 2; - if (has_values_float()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, *values_.values_float_, output); - } - - // .bmi.DoubleArrayMessage values_double = 3; - if (has_values_double()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, *values_.values_double_, output); - } - - // repeated int32 shape = 4 [packed = true]; - if (this->shape_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(4, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _shape_cached_byte_size_)); - } - for (int i = 0, n = this->shape_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( - this->shape(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:bmi.GetValueResponse) -} - -::google::protobuf::uint8* GetValueResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetValueResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .bmi.IntArrayMessage values_int = 1; - if (has_values_int()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, *values_.values_int_, deterministic, target); - } - - // .bmi.FloatArrayMessage values_float = 2; - if (has_values_float()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, *values_.values_float_, deterministic, target); - } - - // .bmi.DoubleArrayMessage values_double = 3; - if (has_values_double()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, *values_.values_double_, deterministic, target); - } - - // repeated int32 shape = 4 [packed = true]; - if (this->shape_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 4, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _shape_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32NoTagToArray(this->shape_, 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:bmi.GetValueResponse) - return target; -} - -size_t GetValueResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetValueResponse) - 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 int32 shape = 4 [packed = true]; - { - size_t data_size = ::google::protobuf::internal::WireFormatLite:: - Int32Size(this->shape_); - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _shape_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - switch (values_case()) { - // .bmi.IntArrayMessage values_int = 1; - case kValuesInt: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_int_); - break; - } - // .bmi.FloatArrayMessage values_float = 2; - case kValuesFloat: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_float_); - break; - } - // .bmi.DoubleArrayMessage values_double = 3; - case kValuesDouble: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_double_); - break; - } - case VALUES_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetValueResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetValueResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetValueResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetValueResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetValueResponse) - MergeFrom(*source); - } -} - -void GetValueResponse::MergeFrom(const GetValueResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetValueResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - shape_.MergeFrom(from.shape_); - switch (from.values_case()) { - case kValuesInt: { - mutable_values_int()->::bmi::IntArrayMessage::MergeFrom(from.values_int()); - break; - } - case kValuesFloat: { - mutable_values_float()->::bmi::FloatArrayMessage::MergeFrom(from.values_float()); - break; - } - case kValuesDouble: { - mutable_values_double()->::bmi::DoubleArrayMessage::MergeFrom(from.values_double()); - break; - } - case VALUES_NOT_SET: { - break; - } - } -} - -void GetValueResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetValueResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetValueResponse::CopyFrom(const GetValueResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetValueResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetValueResponse::IsInitialized() const { - return true; -} - -void GetValueResponse::Swap(GetValueResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetValueResponse::InternalSwap(GetValueResponse* other) { - using std::swap; - shape_.InternalSwap(&other->shape_); - swap(values_, other->values_); - swap(_oneof_case_[0], other->_oneof_case_[0]); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetValueResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetValueAtIndicesRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetValueAtIndicesRequest::kNameFieldNumber; -const int GetValueAtIndicesRequest::kIndicesFieldNumber; -const int GetValueAtIndicesRequest::kIndexSizeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetValueAtIndicesRequest::GetValueAtIndicesRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetValueAtIndicesRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetValueAtIndicesRequest) -} -GetValueAtIndicesRequest::GetValueAtIndicesRequest(const GetValueAtIndicesRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - indices_(from.indices_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - index_size_ = from.index_size_; - // @@protoc_insertion_point(copy_constructor:bmi.GetValueAtIndicesRequest) -} - -void GetValueAtIndicesRequest::SharedCtor() { - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - index_size_ = 0; - _cached_size_ = 0; -} - -GetValueAtIndicesRequest::~GetValueAtIndicesRequest() { - // @@protoc_insertion_point(destructor:bmi.GetValueAtIndicesRequest) - SharedDtor(); -} - -void GetValueAtIndicesRequest::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetValueAtIndicesRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetValueAtIndicesRequest::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetValueAtIndicesRequest& GetValueAtIndicesRequest::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetValueAtIndicesRequest(); - return *internal_default_instance(); -} - -GetValueAtIndicesRequest* GetValueAtIndicesRequest::New(::google::protobuf::Arena* arena) const { - GetValueAtIndicesRequest* n = new GetValueAtIndicesRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetValueAtIndicesRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetValueAtIndicesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - indices_.Clear(); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - index_size_ = 0; - _internal_metadata_.Clear(); -} - -bool GetValueAtIndicesRequest::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:bmi.GetValueAtIndicesRequest) - 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 name = 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_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.GetValueAtIndicesRequest.name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated int32 indices = 2 [packed = true]; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, this->mutable_indices()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - 1, 18u, input, this->mutable_indices()))); - } else { - goto handle_unusual; - } - break; - } - - // int32 index_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::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &index_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:bmi.GetValueAtIndicesRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetValueAtIndicesRequest) - return false; -#undef DO_ -} - -void GetValueAtIndicesRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetValueAtIndicesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetValueAtIndicesRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // repeated int32 indices = 2 [packed = true]; - if (this->indices_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(2, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _indices_cached_byte_size_)); - } - for (int i = 0, n = this->indices_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( - this->indices(i), output); - } - - // int32 index_size = 3; - if (this->index_size() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index_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:bmi.GetValueAtIndicesRequest) -} - -::google::protobuf::uint8* GetValueAtIndicesRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetValueAtIndicesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetValueAtIndicesRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // repeated int32 indices = 2 [packed = true]; - if (this->indices_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 2, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _indices_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32NoTagToArray(this->indices_, target); - } - - // int32 index_size = 3; - if (this->index_size() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index_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:bmi.GetValueAtIndicesRequest) - return target; -} - -size_t GetValueAtIndicesRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetValueAtIndicesRequest) - 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 int32 indices = 2 [packed = true]; - { - size_t data_size = ::google::protobuf::internal::WireFormatLite:: - Int32Size(this->indices_); - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _indices_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - // string name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // int32 index_size = 3; - if (this->index_size() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->index_size()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetValueAtIndicesRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetValueAtIndicesRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetValueAtIndicesRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetValueAtIndicesRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetValueAtIndicesRequest) - MergeFrom(*source); - } -} - -void GetValueAtIndicesRequest::MergeFrom(const GetValueAtIndicesRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetValueAtIndicesRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - indices_.MergeFrom(from.indices_); - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.index_size() != 0) { - set_index_size(from.index_size()); - } -} - -void GetValueAtIndicesRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetValueAtIndicesRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetValueAtIndicesRequest::CopyFrom(const GetValueAtIndicesRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetValueAtIndicesRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetValueAtIndicesRequest::IsInitialized() const { - return true; -} - -void GetValueAtIndicesRequest::Swap(GetValueAtIndicesRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetValueAtIndicesRequest::InternalSwap(GetValueAtIndicesRequest* other) { - using std::swap; - indices_.InternalSwap(&other->indices_); - name_.Swap(&other->name_); - swap(index_size_, other->index_size_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetValueAtIndicesRequest::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetValueAtIndicesResponse::InitAsDefaultInstance() { - ::bmi::_GetValueAtIndicesResponse_default_instance_.values_int_ = const_cast< ::bmi::IntArrayMessage*>( - ::bmi::IntArrayMessage::internal_default_instance()); - ::bmi::_GetValueAtIndicesResponse_default_instance_.values_float_ = const_cast< ::bmi::FloatArrayMessage*>( - ::bmi::FloatArrayMessage::internal_default_instance()); - ::bmi::_GetValueAtIndicesResponse_default_instance_.values_double_ = const_cast< ::bmi::DoubleArrayMessage*>( - ::bmi::DoubleArrayMessage::internal_default_instance()); -} -void GetValueAtIndicesResponse::set_allocated_values_int(::bmi::IntArrayMessage* values_int) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_int) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_int = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_int, submessage_arena); - } - set_has_values_int(); - values_.values_int_ = values_int; - } - // @@protoc_insertion_point(field_set_allocated:bmi.GetValueAtIndicesResponse.values_int) -} -void GetValueAtIndicesResponse::set_allocated_values_float(::bmi::FloatArrayMessage* values_float) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_float) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_float = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_float, submessage_arena); - } - set_has_values_float(); - values_.values_float_ = values_float; - } - // @@protoc_insertion_point(field_set_allocated:bmi.GetValueAtIndicesResponse.values_float) -} -void GetValueAtIndicesResponse::set_allocated_values_double(::bmi::DoubleArrayMessage* values_double) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_double) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_double = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_double, submessage_arena); - } - set_has_values_double(); - values_.values_double_ = values_double; - } - // @@protoc_insertion_point(field_set_allocated:bmi.GetValueAtIndicesResponse.values_double) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetValueAtIndicesResponse::kValuesIntFieldNumber; -const int GetValueAtIndicesResponse::kValuesFloatFieldNumber; -const int GetValueAtIndicesResponse::kValuesDoubleFieldNumber; -const int GetValueAtIndicesResponse::kShapeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetValueAtIndicesResponse::GetValueAtIndicesResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetValueAtIndicesResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetValueAtIndicesResponse) -} -GetValueAtIndicesResponse::GetValueAtIndicesResponse(const GetValueAtIndicesResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - shape_(from.shape_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_values(); - switch (from.values_case()) { - case kValuesInt: { - mutable_values_int()->::bmi::IntArrayMessage::MergeFrom(from.values_int()); - break; - } - case kValuesFloat: { - mutable_values_float()->::bmi::FloatArrayMessage::MergeFrom(from.values_float()); - break; - } - case kValuesDouble: { - mutable_values_double()->::bmi::DoubleArrayMessage::MergeFrom(from.values_double()); - break; - } - case VALUES_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:bmi.GetValueAtIndicesResponse) -} - -void GetValueAtIndicesResponse::SharedCtor() { - clear_has_values(); - _cached_size_ = 0; -} - -GetValueAtIndicesResponse::~GetValueAtIndicesResponse() { - // @@protoc_insertion_point(destructor:bmi.GetValueAtIndicesResponse) - SharedDtor(); -} - -void GetValueAtIndicesResponse::SharedDtor() { - if (has_values()) { - clear_values(); - } -} - -void GetValueAtIndicesResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetValueAtIndicesResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetValueAtIndicesResponse& GetValueAtIndicesResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetValueAtIndicesResponse(); - return *internal_default_instance(); -} - -GetValueAtIndicesResponse* GetValueAtIndicesResponse::New(::google::protobuf::Arena* arena) const { - GetValueAtIndicesResponse* n = new GetValueAtIndicesResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetValueAtIndicesResponse::clear_values() { -// @@protoc_insertion_point(one_of_clear_start:bmi.GetValueAtIndicesResponse) - switch (values_case()) { - case kValuesInt: { - delete values_.values_int_; - break; - } - case kValuesFloat: { - delete values_.values_float_; - break; - } - case kValuesDouble: { - delete values_.values_double_; - break; - } - case VALUES_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUES_NOT_SET; -} - - -void GetValueAtIndicesResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetValueAtIndicesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - shape_.Clear(); - clear_values(); - _internal_metadata_.Clear(); -} - -bool GetValueAtIndicesResponse::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:bmi.GetValueAtIndicesResponse) - 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)) { - // .bmi.IntArrayMessage values_int = 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_values_int())); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.FloatArrayMessage values_float = 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_values_float())); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.DoubleArrayMessage values_double = 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_values_double())); - } else { - goto handle_unusual; - } - break; - } - - // repeated int32 shape = 4 [packed = true]; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, this->mutable_shape()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - 1, 34u, input, this->mutable_shape()))); - } 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:bmi.GetValueAtIndicesResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetValueAtIndicesResponse) - return false; -#undef DO_ -} - -void GetValueAtIndicesResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetValueAtIndicesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .bmi.IntArrayMessage values_int = 1; - if (has_values_int()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, *values_.values_int_, output); - } - - // .bmi.FloatArrayMessage values_float = 2; - if (has_values_float()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, *values_.values_float_, output); - } - - // .bmi.DoubleArrayMessage values_double = 3; - if (has_values_double()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, *values_.values_double_, output); - } - - // repeated int32 shape = 4 [packed = true]; - if (this->shape_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(4, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _shape_cached_byte_size_)); - } - for (int i = 0, n = this->shape_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( - this->shape(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:bmi.GetValueAtIndicesResponse) -} - -::google::protobuf::uint8* GetValueAtIndicesResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetValueAtIndicesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .bmi.IntArrayMessage values_int = 1; - if (has_values_int()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, *values_.values_int_, deterministic, target); - } - - // .bmi.FloatArrayMessage values_float = 2; - if (has_values_float()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, *values_.values_float_, deterministic, target); - } - - // .bmi.DoubleArrayMessage values_double = 3; - if (has_values_double()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, *values_.values_double_, deterministic, target); - } - - // repeated int32 shape = 4 [packed = true]; - if (this->shape_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 4, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _shape_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32NoTagToArray(this->shape_, 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:bmi.GetValueAtIndicesResponse) - return target; -} - -size_t GetValueAtIndicesResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetValueAtIndicesResponse) - 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 int32 shape = 4 [packed = true]; - { - size_t data_size = ::google::protobuf::internal::WireFormatLite:: - Int32Size(this->shape_); - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _shape_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - switch (values_case()) { - // .bmi.IntArrayMessage values_int = 1; - case kValuesInt: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_int_); - break; - } - // .bmi.FloatArrayMessage values_float = 2; - case kValuesFloat: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_float_); - break; - } - // .bmi.DoubleArrayMessage values_double = 3; - case kValuesDouble: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_double_); - break; - } - case VALUES_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetValueAtIndicesResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetValueAtIndicesResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetValueAtIndicesResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetValueAtIndicesResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetValueAtIndicesResponse) - MergeFrom(*source); - } -} - -void GetValueAtIndicesResponse::MergeFrom(const GetValueAtIndicesResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetValueAtIndicesResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - shape_.MergeFrom(from.shape_); - switch (from.values_case()) { - case kValuesInt: { - mutable_values_int()->::bmi::IntArrayMessage::MergeFrom(from.values_int()); - break; - } - case kValuesFloat: { - mutable_values_float()->::bmi::FloatArrayMessage::MergeFrom(from.values_float()); - break; - } - case kValuesDouble: { - mutable_values_double()->::bmi::DoubleArrayMessage::MergeFrom(from.values_double()); - break; - } - case VALUES_NOT_SET: { - break; - } - } -} - -void GetValueAtIndicesResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetValueAtIndicesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetValueAtIndicesResponse::CopyFrom(const GetValueAtIndicesResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetValueAtIndicesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetValueAtIndicesResponse::IsInitialized() const { - return true; -} - -void GetValueAtIndicesResponse::Swap(GetValueAtIndicesResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetValueAtIndicesResponse::InternalSwap(GetValueAtIndicesResponse* other) { - using std::swap; - shape_.InternalSwap(&other->shape_); - swap(values_, other->values_); - swap(_oneof_case_[0], other->_oneof_case_[0]); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetValueAtIndicesResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetValueRequest::InitAsDefaultInstance() { - ::bmi::_SetValueRequest_default_instance_.values_int_ = const_cast< ::bmi::IntArrayMessage*>( - ::bmi::IntArrayMessage::internal_default_instance()); - ::bmi::_SetValueRequest_default_instance_.values_float_ = const_cast< ::bmi::FloatArrayMessage*>( - ::bmi::FloatArrayMessage::internal_default_instance()); - ::bmi::_SetValueRequest_default_instance_.values_double_ = const_cast< ::bmi::DoubleArrayMessage*>( - ::bmi::DoubleArrayMessage::internal_default_instance()); -} -void SetValueRequest::set_allocated_values_int(::bmi::IntArrayMessage* values_int) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_int) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_int = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_int, submessage_arena); - } - set_has_values_int(); - values_.values_int_ = values_int; - } - // @@protoc_insertion_point(field_set_allocated:bmi.SetValueRequest.values_int) -} -void SetValueRequest::set_allocated_values_float(::bmi::FloatArrayMessage* values_float) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_float) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_float = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_float, submessage_arena); - } - set_has_values_float(); - values_.values_float_ = values_float; - } - // @@protoc_insertion_point(field_set_allocated:bmi.SetValueRequest.values_float) -} -void SetValueRequest::set_allocated_values_double(::bmi::DoubleArrayMessage* values_double) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_double) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_double = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_double, submessage_arena); - } - set_has_values_double(); - values_.values_double_ = values_double; - } - // @@protoc_insertion_point(field_set_allocated:bmi.SetValueRequest.values_double) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetValueRequest::kNameFieldNumber; -const int SetValueRequest::kValuesIntFieldNumber; -const int SetValueRequest::kValuesFloatFieldNumber; -const int SetValueRequest::kValuesDoubleFieldNumber; -const int SetValueRequest::kShapeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetValueRequest::SetValueRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsSetValueRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.SetValueRequest) -} -SetValueRequest::SetValueRequest(const SetValueRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - shape_(from.shape_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - clear_has_values(); - switch (from.values_case()) { - case kValuesInt: { - mutable_values_int()->::bmi::IntArrayMessage::MergeFrom(from.values_int()); - break; - } - case kValuesFloat: { - mutable_values_float()->::bmi::FloatArrayMessage::MergeFrom(from.values_float()); - break; - } - case kValuesDouble: { - mutable_values_double()->::bmi::DoubleArrayMessage::MergeFrom(from.values_double()); - break; - } - case VALUES_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:bmi.SetValueRequest) -} - -void SetValueRequest::SharedCtor() { - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_values(); - _cached_size_ = 0; -} - -SetValueRequest::~SetValueRequest() { - // @@protoc_insertion_point(destructor:bmi.SetValueRequest) - SharedDtor(); -} - -void SetValueRequest::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (has_values()) { - clear_values(); - } -} - -void SetValueRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetValueRequest::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetValueRequest& SetValueRequest::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsSetValueRequest(); - return *internal_default_instance(); -} - -SetValueRequest* SetValueRequest::New(::google::protobuf::Arena* arena) const { - SetValueRequest* n = new SetValueRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetValueRequest::clear_values() { -// @@protoc_insertion_point(one_of_clear_start:bmi.SetValueRequest) - switch (values_case()) { - case kValuesInt: { - delete values_.values_int_; - break; - } - case kValuesFloat: { - delete values_.values_float_; - break; - } - case kValuesDouble: { - delete values_.values_double_; - break; - } - case VALUES_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUES_NOT_SET; -} - - -void SetValueRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.SetValueRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - shape_.Clear(); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_values(); - _internal_metadata_.Clear(); -} - -bool SetValueRequest::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:bmi.SetValueRequest) - 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 name = 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_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.SetValueRequest.name")); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.IntArrayMessage values_int = 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_values_int())); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.FloatArrayMessage values_float = 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_values_float())); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.DoubleArrayMessage values_double = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_values_double())); - } else { - goto handle_unusual; - } - break; - } - - // repeated int32 shape = 5 [packed = true]; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, this->mutable_shape()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - 1, 42u, input, this->mutable_shape()))); - } 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:bmi.SetValueRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.SetValueRequest) - return false; -#undef DO_ -} - -void SetValueRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.SetValueRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.SetValueRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // .bmi.IntArrayMessage values_int = 2; - if (has_values_int()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, *values_.values_int_, output); - } - - // .bmi.FloatArrayMessage values_float = 3; - if (has_values_float()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, *values_.values_float_, output); - } - - // .bmi.DoubleArrayMessage values_double = 4; - if (has_values_double()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, *values_.values_double_, output); - } - - // repeated int32 shape = 5 [packed = true]; - if (this->shape_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(5, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _shape_cached_byte_size_)); - } - for (int i = 0, n = this->shape_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( - this->shape(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:bmi.SetValueRequest) -} - -::google::protobuf::uint8* SetValueRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.SetValueRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.SetValueRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // .bmi.IntArrayMessage values_int = 2; - if (has_values_int()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, *values_.values_int_, deterministic, target); - } - - // .bmi.FloatArrayMessage values_float = 3; - if (has_values_float()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, *values_.values_float_, deterministic, target); - } - - // .bmi.DoubleArrayMessage values_double = 4; - if (has_values_double()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, *values_.values_double_, deterministic, target); - } - - // repeated int32 shape = 5 [packed = true]; - if (this->shape_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 5, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _shape_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32NoTagToArray(this->shape_, 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:bmi.SetValueRequest) - return target; -} - -size_t SetValueRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.SetValueRequest) - 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 int32 shape = 5 [packed = true]; - { - size_t data_size = ::google::protobuf::internal::WireFormatLite:: - Int32Size(this->shape_); - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _shape_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - // string name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - switch (values_case()) { - // .bmi.IntArrayMessage values_int = 2; - case kValuesInt: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_int_); - break; - } - // .bmi.FloatArrayMessage values_float = 3; - case kValuesFloat: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_float_); - break; - } - // .bmi.DoubleArrayMessage values_double = 4; - case kValuesDouble: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_double_); - break; - } - case VALUES_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetValueRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.SetValueRequest) - GOOGLE_DCHECK_NE(&from, this); - const SetValueRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.SetValueRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.SetValueRequest) - MergeFrom(*source); - } -} - -void SetValueRequest::MergeFrom(const SetValueRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.SetValueRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - shape_.MergeFrom(from.shape_); - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - switch (from.values_case()) { - case kValuesInt: { - mutable_values_int()->::bmi::IntArrayMessage::MergeFrom(from.values_int()); - break; - } - case kValuesFloat: { - mutable_values_float()->::bmi::FloatArrayMessage::MergeFrom(from.values_float()); - break; - } - case kValuesDouble: { - mutable_values_double()->::bmi::DoubleArrayMessage::MergeFrom(from.values_double()); - break; - } - case VALUES_NOT_SET: { - break; - } - } -} - -void SetValueRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.SetValueRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetValueRequest::CopyFrom(const SetValueRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.SetValueRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetValueRequest::IsInitialized() const { - return true; -} - -void SetValueRequest::Swap(SetValueRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SetValueRequest::InternalSwap(SetValueRequest* other) { - using std::swap; - shape_.InternalSwap(&other->shape_); - name_.Swap(&other->name_); - swap(values_, other->values_); - swap(_oneof_case_[0], other->_oneof_case_[0]); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetValueRequest::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetValuePtrRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetValuePtrRequest::kNameFieldNumber; -const int SetValuePtrRequest::kRefFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetValuePtrRequest::SetValuePtrRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsSetValuePtrRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.SetValuePtrRequest) -} -SetValuePtrRequest::SetValuePtrRequest(const SetValuePtrRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - ref_ = from.ref_; - // @@protoc_insertion_point(copy_constructor:bmi.SetValuePtrRequest) -} - -void SetValuePtrRequest::SharedCtor() { - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ref_ = 0; - _cached_size_ = 0; -} - -SetValuePtrRequest::~SetValuePtrRequest() { - // @@protoc_insertion_point(destructor:bmi.SetValuePtrRequest) - SharedDtor(); -} - -void SetValuePtrRequest::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void SetValuePtrRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetValuePtrRequest::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetValuePtrRequest& SetValuePtrRequest::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsSetValuePtrRequest(); - return *internal_default_instance(); -} - -SetValuePtrRequest* SetValuePtrRequest::New(::google::protobuf::Arena* arena) const { - SetValuePtrRequest* n = new SetValuePtrRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetValuePtrRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.SetValuePtrRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ref_ = 0; - _internal_metadata_.Clear(); -} - -bool SetValuePtrRequest::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:bmi.SetValuePtrRequest) - 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 name = 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_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.SetValuePtrRequest.name")); - } else { - goto handle_unusual; - } - break; - } - - // int32 ref = 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::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &ref_))); - } 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:bmi.SetValuePtrRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.SetValuePtrRequest) - return false; -#undef DO_ -} - -void SetValuePtrRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.SetValuePtrRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.SetValuePtrRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // int32 ref = 2; - if (this->ref() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ref(), 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:bmi.SetValuePtrRequest) -} - -::google::protobuf::uint8* SetValuePtrRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.SetValuePtrRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.SetValuePtrRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // int32 ref = 2; - if (this->ref() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ref(), 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:bmi.SetValuePtrRequest) - return target; -} - -size_t SetValuePtrRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.SetValuePtrRequest) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // int32 ref = 2; - if (this->ref() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->ref()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetValuePtrRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.SetValuePtrRequest) - GOOGLE_DCHECK_NE(&from, this); - const SetValuePtrRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.SetValuePtrRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.SetValuePtrRequest) - MergeFrom(*source); - } -} - -void SetValuePtrRequest::MergeFrom(const SetValuePtrRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.SetValuePtrRequest) - 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().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.ref() != 0) { - set_ref(from.ref()); - } -} - -void SetValuePtrRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.SetValuePtrRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetValuePtrRequest::CopyFrom(const SetValuePtrRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.SetValuePtrRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetValuePtrRequest::IsInitialized() const { - return true; -} - -void SetValuePtrRequest::Swap(SetValuePtrRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SetValuePtrRequest::InternalSwap(SetValuePtrRequest* other) { - using std::swap; - name_.Swap(&other->name_); - swap(ref_, other->ref_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetValuePtrRequest::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetValueAtIndicesRequest::InitAsDefaultInstance() { - ::bmi::_SetValueAtIndicesRequest_default_instance_.values_int_ = const_cast< ::bmi::IntArrayMessage*>( - ::bmi::IntArrayMessage::internal_default_instance()); - ::bmi::_SetValueAtIndicesRequest_default_instance_.values_float_ = const_cast< ::bmi::FloatArrayMessage*>( - ::bmi::FloatArrayMessage::internal_default_instance()); - ::bmi::_SetValueAtIndicesRequest_default_instance_.values_double_ = const_cast< ::bmi::DoubleArrayMessage*>( - ::bmi::DoubleArrayMessage::internal_default_instance()); -} -void SetValueAtIndicesRequest::set_allocated_values_int(::bmi::IntArrayMessage* values_int) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_int) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_int = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_int, submessage_arena); - } - set_has_values_int(); - values_.values_int_ = values_int; - } - // @@protoc_insertion_point(field_set_allocated:bmi.SetValueAtIndicesRequest.values_int) -} -void SetValueAtIndicesRequest::set_allocated_values_float(::bmi::FloatArrayMessage* values_float) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_float) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_float = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_float, submessage_arena); - } - set_has_values_float(); - values_.values_float_ = values_float; - } - // @@protoc_insertion_point(field_set_allocated:bmi.SetValueAtIndicesRequest.values_float) -} -void SetValueAtIndicesRequest::set_allocated_values_double(::bmi::DoubleArrayMessage* values_double) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_values(); - if (values_double) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - values_double = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values_double, submessage_arena); - } - set_has_values_double(); - values_.values_double_ = values_double; - } - // @@protoc_insertion_point(field_set_allocated:bmi.SetValueAtIndicesRequest.values_double) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetValueAtIndicesRequest::kNameFieldNumber; -const int SetValueAtIndicesRequest::kIndicesFieldNumber; -const int SetValueAtIndicesRequest::kValuesIntFieldNumber; -const int SetValueAtIndicesRequest::kValuesFloatFieldNumber; -const int SetValueAtIndicesRequest::kValuesDoubleFieldNumber; -const int SetValueAtIndicesRequest::kIndexSizeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetValueAtIndicesRequest::SetValueAtIndicesRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsSetValueAtIndicesRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.SetValueAtIndicesRequest) -} -SetValueAtIndicesRequest::SetValueAtIndicesRequest(const SetValueAtIndicesRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - indices_(from.indices_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - index_size_ = from.index_size_; - clear_has_values(); - switch (from.values_case()) { - case kValuesInt: { - mutable_values_int()->::bmi::IntArrayMessage::MergeFrom(from.values_int()); - break; - } - case kValuesFloat: { - mutable_values_float()->::bmi::FloatArrayMessage::MergeFrom(from.values_float()); - break; - } - case kValuesDouble: { - mutable_values_double()->::bmi::DoubleArrayMessage::MergeFrom(from.values_double()); - break; - } - case VALUES_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:bmi.SetValueAtIndicesRequest) -} - -void SetValueAtIndicesRequest::SharedCtor() { - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - index_size_ = 0; - clear_has_values(); - _cached_size_ = 0; -} - -SetValueAtIndicesRequest::~SetValueAtIndicesRequest() { - // @@protoc_insertion_point(destructor:bmi.SetValueAtIndicesRequest) - SharedDtor(); -} - -void SetValueAtIndicesRequest::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (has_values()) { - clear_values(); - } -} - -void SetValueAtIndicesRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetValueAtIndicesRequest::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetValueAtIndicesRequest& SetValueAtIndicesRequest::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsSetValueAtIndicesRequest(); - return *internal_default_instance(); -} - -SetValueAtIndicesRequest* SetValueAtIndicesRequest::New(::google::protobuf::Arena* arena) const { - SetValueAtIndicesRequest* n = new SetValueAtIndicesRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetValueAtIndicesRequest::clear_values() { -// @@protoc_insertion_point(one_of_clear_start:bmi.SetValueAtIndicesRequest) - switch (values_case()) { - case kValuesInt: { - delete values_.values_int_; - break; - } - case kValuesFloat: { - delete values_.values_float_; - break; - } - case kValuesDouble: { - delete values_.values_double_; - break; - } - case VALUES_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUES_NOT_SET; -} - - -void SetValueAtIndicesRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.SetValueAtIndicesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - indices_.Clear(); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - index_size_ = 0; - clear_values(); - _internal_metadata_.Clear(); -} - -bool SetValueAtIndicesRequest::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:bmi.SetValueAtIndicesRequest) - 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 name = 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_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.SetValueAtIndicesRequest.name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated int32 indices = 2 [packed = true]; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, this->mutable_indices()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - 1, 18u, input, this->mutable_indices()))); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.IntArrayMessage values_int = 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_values_int())); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.FloatArrayMessage values_float = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_values_float())); - } else { - goto handle_unusual; - } - break; - } - - // .bmi.DoubleArrayMessage values_double = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_values_double())); - } else { - goto handle_unusual; - } - break; - } - - // int32 index_size = 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::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &index_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:bmi.SetValueAtIndicesRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.SetValueAtIndicesRequest) - return false; -#undef DO_ -} - -void SetValueAtIndicesRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.SetValueAtIndicesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.SetValueAtIndicesRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // repeated int32 indices = 2 [packed = true]; - if (this->indices_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(2, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _indices_cached_byte_size_)); - } - for (int i = 0, n = this->indices_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( - this->indices(i), output); - } - - // .bmi.IntArrayMessage values_int = 3; - if (has_values_int()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, *values_.values_int_, output); - } - - // .bmi.FloatArrayMessage values_float = 4; - if (has_values_float()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, *values_.values_float_, output); - } - - // .bmi.DoubleArrayMessage values_double = 5; - if (has_values_double()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, *values_.values_double_, output); - } - - // int32 index_size = 6; - if (this->index_size() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->index_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:bmi.SetValueAtIndicesRequest) -} - -::google::protobuf::uint8* SetValueAtIndicesRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.SetValueAtIndicesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.SetValueAtIndicesRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // repeated int32 indices = 2 [packed = true]; - if (this->indices_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 2, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _indices_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32NoTagToArray(this->indices_, target); - } - - // .bmi.IntArrayMessage values_int = 3; - if (has_values_int()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, *values_.values_int_, deterministic, target); - } - - // .bmi.FloatArrayMessage values_float = 4; - if (has_values_float()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, *values_.values_float_, deterministic, target); - } - - // .bmi.DoubleArrayMessage values_double = 5; - if (has_values_double()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, *values_.values_double_, deterministic, target); - } - - // int32 index_size = 6; - if (this->index_size() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->index_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:bmi.SetValueAtIndicesRequest) - return target; -} - -size_t SetValueAtIndicesRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.SetValueAtIndicesRequest) - 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 int32 indices = 2 [packed = true]; - { - size_t data_size = ::google::protobuf::internal::WireFormatLite:: - Int32Size(this->indices_); - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _indices_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - // string name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // int32 index_size = 6; - if (this->index_size() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->index_size()); - } - - switch (values_case()) { - // .bmi.IntArrayMessage values_int = 3; - case kValuesInt: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_int_); - break; - } - // .bmi.FloatArrayMessage values_float = 4; - case kValuesFloat: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_float_); - break; - } - // .bmi.DoubleArrayMessage values_double = 5; - case kValuesDouble: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *values_.values_double_); - break; - } - case VALUES_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetValueAtIndicesRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.SetValueAtIndicesRequest) - GOOGLE_DCHECK_NE(&from, this); - const SetValueAtIndicesRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.SetValueAtIndicesRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.SetValueAtIndicesRequest) - MergeFrom(*source); - } -} - -void SetValueAtIndicesRequest::MergeFrom(const SetValueAtIndicesRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.SetValueAtIndicesRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - indices_.MergeFrom(from.indices_); - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.index_size() != 0) { - set_index_size(from.index_size()); - } - switch (from.values_case()) { - case kValuesInt: { - mutable_values_int()->::bmi::IntArrayMessage::MergeFrom(from.values_int()); - break; - } - case kValuesFloat: { - mutable_values_float()->::bmi::FloatArrayMessage::MergeFrom(from.values_float()); - break; - } - case kValuesDouble: { - mutable_values_double()->::bmi::DoubleArrayMessage::MergeFrom(from.values_double()); - break; - } - case VALUES_NOT_SET: { - break; - } - } -} - -void SetValueAtIndicesRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.SetValueAtIndicesRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetValueAtIndicesRequest::CopyFrom(const SetValueAtIndicesRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.SetValueAtIndicesRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetValueAtIndicesRequest::IsInitialized() const { - return true; -} - -void SetValueAtIndicesRequest::Swap(SetValueAtIndicesRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SetValueAtIndicesRequest::InternalSwap(SetValueAtIndicesRequest* other) { - using std::swap; - indices_.InternalSwap(&other->indices_); - name_.Swap(&other->name_); - swap(index_size_, other->index_size_); - swap(values_, other->values_); - swap(_oneof_case_[0], other->_oneof_case_[0]); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetValueAtIndicesRequest::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GridRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GridRequest::kGridIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GridRequest::GridRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGridRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GridRequest) -} -GridRequest::GridRequest(const GridRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - grid_id_ = from.grid_id_; - // @@protoc_insertion_point(copy_constructor:bmi.GridRequest) -} - -void GridRequest::SharedCtor() { - grid_id_ = 0; - _cached_size_ = 0; -} - -GridRequest::~GridRequest() { - // @@protoc_insertion_point(destructor:bmi.GridRequest) - SharedDtor(); -} - -void GridRequest::SharedDtor() { -} - -void GridRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GridRequest::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GridRequest& GridRequest::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGridRequest(); - return *internal_default_instance(); -} - -GridRequest* GridRequest::New(::google::protobuf::Arena* arena) const { - GridRequest* n = new GridRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GridRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GridRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - grid_id_ = 0; - _internal_metadata_.Clear(); -} - -bool GridRequest::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:bmi.GridRequest) - 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)) { - // int32 grid_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &grid_id_))); - } 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:bmi.GridRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GridRequest) - return false; -#undef DO_ -} - -void GridRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GridRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 grid_id = 1; - if (this->grid_id() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->grid_id(), 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:bmi.GridRequest) -} - -::google::protobuf::uint8* GridRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GridRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 grid_id = 1; - if (this->grid_id() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->grid_id(), 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:bmi.GridRequest) - return target; -} - -size_t GridRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GridRequest) - 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())); - } - // int32 grid_id = 1; - if (this->grid_id() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->grid_id()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GridRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GridRequest) - GOOGLE_DCHECK_NE(&from, this); - const GridRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GridRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GridRequest) - MergeFrom(*source); - } -} - -void GridRequest::MergeFrom(const GridRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GridRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.grid_id() != 0) { - set_grid_id(from.grid_id()); - } -} - -void GridRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GridRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GridRequest::CopyFrom(const GridRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GridRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GridRequest::IsInitialized() const { - return true; -} - -void GridRequest::Swap(GridRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GridRequest::InternalSwap(GridRequest* other) { - using std::swap; - swap(grid_id_, other->grid_id_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GridRequest::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetGridSizeResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetGridSizeResponse::kSizeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetGridSizeResponse::GetGridSizeResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetGridSizeResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetGridSizeResponse) -} -GetGridSizeResponse::GetGridSizeResponse(const GetGridSizeResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - size_ = from.size_; - // @@protoc_insertion_point(copy_constructor:bmi.GetGridSizeResponse) -} - -void GetGridSizeResponse::SharedCtor() { - size_ = 0; - _cached_size_ = 0; -} - -GetGridSizeResponse::~GetGridSizeResponse() { - // @@protoc_insertion_point(destructor:bmi.GetGridSizeResponse) - SharedDtor(); -} - -void GetGridSizeResponse::SharedDtor() { -} - -void GetGridSizeResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetGridSizeResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetGridSizeResponse& GetGridSizeResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetGridSizeResponse(); - return *internal_default_instance(); -} - -GetGridSizeResponse* GetGridSizeResponse::New(::google::protobuf::Arena* arena) const { - GetGridSizeResponse* n = new GetGridSizeResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetGridSizeResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetGridSizeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - size_ = 0; - _internal_metadata_.Clear(); -} - -bool GetGridSizeResponse::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:bmi.GetGridSizeResponse) - 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)) { - // int32 size = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &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:bmi.GetGridSizeResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetGridSizeResponse) - return false; -#undef DO_ -} - -void GetGridSizeResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetGridSizeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 size = 1; - if (this->size() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->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:bmi.GetGridSizeResponse) -} - -::google::protobuf::uint8* GetGridSizeResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetGridSizeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 size = 1; - if (this->size() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->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:bmi.GetGridSizeResponse) - return target; -} - -size_t GetGridSizeResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetGridSizeResponse) - 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())); - } - // int32 size = 1; - if (this->size() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->size()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetGridSizeResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetGridSizeResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetGridSizeResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetGridSizeResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetGridSizeResponse) - MergeFrom(*source); - } -} - -void GetGridSizeResponse::MergeFrom(const GetGridSizeResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetGridSizeResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.size() != 0) { - set_size(from.size()); - } -} - -void GetGridSizeResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetGridSizeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetGridSizeResponse::CopyFrom(const GetGridSizeResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetGridSizeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetGridSizeResponse::IsInitialized() const { - return true; -} - -void GetGridSizeResponse::Swap(GetGridSizeResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetGridSizeResponse::InternalSwap(GetGridSizeResponse* other) { - using std::swap; - swap(size_, other->size_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetGridSizeResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetGridRankResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetGridRankResponse::kRankFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetGridRankResponse::GetGridRankResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetGridRankResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetGridRankResponse) -} -GetGridRankResponse::GetGridRankResponse(const GetGridRankResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - rank_ = from.rank_; - // @@protoc_insertion_point(copy_constructor:bmi.GetGridRankResponse) -} - -void GetGridRankResponse::SharedCtor() { - rank_ = 0; - _cached_size_ = 0; -} - -GetGridRankResponse::~GetGridRankResponse() { - // @@protoc_insertion_point(destructor:bmi.GetGridRankResponse) - SharedDtor(); -} - -void GetGridRankResponse::SharedDtor() { -} - -void GetGridRankResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetGridRankResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetGridRankResponse& GetGridRankResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetGridRankResponse(); - return *internal_default_instance(); -} - -GetGridRankResponse* GetGridRankResponse::New(::google::protobuf::Arena* arena) const { - GetGridRankResponse* n = new GetGridRankResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetGridRankResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetGridRankResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - rank_ = 0; - _internal_metadata_.Clear(); -} - -bool GetGridRankResponse::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:bmi.GetGridRankResponse) - 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)) { - // int32 rank = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &rank_))); - } 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:bmi.GetGridRankResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetGridRankResponse) - return false; -#undef DO_ -} - -void GetGridRankResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetGridRankResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 rank = 1; - if (this->rank() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->rank(), 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:bmi.GetGridRankResponse) -} - -::google::protobuf::uint8* GetGridRankResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetGridRankResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 rank = 1; - if (this->rank() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->rank(), 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:bmi.GetGridRankResponse) - return target; -} - -size_t GetGridRankResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetGridRankResponse) - 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())); - } - // int32 rank = 1; - if (this->rank() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->rank()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetGridRankResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetGridRankResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetGridRankResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetGridRankResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetGridRankResponse) - MergeFrom(*source); - } -} - -void GetGridRankResponse::MergeFrom(const GetGridRankResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetGridRankResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.rank() != 0) { - set_rank(from.rank()); - } -} - -void GetGridRankResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetGridRankResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetGridRankResponse::CopyFrom(const GetGridRankResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetGridRankResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetGridRankResponse::IsInitialized() const { - return true; -} - -void GetGridRankResponse::Swap(GetGridRankResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetGridRankResponse::InternalSwap(GetGridRankResponse* other) { - using std::swap; - swap(rank_, other->rank_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetGridRankResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetGridTypeResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetGridTypeResponse::kTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetGridTypeResponse::GetGridTypeResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetGridTypeResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetGridTypeResponse) -} -GetGridTypeResponse::GetGridTypeResponse(const GetGridTypeResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.type().size() > 0) { - type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_); - } - // @@protoc_insertion_point(copy_constructor:bmi.GetGridTypeResponse) -} - -void GetGridTypeResponse::SharedCtor() { - type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -GetGridTypeResponse::~GetGridTypeResponse() { - // @@protoc_insertion_point(destructor:bmi.GetGridTypeResponse) - SharedDtor(); -} - -void GetGridTypeResponse::SharedDtor() { - type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetGridTypeResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetGridTypeResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetGridTypeResponse& GetGridTypeResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetGridTypeResponse(); - return *internal_default_instance(); -} - -GetGridTypeResponse* GetGridTypeResponse::New(::google::protobuf::Arena* arena) const { - GetGridTypeResponse* n = new GetGridTypeResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetGridTypeResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetGridTypeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool GetGridTypeResponse::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:bmi.GetGridTypeResponse) - 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 type = 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_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->type().data(), static_cast(this->type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "bmi.GetGridTypeResponse.type")); - } 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:bmi.GetGridTypeResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetGridTypeResponse) - return false; -#undef DO_ -} - -void GetGridTypeResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetGridTypeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string type = 1; - if (this->type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->type().data(), static_cast(this->type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetGridTypeResponse.type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->type(), 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:bmi.GetGridTypeResponse) -} - -::google::protobuf::uint8* GetGridTypeResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetGridTypeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string type = 1; - if (this->type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->type().data(), static_cast(this->type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "bmi.GetGridTypeResponse.type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->type(), 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:bmi.GetGridTypeResponse) - return target; -} - -size_t GetGridTypeResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetGridTypeResponse) - 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 type = 1; - if (this->type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetGridTypeResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetGridTypeResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetGridTypeResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetGridTypeResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetGridTypeResponse) - MergeFrom(*source); - } -} - -void GetGridTypeResponse::MergeFrom(const GetGridTypeResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetGridTypeResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.type().size() > 0) { - - type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_); - } -} - -void GetGridTypeResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetGridTypeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetGridTypeResponse::CopyFrom(const GetGridTypeResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetGridTypeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetGridTypeResponse::IsInitialized() const { - return true; -} - -void GetGridTypeResponse::Swap(GetGridTypeResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetGridTypeResponse::InternalSwap(GetGridTypeResponse* other) { - using std::swap; - type_.Swap(&other->type_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetGridTypeResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetGridShapeResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetGridShapeResponse::kShapeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetGridShapeResponse::GetGridShapeResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetGridShapeResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetGridShapeResponse) -} -GetGridShapeResponse::GetGridShapeResponse(const GetGridShapeResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - shape_(from.shape_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.GetGridShapeResponse) -} - -void GetGridShapeResponse::SharedCtor() { - _cached_size_ = 0; -} - -GetGridShapeResponse::~GetGridShapeResponse() { - // @@protoc_insertion_point(destructor:bmi.GetGridShapeResponse) - SharedDtor(); -} - -void GetGridShapeResponse::SharedDtor() { -} - -void GetGridShapeResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetGridShapeResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetGridShapeResponse& GetGridShapeResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetGridShapeResponse(); - return *internal_default_instance(); -} - -GetGridShapeResponse* GetGridShapeResponse::New(::google::protobuf::Arena* arena) const { - GetGridShapeResponse* n = new GetGridShapeResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetGridShapeResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetGridShapeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - shape_.Clear(); - _internal_metadata_.Clear(); -} - -bool GetGridShapeResponse::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:bmi.GetGridShapeResponse) - 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 int32 shape = 1 [packed = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, this->mutable_shape()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - 1, 10u, input, this->mutable_shape()))); - } 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:bmi.GetGridShapeResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetGridShapeResponse) - return false; -#undef DO_ -} - -void GetGridShapeResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetGridShapeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 shape = 1 [packed = true]; - if (this->shape_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _shape_cached_byte_size_)); - } - for (int i = 0, n = this->shape_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( - this->shape(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:bmi.GetGridShapeResponse) -} - -::google::protobuf::uint8* GetGridShapeResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetGridShapeResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 shape = 1 [packed = true]; - if (this->shape_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _shape_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32NoTagToArray(this->shape_, 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:bmi.GetGridShapeResponse) - return target; -} - -size_t GetGridShapeResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetGridShapeResponse) - 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 int32 shape = 1 [packed = true]; - { - size_t data_size = ::google::protobuf::internal::WireFormatLite:: - Int32Size(this->shape_); - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _shape_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetGridShapeResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetGridShapeResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetGridShapeResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetGridShapeResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetGridShapeResponse) - MergeFrom(*source); - } -} - -void GetGridShapeResponse::MergeFrom(const GetGridShapeResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetGridShapeResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - shape_.MergeFrom(from.shape_); -} - -void GetGridShapeResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetGridShapeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetGridShapeResponse::CopyFrom(const GetGridShapeResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetGridShapeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetGridShapeResponse::IsInitialized() const { - return true; -} - -void GetGridShapeResponse::Swap(GetGridShapeResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetGridShapeResponse::InternalSwap(GetGridShapeResponse* other) { - using std::swap; - shape_.InternalSwap(&other->shape_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetGridShapeResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetGridSpacingResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetGridSpacingResponse::kSpacingFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetGridSpacingResponse::GetGridSpacingResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetGridSpacingResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetGridSpacingResponse) -} -GetGridSpacingResponse::GetGridSpacingResponse(const GetGridSpacingResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - spacing_(from.spacing_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.GetGridSpacingResponse) -} - -void GetGridSpacingResponse::SharedCtor() { - _cached_size_ = 0; -} - -GetGridSpacingResponse::~GetGridSpacingResponse() { - // @@protoc_insertion_point(destructor:bmi.GetGridSpacingResponse) - SharedDtor(); -} - -void GetGridSpacingResponse::SharedDtor() { -} - -void GetGridSpacingResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetGridSpacingResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetGridSpacingResponse& GetGridSpacingResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetGridSpacingResponse(); - return *internal_default_instance(); -} - -GetGridSpacingResponse* GetGridSpacingResponse::New(::google::protobuf::Arena* arena) const { - GetGridSpacingResponse* n = new GetGridSpacingResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetGridSpacingResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetGridSpacingResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - spacing_.Clear(); - _internal_metadata_.Clear(); -} - -bool GetGridSpacingResponse::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:bmi.GetGridSpacingResponse) - 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 double spacing = 1 [packed = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, this->mutable_spacing()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - 1, 10u, input, this->mutable_spacing()))); - } 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:bmi.GetGridSpacingResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetGridSpacingResponse) - return false; -#undef DO_ -} - -void GetGridSpacingResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetGridSpacingResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated double spacing = 1 [packed = true]; - if (this->spacing_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _spacing_cached_byte_size_)); - ::google::protobuf::internal::WireFormatLite::WriteDoubleArray( - this->spacing().data(), this->spacing_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:bmi.GetGridSpacingResponse) -} - -::google::protobuf::uint8* GetGridSpacingResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetGridSpacingResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated double spacing = 1 [packed = true]; - if (this->spacing_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _spacing_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteDoubleNoTagToArray(this->spacing_, 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:bmi.GetGridSpacingResponse) - return target; -} - -size_t GetGridSpacingResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetGridSpacingResponse) - 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 double spacing = 1 [packed = true]; - { - unsigned int count = static_cast(this->spacing_size()); - size_t data_size = 8UL * count; - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _spacing_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetGridSpacingResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetGridSpacingResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetGridSpacingResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetGridSpacingResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetGridSpacingResponse) - MergeFrom(*source); - } -} - -void GetGridSpacingResponse::MergeFrom(const GetGridSpacingResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetGridSpacingResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - spacing_.MergeFrom(from.spacing_); -} - -void GetGridSpacingResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetGridSpacingResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetGridSpacingResponse::CopyFrom(const GetGridSpacingResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetGridSpacingResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetGridSpacingResponse::IsInitialized() const { - return true; -} - -void GetGridSpacingResponse::Swap(GetGridSpacingResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetGridSpacingResponse::InternalSwap(GetGridSpacingResponse* other) { - using std::swap; - spacing_.InternalSwap(&other->spacing_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetGridSpacingResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetGridOriginResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetGridOriginResponse::kOriginFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetGridOriginResponse::GetGridOriginResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetGridOriginResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetGridOriginResponse) -} -GetGridOriginResponse::GetGridOriginResponse(const GetGridOriginResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - origin_(from.origin_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.GetGridOriginResponse) -} - -void GetGridOriginResponse::SharedCtor() { - _cached_size_ = 0; -} - -GetGridOriginResponse::~GetGridOriginResponse() { - // @@protoc_insertion_point(destructor:bmi.GetGridOriginResponse) - SharedDtor(); -} - -void GetGridOriginResponse::SharedDtor() { -} - -void GetGridOriginResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetGridOriginResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetGridOriginResponse& GetGridOriginResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetGridOriginResponse(); - return *internal_default_instance(); -} - -GetGridOriginResponse* GetGridOriginResponse::New(::google::protobuf::Arena* arena) const { - GetGridOriginResponse* n = new GetGridOriginResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetGridOriginResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetGridOriginResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - origin_.Clear(); - _internal_metadata_.Clear(); -} - -bool GetGridOriginResponse::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:bmi.GetGridOriginResponse) - 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 double origin = 1 [packed = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, this->mutable_origin()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - 1, 10u, input, this->mutable_origin()))); - } 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:bmi.GetGridOriginResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetGridOriginResponse) - return false; -#undef DO_ -} - -void GetGridOriginResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetGridOriginResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated double origin = 1 [packed = true]; - if (this->origin_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _origin_cached_byte_size_)); - ::google::protobuf::internal::WireFormatLite::WriteDoubleArray( - this->origin().data(), this->origin_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:bmi.GetGridOriginResponse) -} - -::google::protobuf::uint8* GetGridOriginResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetGridOriginResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated double origin = 1 [packed = true]; - if (this->origin_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _origin_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteDoubleNoTagToArray(this->origin_, 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:bmi.GetGridOriginResponse) - return target; -} - -size_t GetGridOriginResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetGridOriginResponse) - 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 double origin = 1 [packed = true]; - { - unsigned int count = static_cast(this->origin_size()); - size_t data_size = 8UL * count; - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _origin_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetGridOriginResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetGridOriginResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetGridOriginResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetGridOriginResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetGridOriginResponse) - MergeFrom(*source); - } -} - -void GetGridOriginResponse::MergeFrom(const GetGridOriginResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetGridOriginResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - origin_.MergeFrom(from.origin_); -} - -void GetGridOriginResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetGridOriginResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetGridOriginResponse::CopyFrom(const GetGridOriginResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetGridOriginResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetGridOriginResponse::IsInitialized() const { - return true; -} - -void GetGridOriginResponse::Swap(GetGridOriginResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetGridOriginResponse::InternalSwap(GetGridOriginResponse* other) { - using std::swap; - origin_.InternalSwap(&other->origin_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetGridOriginResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetGridPointsResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetGridPointsResponse::kCoordinatesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetGridPointsResponse::GetGridPointsResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetGridPointsResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetGridPointsResponse) -} -GetGridPointsResponse::GetGridPointsResponse(const GetGridPointsResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - coordinates_(from.coordinates_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.GetGridPointsResponse) -} - -void GetGridPointsResponse::SharedCtor() { - _cached_size_ = 0; -} - -GetGridPointsResponse::~GetGridPointsResponse() { - // @@protoc_insertion_point(destructor:bmi.GetGridPointsResponse) - SharedDtor(); -} - -void GetGridPointsResponse::SharedDtor() { -} - -void GetGridPointsResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetGridPointsResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetGridPointsResponse& GetGridPointsResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetGridPointsResponse(); - return *internal_default_instance(); -} - -GetGridPointsResponse* GetGridPointsResponse::New(::google::protobuf::Arena* arena) const { - GetGridPointsResponse* n = new GetGridPointsResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetGridPointsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetGridPointsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - coordinates_.Clear(); - _internal_metadata_.Clear(); -} - -bool GetGridPointsResponse::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:bmi.GetGridPointsResponse) - 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 double coordinates = 1 [packed = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, this->mutable_coordinates()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - 1, 10u, input, this->mutable_coordinates()))); - } 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:bmi.GetGridPointsResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetGridPointsResponse) - return false; -#undef DO_ -} - -void GetGridPointsResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetGridPointsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated double coordinates = 1 [packed = true]; - if (this->coordinates_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _coordinates_cached_byte_size_)); - ::google::protobuf::internal::WireFormatLite::WriteDoubleArray( - this->coordinates().data(), this->coordinates_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:bmi.GetGridPointsResponse) -} - -::google::protobuf::uint8* GetGridPointsResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetGridPointsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated double coordinates = 1 [packed = true]; - if (this->coordinates_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _coordinates_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteDoubleNoTagToArray(this->coordinates_, 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:bmi.GetGridPointsResponse) - return target; -} - -size_t GetGridPointsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetGridPointsResponse) - 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 double coordinates = 1 [packed = true]; - { - unsigned int count = static_cast(this->coordinates_size()); - size_t data_size = 8UL * count; - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _coordinates_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetGridPointsResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetGridPointsResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetGridPointsResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetGridPointsResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetGridPointsResponse) - MergeFrom(*source); - } -} - -void GetGridPointsResponse::MergeFrom(const GetGridPointsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetGridPointsResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - coordinates_.MergeFrom(from.coordinates_); -} - -void GetGridPointsResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetGridPointsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetGridPointsResponse::CopyFrom(const GetGridPointsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetGridPointsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetGridPointsResponse::IsInitialized() const { - return true; -} - -void GetGridPointsResponse::Swap(GetGridPointsResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetGridPointsResponse::InternalSwap(GetGridPointsResponse* other) { - using std::swap; - coordinates_.InternalSwap(&other->coordinates_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetGridPointsResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetCountResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetCountResponse::kCountFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetCountResponse::GetCountResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetCountResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetCountResponse) -} -GetCountResponse::GetCountResponse(const GetCountResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - count_ = from.count_; - // @@protoc_insertion_point(copy_constructor:bmi.GetCountResponse) -} - -void GetCountResponse::SharedCtor() { - count_ = 0; - _cached_size_ = 0; -} - -GetCountResponse::~GetCountResponse() { - // @@protoc_insertion_point(destructor:bmi.GetCountResponse) - SharedDtor(); -} - -void GetCountResponse::SharedDtor() { -} - -void GetCountResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetCountResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetCountResponse& GetCountResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetCountResponse(); - return *internal_default_instance(); -} - -GetCountResponse* GetCountResponse::New(::google::protobuf::Arena* arena) const { - GetCountResponse* n = new GetCountResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetCountResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetCountResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - count_ = 0; - _internal_metadata_.Clear(); -} - -bool GetCountResponse::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:bmi.GetCountResponse) - 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)) { - // int32 count = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &count_))); - } 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:bmi.GetCountResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetCountResponse) - return false; -#undef DO_ -} - -void GetCountResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetCountResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 count = 1; - if (this->count() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->count(), 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:bmi.GetCountResponse) -} - -::google::protobuf::uint8* GetCountResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetCountResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 count = 1; - if (this->count() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->count(), 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:bmi.GetCountResponse) - return target; -} - -size_t GetCountResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetCountResponse) - 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())); - } - // int32 count = 1; - if (this->count() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->count()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetCountResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetCountResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetCountResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetCountResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetCountResponse) - MergeFrom(*source); - } -} - -void GetCountResponse::MergeFrom(const GetCountResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetCountResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.count() != 0) { - set_count(from.count()); - } -} - -void GetCountResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetCountResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetCountResponse::CopyFrom(const GetCountResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetCountResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetCountResponse::IsInitialized() const { - return true; -} - -void GetCountResponse::Swap(GetCountResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetCountResponse::InternalSwap(GetCountResponse* other) { - using std::swap; - swap(count_, other->count_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetCountResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetGridConnectivityResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetGridConnectivityResponse::kLinksFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetGridConnectivityResponse::GetGridConnectivityResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetGridConnectivityResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetGridConnectivityResponse) -} -GetGridConnectivityResponse::GetGridConnectivityResponse(const GetGridConnectivityResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - links_(from.links_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.GetGridConnectivityResponse) -} - -void GetGridConnectivityResponse::SharedCtor() { - _cached_size_ = 0; -} - -GetGridConnectivityResponse::~GetGridConnectivityResponse() { - // @@protoc_insertion_point(destructor:bmi.GetGridConnectivityResponse) - SharedDtor(); -} - -void GetGridConnectivityResponse::SharedDtor() { -} - -void GetGridConnectivityResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetGridConnectivityResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetGridConnectivityResponse& GetGridConnectivityResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetGridConnectivityResponse(); - return *internal_default_instance(); -} - -GetGridConnectivityResponse* GetGridConnectivityResponse::New(::google::protobuf::Arena* arena) const { - GetGridConnectivityResponse* n = new GetGridConnectivityResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetGridConnectivityResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetGridConnectivityResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - links_.Clear(); - _internal_metadata_.Clear(); -} - -bool GetGridConnectivityResponse::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:bmi.GetGridConnectivityResponse) - 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 int32 links = 1 [packed = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, this->mutable_links()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - 1, 10u, input, this->mutable_links()))); - } 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:bmi.GetGridConnectivityResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetGridConnectivityResponse) - return false; -#undef DO_ -} - -void GetGridConnectivityResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetGridConnectivityResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 links = 1 [packed = true]; - if (this->links_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _links_cached_byte_size_)); - } - for (int i = 0, n = this->links_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( - this->links(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:bmi.GetGridConnectivityResponse) -} - -::google::protobuf::uint8* GetGridConnectivityResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetGridConnectivityResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 links = 1 [packed = true]; - if (this->links_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _links_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32NoTagToArray(this->links_, 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:bmi.GetGridConnectivityResponse) - return target; -} - -size_t GetGridConnectivityResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetGridConnectivityResponse) - 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 int32 links = 1 [packed = true]; - { - size_t data_size = ::google::protobuf::internal::WireFormatLite:: - Int32Size(this->links_); - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _links_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetGridConnectivityResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetGridConnectivityResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetGridConnectivityResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetGridConnectivityResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetGridConnectivityResponse) - MergeFrom(*source); - } -} - -void GetGridConnectivityResponse::MergeFrom(const GetGridConnectivityResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetGridConnectivityResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - links_.MergeFrom(from.links_); -} - -void GetGridConnectivityResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetGridConnectivityResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetGridConnectivityResponse::CopyFrom(const GetGridConnectivityResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetGridConnectivityResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetGridConnectivityResponse::IsInitialized() const { - return true; -} - -void GetGridConnectivityResponse::Swap(GetGridConnectivityResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetGridConnectivityResponse::InternalSwap(GetGridConnectivityResponse* other) { - using std::swap; - links_.InternalSwap(&other->links_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetGridConnectivityResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetGridOffsetResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetGridOffsetResponse::kOffsetsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetGridOffsetResponse::GetGridOffsetResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_bmi_2eproto::InitDefaultsGetGridOffsetResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:bmi.GetGridOffsetResponse) -} -GetGridOffsetResponse::GetGridOffsetResponse(const GetGridOffsetResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - offsets_(from.offsets_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:bmi.GetGridOffsetResponse) -} - -void GetGridOffsetResponse::SharedCtor() { - _cached_size_ = 0; -} - -GetGridOffsetResponse::~GetGridOffsetResponse() { - // @@protoc_insertion_point(destructor:bmi.GetGridOffsetResponse) - SharedDtor(); -} - -void GetGridOffsetResponse::SharedDtor() { -} - -void GetGridOffsetResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetGridOffsetResponse::descriptor() { - ::protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const GetGridOffsetResponse& GetGridOffsetResponse::default_instance() { - ::protobuf_bmi_2eproto::InitDefaultsGetGridOffsetResponse(); - return *internal_default_instance(); -} - -GetGridOffsetResponse* GetGridOffsetResponse::New(::google::protobuf::Arena* arena) const { - GetGridOffsetResponse* n = new GetGridOffsetResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void GetGridOffsetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:bmi.GetGridOffsetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - offsets_.Clear(); - _internal_metadata_.Clear(); -} - -bool GetGridOffsetResponse::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:bmi.GetGridOffsetResponse) - 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 int32 offsets = 1 [packed = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, this->mutable_offsets()))); - } else if ( - static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - 1, 10u, input, this->mutable_offsets()))); - } 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:bmi.GetGridOffsetResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:bmi.GetGridOffsetResponse) - return false; -#undef DO_ -} - -void GetGridOffsetResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:bmi.GetGridOffsetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 offsets = 1 [packed = true]; - if (this->offsets_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); - output->WriteVarint32(static_cast< ::google::protobuf::uint32>( - _offsets_cached_byte_size_)); - } - for (int i = 0, n = this->offsets_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( - this->offsets(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:bmi.GetGridOffsetResponse) -} - -::google::protobuf::uint8* GetGridOffsetResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:bmi.GetGridOffsetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 offsets = 1 [packed = true]; - if (this->offsets_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( - static_cast< ::google::protobuf::int32>( - _offsets_cached_byte_size_), target); - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32NoTagToArray(this->offsets_, 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:bmi.GetGridOffsetResponse) - return target; -} - -size_t GetGridOffsetResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:bmi.GetGridOffsetResponse) - 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 int32 offsets = 1 [packed = true]; - { - size_t data_size = ::google::protobuf::internal::WireFormatLite:: - Int32Size(this->offsets_); - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast< ::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _offsets_cached_byte_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - total_size += data_size; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void GetGridOffsetResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:bmi.GetGridOffsetResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetGridOffsetResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:bmi.GetGridOffsetResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:bmi.GetGridOffsetResponse) - MergeFrom(*source); - } -} - -void GetGridOffsetResponse::MergeFrom(const GetGridOffsetResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:bmi.GetGridOffsetResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - offsets_.MergeFrom(from.offsets_); -} - -void GetGridOffsetResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:bmi.GetGridOffsetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetGridOffsetResponse::CopyFrom(const GetGridOffsetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:bmi.GetGridOffsetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetGridOffsetResponse::IsInitialized() const { - return true; -} - -void GetGridOffsetResponse::Swap(GetGridOffsetResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetGridOffsetResponse::InternalSwap(GetGridOffsetResponse* other) { - using std::swap; - offsets_.InternalSwap(&other->offsets_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata GetGridOffsetResponse::GetMetadata() const { - protobuf_bmi_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_bmi_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace bmi - -// @@protoc_insertion_point(global_scope) diff --git a/src/bmi.pb.h b/src/bmi.pb.h deleted file mode 100644 index 506ea88..0000000 --- a/src/bmi.pb.h +++ /dev/null @@ -1,6298 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: bmi.proto - -#ifndef PROTOBUF_bmi_2eproto__INCLUDED -#define PROTOBUF_bmi_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 3005000 -#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 3005001 < 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 // IWYU pragma: export -#include // IWYU pragma: export -#include -// @@protoc_insertion_point(includes) - -namespace protobuf_bmi_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[36]; - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors(); -void InitDefaultsEmptyImpl(); -void InitDefaultsEmpty(); -void InitDefaultsInitializeRequestImpl(); -void InitDefaultsInitializeRequest(); -void InitDefaultsUpdateUntilRequestImpl(); -void InitDefaultsUpdateUntilRequest(); -void InitDefaultsUpdateFracRequestImpl(); -void InitDefaultsUpdateFracRequest(); -void InitDefaultsGetComponentNameResponseImpl(); -void InitDefaultsGetComponentNameResponse(); -void InitDefaultsGetVarNameCountResponseImpl(); -void InitDefaultsGetVarNameCountResponse(); -void InitDefaultsGetVarNamesResponseImpl(); -void InitDefaultsGetVarNamesResponse(); -void InitDefaultsGetTimeUnitsResponseImpl(); -void InitDefaultsGetTimeUnitsResponse(); -void InitDefaultsGetTimeStepResponseImpl(); -void InitDefaultsGetTimeStepResponse(); -void InitDefaultsGetTimeResponseImpl(); -void InitDefaultsGetTimeResponse(); -void InitDefaultsGetVarRequestImpl(); -void InitDefaultsGetVarRequest(); -void InitDefaultsGetVarGridResponseImpl(); -void InitDefaultsGetVarGridResponse(); -void InitDefaultsGetVarTypeResponseImpl(); -void InitDefaultsGetVarTypeResponse(); -void InitDefaultsGetVarItemSizeResponseImpl(); -void InitDefaultsGetVarItemSizeResponse(); -void InitDefaultsGetVarUnitsResponseImpl(); -void InitDefaultsGetVarUnitsResponse(); -void InitDefaultsGetVarNBytesResponseImpl(); -void InitDefaultsGetVarNBytesResponse(); -void InitDefaultsIntArrayMessageImpl(); -void InitDefaultsIntArrayMessage(); -void InitDefaultsFloatArrayMessageImpl(); -void InitDefaultsFloatArrayMessage(); -void InitDefaultsDoubleArrayMessageImpl(); -void InitDefaultsDoubleArrayMessage(); -void InitDefaultsGetValueResponseImpl(); -void InitDefaultsGetValueResponse(); -void InitDefaultsGetValueAtIndicesRequestImpl(); -void InitDefaultsGetValueAtIndicesRequest(); -void InitDefaultsGetValueAtIndicesResponseImpl(); -void InitDefaultsGetValueAtIndicesResponse(); -void InitDefaultsSetValueRequestImpl(); -void InitDefaultsSetValueRequest(); -void InitDefaultsSetValuePtrRequestImpl(); -void InitDefaultsSetValuePtrRequest(); -void InitDefaultsSetValueAtIndicesRequestImpl(); -void InitDefaultsSetValueAtIndicesRequest(); -void InitDefaultsGridRequestImpl(); -void InitDefaultsGridRequest(); -void InitDefaultsGetGridSizeResponseImpl(); -void InitDefaultsGetGridSizeResponse(); -void InitDefaultsGetGridRankResponseImpl(); -void InitDefaultsGetGridRankResponse(); -void InitDefaultsGetGridTypeResponseImpl(); -void InitDefaultsGetGridTypeResponse(); -void InitDefaultsGetGridShapeResponseImpl(); -void InitDefaultsGetGridShapeResponse(); -void InitDefaultsGetGridSpacingResponseImpl(); -void InitDefaultsGetGridSpacingResponse(); -void InitDefaultsGetGridOriginResponseImpl(); -void InitDefaultsGetGridOriginResponse(); -void InitDefaultsGetGridPointsResponseImpl(); -void InitDefaultsGetGridPointsResponse(); -void InitDefaultsGetCountResponseImpl(); -void InitDefaultsGetCountResponse(); -void InitDefaultsGetGridConnectivityResponseImpl(); -void InitDefaultsGetGridConnectivityResponse(); -void InitDefaultsGetGridOffsetResponseImpl(); -void InitDefaultsGetGridOffsetResponse(); -inline void InitDefaults() { - InitDefaultsEmpty(); - InitDefaultsInitializeRequest(); - InitDefaultsUpdateUntilRequest(); - InitDefaultsUpdateFracRequest(); - InitDefaultsGetComponentNameResponse(); - InitDefaultsGetVarNameCountResponse(); - InitDefaultsGetVarNamesResponse(); - InitDefaultsGetTimeUnitsResponse(); - InitDefaultsGetTimeStepResponse(); - InitDefaultsGetTimeResponse(); - InitDefaultsGetVarRequest(); - InitDefaultsGetVarGridResponse(); - InitDefaultsGetVarTypeResponse(); - InitDefaultsGetVarItemSizeResponse(); - InitDefaultsGetVarUnitsResponse(); - InitDefaultsGetVarNBytesResponse(); - InitDefaultsIntArrayMessage(); - InitDefaultsFloatArrayMessage(); - InitDefaultsDoubleArrayMessage(); - InitDefaultsGetValueResponse(); - InitDefaultsGetValueAtIndicesRequest(); - InitDefaultsGetValueAtIndicesResponse(); - InitDefaultsSetValueRequest(); - InitDefaultsSetValuePtrRequest(); - InitDefaultsSetValueAtIndicesRequest(); - InitDefaultsGridRequest(); - InitDefaultsGetGridSizeResponse(); - InitDefaultsGetGridRankResponse(); - InitDefaultsGetGridTypeResponse(); - InitDefaultsGetGridShapeResponse(); - InitDefaultsGetGridSpacingResponse(); - InitDefaultsGetGridOriginResponse(); - InitDefaultsGetGridPointsResponse(); - InitDefaultsGetCountResponse(); - InitDefaultsGetGridConnectivityResponse(); - InitDefaultsGetGridOffsetResponse(); -} -} // namespace protobuf_bmi_2eproto -namespace bmi { -class DoubleArrayMessage; -class DoubleArrayMessageDefaultTypeInternal; -extern DoubleArrayMessageDefaultTypeInternal _DoubleArrayMessage_default_instance_; -class Empty; -class EmptyDefaultTypeInternal; -extern EmptyDefaultTypeInternal _Empty_default_instance_; -class FloatArrayMessage; -class FloatArrayMessageDefaultTypeInternal; -extern FloatArrayMessageDefaultTypeInternal _FloatArrayMessage_default_instance_; -class GetComponentNameResponse; -class GetComponentNameResponseDefaultTypeInternal; -extern GetComponentNameResponseDefaultTypeInternal _GetComponentNameResponse_default_instance_; -class GetCountResponse; -class GetCountResponseDefaultTypeInternal; -extern GetCountResponseDefaultTypeInternal _GetCountResponse_default_instance_; -class GetGridConnectivityResponse; -class GetGridConnectivityResponseDefaultTypeInternal; -extern GetGridConnectivityResponseDefaultTypeInternal _GetGridConnectivityResponse_default_instance_; -class GetGridOffsetResponse; -class GetGridOffsetResponseDefaultTypeInternal; -extern GetGridOffsetResponseDefaultTypeInternal _GetGridOffsetResponse_default_instance_; -class GetGridOriginResponse; -class GetGridOriginResponseDefaultTypeInternal; -extern GetGridOriginResponseDefaultTypeInternal _GetGridOriginResponse_default_instance_; -class GetGridPointsResponse; -class GetGridPointsResponseDefaultTypeInternal; -extern GetGridPointsResponseDefaultTypeInternal _GetGridPointsResponse_default_instance_; -class GetGridRankResponse; -class GetGridRankResponseDefaultTypeInternal; -extern GetGridRankResponseDefaultTypeInternal _GetGridRankResponse_default_instance_; -class GetGridShapeResponse; -class GetGridShapeResponseDefaultTypeInternal; -extern GetGridShapeResponseDefaultTypeInternal _GetGridShapeResponse_default_instance_; -class GetGridSizeResponse; -class GetGridSizeResponseDefaultTypeInternal; -extern GetGridSizeResponseDefaultTypeInternal _GetGridSizeResponse_default_instance_; -class GetGridSpacingResponse; -class GetGridSpacingResponseDefaultTypeInternal; -extern GetGridSpacingResponseDefaultTypeInternal _GetGridSpacingResponse_default_instance_; -class GetGridTypeResponse; -class GetGridTypeResponseDefaultTypeInternal; -extern GetGridTypeResponseDefaultTypeInternal _GetGridTypeResponse_default_instance_; -class GetTimeResponse; -class GetTimeResponseDefaultTypeInternal; -extern GetTimeResponseDefaultTypeInternal _GetTimeResponse_default_instance_; -class GetTimeStepResponse; -class GetTimeStepResponseDefaultTypeInternal; -extern GetTimeStepResponseDefaultTypeInternal _GetTimeStepResponse_default_instance_; -class GetTimeUnitsResponse; -class GetTimeUnitsResponseDefaultTypeInternal; -extern GetTimeUnitsResponseDefaultTypeInternal _GetTimeUnitsResponse_default_instance_; -class GetValueAtIndicesRequest; -class GetValueAtIndicesRequestDefaultTypeInternal; -extern GetValueAtIndicesRequestDefaultTypeInternal _GetValueAtIndicesRequest_default_instance_; -class GetValueAtIndicesResponse; -class GetValueAtIndicesResponseDefaultTypeInternal; -extern GetValueAtIndicesResponseDefaultTypeInternal _GetValueAtIndicesResponse_default_instance_; -class GetValueResponse; -class GetValueResponseDefaultTypeInternal; -extern GetValueResponseDefaultTypeInternal _GetValueResponse_default_instance_; -class GetVarGridResponse; -class GetVarGridResponseDefaultTypeInternal; -extern GetVarGridResponseDefaultTypeInternal _GetVarGridResponse_default_instance_; -class GetVarItemSizeResponse; -class GetVarItemSizeResponseDefaultTypeInternal; -extern GetVarItemSizeResponseDefaultTypeInternal _GetVarItemSizeResponse_default_instance_; -class GetVarNBytesResponse; -class GetVarNBytesResponseDefaultTypeInternal; -extern GetVarNBytesResponseDefaultTypeInternal _GetVarNBytesResponse_default_instance_; -class GetVarNameCountResponse; -class GetVarNameCountResponseDefaultTypeInternal; -extern GetVarNameCountResponseDefaultTypeInternal _GetVarNameCountResponse_default_instance_; -class GetVarNamesResponse; -class GetVarNamesResponseDefaultTypeInternal; -extern GetVarNamesResponseDefaultTypeInternal _GetVarNamesResponse_default_instance_; -class GetVarRequest; -class GetVarRequestDefaultTypeInternal; -extern GetVarRequestDefaultTypeInternal _GetVarRequest_default_instance_; -class GetVarTypeResponse; -class GetVarTypeResponseDefaultTypeInternal; -extern GetVarTypeResponseDefaultTypeInternal _GetVarTypeResponse_default_instance_; -class GetVarUnitsResponse; -class GetVarUnitsResponseDefaultTypeInternal; -extern GetVarUnitsResponseDefaultTypeInternal _GetVarUnitsResponse_default_instance_; -class GridRequest; -class GridRequestDefaultTypeInternal; -extern GridRequestDefaultTypeInternal _GridRequest_default_instance_; -class InitializeRequest; -class InitializeRequestDefaultTypeInternal; -extern InitializeRequestDefaultTypeInternal _InitializeRequest_default_instance_; -class IntArrayMessage; -class IntArrayMessageDefaultTypeInternal; -extern IntArrayMessageDefaultTypeInternal _IntArrayMessage_default_instance_; -class SetValueAtIndicesRequest; -class SetValueAtIndicesRequestDefaultTypeInternal; -extern SetValueAtIndicesRequestDefaultTypeInternal _SetValueAtIndicesRequest_default_instance_; -class SetValuePtrRequest; -class SetValuePtrRequestDefaultTypeInternal; -extern SetValuePtrRequestDefaultTypeInternal _SetValuePtrRequest_default_instance_; -class SetValueRequest; -class SetValueRequestDefaultTypeInternal; -extern SetValueRequestDefaultTypeInternal _SetValueRequest_default_instance_; -class UpdateFracRequest; -class UpdateFracRequestDefaultTypeInternal; -extern UpdateFracRequestDefaultTypeInternal _UpdateFracRequest_default_instance_; -class UpdateUntilRequest; -class UpdateUntilRequestDefaultTypeInternal; -extern UpdateUntilRequestDefaultTypeInternal _UpdateUntilRequest_default_instance_; -} // namespace bmi -namespace bmi { - -// =================================================================== - -class Empty : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.Empty) */ { - public: - Empty(); - virtual ~Empty(); - - Empty(const Empty& from); - - inline Empty& operator=(const Empty& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Empty(Empty&& from) noexcept - : Empty() { - *this = ::std::move(from); - } - - inline Empty& operator=(Empty&& 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 Empty& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Empty* internal_default_instance() { - return reinterpret_cast( - &_Empty_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 0; - - void Swap(Empty* other); - friend void swap(Empty& a, Empty& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Empty* New() const PROTOBUF_FINAL { return New(NULL); } - - Empty* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const Empty& from); - void MergeFrom(const Empty& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(Empty* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:bmi.Empty) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsEmptyImpl(); -}; -// ------------------------------------------------------------------- - -class InitializeRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.InitializeRequest) */ { - public: - InitializeRequest(); - virtual ~InitializeRequest(); - - InitializeRequest(const InitializeRequest& from); - - inline InitializeRequest& operator=(const InitializeRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - InitializeRequest(InitializeRequest&& from) noexcept - : InitializeRequest() { - *this = ::std::move(from); - } - - inline InitializeRequest& operator=(InitializeRequest&& 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 InitializeRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const InitializeRequest* internal_default_instance() { - return reinterpret_cast( - &_InitializeRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 1; - - void Swap(InitializeRequest* other); - friend void swap(InitializeRequest& a, InitializeRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline InitializeRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - InitializeRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const InitializeRequest& from); - void MergeFrom(const InitializeRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(InitializeRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string config_file = 1; - void clear_config_file(); - static const int kConfigFileFieldNumber = 1; - const ::std::string& config_file() const; - void set_config_file(const ::std::string& value); - #if LANG_CXX11 - void set_config_file(::std::string&& value); - #endif - void set_config_file(const char* value); - void set_config_file(const char* value, size_t size); - ::std::string* mutable_config_file(); - ::std::string* release_config_file(); - void set_allocated_config_file(::std::string* config_file); - - // @@protoc_insertion_point(class_scope:bmi.InitializeRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr config_file_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsInitializeRequestImpl(); -}; -// ------------------------------------------------------------------- - -class UpdateUntilRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.UpdateUntilRequest) */ { - public: - UpdateUntilRequest(); - virtual ~UpdateUntilRequest(); - - UpdateUntilRequest(const UpdateUntilRequest& from); - - inline UpdateUntilRequest& operator=(const UpdateUntilRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - UpdateUntilRequest(UpdateUntilRequest&& from) noexcept - : UpdateUntilRequest() { - *this = ::std::move(from); - } - - inline UpdateUntilRequest& operator=(UpdateUntilRequest&& 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 UpdateUntilRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const UpdateUntilRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateUntilRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 2; - - void Swap(UpdateUntilRequest* other); - friend void swap(UpdateUntilRequest& a, UpdateUntilRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline UpdateUntilRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - UpdateUntilRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const UpdateUntilRequest& from); - void MergeFrom(const UpdateUntilRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(UpdateUntilRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // double until = 1; - void clear_until(); - static const int kUntilFieldNumber = 1; - double until() const; - void set_until(double value); - - // @@protoc_insertion_point(class_scope:bmi.UpdateUntilRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - double until_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsUpdateUntilRequestImpl(); -}; -// ------------------------------------------------------------------- - -class UpdateFracRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.UpdateFracRequest) */ { - public: - UpdateFracRequest(); - virtual ~UpdateFracRequest(); - - UpdateFracRequest(const UpdateFracRequest& from); - - inline UpdateFracRequest& operator=(const UpdateFracRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - UpdateFracRequest(UpdateFracRequest&& from) noexcept - : UpdateFracRequest() { - *this = ::std::move(from); - } - - inline UpdateFracRequest& operator=(UpdateFracRequest&& 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 UpdateFracRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const UpdateFracRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateFracRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 3; - - void Swap(UpdateFracRequest* other); - friend void swap(UpdateFracRequest& a, UpdateFracRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline UpdateFracRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - UpdateFracRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const UpdateFracRequest& from); - void MergeFrom(const UpdateFracRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(UpdateFracRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // double frac = 1; - void clear_frac(); - static const int kFracFieldNumber = 1; - double frac() const; - void set_frac(double value); - - // @@protoc_insertion_point(class_scope:bmi.UpdateFracRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - double frac_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsUpdateFracRequestImpl(); -}; -// ------------------------------------------------------------------- - -class GetComponentNameResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetComponentNameResponse) */ { - public: - GetComponentNameResponse(); - virtual ~GetComponentNameResponse(); - - GetComponentNameResponse(const GetComponentNameResponse& from); - - inline GetComponentNameResponse& operator=(const GetComponentNameResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetComponentNameResponse(GetComponentNameResponse&& from) noexcept - : GetComponentNameResponse() { - *this = ::std::move(from); - } - - inline GetComponentNameResponse& operator=(GetComponentNameResponse&& 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 GetComponentNameResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetComponentNameResponse* internal_default_instance() { - return reinterpret_cast( - &_GetComponentNameResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 4; - - void Swap(GetComponentNameResponse* other); - friend void swap(GetComponentNameResponse& a, GetComponentNameResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetComponentNameResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetComponentNameResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetComponentNameResponse& from); - void MergeFrom(const GetComponentNameResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetComponentNameResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string name = 1; - void clear_name(); - static const int kNameFieldNumber = 1; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // @@protoc_insertion_point(class_scope:bmi.GetComponentNameResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetComponentNameResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetVarNameCountResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetVarNameCountResponse) */ { - public: - GetVarNameCountResponse(); - virtual ~GetVarNameCountResponse(); - - GetVarNameCountResponse(const GetVarNameCountResponse& from); - - inline GetVarNameCountResponse& operator=(const GetVarNameCountResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVarNameCountResponse(GetVarNameCountResponse&& from) noexcept - : GetVarNameCountResponse() { - *this = ::std::move(from); - } - - inline GetVarNameCountResponse& operator=(GetVarNameCountResponse&& 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 GetVarNameCountResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVarNameCountResponse* internal_default_instance() { - return reinterpret_cast( - &_GetVarNameCountResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 5; - - void Swap(GetVarNameCountResponse* other); - friend void swap(GetVarNameCountResponse& a, GetVarNameCountResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVarNameCountResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetVarNameCountResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetVarNameCountResponse& from); - void MergeFrom(const GetVarNameCountResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetVarNameCountResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // int32 count = 1; - void clear_count(); - static const int kCountFieldNumber = 1; - ::google::protobuf::int32 count() const; - void set_count(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.GetVarNameCountResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 count_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetVarNameCountResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetVarNamesResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetVarNamesResponse) */ { - public: - GetVarNamesResponse(); - virtual ~GetVarNamesResponse(); - - GetVarNamesResponse(const GetVarNamesResponse& from); - - inline GetVarNamesResponse& operator=(const GetVarNamesResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVarNamesResponse(GetVarNamesResponse&& from) noexcept - : GetVarNamesResponse() { - *this = ::std::move(from); - } - - inline GetVarNamesResponse& operator=(GetVarNamesResponse&& 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 GetVarNamesResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVarNamesResponse* internal_default_instance() { - return reinterpret_cast( - &_GetVarNamesResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 6; - - void Swap(GetVarNamesResponse* other); - friend void swap(GetVarNamesResponse& a, GetVarNamesResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVarNamesResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetVarNamesResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetVarNamesResponse& from); - void MergeFrom(const GetVarNamesResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetVarNamesResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string names = 1; - int names_size() const; - void clear_names(); - static const int kNamesFieldNumber = 1; - const ::std::string& names(int index) const; - ::std::string* mutable_names(int index); - void set_names(int index, const ::std::string& value); - #if LANG_CXX11 - void set_names(int index, ::std::string&& value); - #endif - void set_names(int index, const char* value); - void set_names(int index, const char* value, size_t size); - ::std::string* add_names(); - void add_names(const ::std::string& value); - #if LANG_CXX11 - void add_names(::std::string&& value); - #endif - void add_names(const char* value); - void add_names(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField< ::std::string>& names() const; - ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_names(); - - // @@protoc_insertion_point(class_scope:bmi.GetVarNamesResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::std::string> names_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetVarNamesResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetTimeUnitsResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetTimeUnitsResponse) */ { - public: - GetTimeUnitsResponse(); - virtual ~GetTimeUnitsResponse(); - - GetTimeUnitsResponse(const GetTimeUnitsResponse& from); - - inline GetTimeUnitsResponse& operator=(const GetTimeUnitsResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetTimeUnitsResponse(GetTimeUnitsResponse&& from) noexcept - : GetTimeUnitsResponse() { - *this = ::std::move(from); - } - - inline GetTimeUnitsResponse& operator=(GetTimeUnitsResponse&& 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 GetTimeUnitsResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetTimeUnitsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetTimeUnitsResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 7; - - void Swap(GetTimeUnitsResponse* other); - friend void swap(GetTimeUnitsResponse& a, GetTimeUnitsResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetTimeUnitsResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetTimeUnitsResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetTimeUnitsResponse& from); - void MergeFrom(const GetTimeUnitsResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetTimeUnitsResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string units = 1; - void clear_units(); - static const int kUnitsFieldNumber = 1; - const ::std::string& units() const; - void set_units(const ::std::string& value); - #if LANG_CXX11 - void set_units(::std::string&& value); - #endif - void set_units(const char* value); - void set_units(const char* value, size_t size); - ::std::string* mutable_units(); - ::std::string* release_units(); - void set_allocated_units(::std::string* units); - - // @@protoc_insertion_point(class_scope:bmi.GetTimeUnitsResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr units_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetTimeUnitsResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetTimeStepResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetTimeStepResponse) */ { - public: - GetTimeStepResponse(); - virtual ~GetTimeStepResponse(); - - GetTimeStepResponse(const GetTimeStepResponse& from); - - inline GetTimeStepResponse& operator=(const GetTimeStepResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetTimeStepResponse(GetTimeStepResponse&& from) noexcept - : GetTimeStepResponse() { - *this = ::std::move(from); - } - - inline GetTimeStepResponse& operator=(GetTimeStepResponse&& 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 GetTimeStepResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetTimeStepResponse* internal_default_instance() { - return reinterpret_cast( - &_GetTimeStepResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 8; - - void Swap(GetTimeStepResponse* other); - friend void swap(GetTimeStepResponse& a, GetTimeStepResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetTimeStepResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetTimeStepResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetTimeStepResponse& from); - void MergeFrom(const GetTimeStepResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetTimeStepResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // double interval = 1; - void clear_interval(); - static const int kIntervalFieldNumber = 1; - double interval() const; - void set_interval(double value); - - // @@protoc_insertion_point(class_scope:bmi.GetTimeStepResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - double interval_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetTimeStepResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetTimeResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetTimeResponse) */ { - public: - GetTimeResponse(); - virtual ~GetTimeResponse(); - - GetTimeResponse(const GetTimeResponse& from); - - inline GetTimeResponse& operator=(const GetTimeResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetTimeResponse(GetTimeResponse&& from) noexcept - : GetTimeResponse() { - *this = ::std::move(from); - } - - inline GetTimeResponse& operator=(GetTimeResponse&& 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 GetTimeResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetTimeResponse* internal_default_instance() { - return reinterpret_cast( - &_GetTimeResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 9; - - void Swap(GetTimeResponse* other); - friend void swap(GetTimeResponse& a, GetTimeResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetTimeResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetTimeResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetTimeResponse& from); - void MergeFrom(const GetTimeResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetTimeResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // double time = 1; - void clear_time(); - static const int kTimeFieldNumber = 1; - double time() const; - void set_time(double value); - - // @@protoc_insertion_point(class_scope:bmi.GetTimeResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - double time_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetTimeResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetVarRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetVarRequest) */ { - public: - GetVarRequest(); - virtual ~GetVarRequest(); - - GetVarRequest(const GetVarRequest& from); - - inline GetVarRequest& operator=(const GetVarRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVarRequest(GetVarRequest&& from) noexcept - : GetVarRequest() { - *this = ::std::move(from); - } - - inline GetVarRequest& operator=(GetVarRequest&& 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 GetVarRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVarRequest* internal_default_instance() { - return reinterpret_cast( - &_GetVarRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 10; - - void Swap(GetVarRequest* other); - friend void swap(GetVarRequest& a, GetVarRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVarRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - GetVarRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetVarRequest& from); - void MergeFrom(const GetVarRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetVarRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string name = 1; - void clear_name(); - static const int kNameFieldNumber = 1; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // @@protoc_insertion_point(class_scope:bmi.GetVarRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetVarRequestImpl(); -}; -// ------------------------------------------------------------------- - -class GetVarGridResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetVarGridResponse) */ { - public: - GetVarGridResponse(); - virtual ~GetVarGridResponse(); - - GetVarGridResponse(const GetVarGridResponse& from); - - inline GetVarGridResponse& operator=(const GetVarGridResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVarGridResponse(GetVarGridResponse&& from) noexcept - : GetVarGridResponse() { - *this = ::std::move(from); - } - - inline GetVarGridResponse& operator=(GetVarGridResponse&& 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 GetVarGridResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVarGridResponse* internal_default_instance() { - return reinterpret_cast( - &_GetVarGridResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 11; - - void Swap(GetVarGridResponse* other); - friend void swap(GetVarGridResponse& a, GetVarGridResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVarGridResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetVarGridResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetVarGridResponse& from); - void MergeFrom(const GetVarGridResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetVarGridResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // int32 grid_id = 1; - void clear_grid_id(); - static const int kGridIdFieldNumber = 1; - ::google::protobuf::int32 grid_id() const; - void set_grid_id(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.GetVarGridResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 grid_id_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetVarGridResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetVarTypeResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetVarTypeResponse) */ { - public: - GetVarTypeResponse(); - virtual ~GetVarTypeResponse(); - - GetVarTypeResponse(const GetVarTypeResponse& from); - - inline GetVarTypeResponse& operator=(const GetVarTypeResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVarTypeResponse(GetVarTypeResponse&& from) noexcept - : GetVarTypeResponse() { - *this = ::std::move(from); - } - - inline GetVarTypeResponse& operator=(GetVarTypeResponse&& 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 GetVarTypeResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVarTypeResponse* internal_default_instance() { - return reinterpret_cast( - &_GetVarTypeResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 12; - - void Swap(GetVarTypeResponse* other); - friend void swap(GetVarTypeResponse& a, GetVarTypeResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVarTypeResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetVarTypeResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetVarTypeResponse& from); - void MergeFrom(const GetVarTypeResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetVarTypeResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string type = 1; - void clear_type(); - static const int kTypeFieldNumber = 1; - const ::std::string& type() const; - void set_type(const ::std::string& value); - #if LANG_CXX11 - void set_type(::std::string&& value); - #endif - void set_type(const char* value); - void set_type(const char* value, size_t size); - ::std::string* mutable_type(); - ::std::string* release_type(); - void set_allocated_type(::std::string* type); - - // @@protoc_insertion_point(class_scope:bmi.GetVarTypeResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr type_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetVarTypeResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetVarItemSizeResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetVarItemSizeResponse) */ { - public: - GetVarItemSizeResponse(); - virtual ~GetVarItemSizeResponse(); - - GetVarItemSizeResponse(const GetVarItemSizeResponse& from); - - inline GetVarItemSizeResponse& operator=(const GetVarItemSizeResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVarItemSizeResponse(GetVarItemSizeResponse&& from) noexcept - : GetVarItemSizeResponse() { - *this = ::std::move(from); - } - - inline GetVarItemSizeResponse& operator=(GetVarItemSizeResponse&& 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 GetVarItemSizeResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVarItemSizeResponse* internal_default_instance() { - return reinterpret_cast( - &_GetVarItemSizeResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 13; - - void Swap(GetVarItemSizeResponse* other); - friend void swap(GetVarItemSizeResponse& a, GetVarItemSizeResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVarItemSizeResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetVarItemSizeResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetVarItemSizeResponse& from); - void MergeFrom(const GetVarItemSizeResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetVarItemSizeResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // int32 size = 1; - void clear_size(); - static const int kSizeFieldNumber = 1; - ::google::protobuf::int32 size() const; - void set_size(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.GetVarItemSizeResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetVarItemSizeResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetVarUnitsResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetVarUnitsResponse) */ { - public: - GetVarUnitsResponse(); - virtual ~GetVarUnitsResponse(); - - GetVarUnitsResponse(const GetVarUnitsResponse& from); - - inline GetVarUnitsResponse& operator=(const GetVarUnitsResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVarUnitsResponse(GetVarUnitsResponse&& from) noexcept - : GetVarUnitsResponse() { - *this = ::std::move(from); - } - - inline GetVarUnitsResponse& operator=(GetVarUnitsResponse&& 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 GetVarUnitsResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVarUnitsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetVarUnitsResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 14; - - void Swap(GetVarUnitsResponse* other); - friend void swap(GetVarUnitsResponse& a, GetVarUnitsResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVarUnitsResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetVarUnitsResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetVarUnitsResponse& from); - void MergeFrom(const GetVarUnitsResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetVarUnitsResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string units = 1; - void clear_units(); - static const int kUnitsFieldNumber = 1; - const ::std::string& units() const; - void set_units(const ::std::string& value); - #if LANG_CXX11 - void set_units(::std::string&& value); - #endif - void set_units(const char* value); - void set_units(const char* value, size_t size); - ::std::string* mutable_units(); - ::std::string* release_units(); - void set_allocated_units(::std::string* units); - - // @@protoc_insertion_point(class_scope:bmi.GetVarUnitsResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr units_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetVarUnitsResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetVarNBytesResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetVarNBytesResponse) */ { - public: - GetVarNBytesResponse(); - virtual ~GetVarNBytesResponse(); - - GetVarNBytesResponse(const GetVarNBytesResponse& from); - - inline GetVarNBytesResponse& operator=(const GetVarNBytesResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVarNBytesResponse(GetVarNBytesResponse&& from) noexcept - : GetVarNBytesResponse() { - *this = ::std::move(from); - } - - inline GetVarNBytesResponse& operator=(GetVarNBytesResponse&& 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 GetVarNBytesResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVarNBytesResponse* internal_default_instance() { - return reinterpret_cast( - &_GetVarNBytesResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 15; - - void Swap(GetVarNBytesResponse* other); - friend void swap(GetVarNBytesResponse& a, GetVarNBytesResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVarNBytesResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetVarNBytesResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetVarNBytesResponse& from); - void MergeFrom(const GetVarNBytesResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetVarNBytesResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // int32 nbytes = 1; - void clear_nbytes(); - static const int kNbytesFieldNumber = 1; - ::google::protobuf::int32 nbytes() const; - void set_nbytes(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.GetVarNBytesResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 nbytes_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetVarNBytesResponseImpl(); -}; -// ------------------------------------------------------------------- - -class IntArrayMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.IntArrayMessage) */ { - public: - IntArrayMessage(); - virtual ~IntArrayMessage(); - - IntArrayMessage(const IntArrayMessage& from); - - inline IntArrayMessage& operator=(const IntArrayMessage& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - IntArrayMessage(IntArrayMessage&& from) noexcept - : IntArrayMessage() { - *this = ::std::move(from); - } - - inline IntArrayMessage& operator=(IntArrayMessage&& 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 IntArrayMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const IntArrayMessage* internal_default_instance() { - return reinterpret_cast( - &_IntArrayMessage_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 16; - - void Swap(IntArrayMessage* other); - friend void swap(IntArrayMessage& a, IntArrayMessage& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline IntArrayMessage* New() const PROTOBUF_FINAL { return New(NULL); } - - IntArrayMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const IntArrayMessage& from); - void MergeFrom(const IntArrayMessage& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(IntArrayMessage* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated int32 values = 1 [packed = true]; - int values_size() const; - void clear_values(); - static const int kValuesFieldNumber = 1; - ::google::protobuf::int32 values(int index) const; - void set_values(int index, ::google::protobuf::int32 value); - void add_values(::google::protobuf::int32 value); - const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& - values() const; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* - mutable_values(); - - // @@protoc_insertion_point(class_scope:bmi.IntArrayMessage) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 > values_; - mutable int _values_cached_byte_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsIntArrayMessageImpl(); -}; -// ------------------------------------------------------------------- - -class FloatArrayMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.FloatArrayMessage) */ { - public: - FloatArrayMessage(); - virtual ~FloatArrayMessage(); - - FloatArrayMessage(const FloatArrayMessage& from); - - inline FloatArrayMessage& operator=(const FloatArrayMessage& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - FloatArrayMessage(FloatArrayMessage&& from) noexcept - : FloatArrayMessage() { - *this = ::std::move(from); - } - - inline FloatArrayMessage& operator=(FloatArrayMessage&& 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 FloatArrayMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const FloatArrayMessage* internal_default_instance() { - return reinterpret_cast( - &_FloatArrayMessage_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 17; - - void Swap(FloatArrayMessage* other); - friend void swap(FloatArrayMessage& a, FloatArrayMessage& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline FloatArrayMessage* New() const PROTOBUF_FINAL { return New(NULL); } - - FloatArrayMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const FloatArrayMessage& from); - void MergeFrom(const FloatArrayMessage& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(FloatArrayMessage* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated float values = 1 [packed = true]; - int values_size() const; - void clear_values(); - static const int kValuesFieldNumber = 1; - float values(int index) const; - void set_values(int index, float value); - void add_values(float value); - const ::google::protobuf::RepeatedField< float >& - values() const; - ::google::protobuf::RepeatedField< float >* - mutable_values(); - - // @@protoc_insertion_point(class_scope:bmi.FloatArrayMessage) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< float > values_; - mutable int _values_cached_byte_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsFloatArrayMessageImpl(); -}; -// ------------------------------------------------------------------- - -class DoubleArrayMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.DoubleArrayMessage) */ { - public: - DoubleArrayMessage(); - virtual ~DoubleArrayMessage(); - - DoubleArrayMessage(const DoubleArrayMessage& from); - - inline DoubleArrayMessage& operator=(const DoubleArrayMessage& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DoubleArrayMessage(DoubleArrayMessage&& from) noexcept - : DoubleArrayMessage() { - *this = ::std::move(from); - } - - inline DoubleArrayMessage& operator=(DoubleArrayMessage&& 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 DoubleArrayMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DoubleArrayMessage* internal_default_instance() { - return reinterpret_cast( - &_DoubleArrayMessage_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 18; - - void Swap(DoubleArrayMessage* other); - friend void swap(DoubleArrayMessage& a, DoubleArrayMessage& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DoubleArrayMessage* New() const PROTOBUF_FINAL { return New(NULL); } - - DoubleArrayMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const DoubleArrayMessage& from); - void MergeFrom(const DoubleArrayMessage& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(DoubleArrayMessage* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated double values = 1 [packed = true]; - int values_size() const; - void clear_values(); - static const int kValuesFieldNumber = 1; - double values(int index) const; - void set_values(int index, double value); - void add_values(double value); - const ::google::protobuf::RepeatedField< double >& - values() const; - ::google::protobuf::RepeatedField< double >* - mutable_values(); - - // @@protoc_insertion_point(class_scope:bmi.DoubleArrayMessage) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< double > values_; - mutable int _values_cached_byte_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsDoubleArrayMessageImpl(); -}; -// ------------------------------------------------------------------- - -class GetValueResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetValueResponse) */ { - public: - GetValueResponse(); - virtual ~GetValueResponse(); - - GetValueResponse(const GetValueResponse& from); - - inline GetValueResponse& operator=(const GetValueResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetValueResponse(GetValueResponse&& from) noexcept - : GetValueResponse() { - *this = ::std::move(from); - } - - inline GetValueResponse& operator=(GetValueResponse&& 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 GetValueResponse& default_instance(); - - enum ValuesCase { - kValuesInt = 1, - kValuesFloat = 2, - kValuesDouble = 3, - VALUES_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetValueResponse* internal_default_instance() { - return reinterpret_cast( - &_GetValueResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 19; - - void Swap(GetValueResponse* other); - friend void swap(GetValueResponse& a, GetValueResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetValueResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetValueResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetValueResponse& from); - void MergeFrom(const GetValueResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetValueResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated int32 shape = 4 [packed = true]; - int shape_size() const; - void clear_shape(); - static const int kShapeFieldNumber = 4; - ::google::protobuf::int32 shape(int index) const; - void set_shape(int index, ::google::protobuf::int32 value); - void add_shape(::google::protobuf::int32 value); - const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& - shape() const; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* - mutable_shape(); - - // .bmi.IntArrayMessage values_int = 1; - bool has_values_int() const; - void clear_values_int(); - static const int kValuesIntFieldNumber = 1; - const ::bmi::IntArrayMessage& values_int() const; - ::bmi::IntArrayMessage* release_values_int(); - ::bmi::IntArrayMessage* mutable_values_int(); - void set_allocated_values_int(::bmi::IntArrayMessage* values_int); - - // .bmi.FloatArrayMessage values_float = 2; - bool has_values_float() const; - void clear_values_float(); - static const int kValuesFloatFieldNumber = 2; - const ::bmi::FloatArrayMessage& values_float() const; - ::bmi::FloatArrayMessage* release_values_float(); - ::bmi::FloatArrayMessage* mutable_values_float(); - void set_allocated_values_float(::bmi::FloatArrayMessage* values_float); - - // .bmi.DoubleArrayMessage values_double = 3; - bool has_values_double() const; - void clear_values_double(); - static const int kValuesDoubleFieldNumber = 3; - const ::bmi::DoubleArrayMessage& values_double() const; - ::bmi::DoubleArrayMessage* release_values_double(); - ::bmi::DoubleArrayMessage* mutable_values_double(); - void set_allocated_values_double(::bmi::DoubleArrayMessage* values_double); - - ValuesCase values_case() const; - // @@protoc_insertion_point(class_scope:bmi.GetValueResponse) - private: - void set_has_values_int(); - void set_has_values_float(); - void set_has_values_double(); - - inline bool has_values() const; - void clear_values(); - inline void clear_has_values(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 > shape_; - mutable int _shape_cached_byte_size_; - union ValuesUnion { - ValuesUnion() {} - ::bmi::IntArrayMessage* values_int_; - ::bmi::FloatArrayMessage* values_float_; - ::bmi::DoubleArrayMessage* values_double_; - } values_; - mutable int _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetValueResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetValueAtIndicesRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetValueAtIndicesRequest) */ { - public: - GetValueAtIndicesRequest(); - virtual ~GetValueAtIndicesRequest(); - - GetValueAtIndicesRequest(const GetValueAtIndicesRequest& from); - - inline GetValueAtIndicesRequest& operator=(const GetValueAtIndicesRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetValueAtIndicesRequest(GetValueAtIndicesRequest&& from) noexcept - : GetValueAtIndicesRequest() { - *this = ::std::move(from); - } - - inline GetValueAtIndicesRequest& operator=(GetValueAtIndicesRequest&& 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 GetValueAtIndicesRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetValueAtIndicesRequest* internal_default_instance() { - return reinterpret_cast( - &_GetValueAtIndicesRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 20; - - void Swap(GetValueAtIndicesRequest* other); - friend void swap(GetValueAtIndicesRequest& a, GetValueAtIndicesRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetValueAtIndicesRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - GetValueAtIndicesRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetValueAtIndicesRequest& from); - void MergeFrom(const GetValueAtIndicesRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetValueAtIndicesRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated int32 indices = 2 [packed = true]; - int indices_size() const; - void clear_indices(); - static const int kIndicesFieldNumber = 2; - ::google::protobuf::int32 indices(int index) const; - void set_indices(int index, ::google::protobuf::int32 value); - void add_indices(::google::protobuf::int32 value); - const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& - indices() const; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* - mutable_indices(); - - // string name = 1; - void clear_name(); - static const int kNameFieldNumber = 1; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // int32 index_size = 3; - void clear_index_size(); - static const int kIndexSizeFieldNumber = 3; - ::google::protobuf::int32 index_size() const; - void set_index_size(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.GetValueAtIndicesRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 > indices_; - mutable int _indices_cached_byte_size_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::int32 index_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetValueAtIndicesRequestImpl(); -}; -// ------------------------------------------------------------------- - -class GetValueAtIndicesResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetValueAtIndicesResponse) */ { - public: - GetValueAtIndicesResponse(); - virtual ~GetValueAtIndicesResponse(); - - GetValueAtIndicesResponse(const GetValueAtIndicesResponse& from); - - inline GetValueAtIndicesResponse& operator=(const GetValueAtIndicesResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetValueAtIndicesResponse(GetValueAtIndicesResponse&& from) noexcept - : GetValueAtIndicesResponse() { - *this = ::std::move(from); - } - - inline GetValueAtIndicesResponse& operator=(GetValueAtIndicesResponse&& 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 GetValueAtIndicesResponse& default_instance(); - - enum ValuesCase { - kValuesInt = 1, - kValuesFloat = 2, - kValuesDouble = 3, - VALUES_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetValueAtIndicesResponse* internal_default_instance() { - return reinterpret_cast( - &_GetValueAtIndicesResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 21; - - void Swap(GetValueAtIndicesResponse* other); - friend void swap(GetValueAtIndicesResponse& a, GetValueAtIndicesResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetValueAtIndicesResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetValueAtIndicesResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetValueAtIndicesResponse& from); - void MergeFrom(const GetValueAtIndicesResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetValueAtIndicesResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated int32 shape = 4 [packed = true]; - int shape_size() const; - void clear_shape(); - static const int kShapeFieldNumber = 4; - ::google::protobuf::int32 shape(int index) const; - void set_shape(int index, ::google::protobuf::int32 value); - void add_shape(::google::protobuf::int32 value); - const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& - shape() const; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* - mutable_shape(); - - // .bmi.IntArrayMessage values_int = 1; - bool has_values_int() const; - void clear_values_int(); - static const int kValuesIntFieldNumber = 1; - const ::bmi::IntArrayMessage& values_int() const; - ::bmi::IntArrayMessage* release_values_int(); - ::bmi::IntArrayMessage* mutable_values_int(); - void set_allocated_values_int(::bmi::IntArrayMessage* values_int); - - // .bmi.FloatArrayMessage values_float = 2; - bool has_values_float() const; - void clear_values_float(); - static const int kValuesFloatFieldNumber = 2; - const ::bmi::FloatArrayMessage& values_float() const; - ::bmi::FloatArrayMessage* release_values_float(); - ::bmi::FloatArrayMessage* mutable_values_float(); - void set_allocated_values_float(::bmi::FloatArrayMessage* values_float); - - // .bmi.DoubleArrayMessage values_double = 3; - bool has_values_double() const; - void clear_values_double(); - static const int kValuesDoubleFieldNumber = 3; - const ::bmi::DoubleArrayMessage& values_double() const; - ::bmi::DoubleArrayMessage* release_values_double(); - ::bmi::DoubleArrayMessage* mutable_values_double(); - void set_allocated_values_double(::bmi::DoubleArrayMessage* values_double); - - ValuesCase values_case() const; - // @@protoc_insertion_point(class_scope:bmi.GetValueAtIndicesResponse) - private: - void set_has_values_int(); - void set_has_values_float(); - void set_has_values_double(); - - inline bool has_values() const; - void clear_values(); - inline void clear_has_values(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 > shape_; - mutable int _shape_cached_byte_size_; - union ValuesUnion { - ValuesUnion() {} - ::bmi::IntArrayMessage* values_int_; - ::bmi::FloatArrayMessage* values_float_; - ::bmi::DoubleArrayMessage* values_double_; - } values_; - mutable int _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetValueAtIndicesResponseImpl(); -}; -// ------------------------------------------------------------------- - -class SetValueRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.SetValueRequest) */ { - public: - SetValueRequest(); - virtual ~SetValueRequest(); - - SetValueRequest(const SetValueRequest& from); - - inline SetValueRequest& operator=(const SetValueRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetValueRequest(SetValueRequest&& from) noexcept - : SetValueRequest() { - *this = ::std::move(from); - } - - inline SetValueRequest& operator=(SetValueRequest&& 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 SetValueRequest& default_instance(); - - enum ValuesCase { - kValuesInt = 2, - kValuesFloat = 3, - kValuesDouble = 4, - VALUES_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetValueRequest* internal_default_instance() { - return reinterpret_cast( - &_SetValueRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 22; - - void Swap(SetValueRequest* other); - friend void swap(SetValueRequest& a, SetValueRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetValueRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - SetValueRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetValueRequest& from); - void MergeFrom(const SetValueRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetValueRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated int32 shape = 5 [packed = true]; - int shape_size() const; - void clear_shape(); - static const int kShapeFieldNumber = 5; - ::google::protobuf::int32 shape(int index) const; - void set_shape(int index, ::google::protobuf::int32 value); - void add_shape(::google::protobuf::int32 value); - const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& - shape() const; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* - mutable_shape(); - - // string name = 1; - void clear_name(); - static const int kNameFieldNumber = 1; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // .bmi.IntArrayMessage values_int = 2; - bool has_values_int() const; - void clear_values_int(); - static const int kValuesIntFieldNumber = 2; - const ::bmi::IntArrayMessage& values_int() const; - ::bmi::IntArrayMessage* release_values_int(); - ::bmi::IntArrayMessage* mutable_values_int(); - void set_allocated_values_int(::bmi::IntArrayMessage* values_int); - - // .bmi.FloatArrayMessage values_float = 3; - bool has_values_float() const; - void clear_values_float(); - static const int kValuesFloatFieldNumber = 3; - const ::bmi::FloatArrayMessage& values_float() const; - ::bmi::FloatArrayMessage* release_values_float(); - ::bmi::FloatArrayMessage* mutable_values_float(); - void set_allocated_values_float(::bmi::FloatArrayMessage* values_float); - - // .bmi.DoubleArrayMessage values_double = 4; - bool has_values_double() const; - void clear_values_double(); - static const int kValuesDoubleFieldNumber = 4; - const ::bmi::DoubleArrayMessage& values_double() const; - ::bmi::DoubleArrayMessage* release_values_double(); - ::bmi::DoubleArrayMessage* mutable_values_double(); - void set_allocated_values_double(::bmi::DoubleArrayMessage* values_double); - - ValuesCase values_case() const; - // @@protoc_insertion_point(class_scope:bmi.SetValueRequest) - private: - void set_has_values_int(); - void set_has_values_float(); - void set_has_values_double(); - - inline bool has_values() const; - void clear_values(); - inline void clear_has_values(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 > shape_; - mutable int _shape_cached_byte_size_; - ::google::protobuf::internal::ArenaStringPtr name_; - union ValuesUnion { - ValuesUnion() {} - ::bmi::IntArrayMessage* values_int_; - ::bmi::FloatArrayMessage* values_float_; - ::bmi::DoubleArrayMessage* values_double_; - } values_; - mutable int _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsSetValueRequestImpl(); -}; -// ------------------------------------------------------------------- - -class SetValuePtrRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.SetValuePtrRequest) */ { - public: - SetValuePtrRequest(); - virtual ~SetValuePtrRequest(); - - SetValuePtrRequest(const SetValuePtrRequest& from); - - inline SetValuePtrRequest& operator=(const SetValuePtrRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetValuePtrRequest(SetValuePtrRequest&& from) noexcept - : SetValuePtrRequest() { - *this = ::std::move(from); - } - - inline SetValuePtrRequest& operator=(SetValuePtrRequest&& 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 SetValuePtrRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetValuePtrRequest* internal_default_instance() { - return reinterpret_cast( - &_SetValuePtrRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 23; - - void Swap(SetValuePtrRequest* other); - friend void swap(SetValuePtrRequest& a, SetValuePtrRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetValuePtrRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - SetValuePtrRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetValuePtrRequest& from); - void MergeFrom(const SetValuePtrRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetValuePtrRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string name = 1; - void clear_name(); - static const int kNameFieldNumber = 1; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // int32 ref = 2; - void clear_ref(); - static const int kRefFieldNumber = 2; - ::google::protobuf::int32 ref() const; - void set_ref(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.SetValuePtrRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::int32 ref_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsSetValuePtrRequestImpl(); -}; -// ------------------------------------------------------------------- - -class SetValueAtIndicesRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.SetValueAtIndicesRequest) */ { - public: - SetValueAtIndicesRequest(); - virtual ~SetValueAtIndicesRequest(); - - SetValueAtIndicesRequest(const SetValueAtIndicesRequest& from); - - inline SetValueAtIndicesRequest& operator=(const SetValueAtIndicesRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetValueAtIndicesRequest(SetValueAtIndicesRequest&& from) noexcept - : SetValueAtIndicesRequest() { - *this = ::std::move(from); - } - - inline SetValueAtIndicesRequest& operator=(SetValueAtIndicesRequest&& 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 SetValueAtIndicesRequest& default_instance(); - - enum ValuesCase { - kValuesInt = 3, - kValuesFloat = 4, - kValuesDouble = 5, - VALUES_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetValueAtIndicesRequest* internal_default_instance() { - return reinterpret_cast( - &_SetValueAtIndicesRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 24; - - void Swap(SetValueAtIndicesRequest* other); - friend void swap(SetValueAtIndicesRequest& a, SetValueAtIndicesRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetValueAtIndicesRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - SetValueAtIndicesRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetValueAtIndicesRequest& from); - void MergeFrom(const SetValueAtIndicesRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetValueAtIndicesRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated int32 indices = 2 [packed = true]; - int indices_size() const; - void clear_indices(); - static const int kIndicesFieldNumber = 2; - ::google::protobuf::int32 indices(int index) const; - void set_indices(int index, ::google::protobuf::int32 value); - void add_indices(::google::protobuf::int32 value); - const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& - indices() const; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* - mutable_indices(); - - // string name = 1; - void clear_name(); - static const int kNameFieldNumber = 1; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // int32 index_size = 6; - void clear_index_size(); - static const int kIndexSizeFieldNumber = 6; - ::google::protobuf::int32 index_size() const; - void set_index_size(::google::protobuf::int32 value); - - // .bmi.IntArrayMessage values_int = 3; - bool has_values_int() const; - void clear_values_int(); - static const int kValuesIntFieldNumber = 3; - const ::bmi::IntArrayMessage& values_int() const; - ::bmi::IntArrayMessage* release_values_int(); - ::bmi::IntArrayMessage* mutable_values_int(); - void set_allocated_values_int(::bmi::IntArrayMessage* values_int); - - // .bmi.FloatArrayMessage values_float = 4; - bool has_values_float() const; - void clear_values_float(); - static const int kValuesFloatFieldNumber = 4; - const ::bmi::FloatArrayMessage& values_float() const; - ::bmi::FloatArrayMessage* release_values_float(); - ::bmi::FloatArrayMessage* mutable_values_float(); - void set_allocated_values_float(::bmi::FloatArrayMessage* values_float); - - // .bmi.DoubleArrayMessage values_double = 5; - bool has_values_double() const; - void clear_values_double(); - static const int kValuesDoubleFieldNumber = 5; - const ::bmi::DoubleArrayMessage& values_double() const; - ::bmi::DoubleArrayMessage* release_values_double(); - ::bmi::DoubleArrayMessage* mutable_values_double(); - void set_allocated_values_double(::bmi::DoubleArrayMessage* values_double); - - ValuesCase values_case() const; - // @@protoc_insertion_point(class_scope:bmi.SetValueAtIndicesRequest) - private: - void set_has_values_int(); - void set_has_values_float(); - void set_has_values_double(); - - inline bool has_values() const; - void clear_values(); - inline void clear_has_values(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 > indices_; - mutable int _indices_cached_byte_size_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::int32 index_size_; - union ValuesUnion { - ValuesUnion() {} - ::bmi::IntArrayMessage* values_int_; - ::bmi::FloatArrayMessage* values_float_; - ::bmi::DoubleArrayMessage* values_double_; - } values_; - mutable int _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsSetValueAtIndicesRequestImpl(); -}; -// ------------------------------------------------------------------- - -class GridRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GridRequest) */ { - public: - GridRequest(); - virtual ~GridRequest(); - - GridRequest(const GridRequest& from); - - inline GridRequest& operator=(const GridRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GridRequest(GridRequest&& from) noexcept - : GridRequest() { - *this = ::std::move(from); - } - - inline GridRequest& operator=(GridRequest&& 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 GridRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GridRequest* internal_default_instance() { - return reinterpret_cast( - &_GridRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 25; - - void Swap(GridRequest* other); - friend void swap(GridRequest& a, GridRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GridRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - GridRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GridRequest& from); - void MergeFrom(const GridRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GridRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // int32 grid_id = 1; - void clear_grid_id(); - static const int kGridIdFieldNumber = 1; - ::google::protobuf::int32 grid_id() const; - void set_grid_id(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.GridRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 grid_id_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGridRequestImpl(); -}; -// ------------------------------------------------------------------- - -class GetGridSizeResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetGridSizeResponse) */ { - public: - GetGridSizeResponse(); - virtual ~GetGridSizeResponse(); - - GetGridSizeResponse(const GetGridSizeResponse& from); - - inline GetGridSizeResponse& operator=(const GetGridSizeResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetGridSizeResponse(GetGridSizeResponse&& from) noexcept - : GetGridSizeResponse() { - *this = ::std::move(from); - } - - inline GetGridSizeResponse& operator=(GetGridSizeResponse&& 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 GetGridSizeResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetGridSizeResponse* internal_default_instance() { - return reinterpret_cast( - &_GetGridSizeResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 26; - - void Swap(GetGridSizeResponse* other); - friend void swap(GetGridSizeResponse& a, GetGridSizeResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetGridSizeResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetGridSizeResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetGridSizeResponse& from); - void MergeFrom(const GetGridSizeResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetGridSizeResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // int32 size = 1; - void clear_size(); - static const int kSizeFieldNumber = 1; - ::google::protobuf::int32 size() const; - void set_size(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.GetGridSizeResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetGridSizeResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetGridRankResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetGridRankResponse) */ { - public: - GetGridRankResponse(); - virtual ~GetGridRankResponse(); - - GetGridRankResponse(const GetGridRankResponse& from); - - inline GetGridRankResponse& operator=(const GetGridRankResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetGridRankResponse(GetGridRankResponse&& from) noexcept - : GetGridRankResponse() { - *this = ::std::move(from); - } - - inline GetGridRankResponse& operator=(GetGridRankResponse&& 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 GetGridRankResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetGridRankResponse* internal_default_instance() { - return reinterpret_cast( - &_GetGridRankResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 27; - - void Swap(GetGridRankResponse* other); - friend void swap(GetGridRankResponse& a, GetGridRankResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetGridRankResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetGridRankResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetGridRankResponse& from); - void MergeFrom(const GetGridRankResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetGridRankResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // int32 rank = 1; - void clear_rank(); - static const int kRankFieldNumber = 1; - ::google::protobuf::int32 rank() const; - void set_rank(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.GetGridRankResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 rank_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetGridRankResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetGridTypeResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetGridTypeResponse) */ { - public: - GetGridTypeResponse(); - virtual ~GetGridTypeResponse(); - - GetGridTypeResponse(const GetGridTypeResponse& from); - - inline GetGridTypeResponse& operator=(const GetGridTypeResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetGridTypeResponse(GetGridTypeResponse&& from) noexcept - : GetGridTypeResponse() { - *this = ::std::move(from); - } - - inline GetGridTypeResponse& operator=(GetGridTypeResponse&& 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 GetGridTypeResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetGridTypeResponse* internal_default_instance() { - return reinterpret_cast( - &_GetGridTypeResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 28; - - void Swap(GetGridTypeResponse* other); - friend void swap(GetGridTypeResponse& a, GetGridTypeResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetGridTypeResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetGridTypeResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetGridTypeResponse& from); - void MergeFrom(const GetGridTypeResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetGridTypeResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string type = 1; - void clear_type(); - static const int kTypeFieldNumber = 1; - const ::std::string& type() const; - void set_type(const ::std::string& value); - #if LANG_CXX11 - void set_type(::std::string&& value); - #endif - void set_type(const char* value); - void set_type(const char* value, size_t size); - ::std::string* mutable_type(); - ::std::string* release_type(); - void set_allocated_type(::std::string* type); - - // @@protoc_insertion_point(class_scope:bmi.GetGridTypeResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr type_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetGridTypeResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetGridShapeResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetGridShapeResponse) */ { - public: - GetGridShapeResponse(); - virtual ~GetGridShapeResponse(); - - GetGridShapeResponse(const GetGridShapeResponse& from); - - inline GetGridShapeResponse& operator=(const GetGridShapeResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetGridShapeResponse(GetGridShapeResponse&& from) noexcept - : GetGridShapeResponse() { - *this = ::std::move(from); - } - - inline GetGridShapeResponse& operator=(GetGridShapeResponse&& 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 GetGridShapeResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetGridShapeResponse* internal_default_instance() { - return reinterpret_cast( - &_GetGridShapeResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 29; - - void Swap(GetGridShapeResponse* other); - friend void swap(GetGridShapeResponse& a, GetGridShapeResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetGridShapeResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetGridShapeResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetGridShapeResponse& from); - void MergeFrom(const GetGridShapeResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetGridShapeResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated int32 shape = 1 [packed = true]; - int shape_size() const; - void clear_shape(); - static const int kShapeFieldNumber = 1; - ::google::protobuf::int32 shape(int index) const; - void set_shape(int index, ::google::protobuf::int32 value); - void add_shape(::google::protobuf::int32 value); - const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& - shape() const; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* - mutable_shape(); - - // @@protoc_insertion_point(class_scope:bmi.GetGridShapeResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 > shape_; - mutable int _shape_cached_byte_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetGridShapeResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetGridSpacingResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetGridSpacingResponse) */ { - public: - GetGridSpacingResponse(); - virtual ~GetGridSpacingResponse(); - - GetGridSpacingResponse(const GetGridSpacingResponse& from); - - inline GetGridSpacingResponse& operator=(const GetGridSpacingResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetGridSpacingResponse(GetGridSpacingResponse&& from) noexcept - : GetGridSpacingResponse() { - *this = ::std::move(from); - } - - inline GetGridSpacingResponse& operator=(GetGridSpacingResponse&& 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 GetGridSpacingResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetGridSpacingResponse* internal_default_instance() { - return reinterpret_cast( - &_GetGridSpacingResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 30; - - void Swap(GetGridSpacingResponse* other); - friend void swap(GetGridSpacingResponse& a, GetGridSpacingResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetGridSpacingResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetGridSpacingResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetGridSpacingResponse& from); - void MergeFrom(const GetGridSpacingResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetGridSpacingResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated double spacing = 1 [packed = true]; - int spacing_size() const; - void clear_spacing(); - static const int kSpacingFieldNumber = 1; - double spacing(int index) const; - void set_spacing(int index, double value); - void add_spacing(double value); - const ::google::protobuf::RepeatedField< double >& - spacing() const; - ::google::protobuf::RepeatedField< double >* - mutable_spacing(); - - // @@protoc_insertion_point(class_scope:bmi.GetGridSpacingResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< double > spacing_; - mutable int _spacing_cached_byte_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetGridSpacingResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetGridOriginResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetGridOriginResponse) */ { - public: - GetGridOriginResponse(); - virtual ~GetGridOriginResponse(); - - GetGridOriginResponse(const GetGridOriginResponse& from); - - inline GetGridOriginResponse& operator=(const GetGridOriginResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetGridOriginResponse(GetGridOriginResponse&& from) noexcept - : GetGridOriginResponse() { - *this = ::std::move(from); - } - - inline GetGridOriginResponse& operator=(GetGridOriginResponse&& 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 GetGridOriginResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetGridOriginResponse* internal_default_instance() { - return reinterpret_cast( - &_GetGridOriginResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 31; - - void Swap(GetGridOriginResponse* other); - friend void swap(GetGridOriginResponse& a, GetGridOriginResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetGridOriginResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetGridOriginResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetGridOriginResponse& from); - void MergeFrom(const GetGridOriginResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetGridOriginResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated double origin = 1 [packed = true]; - int origin_size() const; - void clear_origin(); - static const int kOriginFieldNumber = 1; - double origin(int index) const; - void set_origin(int index, double value); - void add_origin(double value); - const ::google::protobuf::RepeatedField< double >& - origin() const; - ::google::protobuf::RepeatedField< double >* - mutable_origin(); - - // @@protoc_insertion_point(class_scope:bmi.GetGridOriginResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< double > origin_; - mutable int _origin_cached_byte_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetGridOriginResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetGridPointsResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetGridPointsResponse) */ { - public: - GetGridPointsResponse(); - virtual ~GetGridPointsResponse(); - - GetGridPointsResponse(const GetGridPointsResponse& from); - - inline GetGridPointsResponse& operator=(const GetGridPointsResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetGridPointsResponse(GetGridPointsResponse&& from) noexcept - : GetGridPointsResponse() { - *this = ::std::move(from); - } - - inline GetGridPointsResponse& operator=(GetGridPointsResponse&& 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 GetGridPointsResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetGridPointsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetGridPointsResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 32; - - void Swap(GetGridPointsResponse* other); - friend void swap(GetGridPointsResponse& a, GetGridPointsResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetGridPointsResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetGridPointsResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetGridPointsResponse& from); - void MergeFrom(const GetGridPointsResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetGridPointsResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated double coordinates = 1 [packed = true]; - int coordinates_size() const; - void clear_coordinates(); - static const int kCoordinatesFieldNumber = 1; - double coordinates(int index) const; - void set_coordinates(int index, double value); - void add_coordinates(double value); - const ::google::protobuf::RepeatedField< double >& - coordinates() const; - ::google::protobuf::RepeatedField< double >* - mutable_coordinates(); - - // @@protoc_insertion_point(class_scope:bmi.GetGridPointsResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< double > coordinates_; - mutable int _coordinates_cached_byte_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetGridPointsResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetCountResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetCountResponse) */ { - public: - GetCountResponse(); - virtual ~GetCountResponse(); - - GetCountResponse(const GetCountResponse& from); - - inline GetCountResponse& operator=(const GetCountResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetCountResponse(GetCountResponse&& from) noexcept - : GetCountResponse() { - *this = ::std::move(from); - } - - inline GetCountResponse& operator=(GetCountResponse&& 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 GetCountResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetCountResponse* internal_default_instance() { - return reinterpret_cast( - &_GetCountResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 33; - - void Swap(GetCountResponse* other); - friend void swap(GetCountResponse& a, GetCountResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetCountResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetCountResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetCountResponse& from); - void MergeFrom(const GetCountResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetCountResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // int32 count = 1; - void clear_count(); - static const int kCountFieldNumber = 1; - ::google::protobuf::int32 count() const; - void set_count(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:bmi.GetCountResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 count_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetCountResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetGridConnectivityResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetGridConnectivityResponse) */ { - public: - GetGridConnectivityResponse(); - virtual ~GetGridConnectivityResponse(); - - GetGridConnectivityResponse(const GetGridConnectivityResponse& from); - - inline GetGridConnectivityResponse& operator=(const GetGridConnectivityResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetGridConnectivityResponse(GetGridConnectivityResponse&& from) noexcept - : GetGridConnectivityResponse() { - *this = ::std::move(from); - } - - inline GetGridConnectivityResponse& operator=(GetGridConnectivityResponse&& 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 GetGridConnectivityResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetGridConnectivityResponse* internal_default_instance() { - return reinterpret_cast( - &_GetGridConnectivityResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 34; - - void Swap(GetGridConnectivityResponse* other); - friend void swap(GetGridConnectivityResponse& a, GetGridConnectivityResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetGridConnectivityResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetGridConnectivityResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetGridConnectivityResponse& from); - void MergeFrom(const GetGridConnectivityResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetGridConnectivityResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated int32 links = 1 [packed = true]; - int links_size() const; - void clear_links(); - static const int kLinksFieldNumber = 1; - ::google::protobuf::int32 links(int index) const; - void set_links(int index, ::google::protobuf::int32 value); - void add_links(::google::protobuf::int32 value); - const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& - links() const; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* - mutable_links(); - - // @@protoc_insertion_point(class_scope:bmi.GetGridConnectivityResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 > links_; - mutable int _links_cached_byte_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetGridConnectivityResponseImpl(); -}; -// ------------------------------------------------------------------- - -class GetGridOffsetResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:bmi.GetGridOffsetResponse) */ { - public: - GetGridOffsetResponse(); - virtual ~GetGridOffsetResponse(); - - GetGridOffsetResponse(const GetGridOffsetResponse& from); - - inline GetGridOffsetResponse& operator=(const GetGridOffsetResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetGridOffsetResponse(GetGridOffsetResponse&& from) noexcept - : GetGridOffsetResponse() { - *this = ::std::move(from); - } - - inline GetGridOffsetResponse& operator=(GetGridOffsetResponse&& 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 GetGridOffsetResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetGridOffsetResponse* internal_default_instance() { - return reinterpret_cast( - &_GetGridOffsetResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 35; - - void Swap(GetGridOffsetResponse* other); - friend void swap(GetGridOffsetResponse& a, GetGridOffsetResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetGridOffsetResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - GetGridOffsetResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const GetGridOffsetResponse& from); - void MergeFrom(const GetGridOffsetResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(GetGridOffsetResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated int32 offsets = 1 [packed = true]; - int offsets_size() const; - void clear_offsets(); - static const int kOffsetsFieldNumber = 1; - ::google::protobuf::int32 offsets(int index) const; - void set_offsets(int index, ::google::protobuf::int32 value); - void add_offsets(::google::protobuf::int32 value); - const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& - offsets() const; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* - mutable_offsets(); - - // @@protoc_insertion_point(class_scope:bmi.GetGridOffsetResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField< ::google::protobuf::int32 > offsets_; - mutable int _offsets_cached_byte_size_; - mutable int _cached_size_; - friend struct ::protobuf_bmi_2eproto::TableStruct; - friend void ::protobuf_bmi_2eproto::InitDefaultsGetGridOffsetResponseImpl(); -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Empty - -// ------------------------------------------------------------------- - -// InitializeRequest - -// string config_file = 1; -inline void InitializeRequest::clear_config_file() { - config_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& InitializeRequest::config_file() const { - // @@protoc_insertion_point(field_get:bmi.InitializeRequest.config_file) - return config_file_.GetNoArena(); -} -inline void InitializeRequest::set_config_file(const ::std::string& value) { - - config_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.InitializeRequest.config_file) -} -#if LANG_CXX11 -inline void InitializeRequest::set_config_file(::std::string&& value) { - - config_file_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.InitializeRequest.config_file) -} -#endif -inline void InitializeRequest::set_config_file(const char* value) { - GOOGLE_DCHECK(value != NULL); - - config_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.InitializeRequest.config_file) -} -inline void InitializeRequest::set_config_file(const char* value, size_t size) { - - config_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.InitializeRequest.config_file) -} -inline ::std::string* InitializeRequest::mutable_config_file() { - - // @@protoc_insertion_point(field_mutable:bmi.InitializeRequest.config_file) - return config_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* InitializeRequest::release_config_file() { - // @@protoc_insertion_point(field_release:bmi.InitializeRequest.config_file) - - return config_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void InitializeRequest::set_allocated_config_file(::std::string* config_file) { - if (config_file != NULL) { - - } else { - - } - config_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), config_file); - // @@protoc_insertion_point(field_set_allocated:bmi.InitializeRequest.config_file) -} - -// ------------------------------------------------------------------- - -// UpdateUntilRequest - -// double until = 1; -inline void UpdateUntilRequest::clear_until() { - until_ = 0; -} -inline double UpdateUntilRequest::until() const { - // @@protoc_insertion_point(field_get:bmi.UpdateUntilRequest.until) - return until_; -} -inline void UpdateUntilRequest::set_until(double value) { - - until_ = value; - // @@protoc_insertion_point(field_set:bmi.UpdateUntilRequest.until) -} - -// ------------------------------------------------------------------- - -// UpdateFracRequest - -// double frac = 1; -inline void UpdateFracRequest::clear_frac() { - frac_ = 0; -} -inline double UpdateFracRequest::frac() const { - // @@protoc_insertion_point(field_get:bmi.UpdateFracRequest.frac) - return frac_; -} -inline void UpdateFracRequest::set_frac(double value) { - - frac_ = value; - // @@protoc_insertion_point(field_set:bmi.UpdateFracRequest.frac) -} - -// ------------------------------------------------------------------- - -// GetComponentNameResponse - -// string name = 1; -inline void GetComponentNameResponse::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetComponentNameResponse::name() const { - // @@protoc_insertion_point(field_get:bmi.GetComponentNameResponse.name) - return name_.GetNoArena(); -} -inline void GetComponentNameResponse::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.GetComponentNameResponse.name) -} -#if LANG_CXX11 -inline void GetComponentNameResponse::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.GetComponentNameResponse.name) -} -#endif -inline void GetComponentNameResponse::set_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.GetComponentNameResponse.name) -} -inline void GetComponentNameResponse::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.GetComponentNameResponse.name) -} -inline ::std::string* GetComponentNameResponse::mutable_name() { - - // @@protoc_insertion_point(field_mutable:bmi.GetComponentNameResponse.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetComponentNameResponse::release_name() { - // @@protoc_insertion_point(field_release:bmi.GetComponentNameResponse.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetComponentNameResponse::set_allocated_name(::std::string* name) { - if (name != NULL) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:bmi.GetComponentNameResponse.name) -} - -// ------------------------------------------------------------------- - -// GetVarNameCountResponse - -// int32 count = 1; -inline void GetVarNameCountResponse::clear_count() { - count_ = 0; -} -inline ::google::protobuf::int32 GetVarNameCountResponse::count() const { - // @@protoc_insertion_point(field_get:bmi.GetVarNameCountResponse.count) - return count_; -} -inline void GetVarNameCountResponse::set_count(::google::protobuf::int32 value) { - - count_ = value; - // @@protoc_insertion_point(field_set:bmi.GetVarNameCountResponse.count) -} - -// ------------------------------------------------------------------- - -// GetVarNamesResponse - -// repeated string names = 1; -inline int GetVarNamesResponse::names_size() const { - return names_.size(); -} -inline void GetVarNamesResponse::clear_names() { - names_.Clear(); -} -inline const ::std::string& GetVarNamesResponse::names(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetVarNamesResponse.names) - return names_.Get(index); -} -inline ::std::string* GetVarNamesResponse::mutable_names(int index) { - // @@protoc_insertion_point(field_mutable:bmi.GetVarNamesResponse.names) - return names_.Mutable(index); -} -inline void GetVarNamesResponse::set_names(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:bmi.GetVarNamesResponse.names) - names_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void GetVarNamesResponse::set_names(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:bmi.GetVarNamesResponse.names) - names_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void GetVarNamesResponse::set_names(int index, const char* value) { - GOOGLE_DCHECK(value != NULL); - names_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:bmi.GetVarNamesResponse.names) -} -inline void GetVarNamesResponse::set_names(int index, const char* value, size_t size) { - names_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bmi.GetVarNamesResponse.names) -} -inline ::std::string* GetVarNamesResponse::add_names() { - // @@protoc_insertion_point(field_add_mutable:bmi.GetVarNamesResponse.names) - return names_.Add(); -} -inline void GetVarNamesResponse::add_names(const ::std::string& value) { - names_.Add()->assign(value); - // @@protoc_insertion_point(field_add:bmi.GetVarNamesResponse.names) -} -#if LANG_CXX11 -inline void GetVarNamesResponse::add_names(::std::string&& value) { - names_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:bmi.GetVarNamesResponse.names) -} -#endif -inline void GetVarNamesResponse::add_names(const char* value) { - GOOGLE_DCHECK(value != NULL); - names_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:bmi.GetVarNamesResponse.names) -} -inline void GetVarNamesResponse::add_names(const char* value, size_t size) { - names_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:bmi.GetVarNamesResponse.names) -} -inline const ::google::protobuf::RepeatedPtrField< ::std::string>& -GetVarNamesResponse::names() const { - // @@protoc_insertion_point(field_list:bmi.GetVarNamesResponse.names) - return names_; -} -inline ::google::protobuf::RepeatedPtrField< ::std::string>* -GetVarNamesResponse::mutable_names() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetVarNamesResponse.names) - return &names_; -} - -// ------------------------------------------------------------------- - -// GetTimeUnitsResponse - -// string units = 1; -inline void GetTimeUnitsResponse::clear_units() { - units_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetTimeUnitsResponse::units() const { - // @@protoc_insertion_point(field_get:bmi.GetTimeUnitsResponse.units) - return units_.GetNoArena(); -} -inline void GetTimeUnitsResponse::set_units(const ::std::string& value) { - - units_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.GetTimeUnitsResponse.units) -} -#if LANG_CXX11 -inline void GetTimeUnitsResponse::set_units(::std::string&& value) { - - units_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.GetTimeUnitsResponse.units) -} -#endif -inline void GetTimeUnitsResponse::set_units(const char* value) { - GOOGLE_DCHECK(value != NULL); - - units_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.GetTimeUnitsResponse.units) -} -inline void GetTimeUnitsResponse::set_units(const char* value, size_t size) { - - units_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.GetTimeUnitsResponse.units) -} -inline ::std::string* GetTimeUnitsResponse::mutable_units() { - - // @@protoc_insertion_point(field_mutable:bmi.GetTimeUnitsResponse.units) - return units_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetTimeUnitsResponse::release_units() { - // @@protoc_insertion_point(field_release:bmi.GetTimeUnitsResponse.units) - - return units_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetTimeUnitsResponse::set_allocated_units(::std::string* units) { - if (units != NULL) { - - } else { - - } - units_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), units); - // @@protoc_insertion_point(field_set_allocated:bmi.GetTimeUnitsResponse.units) -} - -// ------------------------------------------------------------------- - -// GetTimeStepResponse - -// double interval = 1; -inline void GetTimeStepResponse::clear_interval() { - interval_ = 0; -} -inline double GetTimeStepResponse::interval() const { - // @@protoc_insertion_point(field_get:bmi.GetTimeStepResponse.interval) - return interval_; -} -inline void GetTimeStepResponse::set_interval(double value) { - - interval_ = value; - // @@protoc_insertion_point(field_set:bmi.GetTimeStepResponse.interval) -} - -// ------------------------------------------------------------------- - -// GetTimeResponse - -// double time = 1; -inline void GetTimeResponse::clear_time() { - time_ = 0; -} -inline double GetTimeResponse::time() const { - // @@protoc_insertion_point(field_get:bmi.GetTimeResponse.time) - return time_; -} -inline void GetTimeResponse::set_time(double value) { - - time_ = value; - // @@protoc_insertion_point(field_set:bmi.GetTimeResponse.time) -} - -// ------------------------------------------------------------------- - -// GetVarRequest - -// string name = 1; -inline void GetVarRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetVarRequest::name() const { - // @@protoc_insertion_point(field_get:bmi.GetVarRequest.name) - return name_.GetNoArena(); -} -inline void GetVarRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.GetVarRequest.name) -} -#if LANG_CXX11 -inline void GetVarRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.GetVarRequest.name) -} -#endif -inline void GetVarRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.GetVarRequest.name) -} -inline void GetVarRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.GetVarRequest.name) -} -inline ::std::string* GetVarRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:bmi.GetVarRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetVarRequest::release_name() { - // @@protoc_insertion_point(field_release:bmi.GetVarRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetVarRequest::set_allocated_name(::std::string* name) { - if (name != NULL) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:bmi.GetVarRequest.name) -} - -// ------------------------------------------------------------------- - -// GetVarGridResponse - -// int32 grid_id = 1; -inline void GetVarGridResponse::clear_grid_id() { - grid_id_ = 0; -} -inline ::google::protobuf::int32 GetVarGridResponse::grid_id() const { - // @@protoc_insertion_point(field_get:bmi.GetVarGridResponse.grid_id) - return grid_id_; -} -inline void GetVarGridResponse::set_grid_id(::google::protobuf::int32 value) { - - grid_id_ = value; - // @@protoc_insertion_point(field_set:bmi.GetVarGridResponse.grid_id) -} - -// ------------------------------------------------------------------- - -// GetVarTypeResponse - -// string type = 1; -inline void GetVarTypeResponse::clear_type() { - type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetVarTypeResponse::type() const { - // @@protoc_insertion_point(field_get:bmi.GetVarTypeResponse.type) - return type_.GetNoArena(); -} -inline void GetVarTypeResponse::set_type(const ::std::string& value) { - - type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.GetVarTypeResponse.type) -} -#if LANG_CXX11 -inline void GetVarTypeResponse::set_type(::std::string&& value) { - - type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.GetVarTypeResponse.type) -} -#endif -inline void GetVarTypeResponse::set_type(const char* value) { - GOOGLE_DCHECK(value != NULL); - - type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.GetVarTypeResponse.type) -} -inline void GetVarTypeResponse::set_type(const char* value, size_t size) { - - type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.GetVarTypeResponse.type) -} -inline ::std::string* GetVarTypeResponse::mutable_type() { - - // @@protoc_insertion_point(field_mutable:bmi.GetVarTypeResponse.type) - return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetVarTypeResponse::release_type() { - // @@protoc_insertion_point(field_release:bmi.GetVarTypeResponse.type) - - return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetVarTypeResponse::set_allocated_type(::std::string* type) { - if (type != NULL) { - - } else { - - } - type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type); - // @@protoc_insertion_point(field_set_allocated:bmi.GetVarTypeResponse.type) -} - -// ------------------------------------------------------------------- - -// GetVarItemSizeResponse - -// int32 size = 1; -inline void GetVarItemSizeResponse::clear_size() { - size_ = 0; -} -inline ::google::protobuf::int32 GetVarItemSizeResponse::size() const { - // @@protoc_insertion_point(field_get:bmi.GetVarItemSizeResponse.size) - return size_; -} -inline void GetVarItemSizeResponse::set_size(::google::protobuf::int32 value) { - - size_ = value; - // @@protoc_insertion_point(field_set:bmi.GetVarItemSizeResponse.size) -} - -// ------------------------------------------------------------------- - -// GetVarUnitsResponse - -// string units = 1; -inline void GetVarUnitsResponse::clear_units() { - units_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetVarUnitsResponse::units() const { - // @@protoc_insertion_point(field_get:bmi.GetVarUnitsResponse.units) - return units_.GetNoArena(); -} -inline void GetVarUnitsResponse::set_units(const ::std::string& value) { - - units_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.GetVarUnitsResponse.units) -} -#if LANG_CXX11 -inline void GetVarUnitsResponse::set_units(::std::string&& value) { - - units_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.GetVarUnitsResponse.units) -} -#endif -inline void GetVarUnitsResponse::set_units(const char* value) { - GOOGLE_DCHECK(value != NULL); - - units_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.GetVarUnitsResponse.units) -} -inline void GetVarUnitsResponse::set_units(const char* value, size_t size) { - - units_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.GetVarUnitsResponse.units) -} -inline ::std::string* GetVarUnitsResponse::mutable_units() { - - // @@protoc_insertion_point(field_mutable:bmi.GetVarUnitsResponse.units) - return units_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetVarUnitsResponse::release_units() { - // @@protoc_insertion_point(field_release:bmi.GetVarUnitsResponse.units) - - return units_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetVarUnitsResponse::set_allocated_units(::std::string* units) { - if (units != NULL) { - - } else { - - } - units_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), units); - // @@protoc_insertion_point(field_set_allocated:bmi.GetVarUnitsResponse.units) -} - -// ------------------------------------------------------------------- - -// GetVarNBytesResponse - -// int32 nbytes = 1; -inline void GetVarNBytesResponse::clear_nbytes() { - nbytes_ = 0; -} -inline ::google::protobuf::int32 GetVarNBytesResponse::nbytes() const { - // @@protoc_insertion_point(field_get:bmi.GetVarNBytesResponse.nbytes) - return nbytes_; -} -inline void GetVarNBytesResponse::set_nbytes(::google::protobuf::int32 value) { - - nbytes_ = value; - // @@protoc_insertion_point(field_set:bmi.GetVarNBytesResponse.nbytes) -} - -// ------------------------------------------------------------------- - -// IntArrayMessage - -// repeated int32 values = 1 [packed = true]; -inline int IntArrayMessage::values_size() const { - return values_.size(); -} -inline void IntArrayMessage::clear_values() { - values_.Clear(); -} -inline ::google::protobuf::int32 IntArrayMessage::values(int index) const { - // @@protoc_insertion_point(field_get:bmi.IntArrayMessage.values) - return values_.Get(index); -} -inline void IntArrayMessage::set_values(int index, ::google::protobuf::int32 value) { - values_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.IntArrayMessage.values) -} -inline void IntArrayMessage::add_values(::google::protobuf::int32 value) { - values_.Add(value); - // @@protoc_insertion_point(field_add:bmi.IntArrayMessage.values) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& -IntArrayMessage::values() const { - // @@protoc_insertion_point(field_list:bmi.IntArrayMessage.values) - return values_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* -IntArrayMessage::mutable_values() { - // @@protoc_insertion_point(field_mutable_list:bmi.IntArrayMessage.values) - return &values_; -} - -// ------------------------------------------------------------------- - -// FloatArrayMessage - -// repeated float values = 1 [packed = true]; -inline int FloatArrayMessage::values_size() const { - return values_.size(); -} -inline void FloatArrayMessage::clear_values() { - values_.Clear(); -} -inline float FloatArrayMessage::values(int index) const { - // @@protoc_insertion_point(field_get:bmi.FloatArrayMessage.values) - return values_.Get(index); -} -inline void FloatArrayMessage::set_values(int index, float value) { - values_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.FloatArrayMessage.values) -} -inline void FloatArrayMessage::add_values(float value) { - values_.Add(value); - // @@protoc_insertion_point(field_add:bmi.FloatArrayMessage.values) -} -inline const ::google::protobuf::RepeatedField< float >& -FloatArrayMessage::values() const { - // @@protoc_insertion_point(field_list:bmi.FloatArrayMessage.values) - return values_; -} -inline ::google::protobuf::RepeatedField< float >* -FloatArrayMessage::mutable_values() { - // @@protoc_insertion_point(field_mutable_list:bmi.FloatArrayMessage.values) - return &values_; -} - -// ------------------------------------------------------------------- - -// DoubleArrayMessage - -// repeated double values = 1 [packed = true]; -inline int DoubleArrayMessage::values_size() const { - return values_.size(); -} -inline void DoubleArrayMessage::clear_values() { - values_.Clear(); -} -inline double DoubleArrayMessage::values(int index) const { - // @@protoc_insertion_point(field_get:bmi.DoubleArrayMessage.values) - return values_.Get(index); -} -inline void DoubleArrayMessage::set_values(int index, double value) { - values_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.DoubleArrayMessage.values) -} -inline void DoubleArrayMessage::add_values(double value) { - values_.Add(value); - // @@protoc_insertion_point(field_add:bmi.DoubleArrayMessage.values) -} -inline const ::google::protobuf::RepeatedField< double >& -DoubleArrayMessage::values() const { - // @@protoc_insertion_point(field_list:bmi.DoubleArrayMessage.values) - return values_; -} -inline ::google::protobuf::RepeatedField< double >* -DoubleArrayMessage::mutable_values() { - // @@protoc_insertion_point(field_mutable_list:bmi.DoubleArrayMessage.values) - return &values_; -} - -// ------------------------------------------------------------------- - -// GetValueResponse - -// .bmi.IntArrayMessage values_int = 1; -inline bool GetValueResponse::has_values_int() const { - return values_case() == kValuesInt; -} -inline void GetValueResponse::set_has_values_int() { - _oneof_case_[0] = kValuesInt; -} -inline void GetValueResponse::clear_values_int() { - if (has_values_int()) { - delete values_.values_int_; - clear_has_values(); - } -} -inline ::bmi::IntArrayMessage* GetValueResponse::release_values_int() { - // @@protoc_insertion_point(field_release:bmi.GetValueResponse.values_int) - if (has_values_int()) { - clear_has_values(); - ::bmi::IntArrayMessage* temp = values_.values_int_; - values_.values_int_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::IntArrayMessage& GetValueResponse::values_int() const { - // @@protoc_insertion_point(field_get:bmi.GetValueResponse.values_int) - return has_values_int() - ? *values_.values_int_ - : *reinterpret_cast< ::bmi::IntArrayMessage*>(&::bmi::_IntArrayMessage_default_instance_); -} -inline ::bmi::IntArrayMessage* GetValueResponse::mutable_values_int() { - if (!has_values_int()) { - clear_values(); - set_has_values_int(); - values_.values_int_ = new ::bmi::IntArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.GetValueResponse.values_int) - return values_.values_int_; -} - -// .bmi.FloatArrayMessage values_float = 2; -inline bool GetValueResponse::has_values_float() const { - return values_case() == kValuesFloat; -} -inline void GetValueResponse::set_has_values_float() { - _oneof_case_[0] = kValuesFloat; -} -inline void GetValueResponse::clear_values_float() { - if (has_values_float()) { - delete values_.values_float_; - clear_has_values(); - } -} -inline ::bmi::FloatArrayMessage* GetValueResponse::release_values_float() { - // @@protoc_insertion_point(field_release:bmi.GetValueResponse.values_float) - if (has_values_float()) { - clear_has_values(); - ::bmi::FloatArrayMessage* temp = values_.values_float_; - values_.values_float_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::FloatArrayMessage& GetValueResponse::values_float() const { - // @@protoc_insertion_point(field_get:bmi.GetValueResponse.values_float) - return has_values_float() - ? *values_.values_float_ - : *reinterpret_cast< ::bmi::FloatArrayMessage*>(&::bmi::_FloatArrayMessage_default_instance_); -} -inline ::bmi::FloatArrayMessage* GetValueResponse::mutable_values_float() { - if (!has_values_float()) { - clear_values(); - set_has_values_float(); - values_.values_float_ = new ::bmi::FloatArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.GetValueResponse.values_float) - return values_.values_float_; -} - -// .bmi.DoubleArrayMessage values_double = 3; -inline bool GetValueResponse::has_values_double() const { - return values_case() == kValuesDouble; -} -inline void GetValueResponse::set_has_values_double() { - _oneof_case_[0] = kValuesDouble; -} -inline void GetValueResponse::clear_values_double() { - if (has_values_double()) { - delete values_.values_double_; - clear_has_values(); - } -} -inline ::bmi::DoubleArrayMessage* GetValueResponse::release_values_double() { - // @@protoc_insertion_point(field_release:bmi.GetValueResponse.values_double) - if (has_values_double()) { - clear_has_values(); - ::bmi::DoubleArrayMessage* temp = values_.values_double_; - values_.values_double_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::DoubleArrayMessage& GetValueResponse::values_double() const { - // @@protoc_insertion_point(field_get:bmi.GetValueResponse.values_double) - return has_values_double() - ? *values_.values_double_ - : *reinterpret_cast< ::bmi::DoubleArrayMessage*>(&::bmi::_DoubleArrayMessage_default_instance_); -} -inline ::bmi::DoubleArrayMessage* GetValueResponse::mutable_values_double() { - if (!has_values_double()) { - clear_values(); - set_has_values_double(); - values_.values_double_ = new ::bmi::DoubleArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.GetValueResponse.values_double) - return values_.values_double_; -} - -// repeated int32 shape = 4 [packed = true]; -inline int GetValueResponse::shape_size() const { - return shape_.size(); -} -inline void GetValueResponse::clear_shape() { - shape_.Clear(); -} -inline ::google::protobuf::int32 GetValueResponse::shape(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetValueResponse.shape) - return shape_.Get(index); -} -inline void GetValueResponse::set_shape(int index, ::google::protobuf::int32 value) { - shape_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.GetValueResponse.shape) -} -inline void GetValueResponse::add_shape(::google::protobuf::int32 value) { - shape_.Add(value); - // @@protoc_insertion_point(field_add:bmi.GetValueResponse.shape) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& -GetValueResponse::shape() const { - // @@protoc_insertion_point(field_list:bmi.GetValueResponse.shape) - return shape_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* -GetValueResponse::mutable_shape() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetValueResponse.shape) - return &shape_; -} - -inline bool GetValueResponse::has_values() const { - return values_case() != VALUES_NOT_SET; -} -inline void GetValueResponse::clear_has_values() { - _oneof_case_[0] = VALUES_NOT_SET; -} -inline GetValueResponse::ValuesCase GetValueResponse::values_case() const { - return GetValueResponse::ValuesCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// GetValueAtIndicesRequest - -// string name = 1; -inline void GetValueAtIndicesRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetValueAtIndicesRequest::name() const { - // @@protoc_insertion_point(field_get:bmi.GetValueAtIndicesRequest.name) - return name_.GetNoArena(); -} -inline void GetValueAtIndicesRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.GetValueAtIndicesRequest.name) -} -#if LANG_CXX11 -inline void GetValueAtIndicesRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.GetValueAtIndicesRequest.name) -} -#endif -inline void GetValueAtIndicesRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.GetValueAtIndicesRequest.name) -} -inline void GetValueAtIndicesRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.GetValueAtIndicesRequest.name) -} -inline ::std::string* GetValueAtIndicesRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:bmi.GetValueAtIndicesRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetValueAtIndicesRequest::release_name() { - // @@protoc_insertion_point(field_release:bmi.GetValueAtIndicesRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetValueAtIndicesRequest::set_allocated_name(::std::string* name) { - if (name != NULL) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:bmi.GetValueAtIndicesRequest.name) -} - -// repeated int32 indices = 2 [packed = true]; -inline int GetValueAtIndicesRequest::indices_size() const { - return indices_.size(); -} -inline void GetValueAtIndicesRequest::clear_indices() { - indices_.Clear(); -} -inline ::google::protobuf::int32 GetValueAtIndicesRequest::indices(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetValueAtIndicesRequest.indices) - return indices_.Get(index); -} -inline void GetValueAtIndicesRequest::set_indices(int index, ::google::protobuf::int32 value) { - indices_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.GetValueAtIndicesRequest.indices) -} -inline void GetValueAtIndicesRequest::add_indices(::google::protobuf::int32 value) { - indices_.Add(value); - // @@protoc_insertion_point(field_add:bmi.GetValueAtIndicesRequest.indices) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& -GetValueAtIndicesRequest::indices() const { - // @@protoc_insertion_point(field_list:bmi.GetValueAtIndicesRequest.indices) - return indices_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* -GetValueAtIndicesRequest::mutable_indices() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetValueAtIndicesRequest.indices) - return &indices_; -} - -// int32 index_size = 3; -inline void GetValueAtIndicesRequest::clear_index_size() { - index_size_ = 0; -} -inline ::google::protobuf::int32 GetValueAtIndicesRequest::index_size() const { - // @@protoc_insertion_point(field_get:bmi.GetValueAtIndicesRequest.index_size) - return index_size_; -} -inline void GetValueAtIndicesRequest::set_index_size(::google::protobuf::int32 value) { - - index_size_ = value; - // @@protoc_insertion_point(field_set:bmi.GetValueAtIndicesRequest.index_size) -} - -// ------------------------------------------------------------------- - -// GetValueAtIndicesResponse - -// .bmi.IntArrayMessage values_int = 1; -inline bool GetValueAtIndicesResponse::has_values_int() const { - return values_case() == kValuesInt; -} -inline void GetValueAtIndicesResponse::set_has_values_int() { - _oneof_case_[0] = kValuesInt; -} -inline void GetValueAtIndicesResponse::clear_values_int() { - if (has_values_int()) { - delete values_.values_int_; - clear_has_values(); - } -} -inline ::bmi::IntArrayMessage* GetValueAtIndicesResponse::release_values_int() { - // @@protoc_insertion_point(field_release:bmi.GetValueAtIndicesResponse.values_int) - if (has_values_int()) { - clear_has_values(); - ::bmi::IntArrayMessage* temp = values_.values_int_; - values_.values_int_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::IntArrayMessage& GetValueAtIndicesResponse::values_int() const { - // @@protoc_insertion_point(field_get:bmi.GetValueAtIndicesResponse.values_int) - return has_values_int() - ? *values_.values_int_ - : *reinterpret_cast< ::bmi::IntArrayMessage*>(&::bmi::_IntArrayMessage_default_instance_); -} -inline ::bmi::IntArrayMessage* GetValueAtIndicesResponse::mutable_values_int() { - if (!has_values_int()) { - clear_values(); - set_has_values_int(); - values_.values_int_ = new ::bmi::IntArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.GetValueAtIndicesResponse.values_int) - return values_.values_int_; -} - -// .bmi.FloatArrayMessage values_float = 2; -inline bool GetValueAtIndicesResponse::has_values_float() const { - return values_case() == kValuesFloat; -} -inline void GetValueAtIndicesResponse::set_has_values_float() { - _oneof_case_[0] = kValuesFloat; -} -inline void GetValueAtIndicesResponse::clear_values_float() { - if (has_values_float()) { - delete values_.values_float_; - clear_has_values(); - } -} -inline ::bmi::FloatArrayMessage* GetValueAtIndicesResponse::release_values_float() { - // @@protoc_insertion_point(field_release:bmi.GetValueAtIndicesResponse.values_float) - if (has_values_float()) { - clear_has_values(); - ::bmi::FloatArrayMessage* temp = values_.values_float_; - values_.values_float_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::FloatArrayMessage& GetValueAtIndicesResponse::values_float() const { - // @@protoc_insertion_point(field_get:bmi.GetValueAtIndicesResponse.values_float) - return has_values_float() - ? *values_.values_float_ - : *reinterpret_cast< ::bmi::FloatArrayMessage*>(&::bmi::_FloatArrayMessage_default_instance_); -} -inline ::bmi::FloatArrayMessage* GetValueAtIndicesResponse::mutable_values_float() { - if (!has_values_float()) { - clear_values(); - set_has_values_float(); - values_.values_float_ = new ::bmi::FloatArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.GetValueAtIndicesResponse.values_float) - return values_.values_float_; -} - -// .bmi.DoubleArrayMessage values_double = 3; -inline bool GetValueAtIndicesResponse::has_values_double() const { - return values_case() == kValuesDouble; -} -inline void GetValueAtIndicesResponse::set_has_values_double() { - _oneof_case_[0] = kValuesDouble; -} -inline void GetValueAtIndicesResponse::clear_values_double() { - if (has_values_double()) { - delete values_.values_double_; - clear_has_values(); - } -} -inline ::bmi::DoubleArrayMessage* GetValueAtIndicesResponse::release_values_double() { - // @@protoc_insertion_point(field_release:bmi.GetValueAtIndicesResponse.values_double) - if (has_values_double()) { - clear_has_values(); - ::bmi::DoubleArrayMessage* temp = values_.values_double_; - values_.values_double_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::DoubleArrayMessage& GetValueAtIndicesResponse::values_double() const { - // @@protoc_insertion_point(field_get:bmi.GetValueAtIndicesResponse.values_double) - return has_values_double() - ? *values_.values_double_ - : *reinterpret_cast< ::bmi::DoubleArrayMessage*>(&::bmi::_DoubleArrayMessage_default_instance_); -} -inline ::bmi::DoubleArrayMessage* GetValueAtIndicesResponse::mutable_values_double() { - if (!has_values_double()) { - clear_values(); - set_has_values_double(); - values_.values_double_ = new ::bmi::DoubleArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.GetValueAtIndicesResponse.values_double) - return values_.values_double_; -} - -// repeated int32 shape = 4 [packed = true]; -inline int GetValueAtIndicesResponse::shape_size() const { - return shape_.size(); -} -inline void GetValueAtIndicesResponse::clear_shape() { - shape_.Clear(); -} -inline ::google::protobuf::int32 GetValueAtIndicesResponse::shape(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetValueAtIndicesResponse.shape) - return shape_.Get(index); -} -inline void GetValueAtIndicesResponse::set_shape(int index, ::google::protobuf::int32 value) { - shape_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.GetValueAtIndicesResponse.shape) -} -inline void GetValueAtIndicesResponse::add_shape(::google::protobuf::int32 value) { - shape_.Add(value); - // @@protoc_insertion_point(field_add:bmi.GetValueAtIndicesResponse.shape) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& -GetValueAtIndicesResponse::shape() const { - // @@protoc_insertion_point(field_list:bmi.GetValueAtIndicesResponse.shape) - return shape_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* -GetValueAtIndicesResponse::mutable_shape() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetValueAtIndicesResponse.shape) - return &shape_; -} - -inline bool GetValueAtIndicesResponse::has_values() const { - return values_case() != VALUES_NOT_SET; -} -inline void GetValueAtIndicesResponse::clear_has_values() { - _oneof_case_[0] = VALUES_NOT_SET; -} -inline GetValueAtIndicesResponse::ValuesCase GetValueAtIndicesResponse::values_case() const { - return GetValueAtIndicesResponse::ValuesCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// SetValueRequest - -// string name = 1; -inline void SetValueRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SetValueRequest::name() const { - // @@protoc_insertion_point(field_get:bmi.SetValueRequest.name) - return name_.GetNoArena(); -} -inline void SetValueRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.SetValueRequest.name) -} -#if LANG_CXX11 -inline void SetValueRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.SetValueRequest.name) -} -#endif -inline void SetValueRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.SetValueRequest.name) -} -inline void SetValueRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.SetValueRequest.name) -} -inline ::std::string* SetValueRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:bmi.SetValueRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SetValueRequest::release_name() { - // @@protoc_insertion_point(field_release:bmi.SetValueRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SetValueRequest::set_allocated_name(::std::string* name) { - if (name != NULL) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:bmi.SetValueRequest.name) -} - -// .bmi.IntArrayMessage values_int = 2; -inline bool SetValueRequest::has_values_int() const { - return values_case() == kValuesInt; -} -inline void SetValueRequest::set_has_values_int() { - _oneof_case_[0] = kValuesInt; -} -inline void SetValueRequest::clear_values_int() { - if (has_values_int()) { - delete values_.values_int_; - clear_has_values(); - } -} -inline ::bmi::IntArrayMessage* SetValueRequest::release_values_int() { - // @@protoc_insertion_point(field_release:bmi.SetValueRequest.values_int) - if (has_values_int()) { - clear_has_values(); - ::bmi::IntArrayMessage* temp = values_.values_int_; - values_.values_int_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::IntArrayMessage& SetValueRequest::values_int() const { - // @@protoc_insertion_point(field_get:bmi.SetValueRequest.values_int) - return has_values_int() - ? *values_.values_int_ - : *reinterpret_cast< ::bmi::IntArrayMessage*>(&::bmi::_IntArrayMessage_default_instance_); -} -inline ::bmi::IntArrayMessage* SetValueRequest::mutable_values_int() { - if (!has_values_int()) { - clear_values(); - set_has_values_int(); - values_.values_int_ = new ::bmi::IntArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.SetValueRequest.values_int) - return values_.values_int_; -} - -// .bmi.FloatArrayMessage values_float = 3; -inline bool SetValueRequest::has_values_float() const { - return values_case() == kValuesFloat; -} -inline void SetValueRequest::set_has_values_float() { - _oneof_case_[0] = kValuesFloat; -} -inline void SetValueRequest::clear_values_float() { - if (has_values_float()) { - delete values_.values_float_; - clear_has_values(); - } -} -inline ::bmi::FloatArrayMessage* SetValueRequest::release_values_float() { - // @@protoc_insertion_point(field_release:bmi.SetValueRequest.values_float) - if (has_values_float()) { - clear_has_values(); - ::bmi::FloatArrayMessage* temp = values_.values_float_; - values_.values_float_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::FloatArrayMessage& SetValueRequest::values_float() const { - // @@protoc_insertion_point(field_get:bmi.SetValueRequest.values_float) - return has_values_float() - ? *values_.values_float_ - : *reinterpret_cast< ::bmi::FloatArrayMessage*>(&::bmi::_FloatArrayMessage_default_instance_); -} -inline ::bmi::FloatArrayMessage* SetValueRequest::mutable_values_float() { - if (!has_values_float()) { - clear_values(); - set_has_values_float(); - values_.values_float_ = new ::bmi::FloatArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.SetValueRequest.values_float) - return values_.values_float_; -} - -// .bmi.DoubleArrayMessage values_double = 4; -inline bool SetValueRequest::has_values_double() const { - return values_case() == kValuesDouble; -} -inline void SetValueRequest::set_has_values_double() { - _oneof_case_[0] = kValuesDouble; -} -inline void SetValueRequest::clear_values_double() { - if (has_values_double()) { - delete values_.values_double_; - clear_has_values(); - } -} -inline ::bmi::DoubleArrayMessage* SetValueRequest::release_values_double() { - // @@protoc_insertion_point(field_release:bmi.SetValueRequest.values_double) - if (has_values_double()) { - clear_has_values(); - ::bmi::DoubleArrayMessage* temp = values_.values_double_; - values_.values_double_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::DoubleArrayMessage& SetValueRequest::values_double() const { - // @@protoc_insertion_point(field_get:bmi.SetValueRequest.values_double) - return has_values_double() - ? *values_.values_double_ - : *reinterpret_cast< ::bmi::DoubleArrayMessage*>(&::bmi::_DoubleArrayMessage_default_instance_); -} -inline ::bmi::DoubleArrayMessage* SetValueRequest::mutable_values_double() { - if (!has_values_double()) { - clear_values(); - set_has_values_double(); - values_.values_double_ = new ::bmi::DoubleArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.SetValueRequest.values_double) - return values_.values_double_; -} - -// repeated int32 shape = 5 [packed = true]; -inline int SetValueRequest::shape_size() const { - return shape_.size(); -} -inline void SetValueRequest::clear_shape() { - shape_.Clear(); -} -inline ::google::protobuf::int32 SetValueRequest::shape(int index) const { - // @@protoc_insertion_point(field_get:bmi.SetValueRequest.shape) - return shape_.Get(index); -} -inline void SetValueRequest::set_shape(int index, ::google::protobuf::int32 value) { - shape_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.SetValueRequest.shape) -} -inline void SetValueRequest::add_shape(::google::protobuf::int32 value) { - shape_.Add(value); - // @@protoc_insertion_point(field_add:bmi.SetValueRequest.shape) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& -SetValueRequest::shape() const { - // @@protoc_insertion_point(field_list:bmi.SetValueRequest.shape) - return shape_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* -SetValueRequest::mutable_shape() { - // @@protoc_insertion_point(field_mutable_list:bmi.SetValueRequest.shape) - return &shape_; -} - -inline bool SetValueRequest::has_values() const { - return values_case() != VALUES_NOT_SET; -} -inline void SetValueRequest::clear_has_values() { - _oneof_case_[0] = VALUES_NOT_SET; -} -inline SetValueRequest::ValuesCase SetValueRequest::values_case() const { - return SetValueRequest::ValuesCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// SetValuePtrRequest - -// string name = 1; -inline void SetValuePtrRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SetValuePtrRequest::name() const { - // @@protoc_insertion_point(field_get:bmi.SetValuePtrRequest.name) - return name_.GetNoArena(); -} -inline void SetValuePtrRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.SetValuePtrRequest.name) -} -#if LANG_CXX11 -inline void SetValuePtrRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.SetValuePtrRequest.name) -} -#endif -inline void SetValuePtrRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.SetValuePtrRequest.name) -} -inline void SetValuePtrRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.SetValuePtrRequest.name) -} -inline ::std::string* SetValuePtrRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:bmi.SetValuePtrRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SetValuePtrRequest::release_name() { - // @@protoc_insertion_point(field_release:bmi.SetValuePtrRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SetValuePtrRequest::set_allocated_name(::std::string* name) { - if (name != NULL) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:bmi.SetValuePtrRequest.name) -} - -// int32 ref = 2; -inline void SetValuePtrRequest::clear_ref() { - ref_ = 0; -} -inline ::google::protobuf::int32 SetValuePtrRequest::ref() const { - // @@protoc_insertion_point(field_get:bmi.SetValuePtrRequest.ref) - return ref_; -} -inline void SetValuePtrRequest::set_ref(::google::protobuf::int32 value) { - - ref_ = value; - // @@protoc_insertion_point(field_set:bmi.SetValuePtrRequest.ref) -} - -// ------------------------------------------------------------------- - -// SetValueAtIndicesRequest - -// string name = 1; -inline void SetValueAtIndicesRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SetValueAtIndicesRequest::name() const { - // @@protoc_insertion_point(field_get:bmi.SetValueAtIndicesRequest.name) - return name_.GetNoArena(); -} -inline void SetValueAtIndicesRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.SetValueAtIndicesRequest.name) -} -#if LANG_CXX11 -inline void SetValueAtIndicesRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.SetValueAtIndicesRequest.name) -} -#endif -inline void SetValueAtIndicesRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.SetValueAtIndicesRequest.name) -} -inline void SetValueAtIndicesRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.SetValueAtIndicesRequest.name) -} -inline ::std::string* SetValueAtIndicesRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:bmi.SetValueAtIndicesRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SetValueAtIndicesRequest::release_name() { - // @@protoc_insertion_point(field_release:bmi.SetValueAtIndicesRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SetValueAtIndicesRequest::set_allocated_name(::std::string* name) { - if (name != NULL) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:bmi.SetValueAtIndicesRequest.name) -} - -// repeated int32 indices = 2 [packed = true]; -inline int SetValueAtIndicesRequest::indices_size() const { - return indices_.size(); -} -inline void SetValueAtIndicesRequest::clear_indices() { - indices_.Clear(); -} -inline ::google::protobuf::int32 SetValueAtIndicesRequest::indices(int index) const { - // @@protoc_insertion_point(field_get:bmi.SetValueAtIndicesRequest.indices) - return indices_.Get(index); -} -inline void SetValueAtIndicesRequest::set_indices(int index, ::google::protobuf::int32 value) { - indices_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.SetValueAtIndicesRequest.indices) -} -inline void SetValueAtIndicesRequest::add_indices(::google::protobuf::int32 value) { - indices_.Add(value); - // @@protoc_insertion_point(field_add:bmi.SetValueAtIndicesRequest.indices) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& -SetValueAtIndicesRequest::indices() const { - // @@protoc_insertion_point(field_list:bmi.SetValueAtIndicesRequest.indices) - return indices_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* -SetValueAtIndicesRequest::mutable_indices() { - // @@protoc_insertion_point(field_mutable_list:bmi.SetValueAtIndicesRequest.indices) - return &indices_; -} - -// .bmi.IntArrayMessage values_int = 3; -inline bool SetValueAtIndicesRequest::has_values_int() const { - return values_case() == kValuesInt; -} -inline void SetValueAtIndicesRequest::set_has_values_int() { - _oneof_case_[0] = kValuesInt; -} -inline void SetValueAtIndicesRequest::clear_values_int() { - if (has_values_int()) { - delete values_.values_int_; - clear_has_values(); - } -} -inline ::bmi::IntArrayMessage* SetValueAtIndicesRequest::release_values_int() { - // @@protoc_insertion_point(field_release:bmi.SetValueAtIndicesRequest.values_int) - if (has_values_int()) { - clear_has_values(); - ::bmi::IntArrayMessage* temp = values_.values_int_; - values_.values_int_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::IntArrayMessage& SetValueAtIndicesRequest::values_int() const { - // @@protoc_insertion_point(field_get:bmi.SetValueAtIndicesRequest.values_int) - return has_values_int() - ? *values_.values_int_ - : *reinterpret_cast< ::bmi::IntArrayMessage*>(&::bmi::_IntArrayMessage_default_instance_); -} -inline ::bmi::IntArrayMessage* SetValueAtIndicesRequest::mutable_values_int() { - if (!has_values_int()) { - clear_values(); - set_has_values_int(); - values_.values_int_ = new ::bmi::IntArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.SetValueAtIndicesRequest.values_int) - return values_.values_int_; -} - -// .bmi.FloatArrayMessage values_float = 4; -inline bool SetValueAtIndicesRequest::has_values_float() const { - return values_case() == kValuesFloat; -} -inline void SetValueAtIndicesRequest::set_has_values_float() { - _oneof_case_[0] = kValuesFloat; -} -inline void SetValueAtIndicesRequest::clear_values_float() { - if (has_values_float()) { - delete values_.values_float_; - clear_has_values(); - } -} -inline ::bmi::FloatArrayMessage* SetValueAtIndicesRequest::release_values_float() { - // @@protoc_insertion_point(field_release:bmi.SetValueAtIndicesRequest.values_float) - if (has_values_float()) { - clear_has_values(); - ::bmi::FloatArrayMessage* temp = values_.values_float_; - values_.values_float_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::FloatArrayMessage& SetValueAtIndicesRequest::values_float() const { - // @@protoc_insertion_point(field_get:bmi.SetValueAtIndicesRequest.values_float) - return has_values_float() - ? *values_.values_float_ - : *reinterpret_cast< ::bmi::FloatArrayMessage*>(&::bmi::_FloatArrayMessage_default_instance_); -} -inline ::bmi::FloatArrayMessage* SetValueAtIndicesRequest::mutable_values_float() { - if (!has_values_float()) { - clear_values(); - set_has_values_float(); - values_.values_float_ = new ::bmi::FloatArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.SetValueAtIndicesRequest.values_float) - return values_.values_float_; -} - -// .bmi.DoubleArrayMessage values_double = 5; -inline bool SetValueAtIndicesRequest::has_values_double() const { - return values_case() == kValuesDouble; -} -inline void SetValueAtIndicesRequest::set_has_values_double() { - _oneof_case_[0] = kValuesDouble; -} -inline void SetValueAtIndicesRequest::clear_values_double() { - if (has_values_double()) { - delete values_.values_double_; - clear_has_values(); - } -} -inline ::bmi::DoubleArrayMessage* SetValueAtIndicesRequest::release_values_double() { - // @@protoc_insertion_point(field_release:bmi.SetValueAtIndicesRequest.values_double) - if (has_values_double()) { - clear_has_values(); - ::bmi::DoubleArrayMessage* temp = values_.values_double_; - values_.values_double_ = NULL; - return temp; - } else { - return NULL; - } -} -inline const ::bmi::DoubleArrayMessage& SetValueAtIndicesRequest::values_double() const { - // @@protoc_insertion_point(field_get:bmi.SetValueAtIndicesRequest.values_double) - return has_values_double() - ? *values_.values_double_ - : *reinterpret_cast< ::bmi::DoubleArrayMessage*>(&::bmi::_DoubleArrayMessage_default_instance_); -} -inline ::bmi::DoubleArrayMessage* SetValueAtIndicesRequest::mutable_values_double() { - if (!has_values_double()) { - clear_values(); - set_has_values_double(); - values_.values_double_ = new ::bmi::DoubleArrayMessage; - } - // @@protoc_insertion_point(field_mutable:bmi.SetValueAtIndicesRequest.values_double) - return values_.values_double_; -} - -// int32 index_size = 6; -inline void SetValueAtIndicesRequest::clear_index_size() { - index_size_ = 0; -} -inline ::google::protobuf::int32 SetValueAtIndicesRequest::index_size() const { - // @@protoc_insertion_point(field_get:bmi.SetValueAtIndicesRequest.index_size) - return index_size_; -} -inline void SetValueAtIndicesRequest::set_index_size(::google::protobuf::int32 value) { - - index_size_ = value; - // @@protoc_insertion_point(field_set:bmi.SetValueAtIndicesRequest.index_size) -} - -inline bool SetValueAtIndicesRequest::has_values() const { - return values_case() != VALUES_NOT_SET; -} -inline void SetValueAtIndicesRequest::clear_has_values() { - _oneof_case_[0] = VALUES_NOT_SET; -} -inline SetValueAtIndicesRequest::ValuesCase SetValueAtIndicesRequest::values_case() const { - return SetValueAtIndicesRequest::ValuesCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// GridRequest - -// int32 grid_id = 1; -inline void GridRequest::clear_grid_id() { - grid_id_ = 0; -} -inline ::google::protobuf::int32 GridRequest::grid_id() const { - // @@protoc_insertion_point(field_get:bmi.GridRequest.grid_id) - return grid_id_; -} -inline void GridRequest::set_grid_id(::google::protobuf::int32 value) { - - grid_id_ = value; - // @@protoc_insertion_point(field_set:bmi.GridRequest.grid_id) -} - -// ------------------------------------------------------------------- - -// GetGridSizeResponse - -// int32 size = 1; -inline void GetGridSizeResponse::clear_size() { - size_ = 0; -} -inline ::google::protobuf::int32 GetGridSizeResponse::size() const { - // @@protoc_insertion_point(field_get:bmi.GetGridSizeResponse.size) - return size_; -} -inline void GetGridSizeResponse::set_size(::google::protobuf::int32 value) { - - size_ = value; - // @@protoc_insertion_point(field_set:bmi.GetGridSizeResponse.size) -} - -// ------------------------------------------------------------------- - -// GetGridRankResponse - -// int32 rank = 1; -inline void GetGridRankResponse::clear_rank() { - rank_ = 0; -} -inline ::google::protobuf::int32 GetGridRankResponse::rank() const { - // @@protoc_insertion_point(field_get:bmi.GetGridRankResponse.rank) - return rank_; -} -inline void GetGridRankResponse::set_rank(::google::protobuf::int32 value) { - - rank_ = value; - // @@protoc_insertion_point(field_set:bmi.GetGridRankResponse.rank) -} - -// ------------------------------------------------------------------- - -// GetGridTypeResponse - -// string type = 1; -inline void GetGridTypeResponse::clear_type() { - type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetGridTypeResponse::type() const { - // @@protoc_insertion_point(field_get:bmi.GetGridTypeResponse.type) - return type_.GetNoArena(); -} -inline void GetGridTypeResponse::set_type(const ::std::string& value) { - - type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:bmi.GetGridTypeResponse.type) -} -#if LANG_CXX11 -inline void GetGridTypeResponse::set_type(::std::string&& value) { - - type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:bmi.GetGridTypeResponse.type) -} -#endif -inline void GetGridTypeResponse::set_type(const char* value) { - GOOGLE_DCHECK(value != NULL); - - type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:bmi.GetGridTypeResponse.type) -} -inline void GetGridTypeResponse::set_type(const char* value, size_t size) { - - type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:bmi.GetGridTypeResponse.type) -} -inline ::std::string* GetGridTypeResponse::mutable_type() { - - // @@protoc_insertion_point(field_mutable:bmi.GetGridTypeResponse.type) - return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetGridTypeResponse::release_type() { - // @@protoc_insertion_point(field_release:bmi.GetGridTypeResponse.type) - - return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetGridTypeResponse::set_allocated_type(::std::string* type) { - if (type != NULL) { - - } else { - - } - type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type); - // @@protoc_insertion_point(field_set_allocated:bmi.GetGridTypeResponse.type) -} - -// ------------------------------------------------------------------- - -// GetGridShapeResponse - -// repeated int32 shape = 1 [packed = true]; -inline int GetGridShapeResponse::shape_size() const { - return shape_.size(); -} -inline void GetGridShapeResponse::clear_shape() { - shape_.Clear(); -} -inline ::google::protobuf::int32 GetGridShapeResponse::shape(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetGridShapeResponse.shape) - return shape_.Get(index); -} -inline void GetGridShapeResponse::set_shape(int index, ::google::protobuf::int32 value) { - shape_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.GetGridShapeResponse.shape) -} -inline void GetGridShapeResponse::add_shape(::google::protobuf::int32 value) { - shape_.Add(value); - // @@protoc_insertion_point(field_add:bmi.GetGridShapeResponse.shape) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& -GetGridShapeResponse::shape() const { - // @@protoc_insertion_point(field_list:bmi.GetGridShapeResponse.shape) - return shape_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* -GetGridShapeResponse::mutable_shape() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetGridShapeResponse.shape) - return &shape_; -} - -// ------------------------------------------------------------------- - -// GetGridSpacingResponse - -// repeated double spacing = 1 [packed = true]; -inline int GetGridSpacingResponse::spacing_size() const { - return spacing_.size(); -} -inline void GetGridSpacingResponse::clear_spacing() { - spacing_.Clear(); -} -inline double GetGridSpacingResponse::spacing(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetGridSpacingResponse.spacing) - return spacing_.Get(index); -} -inline void GetGridSpacingResponse::set_spacing(int index, double value) { - spacing_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.GetGridSpacingResponse.spacing) -} -inline void GetGridSpacingResponse::add_spacing(double value) { - spacing_.Add(value); - // @@protoc_insertion_point(field_add:bmi.GetGridSpacingResponse.spacing) -} -inline const ::google::protobuf::RepeatedField< double >& -GetGridSpacingResponse::spacing() const { - // @@protoc_insertion_point(field_list:bmi.GetGridSpacingResponse.spacing) - return spacing_; -} -inline ::google::protobuf::RepeatedField< double >* -GetGridSpacingResponse::mutable_spacing() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetGridSpacingResponse.spacing) - return &spacing_; -} - -// ------------------------------------------------------------------- - -// GetGridOriginResponse - -// repeated double origin = 1 [packed = true]; -inline int GetGridOriginResponse::origin_size() const { - return origin_.size(); -} -inline void GetGridOriginResponse::clear_origin() { - origin_.Clear(); -} -inline double GetGridOriginResponse::origin(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetGridOriginResponse.origin) - return origin_.Get(index); -} -inline void GetGridOriginResponse::set_origin(int index, double value) { - origin_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.GetGridOriginResponse.origin) -} -inline void GetGridOriginResponse::add_origin(double value) { - origin_.Add(value); - // @@protoc_insertion_point(field_add:bmi.GetGridOriginResponse.origin) -} -inline const ::google::protobuf::RepeatedField< double >& -GetGridOriginResponse::origin() const { - // @@protoc_insertion_point(field_list:bmi.GetGridOriginResponse.origin) - return origin_; -} -inline ::google::protobuf::RepeatedField< double >* -GetGridOriginResponse::mutable_origin() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetGridOriginResponse.origin) - return &origin_; -} - -// ------------------------------------------------------------------- - -// GetGridPointsResponse - -// repeated double coordinates = 1 [packed = true]; -inline int GetGridPointsResponse::coordinates_size() const { - return coordinates_.size(); -} -inline void GetGridPointsResponse::clear_coordinates() { - coordinates_.Clear(); -} -inline double GetGridPointsResponse::coordinates(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetGridPointsResponse.coordinates) - return coordinates_.Get(index); -} -inline void GetGridPointsResponse::set_coordinates(int index, double value) { - coordinates_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.GetGridPointsResponse.coordinates) -} -inline void GetGridPointsResponse::add_coordinates(double value) { - coordinates_.Add(value); - // @@protoc_insertion_point(field_add:bmi.GetGridPointsResponse.coordinates) -} -inline const ::google::protobuf::RepeatedField< double >& -GetGridPointsResponse::coordinates() const { - // @@protoc_insertion_point(field_list:bmi.GetGridPointsResponse.coordinates) - return coordinates_; -} -inline ::google::protobuf::RepeatedField< double >* -GetGridPointsResponse::mutable_coordinates() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetGridPointsResponse.coordinates) - return &coordinates_; -} - -// ------------------------------------------------------------------- - -// GetCountResponse - -// int32 count = 1; -inline void GetCountResponse::clear_count() { - count_ = 0; -} -inline ::google::protobuf::int32 GetCountResponse::count() const { - // @@protoc_insertion_point(field_get:bmi.GetCountResponse.count) - return count_; -} -inline void GetCountResponse::set_count(::google::protobuf::int32 value) { - - count_ = value; - // @@protoc_insertion_point(field_set:bmi.GetCountResponse.count) -} - -// ------------------------------------------------------------------- - -// GetGridConnectivityResponse - -// repeated int32 links = 1 [packed = true]; -inline int GetGridConnectivityResponse::links_size() const { - return links_.size(); -} -inline void GetGridConnectivityResponse::clear_links() { - links_.Clear(); -} -inline ::google::protobuf::int32 GetGridConnectivityResponse::links(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetGridConnectivityResponse.links) - return links_.Get(index); -} -inline void GetGridConnectivityResponse::set_links(int index, ::google::protobuf::int32 value) { - links_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.GetGridConnectivityResponse.links) -} -inline void GetGridConnectivityResponse::add_links(::google::protobuf::int32 value) { - links_.Add(value); - // @@protoc_insertion_point(field_add:bmi.GetGridConnectivityResponse.links) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& -GetGridConnectivityResponse::links() const { - // @@protoc_insertion_point(field_list:bmi.GetGridConnectivityResponse.links) - return links_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* -GetGridConnectivityResponse::mutable_links() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetGridConnectivityResponse.links) - return &links_; -} - -// ------------------------------------------------------------------- - -// GetGridOffsetResponse - -// repeated int32 offsets = 1 [packed = true]; -inline int GetGridOffsetResponse::offsets_size() const { - return offsets_.size(); -} -inline void GetGridOffsetResponse::clear_offsets() { - offsets_.Clear(); -} -inline ::google::protobuf::int32 GetGridOffsetResponse::offsets(int index) const { - // @@protoc_insertion_point(field_get:bmi.GetGridOffsetResponse.offsets) - return offsets_.Get(index); -} -inline void GetGridOffsetResponse::set_offsets(int index, ::google::protobuf::int32 value) { - offsets_.Set(index, value); - // @@protoc_insertion_point(field_set:bmi.GetGridOffsetResponse.offsets) -} -inline void GetGridOffsetResponse::add_offsets(::google::protobuf::int32 value) { - offsets_.Add(value); - // @@protoc_insertion_point(field_add:bmi.GetGridOffsetResponse.offsets) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& -GetGridOffsetResponse::offsets() const { - // @@protoc_insertion_point(field_list:bmi.GetGridOffsetResponse.offsets) - return offsets_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* -GetGridOffsetResponse::mutable_offsets() { - // @@protoc_insertion_point(field_mutable_list:bmi.GetGridOffsetResponse.offsets) - return &offsets_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace bmi - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_bmi_2eproto__INCLUDED diff --git a/src/server.cpp b/src/server.cpp deleted file mode 100644 index 30b6c83..0000000 --- a/src/server.cpp +++ /dev/null @@ -1,1344 +0,0 @@ -#define STRICT_R_HEADERS -#include -using namespace Rcpp; - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include "bmi.grpc.pb.h" - -using grpc::ServerCompletionQueue; -using grpc::Status; -using grpc::StatusCode; -using bmi::Empty; -using bmi::BmiService; -using bmi::GetVarRequest; -using bmi::GridRequest; - -IntegerVector intrepeat2vector(::google::protobuf::RepeatedField<::google::protobuf::int32> input) { - IntegerVector vector(input.size()); - for( int i=0; i < input.size(); i++ ) { - vector[i] = input[i]; - } - return vector; -} - -DoubleVector floatrepeat2vector(::google::protobuf::RepeatedField input) { - DoubleVector vector(input.size()); - for( int i=0; i < input.size(); i++ ) { - vector[i] = input[i]; - } - return vector; -} - -DoubleVector doublerepeat2vector(::google::protobuf::RepeatedField input) { - DoubleVector vector(input.size()); - for( int i=0; i < input.size(); i++ ) { - vector[i] = input[i]; - } - return vector; -} - -class CallData { - public: - CallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : cq_(cq), service_(service), callback_(callback) {} - virtual ~CallData() {} - virtual void process(bool ok) = 0; - - protected: - bool done_ = false; - grpc::ServerContext context_; - grpc::ServerCompletionQueue *cq_; - BmiService::AsyncService *service_; - Function callback_; - - private: - CallData(const CallData &) = delete; - CallData &operator=(const CallData &) = delete; -}; - -class GetComponentNameCallData : public CallData { - public: - GetComponentNameCallData(BmiService::AsyncService *service, - ServerCompletionQueue *cq, Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetComponentName(&context_, &request_, &writer_, cq_, cq_, - this); - } - void process(bool ok) final { - if (done_) { - new GetComponentNameCallData(service_, cq_, callback_); - delete this; - } else { - try { - std::string name = as(callback_()); - response_.set_name(name); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetComponentNameResponse response_; -}; - -class InitializeCallData : public CallData { - public: - InitializeCallData(BmiService::AsyncService *service, - ServerCompletionQueue *cq, Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->Requestinitialize(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new InitializeCallData(service_, cq_, callback_); - delete this; - } else { - try { - CharacterVector config_file = - CharacterVector::create(request_.config_file()); - callback_(config_file); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - bmi::InitializeRequest request_; - grpc::ServerAsyncResponseWriter writer_; - Empty response_; -}; - -class UpdateCallData : public CallData { - public: - UpdateCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->Requestupdate(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new UpdateCallData(service_, cq_, callback_); - delete this; - } else { - try { - callback_(); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - Empty response_; -}; - -class UpdateUntilCallData : public CallData { - public: - UpdateUntilCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestupdateUntil(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new UpdateUntilCallData(service_, cq_, callback_); - delete this; - } else { - try { - NumericVector until = NumericVector::create(request_.until()); - callback_(until); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - bmi::UpdateUntilRequest request_; - grpc::ServerAsyncResponseWriter writer_; - Empty response_; -}; - -class UpdateFracCallData : public CallData { - public: - UpdateFracCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestupdateFrac(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new UpdateFracCallData(service_, cq_, callback_); - delete this; - } else { - try { - NumericVector frac = NumericVector::create(request_.frac()); - callback_(frac); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - bmi::UpdateFracRequest request_; - grpc::ServerAsyncResponseWriter writer_; - Empty response_; -}; - -class FinalizeCallData : public CallData { - public: - FinalizeCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->Requestfinalize(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new FinalizeCallData(service_, cq_, callback_); - delete this; - } else { - try { - callback_(); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - bmi::Empty request_; - grpc::ServerAsyncResponseWriter writer_; - Empty response_; -}; - -class GetInputVarNameCountCallData : public CallData { - public: - GetInputVarNameCountCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetInputVarNameCount(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetInputVarNameCountCallData(service_, cq_, callback_); - delete this; - } else { - try { - NumericVector result = callback_(); - int count = result[0]; - response_.set_count(count); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetVarNameCountResponse response_; -}; - -class GetOutputVarNameCountCallData : public CallData { - public: - GetOutputVarNameCountCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetOutputVarNameCount(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetOutputVarNameCountCallData(service_, cq_, callback_); - delete this; - } else { - try { - NumericVector result = callback_(); - int count = result[0]; - response_.set_count(count); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetVarNameCountResponse response_; -}; - -class GetInputVarNamesCallData : public CallData { - public: - GetInputVarNamesCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetInputVarNames(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetInputVarNamesCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector names = callback_(); - for( int i=0; i < names.size(); i++ ) { - response_.add_names(names[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetVarNamesResponse response_; -}; - -class GetOutputVarNamesCallData : public CallData { - public: - GetOutputVarNamesCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetOutputVarNames(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetOutputVarNamesCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector names = callback_(); - for( int i=0; i < names.size(); i++ ) { - response_.add_names(names[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetVarNamesResponse response_; -}; - -class GetTimeUnitsCallData : public CallData { - public: - GetTimeUnitsCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetTimeUnits(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetTimeUnitsCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector units = callback_(); - response_.set_units(units[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetTimeUnitsResponse response_; -}; - -class GetTimeStepCallData : public CallData { - public: - GetTimeStepCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetTimeStep(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetTimeStepCallData(service_, cq_, callback_); - delete this; - } else { - try { - NumericVector interval = callback_(); - response_.set_interval(interval[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetTimeStepResponse response_; -}; - -class GetCurrentTimeCallData : public CallData { - public: - GetCurrentTimeCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetCurrentTime(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetCurrentTimeCallData(service_, cq_, callback_); - delete this; - } else { - try { - NumericVector times = callback_(); - response_.set_time(times[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetTimeResponse response_; -}; - -class GetStartTimeCallData : public CallData { - public: - GetStartTimeCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetStartTime(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetStartTimeCallData(service_, cq_, callback_); - delete this; - } else { - try { - NumericVector times = callback_(); - response_.set_time(times[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetTimeResponse response_; -}; - -class GetEndTimeCallData : public CallData { - public: - GetEndTimeCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetEndTime(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetEndTimeCallData(service_, cq_, callback_); - delete this; - } else { - try { - NumericVector times = callback_(); - response_.set_time(times[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - Empty request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetTimeResponse response_; -}; - -class GetVarGridCallData : public CallData { - public: - GetVarGridCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetVarGrid(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetVarGridCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector name = StringVector::create(request_.name()); - NumericVector grid_id = callback_(name); - response_.set_grid_id(grid_id[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - GetVarRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetVarGridResponse response_; -}; - -class GetVarTypeCallData : public CallData { - public: - GetVarTypeCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetVarType(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetVarTypeCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector name = StringVector::create(request_.name()); - StringVector type = callback_(name); - response_.set_type(type[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - GetVarRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetVarTypeResponse response_; -}; - -class GetVarItemSizeCallData : public CallData { - public: - GetVarItemSizeCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetVarItemSize(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetVarItemSizeCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector name = StringVector::create(request_.name()); - NumericVector size = callback_(name); - response_.set_size(size[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - GetVarRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetVarItemSizeResponse response_; -}; - -class GetVarUnitsCallData : public CallData { - public: - GetVarUnitsCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetVarUnits(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetVarUnitsCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector name = StringVector::create(request_.name()); - StringVector unit = callback_(name); - response_.set_units(unit[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - GetVarRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetVarUnitsResponse response_; -}; - -class GetVarNBytesCallData : public CallData { - public: - GetVarNBytesCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetVarNBytes(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetVarNBytesCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector name = StringVector::create(request_.name()); - NumericVector unit = callback_(name); - response_.set_nbytes(unit[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - GetVarRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetVarNBytesResponse response_; -}; - -class GetValueCallData : public CallData { - public: - GetValueCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetValue(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetValueCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector name = StringVector::create(request_.name()); - SEXP values = callback_(name); - switch(TYPEOF(values)) { - case REALSXP: { - NumericVector double_values = as(values); - bmi::DoubleArrayMessage* msg = response_.mutable_values_double(); - for( int i=0; i < double_values.size(); i++ ) { - msg->add_values(double_values[i]); - } - break; - } - case INTSXP: { - IntegerVector int_values = as(values); - bmi::IntArrayMessage* msg = response_.mutable_values_int(); - for( int i=0; i < int_values.size(); i++ ) { - msg->add_values(int_values[i]); - } - break; - } - default: { - stop("Incompatible value type, compatible types are integer or double"); - } - } - NumericVector dims = as(values).attr("dim"); - for( int i=0; i < dims.size(); i++ ) { - response_.add_shape(dims[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - std::cout << "catched" << e.what() << std::endl; - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - GetVarRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetValueResponse response_; -}; - -class GetValueAtIndicesCallData : public CallData { - public: - GetValueAtIndicesCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetValueAtIndices(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetValueAtIndicesCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector name = StringVector::create(request_.name()); - IntegerVector indices = intrepeat2vector(request_.indices()); - SEXP values = callback_(name, indices); - switch(TYPEOF(values)) { - case REALSXP: { - NumericVector double_values = as(values); - bmi::DoubleArrayMessage* msg = response_.mutable_values_double(); - for( int i=0; i < double_values.size(); i++ ) { - msg->add_values(double_values[i]); - } - break; - } - case INTSXP: { - IntegerVector int_values = as(values); - bmi::IntArrayMessage* msg = response_.mutable_values_int(); - for( int i=0; i < int_values.size(); i++ ) { - msg->add_values(int_values[i]); - } - break; - } - default: { - stop("Incompatible value type, compatible types are integer or double"); - } - } - NumericVector dims = as(values).attr("dim"); - for( int i=0; i < dims.size(); i++ ) { - response_.add_shape(dims[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - bmi::GetValueAtIndicesRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetValueAtIndicesResponse response_; -}; - -class SetValueCallData : public CallData { - public: - SetValueCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestsetValue(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new SetValueCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector name = StringVector::create(request_.name()); - IntegerVector shape = intrepeat2vector(request_.shape()); - if (request_.has_values_int()) { - IntegerVector ints = intrepeat2vector(request_.mutable_values_int()->values()); - ints.attr("dim") = shape; - callback_(name, ints); - } else if (request_.has_values_float()) { - DoubleVector values_float = floatrepeat2vector(request_.mutable_values_float()->values()); - values_float.attr("dim") = shape; - callback_(name, values_float); - } else { - DoubleVector values_double = doublerepeat2vector(request_.mutable_values_double()->values()); - values_double.attr("dim") = shape; - callback_(name, values_double); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - bmi::SetValueRequest request_; - grpc::ServerAsyncResponseWriter writer_; - Empty response_; -}; - -class SetValueAtIndicesCallData : public CallData { - public: - SetValueAtIndicesCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestsetValueAtIndices(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new SetValueAtIndicesCallData(service_, cq_, callback_); - delete this; - } else { - try { - StringVector name = StringVector::create(request_.name()); - IntegerVector indices = intrepeat2vector(request_.indices()); - if (request_.has_values_int()) { - IntegerVector ints = intrepeat2vector(request_.mutable_values_int()->values()); - callback_(name, indices, ints); - } else if (request_.has_values_float()) { - DoubleVector values_float = floatrepeat2vector(request_.mutable_values_float()->values()); - callback_(name, indices, values_float); - } else { - DoubleVector values_double = doublerepeat2vector(request_.mutable_values_double()->values()); - callback_(name, indices, values_double); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - bmi::SetValueAtIndicesRequest request_; - grpc::ServerAsyncResponseWriter writer_; - Empty response_; -}; - -class GetGridSizeCallData : public CallData { - public: - GetGridSizeCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridSize(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridSizeCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - IntegerVector size = callback_(grid_id); - response_.set_size(size[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridSizeResponse response_; -}; - -class GetGridTypeCallData : public CallData { - public: - GetGridTypeCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridType(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridTypeCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - StringVector type = callback_(grid_id); - response_.set_type(type[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridTypeResponse response_; -}; - -class GetGridRankCallData : public CallData { - public: - GetGridRankCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridRank(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridRankCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - IntegerVector rank = callback_(grid_id); - response_.set_rank(rank[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridRankResponse response_; -}; - -class GetGridShapeCallData : public CallData { - public: - GetGridShapeCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridShape(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridShapeCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - IntegerVector shape = callback_(grid_id); - for( int i=0; i < shape.size(); i++ ) { - response_.add_shape(shape[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridShapeResponse response_; -}; - -class GetGridSpacingCallData : public CallData { - public: - GetGridSpacingCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridSpacing(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridSpacingCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - DoubleVector spacing = callback_(grid_id); - for( int i=0; i < spacing.size(); i++ ) { - response_.add_spacing(spacing[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridSpacingResponse response_; -}; - -class GetGridOriginCallData : public CallData { - public: - GetGridOriginCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridOrigin(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridOriginCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - DoubleVector origin = callback_(grid_id); - for( int i=0; i < origin.size(); i++ ) { - response_.add_origin(origin[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridOriginResponse response_; -}; - -class GetGridXCallData : public CallData { - public: - GetGridXCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridX(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridXCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - DoubleVector coord = callback_(grid_id); - for( int i=0; i < coord.size(); i++ ) { - response_.add_coordinates(coord[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridPointsResponse response_; -}; - -class GetGridYCallData : public CallData { - public: - GetGridYCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridY(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridYCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - DoubleVector coord = callback_(grid_id); - for( int i=0; i < coord.size(); i++ ) { - response_.add_coordinates(coord[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridPointsResponse response_; -}; - -class GetGridZCallData : public CallData { - public: - GetGridZCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridZ(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridZCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - DoubleVector coord = callback_(grid_id); - for( int i=0; i < coord.size(); i++ ) { - response_.add_coordinates(coord[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridPointsResponse response_; -}; - -class GetGridCellCountCallData : public CallData { - public: - GetGridCellCountCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridCellCount(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridCellCountCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - IntegerVector count = callback_(grid_id); - response_.set_count(count[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetCountResponse response_; -}; - -class GetGridPointCountCallData : public CallData { - public: - GetGridPointCountCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridPointCount(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridPointCountCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - IntegerVector count = callback_(grid_id); - response_.set_count(count[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetCountResponse response_; -}; - -class GetGridVertexCountCallData : public CallData { - public: - GetGridVertexCountCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridVertexCount(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridVertexCountCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - IntegerVector count = callback_(grid_id); - response_.set_count(count[0]); - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetCountResponse response_; -}; - -class GetGridConnectivityCallData : public CallData { - public: - GetGridConnectivityCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridConnectivity(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridConnectivityCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - IntegerVector links = callback_(grid_id); - for( int i=0; i < links.size(); i++ ) { - response_.add_links(links[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridConnectivityResponse response_; -}; - -class GetGridOffsetCallData : public CallData { - public: - GetGridOffsetCallData(BmiService::AsyncService *service, ServerCompletionQueue *cq, - Function callback) - : CallData(service, cq, callback), writer_(&context_) { - service->RequestgetGridOffset(&context_, &request_, &writer_, cq_, cq_, this); - } - void process(bool ok) final { - if (done_) { - new GetGridOffsetCallData(service_, cq_, callback_); - delete this; - } else { - try { - IntegerVector grid_id = IntegerVector::create(request_.grid_id()); - IntegerVector offsets = callback_(grid_id); - for( int i=0; i < offsets.size(); i++ ) { - response_.add_offsets(offsets[i]); - } - writer_.Finish(response_, Status::OK, this); - } catch (const std::exception &e) { - writer_.FinishWithError(Status(StatusCode::INTERNAL, e.what()), this); - } - done_ = true; - } - } - private: - GridRequest request_; - grpc::ServerAsyncResponseWriter writer_; - bmi::GetGridOffsetResponse response_; -}; - -void handle(grpc::ServerCompletionQueue *cq) { - void *tag = nullptr; // uniquely identifies a request. - bool ok = false; - while (true) { - GPR_ASSERT(cq->Next(&tag, &ok)); - GPR_ASSERT(ok); - static_cast(tag)->process(ok); - } -} - -//' Async multi method server -//' -//' @export -// [[Rcpp::export]] -void runAsyncMultiServer(Environment model, std::string ip = "0.0.0.0", - std::string port = "50051") { - grpc::ServerBuilder builder; - - std::string addr(ip + ":" + port); - builder.AddListeningPort(addr, grpc::InsecureServerCredentials()); - - std::unique_ptr cq(builder.AddCompletionQueue()); - - BmiService::AsyncService service; - builder.RegisterService(&service); - - std::unique_ptr server(builder.BuildAndStart()); - - new GetComponentNameCallData(&service, cq.get(), model["getComponentName"]); - new InitializeCallData(&service, cq.get(), model["bmi_initialize"]); - new UpdateCallData(&service, cq.get(), model["update"]); - new UpdateUntilCallData(&service, cq.get(), model["updateUntil"]); - new UpdateFracCallData(&service, cq.get(), model["updateFrac"]); - new FinalizeCallData(&service, cq.get(), model["bmi_finalize"]); - new GetInputVarNameCountCallData(&service, cq.get(), model["getInputVarNameCount"]); - new GetOutputVarNameCountCallData(&service, cq.get(), model["getOutputVarNameCount"]); - new GetInputVarNamesCallData(&service, cq.get(), model["getInputVarNames"]); - new GetOutputVarNamesCallData(&service, cq.get(), model["getOutputVarNames"]); - new GetTimeUnitsCallData(&service, cq.get(), model["getTimeUnits"]); - new GetTimeStepCallData(&service, cq.get(), model["getTimeStep"]); - new GetCurrentTimeCallData(&service, cq.get(), model["getCurrentTime"]); - new GetStartTimeCallData(&service, cq.get(), model["getStartTime"]); - new GetEndTimeCallData(&service, cq.get(), model["getEndTime"]); - new GetVarGridCallData(&service, cq.get(), model["getVarGrid"]); - new GetVarTypeCallData(&service, cq.get(), model["getVarType"]); - new GetVarItemSizeCallData(&service, cq.get(), model["getVarItemSize"]); - new GetVarUnitsCallData(&service, cq.get(), model["getVarUnits"]); - new GetVarNBytesCallData(&service, cq.get(), model["getVarNBytes"]); - new GetValueCallData(&service, cq.get(), model["getValue"]); - new GetValueAtIndicesCallData(&service, cq.get(), model["getValueAtIndices"]); - new SetValueCallData(&service, cq.get(), model["setValue"]); - new SetValueAtIndicesCallData(&service, cq.get(), model["setValueAtIndices"]); - new GetGridSizeCallData(&service, cq.get(), model["getGridSize"]); - new GetGridTypeCallData(&service, cq.get(), model["getGridType"]); - new GetGridRankCallData(&service, cq.get(), model["getGridRank"]); - new GetGridShapeCallData(&service, cq.get(), model["getGridShape"]); - new GetGridSpacingCallData(&service, cq.get(), model["getGridSpacing"]); - new GetGridOriginCallData(&service, cq.get(), model["getGridOrigin"]); - new GetGridXCallData(&service, cq.get(), model["getGridX"]); - new GetGridYCallData(&service, cq.get(), model["getGridY"]); - new GetGridXCallData(&service, cq.get(), model["getGridZ"]); - new GetGridCellCountCallData(&service, cq.get(), model["getGridCellCount"]); - new GetGridPointCountCallData(&service, cq.get(), model["getGridPointCount"]); - new GetGridVertexCountCallData(&service, cq.get(), model["getGridVertexCount"]); - new GetGridConnectivityCallData(&service, cq.get(), model["getGridConnectivity"]); - new GetGridOffsetCallData(&service, cq.get(), model["getGridOffset"]); - - std::cout << "Server listening on " << addr << std::endl; - handle(cq.get()); -}