From 397d3c5c4f1f5be9e4f6a871426999a9e0d3ff24 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sat, 23 May 2026 19:09:34 -0400 Subject: [PATCH] rename: apply ZB.MOM.WW prefix to all client SDKs + fix pre-existing alarm-RPC breaks Rename across every client surface using each language's idiomatic convention: * .NET clients/dotnet/MxGateway.Client[.Cli|.Tests]/ -> clients/dotnet/ZB.MOM.WW.MxGateway.Client[.Cli|.Tests]/ namespaces -> ZB.MOM.WW.MxGateway.Client[.Cli|.Tests] contracts ProjectReference repointed to ZB.MOM.WW.MxGateway.Contracts sln migrated to slnx (dotnet sln migrate) * Python src/mxgateway -> src/zb_mom_ww_mxgateway src/mxgateway_cli -> src/zb_mom_ww_mxgateway_cli distribution: mxaccess-gateway-client -> zb-mom-ww-mxaccess-gateway-client * Rust crate: mxgateway-client -> zb-mom-ww-mxgateway-client build.rs proto path repointed * Java subprojects: mxgateway-{client,cli} -> zb-mom-ww-mxgateway-{client,cli} packages com.dohertylan.mxgateway -> com.zb.mom.ww.mxgateway group com.dohertylan.mxgateway -> com.zb.mom.ww.mxgateway rootProject mxaccessgw-java -> zb-mom-ww-mxaccessgw-java * Go generate-proto.ps1 proto path repointed; module path and package mxgateway kept (Go convention). * proto-inputs.json: generatedOutputs.python updated to new package path. * scripts/run-client-e2e-tests.ps1: Java CLI install path + gradle task updated to zb-mom-ww-mxgateway-cli. CLI binary names (mxgw, mxgw-py, mxgw-go, mxgateway-cli) and wire-level identifiers (MXGATEWAY_* env vars, the mxgw__ API key prefix, protobuf package names like mxaccess_gateway.v1, all MXAccess references) intentionally NOT renamed. Fix pre-existing alarms-over-gateway breaks unblocked by the rename: * mxaccess_gateway.proto: add missing public message QueryActiveAlarmsRequest {session_id, client_correlation_id, alarm_filter_prefix} and missing rpc QueryActiveAlarms(QueryActiveAlarmsRequest) returns (stream ActiveAlarmSnapshot). All four typed clients referenced these but they were absent from the proto. * MxAccessGatewayService.QueryActiveAlarms: implement the new RPC on the server, streaming from IGatewayAlarmService.CurrentAlarms with optional alarm_filter_prefix filter. * clients/dotnet/.../DiscoverHierarchyOptions.cs: add the hand-written .NET POCO that wraps DiscoverHierarchyRequest (referenced by GalaxyRepositoryClient.DiscoverHierarchyAsync but never authored). * Drop retired session_id field references from AcknowledgeAlarmRequest/AcknowledgeAlarmReply test fixtures across .NET, Rust, Go, and Python clients. * Rust integration test: add the missing stream_alarms impl on the fake MxAccessGateway server (the trait gained the method, fake didn't). * Rust CLI test: bump expected gatewayProtocolVersion 2 -> 3. Regenerated artifacts updated in this commit: * src/ZB.MOM.WW.MxGateway.Contracts/Generated/{MxaccessGateway,MxaccessGatewayGrpc}.cs * clients/python/src/zb_mom_ww_mxgateway/generated/*_pb2{,_grpc}.py * clients/go/internal/generated/*.pb.go (C# regenerated by Grpc.Tools on contracts build; Python and Go via their generate-proto.ps1 scripts; Rust regenerates from .proto via tonic-build at compile time so no checked-in artefact.) Verification: 472 server tests, 275 worker tests (9 dev-rig skipped), 18 integration tests (live MxAccess + LDAP + Galaxy), 57 .NET client tests, 32 Rust workspace tests, 39 Python tests, all Go packages, and gradle build for Java all pass. Co-Authored-By: Claude Opus 4.7 (1M context) --- clients/dotnet/DotnetClientDesign.md | 22 +- clients/dotnet/MxGateway.Client.sln | 76 - .../Properties/AssemblyInfo.cs | 3 - clients/dotnet/README.md | 54 +- .../CliArguments.cs | 2 +- .../IMxGatewayCliClient.cs | 6 +- .../MxGatewayCliClientAdapter.cs | 8 +- .../MxGatewayCliSecretRedactor.cs | 2 +- .../MxGatewayClientCli.cs | 8 +- .../Program.cs | 2 +- .../ZB.MOM.WW.MxGateway.Client.Cli.csproj} | 2 +- .../FakeGalaxyRepositoryTransport.cs | 4 +- .../FakeGatewayTransport.cs | 5 +- .../GalaxyRepositoryClientTests.cs | 4 +- .../MxCommandReplyExtensionsTests.cs | 6 +- .../MxGatewayClientAlarmsTests.cs | 8 +- .../MxGatewayClientCliTests.cs | 8 +- .../MxGatewayClientContractInfoTests.cs | 4 +- .../MxGatewayClientOptionsTests.cs | 2 +- .../MxGatewayClientSessionTests.cs | 4 +- .../MxGatewayGeneratedContractTests.cs | 2 +- .../MxStatusProxyExtensionsTests.cs | 6 +- .../MxValueExtensionsTests.cs | 6 +- .../ZB.MOM.WW.MxGateway.Client.Tests.csproj} | 4 +- .../dotnet/ZB.MOM.WW.MxGateway.Client.slnx | 11 + .../DiscoverHierarchyOptions.cs | 43 + .../GalaxyRepositoryClient.cs | 4 +- .../GrpcGalaxyRepositoryClientTransport.cs | 4 +- .../GrpcMxGatewayClientTransport.cs | 4 +- .../IGalaxyRepositoryClientTransport.cs | 4 +- .../IMxGatewayClientTransport.cs | 4 +- .../MxAccessException.cs | 4 +- .../MxCommandReplyExtensions.cs | 4 +- .../MxGatewayAuthenticationException.cs | 4 +- .../MxGatewayAuthorizationException.cs | 4 +- .../MxGatewayClient.cs | 4 +- .../MxGatewayClientContractInfo.cs | 4 +- .../MxGatewayClientOptions.cs | 2 +- .../MxGatewayClientRetryOptions.cs | 2 +- .../MxGatewayClientRetryPolicy.cs | 4 +- .../MxGatewayCommandException.cs | 4 +- .../MxGatewayException.cs | 4 +- .../MxGatewaySession.cs | 4 +- .../MxGatewaySessionException.cs | 4 +- .../MxGatewayWorkerException.cs | 4 +- .../MxStatusProxyExtensions.cs | 4 +- .../MxValueExtensions.cs | 4 +- .../Properties/AssemblyInfo.cs | 3 + .../ZB.MOM.WW.MxGateway.Client.csproj} | 2 +- clients/go/generate-proto.ps1 | 2 +- .../generated/galaxy_repository.pb.go | 40 +- .../internal/generated/mxaccess_gateway.pb.go | 3012 +- .../generated/mxaccess_gateway_grpc.pb.go | 63 +- .../internal/generated/mxaccess_worker.pb.go | 2 +- clients/go/mxgateway/alarms_test.go | 5 +- clients/java/JavaClientDesign.md | 4 +- clients/java/README.md | 10 +- clients/java/build.gradle | 2 +- clients/java/settings.gradle | 6 +- .../v1/MxAccessGatewayGrpc.java | 289 + .../v1/GalaxyRepositoryOuterClass.java | 278 +- .../mxaccess_gateway/v1/MxaccessGateway.java | 34524 +++++++++++++++- .../mxaccess_worker/v1/MxaccessWorker.java | 4 +- .../build.gradle | 4 +- .../mom/ww}/mxgateway/cli/MxGatewayCli.java | 20 +- .../ww}/mxgateway/cli/MxGatewayCliTests.java | 4 +- .../build.gradle | 2 +- .../mxgateway/client/DeployEventStream.java | 2 +- .../client/DeployEventSubscription.java | 2 +- .../client/GalaxyRepositoryClient.java | 2 +- .../mxgateway/client/MxAccessException.java | 2 +- .../ww}/mxgateway/client/MxEventStream.java | 2 +- .../MxGatewayActiveAlarmsSubscription.java | 2 +- .../client/MxGatewayAuthInterceptor.java | 2 +- .../MxGatewayAuthenticationException.java | 2 +- .../MxGatewayAuthorizationException.java | 2 +- .../ww}/mxgateway/client/MxGatewayClient.java | 2 +- .../client/MxGatewayClientOptions.java | 2 +- .../client/MxGatewayClientVersion.java | 2 +- .../client/MxGatewayCommandException.java | 2 +- .../ww}/mxgateway/client/MxGatewayErrors.java | 2 +- .../client/MxGatewayEventSubscription.java | 2 +- .../mxgateway/client/MxGatewayException.java | 2 +- .../mxgateway/client/MxGatewaySecrets.java | 2 +- .../mxgateway/client/MxGatewaySession.java | 2 +- .../client/MxGatewaySessionException.java | 2 +- .../client/MxGatewayWorkerException.java | 2 +- .../mom/ww}/mxgateway/client/MxStatuses.java | 2 +- .../zb/mom/ww}/mxgateway/client/MxValues.java | 2 +- .../client/GalaxyRepositoryClientTests.java | 2 +- .../client/GeneratedContractSmokeTests.java | 2 +- .../client/MxGatewayClientSessionTests.java | 2 +- .../client/MxGatewayFixtureTests.java | 2 +- clients/proto/proto-inputs.json | 2 +- clients/python/PythonClientDesign.md | 4 +- clients/python/README.md | 16 +- clients/python/generate-proto.ps1 | 4 +- clients/python/pyproject.toml | 4 +- .../generated/mxaccess_gateway_pb2.py | 201 - clients/python/src/mxgateway_cli/__main__.py | 6 - .../__init__.py | 0 .../auth.py | 0 .../client.py | 0 .../errors.py | 0 .../galaxy.py | 0 .../generated/.gitkeep | 0 .../generated/__init__.py | 2 +- .../generated/galaxy_repository_pb2.py | 4 +- .../generated/galaxy_repository_pb2_grpc.py | 27 +- .../generated/mxaccess_gateway_pb2.py | 245 + .../generated/mxaccess_gateway_pb2_grpc.py | 79 +- .../generated/mxaccess_worker_pb2.py | 4 +- .../generated/mxaccess_worker_pb2_grpc.py | 0 .../options.py | 0 .../session.py | 0 .../values.py | 0 .../version.py | 0 .../__init__.py | 0 .../src/zb_mom_ww_mxgateway_cli/__main__.py | 6 + .../commands.py | 16 +- clients/python/tests/test_alarms.py | 10 +- clients/python/tests/test_auth_options.py | 6 +- clients/python/tests/test_cli.py | 4 +- clients/python/tests/test_client_session.py | 4 +- clients/python/tests/test_errors.py | 6 +- clients/python/tests/test_galaxy.py | 6 +- .../python/tests/test_generated_imports.py | 6 +- clients/python/tests/test_values.py | 4 +- clients/rust/Cargo.lock | 34 +- clients/rust/Cargo.toml | 2 +- clients/rust/README.md | 4 +- clients/rust/RustClientDesign.md | 2 +- clients/rust/build.rs | 2 +- clients/rust/crates/mxgw-cli/Cargo.toml | 2 +- clients/rust/crates/mxgw-cli/src/main.rs | 18 +- clients/rust/tests/client_behavior.rs | 35 +- clients/rust/tests/proto_fixtures.rs | 6 +- scripts/run-client-e2e-tests.ps1 | 8 +- .../Generated/MxaccessGateway.cs | 1382 +- .../Generated/MxaccessGatewayGrpc.cs | 65 +- .../Protos/mxaccess_gateway.proto | 17 + .../Grpc/MxAccessGatewayService.cs | 36 + 142 files changed, 38852 insertions(+), 2137 deletions(-) delete mode 100644 clients/dotnet/MxGateway.Client.sln delete mode 100644 clients/dotnet/MxGateway.Client/Properties/AssemblyInfo.cs rename clients/dotnet/{MxGateway.Client.Cli => ZB.MOM.WW.MxGateway.Client.Cli}/CliArguments.cs (99%) rename clients/dotnet/{MxGateway.Client.Cli => ZB.MOM.WW.MxGateway.Client.Cli}/IMxGatewayCliClient.cs (96%) rename clients/dotnet/{MxGateway.Client.Cli => ZB.MOM.WW.MxGateway.Client.Cli}/MxGatewayCliClientAdapter.cs (94%) rename clients/dotnet/{MxGateway.Client.Cli => ZB.MOM.WW.MxGateway.Client.Cli}/MxGatewayCliSecretRedactor.cs (94%) rename clients/dotnet/{MxGateway.Client.Cli => ZB.MOM.WW.MxGateway.Client.Cli}/MxGatewayClientCli.cs (99%) rename clients/dotnet/{MxGateway.Client.Cli => ZB.MOM.WW.MxGateway.Client.Cli}/Program.cs (66%) rename clients/dotnet/{MxGateway.Client.Cli/MxGateway.Client.Cli.csproj => ZB.MOM.WW.MxGateway.Client.Cli/ZB.MOM.WW.MxGateway.Client.Cli.csproj} (73%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/FakeGalaxyRepositoryTransport.cs (98%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/FakeGatewayTransport.cs (98%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/GalaxyRepositoryClientTests.cs (99%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/MxCommandReplyExtensionsTests.cs (95%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/MxGatewayClientAlarmsTests.cs (96%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/MxGatewayClientCliTests.cs (99%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/MxGatewayClientContractInfoTests.cs (90%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/MxGatewayClientOptionsTests.cs (96%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/MxGatewayClientSessionTests.cs (99%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/MxGatewayGeneratedContractTests.cs (92%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/MxStatusProxyExtensionsTests.cs (93%) rename clients/dotnet/{MxGateway.Client.Tests => ZB.MOM.WW.MxGateway.Client.Tests}/MxValueExtensionsTests.cs (96%) rename clients/dotnet/{MxGateway.Client.Tests/MxGateway.Client.Tests.csproj => ZB.MOM.WW.MxGateway.Client.Tests/ZB.MOM.WW.MxGateway.Client.Tests.csproj} (75%) create mode 100644 clients/dotnet/ZB.MOM.WW.MxGateway.Client.slnx create mode 100644 clients/dotnet/ZB.MOM.WW.MxGateway.Client/DiscoverHierarchyOptions.cs rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/GalaxyRepositoryClient.cs (99%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/GrpcGalaxyRepositoryClientTransport.cs (98%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/GrpcMxGatewayClientTransport.cs (98%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/IGalaxyRepositoryClientTransport.cs (95%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/IMxGatewayClientTransport.cs (97%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxAccessException.cs (93%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxCommandReplyExtensions.cs (97%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayAuthenticationException.cs (94%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayAuthorizationException.cs (94%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayClient.cs (99%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayClientContractInfo.cs (82%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayClientOptions.cs (99%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayClientRetryOptions.cs (97%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayClientRetryPolicy.cs (96%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayCommandException.cs (94%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayException.cs (97%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewaySession.cs (99%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewaySessionException.cs (94%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxGatewayWorkerException.cs (94%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxStatusProxyExtensions.cs (92%) rename clients/dotnet/{MxGateway.Client => ZB.MOM.WW.MxGateway.Client}/MxValueExtensions.cs (99%) create mode 100644 clients/dotnet/ZB.MOM.WW.MxGateway.Client/Properties/AssemblyInfo.cs rename clients/dotnet/{MxGateway.Client/MxGateway.Client.csproj => ZB.MOM.WW.MxGateway.Client/ZB.MOM.WW.MxGateway.Client.csproj} (81%) rename clients/java/{mxgateway-cli => zb-mom-ww-mxgateway-cli}/build.gradle (63%) rename clients/java/{mxgateway-cli/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-cli/src/main/java/com/zb/mom/ww}/mxgateway/cli/MxGatewayCli.java (98%) rename clients/java/{mxgateway-cli/src/test/java/com/dohertylan => zb-mom-ww-mxgateway-cli/src/test/java/com/zb/mom/ww}/mxgateway/cli/MxGatewayCliTests.java (98%) rename clients/java/{mxgateway-client => zb-mom-ww-mxgateway-client}/build.gradle (93%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/DeployEventStream.java (99%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/DeployEventSubscription.java (98%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/GalaxyRepositoryClient.java (99%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxAccessException.java (96%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxEventStream.java (99%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayActiveAlarmsSubscription.java (98%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayAuthInterceptor.java (97%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayAuthenticationException.java (93%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayAuthorizationException.java (93%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayClient.java (99%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayClientOptions.java (99%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayClientVersion.java (96%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayCommandException.java (97%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayErrors.java (98%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayEventSubscription.java (98%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayException.java (95%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewaySecrets.java (98%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewaySession.java (99%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewaySessionException.java (96%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxGatewayWorkerException.java (96%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxStatuses.java (98%) rename clients/java/{mxgateway-client/src/main/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww}/mxgateway/client/MxValues.java (99%) rename clients/java/{mxgateway-client/src/test/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww}/mxgateway/client/GalaxyRepositoryClientTests.java (99%) rename clients/java/{mxgateway-client/src/test/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww}/mxgateway/client/GeneratedContractSmokeTests.java (96%) rename clients/java/{mxgateway-client/src/test/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww}/mxgateway/client/MxGatewayClientSessionTests.java (99%) rename clients/java/{mxgateway-client/src/test/java/com/dohertylan => zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww}/mxgateway/client/MxGatewayFixtureTests.java (99%) delete mode 100644 clients/python/src/mxgateway/generated/mxaccess_gateway_pb2.py delete mode 100644 clients/python/src/mxgateway_cli/__main__.py rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/__init__.py (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/auth.py (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/client.py (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/errors.py (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/galaxy.py (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/generated/.gitkeep (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/generated/__init__.py (94%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/generated/galaxy_repository_pb2.py (96%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/generated/galaxy_repository_pb2_grpc.py (86%) create mode 100644 clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_gateway_pb2.py rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/generated/mxaccess_gateway_pb2_grpc.py (76%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/generated/mxaccess_worker_pb2.py (97%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/generated/mxaccess_worker_pb2_grpc.py (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/options.py (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/session.py (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/values.py (100%) rename clients/python/src/{mxgateway => zb_mom_ww_mxgateway}/version.py (100%) rename clients/python/src/{mxgateway_cli => zb_mom_ww_mxgateway_cli}/__init__.py (100%) create mode 100644 clients/python/src/zb_mom_ww_mxgateway_cli/__main__.py rename clients/python/src/{mxgateway_cli => zb_mom_ww_mxgateway_cli}/commands.py (97%) diff --git a/clients/dotnet/DotnetClientDesign.md b/clients/dotnet/DotnetClientDesign.md index dd16eb7..fd913b5 100644 --- a/clients/dotnet/DotnetClientDesign.md +++ b/clients/dotnet/DotnetClientDesign.md @@ -16,9 +16,9 @@ Recommended layout: ```text clients/dotnet/ - MxGateway.Client.sln - MxGateway.Client/ - MxGateway.Client.csproj + ZB.MOM.WW.MxGateway.Client.slnx + ZB.MOM.WW.MxGateway.Client/ + ZB.MOM.WW.MxGateway.Client.csproj GatewayClient.cs MxGatewaySession.cs MxGatewayClientOptions.cs @@ -26,14 +26,14 @@ clients/dotnet/ Conversion/ Errors/ Generated/ - MxGateway.Client.Cli/ - MxGateway.Client.Cli.csproj + ZB.MOM.WW.MxGateway.Client.Cli/ + ZB.MOM.WW.MxGateway.Client.Cli.csproj Program.cs Commands/ - MxGateway.Client.Tests/ - MxGateway.Client.Tests.csproj - MxGateway.Client.IntegrationTests/ - MxGateway.Client.IntegrationTests.csproj + ZB.MOM.WW.MxGateway.Client.Tests/ + ZB.MOM.WW.MxGateway.Client.Tests.csproj + ZB.MOM.WW.MxGateway.Client.IntegrationTests/ + ZB.MOM.WW.MxGateway.Client.IntegrationTests.csproj ``` Target framework: @@ -43,7 +43,7 @@ Target framework: ``` The scaffold uses a project reference to -`src/MxGateway.Contracts/MxGateway.Contracts.csproj` for generated protobuf and +`src/ZB.MOM.WW.MxGateway.Contracts/ZB.MOM.WW.MxGateway.Contracts.csproj` for generated protobuf and gRPC types. `clients/dotnet/generated` remains reserved for client-local generator output if the .NET client later needs to decouple from the contracts project. @@ -166,7 +166,7 @@ reply.EnsureMxAccessSuccess(); ## Test CLI -Project: `MxGateway.Client.Cli`. +Project: `ZB.MOM.WW.MxGateway.Client.Cli`. Command examples: diff --git a/clients/dotnet/MxGateway.Client.sln b/clients/dotnet/MxGateway.Client.sln deleted file mode 100644 index 07a6a8c..0000000 --- a/clients/dotnet/MxGateway.Client.sln +++ /dev/null @@ -1,76 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MxGateway.Client", "MxGateway.Client\MxGateway.Client.csproj", "{7CF9ED88-1F32-4040-BEB1-D0902E304C70}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MxGateway.Contracts", "..\..\src\MxGateway.Contracts\MxGateway.Contracts.csproj", "{9AB807A8-0469-40F7-A000-D240F36B6E5D}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MxGateway.Client.Cli", "MxGateway.Client.Cli\MxGateway.Client.Cli.csproj", "{EB061E77-2475-4322-9257-3F2456DD141C}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MxGateway.Client.Tests", "MxGateway.Client.Tests\MxGateway.Client.Tests.csproj", "{B77B5A8E-0C53-4419-9BCD-227C9753A074}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Debug|x64.ActiveCfg = Debug|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Debug|x64.Build.0 = Debug|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Debug|x86.ActiveCfg = Debug|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Debug|x86.Build.0 = Debug|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Release|Any CPU.Build.0 = Release|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Release|x64.ActiveCfg = Release|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Release|x64.Build.0 = Release|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Release|x86.ActiveCfg = Release|Any CPU - {7CF9ED88-1F32-4040-BEB1-D0902E304C70}.Release|x86.Build.0 = Release|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Debug|x64.ActiveCfg = Debug|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Debug|x64.Build.0 = Debug|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Debug|x86.ActiveCfg = Debug|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Debug|x86.Build.0 = Debug|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Release|Any CPU.Build.0 = Release|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Release|x64.ActiveCfg = Release|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Release|x64.Build.0 = Release|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Release|x86.ActiveCfg = Release|Any CPU - {9AB807A8-0469-40F7-A000-D240F36B6E5D}.Release|x86.Build.0 = Release|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Debug|x64.ActiveCfg = Debug|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Debug|x64.Build.0 = Debug|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Debug|x86.ActiveCfg = Debug|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Debug|x86.Build.0 = Debug|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Release|Any CPU.Build.0 = Release|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Release|x64.ActiveCfg = Release|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Release|x64.Build.0 = Release|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Release|x86.ActiveCfg = Release|Any CPU - {EB061E77-2475-4322-9257-3F2456DD141C}.Release|x86.Build.0 = Release|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Debug|x64.ActiveCfg = Debug|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Debug|x64.Build.0 = Debug|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Debug|x86.ActiveCfg = Debug|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Debug|x86.Build.0 = Debug|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Release|Any CPU.Build.0 = Release|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Release|x64.ActiveCfg = Release|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Release|x64.Build.0 = Release|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Release|x86.ActiveCfg = Release|Any CPU - {B77B5A8E-0C53-4419-9BCD-227C9753A074}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/clients/dotnet/MxGateway.Client/Properties/AssemblyInfo.cs b/clients/dotnet/MxGateway.Client/Properties/AssemblyInfo.cs deleted file mode 100644 index 3be2a8b..0000000 --- a/clients/dotnet/MxGateway.Client/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.CompilerServices; - -[assembly: InternalsVisibleTo("MxGateway.Client.Tests")] diff --git a/clients/dotnet/README.md b/clients/dotnet/README.md index 98ff31e..2e6131a 100644 --- a/clients/dotnet/README.md +++ b/clients/dotnet/README.md @@ -7,11 +7,11 @@ CLI, and unit tests. | Project | Purpose | |---------|---------| -| `MxGateway.Client` | .NET 10 library entry point, raw gRPC calls, and session helpers. | -| `MxGateway.Client.Cli` | Test CLI for smoke and diagnostic commands. | -| `MxGateway.Client.Tests` | Unit tests for client options, generated contract wiring, auth metadata, session helpers, cancellation, and event streaming. | +| `ZB.MOM.WW.MxGateway.Client` | .NET 10 library entry point, raw gRPC calls, and session helpers. | +| `ZB.MOM.WW.MxGateway.Client.Cli` | Test CLI for smoke and diagnostic commands. | +| `ZB.MOM.WW.MxGateway.Client.Tests` | Unit tests for client options, generated contract wiring, auth metadata, session helpers, cancellation, and event streaming. | -The projects reference `src/MxGateway.Contracts/MxGateway.Contracts.csproj` so +The projects reference `src/ZB.MOM.WW.MxGateway.Contracts/ZB.MOM.WW.MxGateway.Contracts.csproj` so the client compiles against the same generated protobuf and gRPC types as the gateway. `clients/dotnet/generated` remains reserved for generator output if a future client build switches to client-local `Grpc.Tools` generation. @@ -19,8 +19,8 @@ future client build switches to client-local `Grpc.Tools` generation. ## Build And Test ```powershell -dotnet build clients/dotnet/MxGateway.Client.sln -dotnet test clients/dotnet/MxGateway.Client.sln --no-build +dotnet build clients/dotnet/ZB.MOM.WW.MxGateway.Client.slnx +dotnet test clients/dotnet/ZB.MOM.WW.MxGateway.Client.slnx --no-build ``` ## Packaging @@ -29,8 +29,8 @@ Create local library and CLI artifacts from the repository root: ```powershell $dotnetPackageOutput = Join-Path (Get-Location) 'artifacts/clients/dotnet' -dotnet pack clients/dotnet/MxGateway.Client/MxGateway.Client.csproj -c Release -p:PackageOutputPath="$dotnetPackageOutput" -dotnet publish clients/dotnet/MxGateway.Client.Cli/MxGateway.Client.Cli.csproj -c Release -o artifacts/clients/dotnet/mxgw-dotnet +dotnet pack clients/dotnet/ZB.MOM.WW.MxGateway.Client/ZB.MOM.WW.MxGateway.Client.csproj -c Release -p:PackageOutputPath="$dotnetPackageOutput" +dotnet publish clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/ZB.MOM.WW.MxGateway.Client.Cli.csproj -c Release -o artifacts/clients/dotnet/mxgw-dotnet ``` The library package references the shared contracts project at build time. The @@ -39,11 +39,11 @@ published CLI runs from `artifacts/clients/dotnet/mxgw-dotnet`. ## Regenerating Protobuf Bindings The .NET client uses the generated C# types from -`src/MxGateway.Contracts/Generated`. Regenerate those files through the +`src/ZB.MOM.WW.MxGateway.Contracts/Generated`. Regenerate those files through the contracts project: ```powershell -dotnet build src/MxGateway.Contracts/MxGateway.Contracts.csproj +dotnet build src/ZB.MOM.WW.MxGateway.Contracts/ZB.MOM.WW.MxGateway.Contracts.csproj ``` ## Client Usage @@ -117,15 +117,15 @@ reply. The test CLI supports deterministic JSON output for automation: ```powershell -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- version --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- open-session --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- register --session-id --client-name mxgw-dotnet-cli --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- add-item --session-id --server-handle 1 --item Area001.Pump001.Speed --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- advise --session-id --server-handle 1 --item-handle 1 --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- write --session-id --server-handle 1 --item-handle 1 --type int32 --value 123 --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- write2 --session-id --server-handle 1 --item-handle 1 --type int32 --value 123 --timestamp 2026-01-01T00:00:00Z --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- stream-events --session-id --max-events 1 --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- smoke --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --item Area001.Pump001.Speed --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- version --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- open-session --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- register --session-id --client-name mxgw-dotnet-cli --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- add-item --session-id --server-handle 1 --item Area001.Pump001.Speed --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- advise --session-id --server-handle 1 --item-handle 1 --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- write --session-id --server-handle 1 --item-handle 1 --type int32 --value 123 --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- write2 --session-id --server-handle 1 --item-handle 1 --type int32 --value 123 --timestamp 2026-01-01T00:00:00Z --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- stream-events --session-id --max-events 1 --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- smoke --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --item Area001.Pump001.Speed --json ``` `smoke` opens a session, registers a client, adds one item, advises it, @@ -180,9 +180,9 @@ IReadOnlyList pumps = await repository.DiscoverHierarchyAsync( The CLI exposes the same operations: ```powershell -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- galaxy-test-connection --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- galaxy-last-deploy --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- galaxy-discover --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- galaxy-test-connection --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- galaxy-last-deploy --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- galaxy-discover --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY ``` ### Watching deploy events @@ -217,15 +217,15 @@ await foreach (DeployEvent evt in repository.WatchDeployEventsAsync( The CLI counterpart streams events until Ctrl+C (or `--max-events`): ```powershell -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- galaxy-watch --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- galaxy-watch --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --last-seen-deploy-time 2026-04-28T14:30:00Z --json -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- galaxy-watch --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --max-events 5 --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- galaxy-watch --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- galaxy-watch --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --last-seen-deploy-time 2026-04-28T14:30:00Z --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- galaxy-watch --endpoint http://localhost:5000 --api-key-env MXGATEWAY_API_KEY --max-events 5 --json ``` Use TLS options for a secured gateway: ```powershell -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- smoke --endpoint https://mxgateway.example.local:5001 --tls --ca-file C:\certs\mxgateway-ca.pem --server-name mxgateway.example.local --api-key-env MXGATEWAY_API_KEY --item Area001.Pump001.Speed --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- smoke --endpoint https://ZB.MOM.WW.MxGateway.example.local:5001 --tls --ca-file C:\certs\mxgateway-ca.pem --server-name ZB.MOM.WW.MxGateway.example.local --api-key-env MXGATEWAY_API_KEY --item Area001.Pump001.Speed --json ``` ## Integration Checks @@ -237,7 +237,7 @@ $env:MXGATEWAY_INTEGRATION = '1' $env:MXGATEWAY_ENDPOINT = 'http://localhost:5000' $env:MXGATEWAY_API_KEY = '' $env:MXGATEWAY_TEST_ITEM = 'Area001.Pump001.Speed' -dotnet run --project clients/dotnet/MxGateway.Client.Cli -- smoke --endpoint $env:MXGATEWAY_ENDPOINT --api-key-env MXGATEWAY_API_KEY --item $env:MXGATEWAY_TEST_ITEM --json +dotnet run --project clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli -- smoke --endpoint $env:MXGATEWAY_ENDPOINT --api-key-env MXGATEWAY_API_KEY --item $env:MXGATEWAY_TEST_ITEM --json ``` ## Related Documentation diff --git a/clients/dotnet/MxGateway.Client.Cli/CliArguments.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/CliArguments.cs similarity index 99% rename from clients/dotnet/MxGateway.Client.Cli/CliArguments.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/CliArguments.cs index 2da2d2a..5854613 100644 --- a/clients/dotnet/MxGateway.Client.Cli/CliArguments.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/CliArguments.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace MxGateway.Client.Cli; +namespace ZB.MOM.WW.MxGateway.Client.Cli; /// Parses command-line arguments into flags and named values. internal sealed class CliArguments diff --git a/clients/dotnet/MxGateway.Client.Cli/IMxGatewayCliClient.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/IMxGatewayCliClient.cs similarity index 96% rename from clients/dotnet/MxGateway.Client.Cli/IMxGatewayCliClient.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/IMxGatewayCliClient.cs index ba04136..26979c9 100644 --- a/clients/dotnet/MxGateway.Client.Cli/IMxGatewayCliClient.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/IMxGatewayCliClient.cs @@ -1,7 +1,7 @@ -using MxGateway.Contracts.Proto; -using MxGateway.Contracts.Proto.Galaxy; +using ZB.MOM.WW.MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy; -namespace MxGateway.Client.Cli; +namespace ZB.MOM.WW.MxGateway.Client.Cli; public interface IMxGatewayCliClient : IAsyncDisposable { diff --git a/clients/dotnet/MxGateway.Client.Cli/MxGatewayCliClientAdapter.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/MxGatewayCliClientAdapter.cs similarity index 94% rename from clients/dotnet/MxGateway.Client.Cli/MxGatewayCliClientAdapter.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/MxGatewayCliClientAdapter.cs index 47f0d06..65e83dd 100644 --- a/clients/dotnet/MxGateway.Client.Cli/MxGatewayCliClientAdapter.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/MxGatewayCliClientAdapter.cs @@ -1,8 +1,8 @@ -using MxGateway.Client; -using MxGateway.Contracts.Proto; -using MxGateway.Contracts.Proto.Galaxy; +using ZB.MOM.WW.MxGateway.Client; +using ZB.MOM.WW.MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy; -namespace MxGateway.Client.Cli; +namespace ZB.MOM.WW.MxGateway.Client.Cli; internal sealed class MxGatewayCliClientAdapter : IMxGatewayCliClient { diff --git a/clients/dotnet/MxGateway.Client.Cli/MxGatewayCliSecretRedactor.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/MxGatewayCliSecretRedactor.cs similarity index 94% rename from clients/dotnet/MxGateway.Client.Cli/MxGatewayCliSecretRedactor.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/MxGatewayCliSecretRedactor.cs index 1feada4..d4e3003 100644 --- a/clients/dotnet/MxGateway.Client.Cli/MxGatewayCliSecretRedactor.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/MxGatewayCliSecretRedactor.cs @@ -1,4 +1,4 @@ -namespace MxGateway.Client.Cli; +namespace ZB.MOM.WW.MxGateway.Client.Cli; /// Utility to redact API keys from error messages for safe output. internal static class MxGatewayCliSecretRedactor diff --git a/clients/dotnet/MxGateway.Client.Cli/MxGatewayClientCli.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/MxGatewayClientCli.cs similarity index 99% rename from clients/dotnet/MxGateway.Client.Cli/MxGatewayClientCli.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/MxGatewayClientCli.cs index 2fcc66f..9f7dffa 100644 --- a/clients/dotnet/MxGateway.Client.Cli/MxGatewayClientCli.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/MxGatewayClientCli.cs @@ -1,11 +1,11 @@ using System.Globalization; using System.Text.Json; using Google.Protobuf; -using MxGateway.Client; -using MxGateway.Contracts.Proto; -using MxGateway.Contracts.Proto.Galaxy; +using ZB.MOM.WW.MxGateway.Client; +using ZB.MOM.WW.MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy; -namespace MxGateway.Client.Cli; +namespace ZB.MOM.WW.MxGateway.Client.Cli; /// Command-line interface for the MXAccess Gateway client, supporting session and command operations. public static class MxGatewayClientCli diff --git a/clients/dotnet/MxGateway.Client.Cli/Program.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/Program.cs similarity index 66% rename from clients/dotnet/MxGateway.Client.Cli/Program.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/Program.cs index fbea43f..c44680b 100644 --- a/clients/dotnet/MxGateway.Client.Cli/Program.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/Program.cs @@ -1,3 +1,3 @@ -using MxGateway.Client.Cli; +using ZB.MOM.WW.MxGateway.Client.Cli; return await MxGatewayClientCli.RunAsync(args, Console.Out, Console.Error); diff --git a/clients/dotnet/MxGateway.Client.Cli/MxGateway.Client.Cli.csproj b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/ZB.MOM.WW.MxGateway.Client.Cli.csproj similarity index 73% rename from clients/dotnet/MxGateway.Client.Cli/MxGateway.Client.Cli.csproj rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/ZB.MOM.WW.MxGateway.Client.Cli.csproj index b04f285..76e1f36 100644 --- a/clients/dotnet/MxGateway.Client.Cli/MxGateway.Client.Cli.csproj +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Cli/ZB.MOM.WW.MxGateway.Client.Cli.csproj @@ -1,7 +1,7 @@  - + diff --git a/clients/dotnet/MxGateway.Client.Tests/FakeGalaxyRepositoryTransport.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/FakeGalaxyRepositoryTransport.cs similarity index 98% rename from clients/dotnet/MxGateway.Client.Tests/FakeGalaxyRepositoryTransport.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/FakeGalaxyRepositoryTransport.cs index 302775b..ce42fc3 100644 --- a/clients/dotnet/MxGateway.Client.Tests/FakeGalaxyRepositoryTransport.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/FakeGalaxyRepositoryTransport.cs @@ -1,7 +1,7 @@ using Grpc.Core; -using MxGateway.Contracts.Proto.Galaxy; +using ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; /// /// Fake Galaxy Repository client transport for testing. diff --git a/clients/dotnet/MxGateway.Client.Tests/FakeGatewayTransport.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/FakeGatewayTransport.cs similarity index 98% rename from clients/dotnet/MxGateway.Client.Tests/FakeGatewayTransport.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/FakeGatewayTransport.cs index 76f67b9..cd9ade9 100644 --- a/clients/dotnet/MxGateway.Client.Tests/FakeGatewayTransport.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/FakeGatewayTransport.cs @@ -1,7 +1,7 @@ using Grpc.Core; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; /// /// Fake implementation of IMxGatewayClientTransport for testing. @@ -204,7 +204,6 @@ internal sealed class FakeGatewayTransport(MxGatewayClientOptions options) : IMx ? _acknowledgeReplies.Dequeue() : new AcknowledgeAlarmReply { - SessionId = request.SessionId, CorrelationId = request.ClientCorrelationId, ProtocolStatus = new ProtocolStatus { Code = ProtocolStatusCode.Ok }, Status = new MxStatusProxy { Success = 1, Category = MxStatusCategory.Ok }, diff --git a/clients/dotnet/MxGateway.Client.Tests/GalaxyRepositoryClientTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/GalaxyRepositoryClientTests.cs similarity index 99% rename from clients/dotnet/MxGateway.Client.Tests/GalaxyRepositoryClientTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/GalaxyRepositoryClientTests.cs index f7c815e..cc0c0ca 100644 --- a/clients/dotnet/MxGateway.Client.Tests/GalaxyRepositoryClientTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/GalaxyRepositoryClientTests.cs @@ -1,8 +1,8 @@ using Google.Protobuf.WellKnownTypes; using Grpc.Core; -using MxGateway.Contracts.Proto.Galaxy; +using ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; public sealed class GalaxyRepositoryClientTests { diff --git a/clients/dotnet/MxGateway.Client.Tests/MxCommandReplyExtensionsTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxCommandReplyExtensionsTests.cs similarity index 95% rename from clients/dotnet/MxGateway.Client.Tests/MxCommandReplyExtensionsTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxCommandReplyExtensionsTests.cs index d10761b..545019b 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxCommandReplyExtensionsTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxCommandReplyExtensionsTests.cs @@ -1,8 +1,8 @@ using Google.Protobuf; -using MxGateway.Client; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Client; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; public sealed class MxCommandReplyExtensionsTests { diff --git a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientAlarmsTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientAlarmsTests.cs similarity index 96% rename from clients/dotnet/MxGateway.Client.Tests/MxGatewayClientAlarmsTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientAlarmsTests.cs index 516ee05..c0cddc3 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientAlarmsTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientAlarmsTests.cs @@ -1,8 +1,8 @@ using Google.Protobuf.WellKnownTypes; using Grpc.Core; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; /// /// PR E.2 — pins the .NET SDK surface for the new alarm RPCs: @@ -17,7 +17,6 @@ public sealed class MxGatewayClientAlarmsTests FakeGatewayTransport transport = CreateTransport(); transport.AddAcknowledgeReply(new AcknowledgeAlarmReply { - SessionId = "session-fixture", CorrelationId = "corr-1", ProtocolStatus = new ProtocolStatus { Code = ProtocolStatusCode.Ok }, Status = new MxStatusProxy @@ -31,7 +30,6 @@ public sealed class MxGatewayClientAlarmsTests AcknowledgeAlarmReply reply = await client.AcknowledgeAlarmAsync(new AcknowledgeAlarmRequest { - SessionId = "session-fixture", ClientCorrelationId = "corr-1", AlarmFullReference = "Tank01.Level.HiHi", Comment = "investigating", @@ -64,7 +62,6 @@ public sealed class MxGatewayClientAlarmsTests client.AcknowledgeAlarmAsync( new AcknowledgeAlarmRequest { - SessionId = "session-fixture", AlarmFullReference = "Tank01.Level.HiHi", Comment = string.Empty, OperatorUser = "alice", @@ -89,7 +86,6 @@ public sealed class MxGatewayClientAlarmsTests var ex = await Assert.ThrowsAsync( () => client.AcknowledgeAlarmAsync(new AcknowledgeAlarmRequest { - SessionId = "session-fixture", AlarmFullReference = "Tank01.Level.HiHi", Comment = string.Empty, OperatorUser = "alice", diff --git a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientCliTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientCliTests.cs similarity index 99% rename from clients/dotnet/MxGateway.Client.Tests/MxGatewayClientCliTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientCliTests.cs index b950869..49d2a2e 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientCliTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientCliTests.cs @@ -1,9 +1,9 @@ using Google.Protobuf.WellKnownTypes; -using MxGateway.Client.Cli; -using MxGateway.Contracts.Proto; -using MxGateway.Contracts.Proto.Galaxy; +using ZB.MOM.WW.MxGateway.Client.Cli; +using ZB.MOM.WW.MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; /// Tests for the CLI command interface. public sealed class MxGatewayClientCliTests diff --git a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientContractInfoTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientContractInfoTests.cs similarity index 90% rename from clients/dotnet/MxGateway.Client.Tests/MxGatewayClientContractInfoTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientContractInfoTests.cs index ce4d4d2..a046b77 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientContractInfoTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientContractInfoTests.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts; +using ZB.MOM.WW.MxGateway.Contracts; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; public sealed class MxGatewayClientContractInfoTests { diff --git a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientOptionsTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientOptionsTests.cs similarity index 96% rename from clients/dotnet/MxGateway.Client.Tests/MxGatewayClientOptionsTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientOptionsTests.cs index cb9268c..4abf1ee 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientOptionsTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientOptionsTests.cs @@ -1,4 +1,4 @@ -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; public sealed class MxGatewayClientOptionsTests { diff --git a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientSessionTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientSessionTests.cs similarity index 99% rename from clients/dotnet/MxGateway.Client.Tests/MxGatewayClientSessionTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientSessionTests.cs index 7764bc6..1052a8d 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxGatewayClientSessionTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayClientSessionTests.cs @@ -1,7 +1,7 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; using Grpc.Core; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; /// Tests for MxGatewaySession and client command behavior. public sealed class MxGatewayClientSessionTests diff --git a/clients/dotnet/MxGateway.Client.Tests/MxGatewayGeneratedContractTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayGeneratedContractTests.cs similarity index 92% rename from clients/dotnet/MxGateway.Client.Tests/MxGatewayGeneratedContractTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayGeneratedContractTests.cs index be0d0b0..95fdd89 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxGatewayGeneratedContractTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxGatewayGeneratedContractTests.cs @@ -1,4 +1,4 @@ -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; public sealed class MxGatewayGeneratedContractTests { diff --git a/clients/dotnet/MxGateway.Client.Tests/MxStatusProxyExtensionsTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxStatusProxyExtensionsTests.cs similarity index 93% rename from clients/dotnet/MxGateway.Client.Tests/MxStatusProxyExtensionsTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxStatusProxyExtensionsTests.cs index 61fd2fb..aec4195 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxStatusProxyExtensionsTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxStatusProxyExtensionsTests.cs @@ -1,9 +1,9 @@ using System.Text.Json; using Google.Protobuf; -using MxGateway.Client; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Client; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; public sealed class MxStatusProxyExtensionsTests { diff --git a/clients/dotnet/MxGateway.Client.Tests/MxValueExtensionsTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxValueExtensionsTests.cs similarity index 96% rename from clients/dotnet/MxGateway.Client.Tests/MxValueExtensionsTests.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxValueExtensionsTests.cs index 9b318e5..1d359f9 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxValueExtensionsTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/MxValueExtensionsTests.cs @@ -1,9 +1,9 @@ using System.Text.Json; using Google.Protobuf; -using MxGateway.Client; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Client; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client.Tests; +namespace ZB.MOM.WW.MxGateway.Client.Tests; public sealed class MxValueExtensionsTests { diff --git a/clients/dotnet/MxGateway.Client.Tests/MxGateway.Client.Tests.csproj b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/ZB.MOM.WW.MxGateway.Client.Tests.csproj similarity index 75% rename from clients/dotnet/MxGateway.Client.Tests/MxGateway.Client.Tests.csproj rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/ZB.MOM.WW.MxGateway.Client.Tests.csproj index d02ed8e..baf4bce 100644 --- a/clients/dotnet/MxGateway.Client.Tests/MxGateway.Client.Tests.csproj +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/ZB.MOM.WW.MxGateway.Client.Tests.csproj @@ -19,8 +19,8 @@ - - + + \ No newline at end of file diff --git a/clients/dotnet/ZB.MOM.WW.MxGateway.Client.slnx b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.slnx new file mode 100644 index 0000000..ba9c34d --- /dev/null +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.slnx @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/clients/dotnet/ZB.MOM.WW.MxGateway.Client/DiscoverHierarchyOptions.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/DiscoverHierarchyOptions.cs new file mode 100644 index 0000000..1719ca2 --- /dev/null +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/DiscoverHierarchyOptions.cs @@ -0,0 +1,43 @@ +namespace ZB.MOM.WW.MxGateway.Client; + +/// +/// Filters and shape options for . +/// +/// +/// Hand-written ergonomic wrapper around the generated +/// DiscoverHierarchyRequest: lets callers express a Galaxy-browse +/// slice with .NET-friendly nullable scalars and collection initializers, +/// without touching the protobuf message's oneof root directly. +/// +public sealed class DiscoverHierarchyOptions +{ + /// Restrict to the subtree rooted at this Galaxy gobject_id. + public int? RootGobjectId { get; init; } + + /// Restrict to the subtree rooted at the object with this tag name. + public string? RootTagName { get; init; } + + /// Restrict to the subtree rooted at this contained_name path. + public string? RootContainedPath { get; init; } + + /// Maximum traversal depth, measured from the chosen root. + public int? MaxDepth { get; init; } + + /// Restrict to objects whose Galaxy category is in this set. + public IReadOnlyList CategoryIds { get; init; } = []; + + /// Restrict to objects whose template chain contains any of these tokens. + public IReadOnlyList TemplateChainContains { get; init; } = []; + + /// Optional glob-style filter on tag_name. + public string? TagNameGlob { get; init; } + + /// Whether to populate each GalaxyObject.Attributes. Null leaves the server default. + public bool? IncludeAttributes { get; init; } + + /// Restrict to objects that bear at least one alarm attribute. + public bool AlarmBearingOnly { get; init; } + + /// Restrict to objects that have at least one historized attribute. + public bool HistorizedOnly { get; init; } +} diff --git a/clients/dotnet/MxGateway.Client/GalaxyRepositoryClient.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/GalaxyRepositoryClient.cs similarity index 99% rename from clients/dotnet/MxGateway.Client/GalaxyRepositoryClient.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/GalaxyRepositoryClient.cs index 77c2272..dc4d50f 100644 --- a/clients/dotnet/MxGateway.Client/GalaxyRepositoryClient.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/GalaxyRepositoryClient.cs @@ -2,14 +2,14 @@ using Google.Protobuf.WellKnownTypes; using Grpc.Core; using Grpc.Net.Client; using Microsoft.Extensions.Logging; -using MxGateway.Contracts.Proto.Galaxy; +using ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy; using Polly; using System.Net.Http; using System.Net.Security; using System.Runtime.CompilerServices; using System.Security.Cryptography.X509Certificates; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// /// Provides the .NET client entry point for the public Galaxy Repository gRPC API. diff --git a/clients/dotnet/MxGateway.Client/GrpcGalaxyRepositoryClientTransport.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/GrpcGalaxyRepositoryClientTransport.cs similarity index 98% rename from clients/dotnet/MxGateway.Client/GrpcGalaxyRepositoryClientTransport.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/GrpcGalaxyRepositoryClientTransport.cs index e6fa05d..066ab71 100644 --- a/clients/dotnet/MxGateway.Client/GrpcGalaxyRepositoryClientTransport.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/GrpcGalaxyRepositoryClientTransport.cs @@ -1,7 +1,7 @@ using Grpc.Core; -using MxGateway.Contracts.Proto.Galaxy; +using ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// /// gRPC implementation of IGalaxyRepositoryClientTransport. diff --git a/clients/dotnet/MxGateway.Client/GrpcMxGatewayClientTransport.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/GrpcMxGatewayClientTransport.cs similarity index 98% rename from clients/dotnet/MxGateway.Client/GrpcMxGatewayClientTransport.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/GrpcMxGatewayClientTransport.cs index 3e66b15..92c3f91 100644 --- a/clients/dotnet/MxGateway.Client/GrpcMxGatewayClientTransport.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/GrpcMxGatewayClientTransport.cs @@ -1,7 +1,7 @@ using Grpc.Core; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// /// gRPC implementation of IMxGatewayClientTransport. diff --git a/clients/dotnet/MxGateway.Client/IGalaxyRepositoryClientTransport.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/IGalaxyRepositoryClientTransport.cs similarity index 95% rename from clients/dotnet/MxGateway.Client/IGalaxyRepositoryClientTransport.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/IGalaxyRepositoryClientTransport.cs index c91ccb5..4c7a42a 100644 --- a/clients/dotnet/MxGateway.Client/IGalaxyRepositoryClientTransport.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/IGalaxyRepositoryClientTransport.cs @@ -1,7 +1,7 @@ using Grpc.Core; -using MxGateway.Contracts.Proto.Galaxy; +using ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Transport layer for Galaxy Repository gRPC operations. internal interface IGalaxyRepositoryClientTransport diff --git a/clients/dotnet/MxGateway.Client/IMxGatewayClientTransport.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/IMxGatewayClientTransport.cs similarity index 97% rename from clients/dotnet/MxGateway.Client/IMxGatewayClientTransport.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/IMxGatewayClientTransport.cs index 26e25fc..88a69ec 100644 --- a/clients/dotnet/MxGateway.Client/IMxGatewayClientTransport.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/IMxGatewayClientTransport.cs @@ -1,7 +1,7 @@ using Grpc.Core; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; internal interface IMxGatewayClientTransport { diff --git a/clients/dotnet/MxGateway.Client/MxAccessException.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxAccessException.cs similarity index 93% rename from clients/dotnet/MxGateway.Client/MxAccessException.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxAccessException.cs index 38ccc7e..5fb7b12 100644 --- a/clients/dotnet/MxGateway.Client/MxAccessException.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxAccessException.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Exception thrown when an MXAccess command fails with a non-zero HResult or failing status. public sealed class MxAccessException : MxGatewayCommandException diff --git a/clients/dotnet/MxGateway.Client/MxCommandReplyExtensions.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxCommandReplyExtensions.cs similarity index 97% rename from clients/dotnet/MxGateway.Client/MxCommandReplyExtensions.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxCommandReplyExtensions.cs index cd7b37a..ef111df 100644 --- a/clients/dotnet/MxGateway.Client/MxCommandReplyExtensions.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxCommandReplyExtensions.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Extension methods for checking MxCommandReply success conditions. public static class MxCommandReplyExtensions diff --git a/clients/dotnet/MxGateway.Client/MxGatewayAuthenticationException.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayAuthenticationException.cs similarity index 94% rename from clients/dotnet/MxGateway.Client/MxGatewayAuthenticationException.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayAuthenticationException.cs index e70b8df..ea73c7a 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayAuthenticationException.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayAuthenticationException.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Exception thrown when an API key is invalid, expired, or malformed. public sealed class MxGatewayAuthenticationException : MxGatewayException diff --git a/clients/dotnet/MxGateway.Client/MxGatewayAuthorizationException.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayAuthorizationException.cs similarity index 94% rename from clients/dotnet/MxGateway.Client/MxGatewayAuthorizationException.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayAuthorizationException.cs index 2df383b..1b0843e 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayAuthorizationException.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayAuthorizationException.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Exception thrown when the API key lacks required scopes for an operation. public sealed class MxGatewayAuthorizationException : MxGatewayException diff --git a/clients/dotnet/MxGateway.Client/MxGatewayClient.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClient.cs similarity index 99% rename from clients/dotnet/MxGateway.Client/MxGatewayClient.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClient.cs index 88bbdd1..7254521 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayClient.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClient.cs @@ -1,13 +1,13 @@ using Grpc.Core; using Grpc.Net.Client; using Microsoft.Extensions.Logging; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; using Polly; using System.Net.Http; using System.Net.Security; using System.Security.Cryptography.X509Certificates; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// /// Provides the .NET client entry point for the public MXAccess Gateway gRPC API. diff --git a/clients/dotnet/MxGateway.Client/MxGatewayClientContractInfo.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientContractInfo.cs similarity index 82% rename from clients/dotnet/MxGateway.Client/MxGatewayClientContractInfo.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientContractInfo.cs index 4869faa..0d95d71 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayClientContractInfo.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientContractInfo.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts; +using ZB.MOM.WW.MxGateway.Contracts; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// /// Exposes the protocol versions compiled into this client package. diff --git a/clients/dotnet/MxGateway.Client/MxGatewayClientOptions.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientOptions.cs similarity index 99% rename from clients/dotnet/MxGateway.Client/MxGatewayClientOptions.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientOptions.cs index bb900c9..4c942d8 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayClientOptions.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientOptions.cs @@ -1,6 +1,6 @@ using Microsoft.Extensions.Logging; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// /// Configures the gRPC channel used by the .NET MXAccess Gateway client. diff --git a/clients/dotnet/MxGateway.Client/MxGatewayClientRetryOptions.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientRetryOptions.cs similarity index 97% rename from clients/dotnet/MxGateway.Client/MxGatewayClientRetryOptions.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientRetryOptions.cs index 6ad212a..e7adf74 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayClientRetryOptions.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientRetryOptions.cs @@ -1,4 +1,4 @@ -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Configuration for automatic retry behavior on transient gRPC call failures. public sealed class MxGatewayClientRetryOptions diff --git a/clients/dotnet/MxGateway.Client/MxGatewayClientRetryPolicy.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientRetryPolicy.cs similarity index 96% rename from clients/dotnet/MxGateway.Client/MxGatewayClientRetryPolicy.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientRetryPolicy.cs index af6e63d..ff4ff7a 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayClientRetryPolicy.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayClientRetryPolicy.cs @@ -1,10 +1,10 @@ using Grpc.Core; using Microsoft.Extensions.Logging; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; using Polly; using Polly.Retry; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Factory and helpers for exponential-backoff retry policies on transient gRPC failures. internal static class MxGatewayClientRetryPolicy diff --git a/clients/dotnet/MxGateway.Client/MxGatewayCommandException.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayCommandException.cs similarity index 94% rename from clients/dotnet/MxGateway.Client/MxGatewayCommandException.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayCommandException.cs index 334a619..7971486 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayCommandException.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayCommandException.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Exception thrown when a gateway command fails due to an unclassified protocol error. public class MxGatewayCommandException : MxGatewayException diff --git a/clients/dotnet/MxGateway.Client/MxGatewayException.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayException.cs similarity index 97% rename from clients/dotnet/MxGateway.Client/MxGatewayException.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayException.cs index 7607317..79b4b27 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayException.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayException.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// /// Exception thrown when a gateway RPC call fails or returns an error status. diff --git a/clients/dotnet/MxGateway.Client/MxGatewaySession.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewaySession.cs similarity index 99% rename from clients/dotnet/MxGateway.Client/MxGatewaySession.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewaySession.cs index 62a9a1a..92c9f4b 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewaySession.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewaySession.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// /// Represents one gateway-backed MXAccess session. diff --git a/clients/dotnet/MxGateway.Client/MxGatewaySessionException.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewaySessionException.cs similarity index 94% rename from clients/dotnet/MxGateway.Client/MxGatewaySessionException.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewaySessionException.cs index b7d971a..be92229 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewaySessionException.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewaySessionException.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Exception thrown when a session is not found, not ready, or invalid. public sealed class MxGatewaySessionException : MxGatewayException diff --git a/clients/dotnet/MxGateway.Client/MxGatewayWorkerException.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayWorkerException.cs similarity index 94% rename from clients/dotnet/MxGateway.Client/MxGatewayWorkerException.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayWorkerException.cs index 2731c97..7e812c0 100644 --- a/clients/dotnet/MxGateway.Client/MxGatewayWorkerException.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxGatewayWorkerException.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Exception thrown when the worker process is unavailable or fails to process a command. public sealed class MxGatewayWorkerException : MxGatewayException diff --git a/clients/dotnet/MxGateway.Client/MxStatusProxyExtensions.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxStatusProxyExtensions.cs similarity index 92% rename from clients/dotnet/MxGateway.Client/MxStatusProxyExtensions.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxStatusProxyExtensions.cs index 07711ee..5441431 100644 --- a/clients/dotnet/MxGateway.Client/MxStatusProxyExtensions.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxStatusProxyExtensions.cs @@ -1,6 +1,6 @@ -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// Extension methods for MxStatusProxy values. public static class MxStatusProxyExtensions diff --git a/clients/dotnet/MxGateway.Client/MxValueExtensions.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxValueExtensions.cs similarity index 99% rename from clients/dotnet/MxGateway.Client/MxValueExtensions.cs rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxValueExtensions.cs index 72e6020..4f047bf 100644 --- a/clients/dotnet/MxGateway.Client/MxValueExtensions.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/MxValueExtensions.cs @@ -1,8 +1,8 @@ using Google.Protobuf; using Google.Protobuf.WellKnownTypes; -using MxGateway.Contracts.Proto; +using ZB.MOM.WW.MxGateway.Contracts.Proto; -namespace MxGateway.Client; +namespace ZB.MOM.WW.MxGateway.Client; /// /// Creates and projects gateway MXAccess values without hiding the raw diff --git a/clients/dotnet/ZB.MOM.WW.MxGateway.Client/Properties/AssemblyInfo.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d4abab3 --- /dev/null +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("ZB.MOM.WW.MxGateway.Client.Tests")] diff --git a/clients/dotnet/MxGateway.Client/MxGateway.Client.csproj b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/ZB.MOM.WW.MxGateway.Client.csproj similarity index 81% rename from clients/dotnet/MxGateway.Client/MxGateway.Client.csproj rename to clients/dotnet/ZB.MOM.WW.MxGateway.Client/ZB.MOM.WW.MxGateway.Client.csproj index 2b2b5b4..1b46170 100644 --- a/clients/dotnet/MxGateway.Client/MxGateway.Client.csproj +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client/ZB.MOM.WW.MxGateway.Client.csproj @@ -1,7 +1,7 @@  - + diff --git a/clients/go/generate-proto.ps1 b/clients/go/generate-proto.ps1 index 5697de9..1e88740 100644 --- a/clients/go/generate-proto.ps1 +++ b/clients/go/generate-proto.ps1 @@ -2,7 +2,7 @@ Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' $repoRoot = Resolve-Path (Join-Path $PSScriptRoot '..\..') -$protoRoot = Join-Path $repoRoot 'src\MxGateway.Contracts\Protos' +$protoRoot = Join-Path $repoRoot 'src\ZB.MOM.WW.MxGateway.Contracts\Protos' $outputRoot = Join-Path $PSScriptRoot 'internal\generated' $modulePath = 'gitea.dohertylan.com/dohertj2/mxaccessgw/clients/go/internal/generated' $protoc = 'C:\Users\dohertj2\AppData\Local\Microsoft\WinGet\Packages\Google.Protobuf_Microsoft.Winget.Source_8wekyb3d8bbwe\bin\protoc.exe' diff --git a/clients/go/internal/generated/galaxy_repository.pb.go b/clients/go/internal/generated/galaxy_repository.pb.go index ca3370c..003ffed 100644 --- a/clients/go/internal/generated/galaxy_repository.pb.go +++ b/clients/go/internal/generated/galaxy_repository.pb.go @@ -687,18 +687,32 @@ func (x *GalaxyObject) GetAttributes() []*GalaxyAttribute { } type GalaxyAttribute struct { - state protoimpl.MessageState `protogen:"open.v1"` - AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"` - FullTagReference string `protobuf:"bytes,2,opt,name=full_tag_reference,json=fullTagReference,proto3" json:"full_tag_reference,omitempty"` - MxDataType int32 `protobuf:"varint,3,opt,name=mx_data_type,json=mxDataType,proto3" json:"mx_data_type,omitempty"` - DataTypeName string `protobuf:"bytes,4,opt,name=data_type_name,json=dataTypeName,proto3" json:"data_type_name,omitempty"` - IsArray bool `protobuf:"varint,5,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"` - ArrayDimension int32 `protobuf:"varint,6,opt,name=array_dimension,json=arrayDimension,proto3" json:"array_dimension,omitempty"` - ArrayDimensionPresent bool `protobuf:"varint,7,opt,name=array_dimension_present,json=arrayDimensionPresent,proto3" json:"array_dimension_present,omitempty"` - MxAttributeCategory int32 `protobuf:"varint,8,opt,name=mx_attribute_category,json=mxAttributeCategory,proto3" json:"mx_attribute_category,omitempty"` - SecurityClassification int32 `protobuf:"varint,9,opt,name=security_classification,json=securityClassification,proto3" json:"security_classification,omitempty"` - IsHistorized bool `protobuf:"varint,10,opt,name=is_historized,json=isHistorized,proto3" json:"is_historized,omitempty"` - IsAlarm bool `protobuf:"varint,11,opt,name=is_alarm,json=isAlarm,proto3" json:"is_alarm,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"` + FullTagReference string `protobuf:"bytes,2,opt,name=full_tag_reference,json=fullTagReference,proto3" json:"full_tag_reference,omitempty"` + // Raw Galaxy SQL `dbo.data_type` identifier, passed through unchanged. + // This is NOT a member of `mxaccess_gateway.v1.MxDataType` — Galaxy's + // type enumeration is distinct from MXAccess's wire data-type enum and + // the two must not be cast or compared. The GalaxyRepository service is + // metadata-only and deliberately does not share types with + // mxaccess_gateway.proto. See docs/GalaxyRepository.md. + MxDataType int32 `protobuf:"varint,3,opt,name=mx_data_type,json=mxDataType,proto3" json:"mx_data_type,omitempty"` + // Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float", + // "Integer", "Boolean"). Free-form Galaxy text; not a stable enum. + DataTypeName string `protobuf:"bytes,4,opt,name=data_type_name,json=dataTypeName,proto3" json:"data_type_name,omitempty"` + IsArray bool `protobuf:"varint,5,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"` + ArrayDimension int32 `protobuf:"varint,6,opt,name=array_dimension,json=arrayDimension,proto3" json:"array_dimension,omitempty"` + ArrayDimensionPresent bool `protobuf:"varint,7,opt,name=array_dimension_present,json=arrayDimensionPresent,proto3" json:"array_dimension_present,omitempty"` + // Raw Galaxy SQL attribute-category identifier, passed through unchanged. + // Galaxy-specific; not mapped to any gateway enum. See + // docs/GalaxyRepository.md. + MxAttributeCategory int32 `protobuf:"varint,8,opt,name=mx_attribute_category,json=mxAttributeCategory,proto3" json:"mx_attribute_category,omitempty"` + // Raw Galaxy SQL security-classification identifier, passed through + // unchanged. Galaxy-specific; not mapped to any gateway enum. See + // docs/GalaxyRepository.md. + SecurityClassification int32 `protobuf:"varint,9,opt,name=security_classification,json=securityClassification,proto3" json:"security_classification,omitempty"` + IsHistorized bool `protobuf:"varint,10,opt,name=is_historized,json=isHistorized,proto3" json:"is_historized,omitempty"` + IsAlarm bool `protobuf:"varint,11,opt,name=is_alarm,json=isAlarm,proto3" json:"is_alarm,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -888,7 +902,7 @@ const file_galaxy_repository_proto_rawDesc = "" + "\x0eTestConnection\x12+.galaxy_repository.v1.TestConnectionRequest\x1a).galaxy_repository.v1.TestConnectionReply\x12q\n" + "\x11GetLastDeployTime\x12..galaxy_repository.v1.GetLastDeployTimeRequest\x1a,.galaxy_repository.v1.GetLastDeployTimeReply\x12q\n" + "\x11DiscoverHierarchy\x12..galaxy_repository.v1.DiscoverHierarchyRequest\x1a,.galaxy_repository.v1.DiscoverHierarchyReply\x12h\n" + - "\x11WatchDeployEvents\x12..galaxy_repository.v1.WatchDeployEventsRequest\x1a!.galaxy_repository.v1.DeployEvent0\x01B#\xaa\x02 MxGateway.Contracts.Proto.Galaxyb\x06proto3" + "\x11WatchDeployEvents\x12..galaxy_repository.v1.WatchDeployEventsRequest\x1a!.galaxy_repository.v1.DeployEvent0\x01B-\xaa\x02*ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxyb\x06proto3" var ( file_galaxy_repository_proto_rawDescOnce sync.Once diff --git a/clients/go/internal/generated/mxaccess_gateway.pb.go b/clients/go/internal/generated/mxaccess_gateway.pb.go index fca5085..d3a05f7 100644 --- a/clients/go/internal/generated/mxaccess_gateway.pb.go +++ b/clients/go/internal/generated/mxaccess_gateway.pb.go @@ -51,6 +51,16 @@ const ( MxCommandKind_MX_COMMAND_KIND_UN_ADVISE_ITEM_BULK MxCommandKind = 22 MxCommandKind_MX_COMMAND_KIND_SUBSCRIBE_BULK MxCommandKind = 23 MxCommandKind_MX_COMMAND_KIND_UNSUBSCRIBE_BULK MxCommandKind = 24 + MxCommandKind_MX_COMMAND_KIND_SUBSCRIBE_ALARMS MxCommandKind = 25 + MxCommandKind_MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS MxCommandKind = 26 + MxCommandKind_MX_COMMAND_KIND_ACKNOWLEDGE_ALARM MxCommandKind = 27 + MxCommandKind_MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS MxCommandKind = 28 + MxCommandKind_MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME MxCommandKind = 29 + MxCommandKind_MX_COMMAND_KIND_WRITE_BULK MxCommandKind = 30 + MxCommandKind_MX_COMMAND_KIND_WRITE2_BULK MxCommandKind = 31 + MxCommandKind_MX_COMMAND_KIND_WRITE_SECURED_BULK MxCommandKind = 32 + MxCommandKind_MX_COMMAND_KIND_WRITE_SECURED2_BULK MxCommandKind = 33 + MxCommandKind_MX_COMMAND_KIND_READ_BULK MxCommandKind = 34 MxCommandKind_MX_COMMAND_KIND_PING MxCommandKind = 100 MxCommandKind_MX_COMMAND_KIND_GET_SESSION_STATE MxCommandKind = 101 MxCommandKind_MX_COMMAND_KIND_GET_WORKER_INFO MxCommandKind = 102 @@ -86,6 +96,16 @@ var ( 22: "MX_COMMAND_KIND_UN_ADVISE_ITEM_BULK", 23: "MX_COMMAND_KIND_SUBSCRIBE_BULK", 24: "MX_COMMAND_KIND_UNSUBSCRIBE_BULK", + 25: "MX_COMMAND_KIND_SUBSCRIBE_ALARMS", + 26: "MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS", + 27: "MX_COMMAND_KIND_ACKNOWLEDGE_ALARM", + 28: "MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS", + 29: "MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME", + 30: "MX_COMMAND_KIND_WRITE_BULK", + 31: "MX_COMMAND_KIND_WRITE2_BULK", + 32: "MX_COMMAND_KIND_WRITE_SECURED_BULK", + 33: "MX_COMMAND_KIND_WRITE_SECURED2_BULK", + 34: "MX_COMMAND_KIND_READ_BULK", 100: "MX_COMMAND_KIND_PING", 101: "MX_COMMAND_KIND_GET_SESSION_STATE", 102: "MX_COMMAND_KIND_GET_WORKER_INFO", @@ -118,6 +138,16 @@ var ( "MX_COMMAND_KIND_UN_ADVISE_ITEM_BULK": 22, "MX_COMMAND_KIND_SUBSCRIBE_BULK": 23, "MX_COMMAND_KIND_UNSUBSCRIBE_BULK": 24, + "MX_COMMAND_KIND_SUBSCRIBE_ALARMS": 25, + "MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS": 26, + "MX_COMMAND_KIND_ACKNOWLEDGE_ALARM": 27, + "MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS": 28, + "MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME": 29, + "MX_COMMAND_KIND_WRITE_BULK": 30, + "MX_COMMAND_KIND_WRITE2_BULK": 31, + "MX_COMMAND_KIND_WRITE_SECURED_BULK": 32, + "MX_COMMAND_KIND_WRITE_SECURED2_BULK": 33, + "MX_COMMAND_KIND_READ_BULK": 34, "MX_COMMAND_KIND_PING": 100, "MX_COMMAND_KIND_GET_SESSION_STATE": 101, "MX_COMMAND_KIND_GET_WORKER_INFO": 102, @@ -695,6 +725,71 @@ func (SessionState) EnumDescriptor() ([]byte, []int) { return file_mxaccess_gateway_proto_rawDescGZIP(), []int{8} } +// Public request shape for QueryActiveAlarms. session_id is currently unused +// (the snapshot is session-less) but reserved so a future per-session view +// can be added without a wire break. +type QueryActiveAlarmsRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` + ClientCorrelationId string `protobuf:"bytes,2,opt,name=client_correlation_id,json=clientCorrelationId,proto3" json:"client_correlation_id,omitempty"` + // Optional filter: when non-empty, only snapshots whose alarm_full_reference + // starts with this string are returned. + AlarmFilterPrefix string `protobuf:"bytes,3,opt,name=alarm_filter_prefix,json=alarmFilterPrefix,proto3" json:"alarm_filter_prefix,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *QueryActiveAlarmsRequest) Reset() { + *x = QueryActiveAlarmsRequest{} + mi := &file_mxaccess_gateway_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryActiveAlarmsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryActiveAlarmsRequest) ProtoMessage() {} + +func (x *QueryActiveAlarmsRequest) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryActiveAlarmsRequest.ProtoReflect.Descriptor instead. +func (*QueryActiveAlarmsRequest) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{0} +} + +func (x *QueryActiveAlarmsRequest) GetSessionId() string { + if x != nil { + return x.SessionId + } + return "" +} + +func (x *QueryActiveAlarmsRequest) GetClientCorrelationId() string { + if x != nil { + return x.ClientCorrelationId + } + return "" +} + +func (x *QueryActiveAlarmsRequest) GetAlarmFilterPrefix() string { + if x != nil { + return x.AlarmFilterPrefix + } + return "" +} + type OpenSessionRequest struct { state protoimpl.MessageState `protogen:"open.v1"` RequestedBackend string `protobuf:"bytes,1,opt,name=requested_backend,json=requestedBackend,proto3" json:"requested_backend,omitempty"` @@ -707,7 +802,7 @@ type OpenSessionRequest struct { func (x *OpenSessionRequest) Reset() { *x = OpenSessionRequest{} - mi := &file_mxaccess_gateway_proto_msgTypes[0] + mi := &file_mxaccess_gateway_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -719,7 +814,7 @@ func (x *OpenSessionRequest) String() string { func (*OpenSessionRequest) ProtoMessage() {} func (x *OpenSessionRequest) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[0] + mi := &file_mxaccess_gateway_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -732,7 +827,7 @@ func (x *OpenSessionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenSessionRequest.ProtoReflect.Descriptor instead. func (*OpenSessionRequest) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{0} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{1} } func (x *OpenSessionRequest) GetRequestedBackend() string { @@ -782,7 +877,7 @@ type OpenSessionReply struct { func (x *OpenSessionReply) Reset() { *x = OpenSessionReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[1] + mi := &file_mxaccess_gateway_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -794,7 +889,7 @@ func (x *OpenSessionReply) String() string { func (*OpenSessionReply) ProtoMessage() {} func (x *OpenSessionReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[1] + mi := &file_mxaccess_gateway_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -807,7 +902,7 @@ func (x *OpenSessionReply) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenSessionReply.ProtoReflect.Descriptor instead. func (*OpenSessionReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{1} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{2} } func (x *OpenSessionReply) GetSessionId() string { @@ -876,7 +971,7 @@ type CloseSessionRequest struct { func (x *CloseSessionRequest) Reset() { *x = CloseSessionRequest{} - mi := &file_mxaccess_gateway_proto_msgTypes[2] + mi := &file_mxaccess_gateway_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -888,7 +983,7 @@ func (x *CloseSessionRequest) String() string { func (*CloseSessionRequest) ProtoMessage() {} func (x *CloseSessionRequest) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[2] + mi := &file_mxaccess_gateway_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -901,7 +996,7 @@ func (x *CloseSessionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CloseSessionRequest.ProtoReflect.Descriptor instead. func (*CloseSessionRequest) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{2} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{3} } func (x *CloseSessionRequest) GetSessionId() string { @@ -929,7 +1024,7 @@ type CloseSessionReply struct { func (x *CloseSessionReply) Reset() { *x = CloseSessionReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[3] + mi := &file_mxaccess_gateway_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -941,7 +1036,7 @@ func (x *CloseSessionReply) String() string { func (*CloseSessionReply) ProtoMessage() {} func (x *CloseSessionReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[3] + mi := &file_mxaccess_gateway_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -954,7 +1049,7 @@ func (x *CloseSessionReply) ProtoReflect() protoreflect.Message { // Deprecated: Use CloseSessionReply.ProtoReflect.Descriptor instead. func (*CloseSessionReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{3} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{4} } func (x *CloseSessionReply) GetSessionId() string { @@ -988,7 +1083,7 @@ type StreamEventsRequest struct { func (x *StreamEventsRequest) Reset() { *x = StreamEventsRequest{} - mi := &file_mxaccess_gateway_proto_msgTypes[4] + mi := &file_mxaccess_gateway_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1000,7 +1095,7 @@ func (x *StreamEventsRequest) String() string { func (*StreamEventsRequest) ProtoMessage() {} func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[4] + mi := &file_mxaccess_gateway_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1013,7 +1108,7 @@ func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead. func (*StreamEventsRequest) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{4} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{5} } func (x *StreamEventsRequest) GetSessionId() string { @@ -1041,7 +1136,7 @@ type MxCommandRequest struct { func (x *MxCommandRequest) Reset() { *x = MxCommandRequest{} - mi := &file_mxaccess_gateway_proto_msgTypes[5] + mi := &file_mxaccess_gateway_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1053,7 +1148,7 @@ func (x *MxCommandRequest) String() string { func (*MxCommandRequest) ProtoMessage() {} func (x *MxCommandRequest) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[5] + mi := &file_mxaccess_gateway_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1066,7 +1161,7 @@ func (x *MxCommandRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MxCommandRequest.ProtoReflect.Descriptor instead. func (*MxCommandRequest) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{5} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{6} } func (x *MxCommandRequest) GetSessionId() string { @@ -1119,6 +1214,16 @@ type MxCommand struct { // *MxCommand_UnAdviseItemBulk // *MxCommand_SubscribeBulk // *MxCommand_UnsubscribeBulk + // *MxCommand_SubscribeAlarms + // *MxCommand_UnsubscribeAlarms + // *MxCommand_AcknowledgeAlarmCommand + // *MxCommand_QueryActiveAlarmsCommand + // *MxCommand_AcknowledgeAlarmByNameCommand + // *MxCommand_WriteBulk + // *MxCommand_Write2Bulk + // *MxCommand_WriteSecuredBulk + // *MxCommand_WriteSecured2Bulk + // *MxCommand_ReadBulk // *MxCommand_Ping // *MxCommand_GetSessionState // *MxCommand_GetWorkerInfo @@ -1131,7 +1236,7 @@ type MxCommand struct { func (x *MxCommand) Reset() { *x = MxCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[6] + mi := &file_mxaccess_gateway_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1143,7 +1248,7 @@ func (x *MxCommand) String() string { func (*MxCommand) ProtoMessage() {} func (x *MxCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[6] + mi := &file_mxaccess_gateway_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1156,7 +1261,7 @@ func (x *MxCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use MxCommand.ProtoReflect.Descriptor instead. func (*MxCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{6} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{7} } func (x *MxCommand) GetKind() MxCommandKind { @@ -1389,6 +1494,96 @@ func (x *MxCommand) GetUnsubscribeBulk() *UnsubscribeBulkCommand { return nil } +func (x *MxCommand) GetSubscribeAlarms() *SubscribeAlarmsCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_SubscribeAlarms); ok { + return x.SubscribeAlarms + } + } + return nil +} + +func (x *MxCommand) GetUnsubscribeAlarms() *UnsubscribeAlarmsCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_UnsubscribeAlarms); ok { + return x.UnsubscribeAlarms + } + } + return nil +} + +func (x *MxCommand) GetAcknowledgeAlarmCommand() *AcknowledgeAlarmCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_AcknowledgeAlarmCommand); ok { + return x.AcknowledgeAlarmCommand + } + } + return nil +} + +func (x *MxCommand) GetQueryActiveAlarmsCommand() *QueryActiveAlarmsCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_QueryActiveAlarmsCommand); ok { + return x.QueryActiveAlarmsCommand + } + } + return nil +} + +func (x *MxCommand) GetAcknowledgeAlarmByNameCommand() *AcknowledgeAlarmByNameCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_AcknowledgeAlarmByNameCommand); ok { + return x.AcknowledgeAlarmByNameCommand + } + } + return nil +} + +func (x *MxCommand) GetWriteBulk() *WriteBulkCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_WriteBulk); ok { + return x.WriteBulk + } + } + return nil +} + +func (x *MxCommand) GetWrite2Bulk() *Write2BulkCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_Write2Bulk); ok { + return x.Write2Bulk + } + } + return nil +} + +func (x *MxCommand) GetWriteSecuredBulk() *WriteSecuredBulkCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_WriteSecuredBulk); ok { + return x.WriteSecuredBulk + } + } + return nil +} + +func (x *MxCommand) GetWriteSecured2Bulk() *WriteSecured2BulkCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_WriteSecured2Bulk); ok { + return x.WriteSecured2Bulk + } + } + return nil +} + +func (x *MxCommand) GetReadBulk() *ReadBulkCommand { + if x != nil { + if x, ok := x.Payload.(*MxCommand_ReadBulk); ok { + return x.ReadBulk + } + } + return nil +} + func (x *MxCommand) GetPing() *PingCommand { if x != nil { if x, ok := x.Payload.(*MxCommand_Ping); ok { @@ -1534,6 +1729,46 @@ type MxCommand_UnsubscribeBulk struct { UnsubscribeBulk *UnsubscribeBulkCommand `protobuf:"bytes,33,opt,name=unsubscribe_bulk,json=unsubscribeBulk,proto3,oneof"` } +type MxCommand_SubscribeAlarms struct { + SubscribeAlarms *SubscribeAlarmsCommand `protobuf:"bytes,34,opt,name=subscribe_alarms,json=subscribeAlarms,proto3,oneof"` +} + +type MxCommand_UnsubscribeAlarms struct { + UnsubscribeAlarms *UnsubscribeAlarmsCommand `protobuf:"bytes,35,opt,name=unsubscribe_alarms,json=unsubscribeAlarms,proto3,oneof"` +} + +type MxCommand_AcknowledgeAlarmCommand struct { + AcknowledgeAlarmCommand *AcknowledgeAlarmCommand `protobuf:"bytes,36,opt,name=acknowledge_alarm_command,json=acknowledgeAlarmCommand,proto3,oneof"` +} + +type MxCommand_QueryActiveAlarmsCommand struct { + QueryActiveAlarmsCommand *QueryActiveAlarmsCommand `protobuf:"bytes,37,opt,name=query_active_alarms_command,json=queryActiveAlarmsCommand,proto3,oneof"` +} + +type MxCommand_AcknowledgeAlarmByNameCommand struct { + AcknowledgeAlarmByNameCommand *AcknowledgeAlarmByNameCommand `protobuf:"bytes,38,opt,name=acknowledge_alarm_by_name_command,json=acknowledgeAlarmByNameCommand,proto3,oneof"` +} + +type MxCommand_WriteBulk struct { + WriteBulk *WriteBulkCommand `protobuf:"bytes,39,opt,name=write_bulk,json=writeBulk,proto3,oneof"` +} + +type MxCommand_Write2Bulk struct { + Write2Bulk *Write2BulkCommand `protobuf:"bytes,40,opt,name=write2_bulk,json=write2Bulk,proto3,oneof"` +} + +type MxCommand_WriteSecuredBulk struct { + WriteSecuredBulk *WriteSecuredBulkCommand `protobuf:"bytes,41,opt,name=write_secured_bulk,json=writeSecuredBulk,proto3,oneof"` +} + +type MxCommand_WriteSecured2Bulk struct { + WriteSecured2Bulk *WriteSecured2BulkCommand `protobuf:"bytes,42,opt,name=write_secured2_bulk,json=writeSecured2Bulk,proto3,oneof"` +} + +type MxCommand_ReadBulk struct { + ReadBulk *ReadBulkCommand `protobuf:"bytes,43,opt,name=read_bulk,json=readBulk,proto3,oneof"` +} + type MxCommand_Ping struct { Ping *PingCommand `protobuf:"bytes,100,opt,name=ping,proto3,oneof"` } @@ -1602,6 +1837,26 @@ func (*MxCommand_SubscribeBulk) isMxCommand_Payload() {} func (*MxCommand_UnsubscribeBulk) isMxCommand_Payload() {} +func (*MxCommand_SubscribeAlarms) isMxCommand_Payload() {} + +func (*MxCommand_UnsubscribeAlarms) isMxCommand_Payload() {} + +func (*MxCommand_AcknowledgeAlarmCommand) isMxCommand_Payload() {} + +func (*MxCommand_QueryActiveAlarmsCommand) isMxCommand_Payload() {} + +func (*MxCommand_AcknowledgeAlarmByNameCommand) isMxCommand_Payload() {} + +func (*MxCommand_WriteBulk) isMxCommand_Payload() {} + +func (*MxCommand_Write2Bulk) isMxCommand_Payload() {} + +func (*MxCommand_WriteSecuredBulk) isMxCommand_Payload() {} + +func (*MxCommand_WriteSecured2Bulk) isMxCommand_Payload() {} + +func (*MxCommand_ReadBulk) isMxCommand_Payload() {} + func (*MxCommand_Ping) isMxCommand_Payload() {} func (*MxCommand_GetSessionState) isMxCommand_Payload() {} @@ -1621,7 +1876,7 @@ type RegisterCommand struct { func (x *RegisterCommand) Reset() { *x = RegisterCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[7] + mi := &file_mxaccess_gateway_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1633,7 +1888,7 @@ func (x *RegisterCommand) String() string { func (*RegisterCommand) ProtoMessage() {} func (x *RegisterCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[7] + mi := &file_mxaccess_gateway_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1646,7 +1901,7 @@ func (x *RegisterCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use RegisterCommand.ProtoReflect.Descriptor instead. func (*RegisterCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{7} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{8} } func (x *RegisterCommand) GetClientName() string { @@ -1665,7 +1920,7 @@ type UnregisterCommand struct { func (x *UnregisterCommand) Reset() { *x = UnregisterCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[8] + mi := &file_mxaccess_gateway_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1677,7 +1932,7 @@ func (x *UnregisterCommand) String() string { func (*UnregisterCommand) ProtoMessage() {} func (x *UnregisterCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[8] + mi := &file_mxaccess_gateway_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1690,7 +1945,7 @@ func (x *UnregisterCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use UnregisterCommand.ProtoReflect.Descriptor instead. func (*UnregisterCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{8} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{9} } func (x *UnregisterCommand) GetServerHandle() int32 { @@ -1710,7 +1965,7 @@ type AddItemCommand struct { func (x *AddItemCommand) Reset() { *x = AddItemCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[9] + mi := &file_mxaccess_gateway_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1722,7 +1977,7 @@ func (x *AddItemCommand) String() string { func (*AddItemCommand) ProtoMessage() {} func (x *AddItemCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[9] + mi := &file_mxaccess_gateway_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1735,7 +1990,7 @@ func (x *AddItemCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use AddItemCommand.ProtoReflect.Descriptor instead. func (*AddItemCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{9} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{10} } func (x *AddItemCommand) GetServerHandle() int32 { @@ -1763,7 +2018,7 @@ type AddItem2Command struct { func (x *AddItem2Command) Reset() { *x = AddItem2Command{} - mi := &file_mxaccess_gateway_proto_msgTypes[10] + mi := &file_mxaccess_gateway_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1775,7 +2030,7 @@ func (x *AddItem2Command) String() string { func (*AddItem2Command) ProtoMessage() {} func (x *AddItem2Command) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[10] + mi := &file_mxaccess_gateway_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1788,7 +2043,7 @@ func (x *AddItem2Command) ProtoReflect() protoreflect.Message { // Deprecated: Use AddItem2Command.ProtoReflect.Descriptor instead. func (*AddItem2Command) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{10} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{11} } func (x *AddItem2Command) GetServerHandle() int32 { @@ -1822,7 +2077,7 @@ type RemoveItemCommand struct { func (x *RemoveItemCommand) Reset() { *x = RemoveItemCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[11] + mi := &file_mxaccess_gateway_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1834,7 +2089,7 @@ func (x *RemoveItemCommand) String() string { func (*RemoveItemCommand) ProtoMessage() {} func (x *RemoveItemCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[11] + mi := &file_mxaccess_gateway_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1847,7 +2102,7 @@ func (x *RemoveItemCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveItemCommand.ProtoReflect.Descriptor instead. func (*RemoveItemCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{11} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{12} } func (x *RemoveItemCommand) GetServerHandle() int32 { @@ -1874,7 +2129,7 @@ type AdviseCommand struct { func (x *AdviseCommand) Reset() { *x = AdviseCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[12] + mi := &file_mxaccess_gateway_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1886,7 +2141,7 @@ func (x *AdviseCommand) String() string { func (*AdviseCommand) ProtoMessage() {} func (x *AdviseCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[12] + mi := &file_mxaccess_gateway_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1899,7 +2154,7 @@ func (x *AdviseCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use AdviseCommand.ProtoReflect.Descriptor instead. func (*AdviseCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{12} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{13} } func (x *AdviseCommand) GetServerHandle() int32 { @@ -1926,7 +2181,7 @@ type UnAdviseCommand struct { func (x *UnAdviseCommand) Reset() { *x = UnAdviseCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[13] + mi := &file_mxaccess_gateway_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1938,7 +2193,7 @@ func (x *UnAdviseCommand) String() string { func (*UnAdviseCommand) ProtoMessage() {} func (x *UnAdviseCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[13] + mi := &file_mxaccess_gateway_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1951,7 +2206,7 @@ func (x *UnAdviseCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use UnAdviseCommand.ProtoReflect.Descriptor instead. func (*UnAdviseCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{13} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{14} } func (x *UnAdviseCommand) GetServerHandle() int32 { @@ -1978,7 +2233,7 @@ type AdviseSupervisoryCommand struct { func (x *AdviseSupervisoryCommand) Reset() { *x = AdviseSupervisoryCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[14] + mi := &file_mxaccess_gateway_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1990,7 +2245,7 @@ func (x *AdviseSupervisoryCommand) String() string { func (*AdviseSupervisoryCommand) ProtoMessage() {} func (x *AdviseSupervisoryCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[14] + mi := &file_mxaccess_gateway_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2003,7 +2258,7 @@ func (x *AdviseSupervisoryCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use AdviseSupervisoryCommand.ProtoReflect.Descriptor instead. func (*AdviseSupervisoryCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{14} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{15} } func (x *AdviseSupervisoryCommand) GetServerHandle() int32 { @@ -2031,7 +2286,7 @@ type AddBufferedItemCommand struct { func (x *AddBufferedItemCommand) Reset() { *x = AddBufferedItemCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[15] + mi := &file_mxaccess_gateway_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2043,7 +2298,7 @@ func (x *AddBufferedItemCommand) String() string { func (*AddBufferedItemCommand) ProtoMessage() {} func (x *AddBufferedItemCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[15] + mi := &file_mxaccess_gateway_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2056,7 +2311,7 @@ func (x *AddBufferedItemCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use AddBufferedItemCommand.ProtoReflect.Descriptor instead. func (*AddBufferedItemCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{15} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{16} } func (x *AddBufferedItemCommand) GetServerHandle() int32 { @@ -2090,7 +2345,7 @@ type SetBufferedUpdateIntervalCommand struct { func (x *SetBufferedUpdateIntervalCommand) Reset() { *x = SetBufferedUpdateIntervalCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[16] + mi := &file_mxaccess_gateway_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2102,7 +2357,7 @@ func (x *SetBufferedUpdateIntervalCommand) String() string { func (*SetBufferedUpdateIntervalCommand) ProtoMessage() {} func (x *SetBufferedUpdateIntervalCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[16] + mi := &file_mxaccess_gateway_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2115,7 +2370,7 @@ func (x *SetBufferedUpdateIntervalCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use SetBufferedUpdateIntervalCommand.ProtoReflect.Descriptor instead. func (*SetBufferedUpdateIntervalCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{16} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{17} } func (x *SetBufferedUpdateIntervalCommand) GetServerHandle() int32 { @@ -2142,7 +2397,7 @@ type SuspendCommand struct { func (x *SuspendCommand) Reset() { *x = SuspendCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[17] + mi := &file_mxaccess_gateway_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2154,7 +2409,7 @@ func (x *SuspendCommand) String() string { func (*SuspendCommand) ProtoMessage() {} func (x *SuspendCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[17] + mi := &file_mxaccess_gateway_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2167,7 +2422,7 @@ func (x *SuspendCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use SuspendCommand.ProtoReflect.Descriptor instead. func (*SuspendCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{17} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{18} } func (x *SuspendCommand) GetServerHandle() int32 { @@ -2194,7 +2449,7 @@ type ActivateCommand struct { func (x *ActivateCommand) Reset() { *x = ActivateCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[18] + mi := &file_mxaccess_gateway_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2206,7 +2461,7 @@ func (x *ActivateCommand) String() string { func (*ActivateCommand) ProtoMessage() {} func (x *ActivateCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[18] + mi := &file_mxaccess_gateway_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2219,7 +2474,7 @@ func (x *ActivateCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use ActivateCommand.ProtoReflect.Descriptor instead. func (*ActivateCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{18} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{19} } func (x *ActivateCommand) GetServerHandle() int32 { @@ -2248,7 +2503,7 @@ type WriteCommand struct { func (x *WriteCommand) Reset() { *x = WriteCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[19] + mi := &file_mxaccess_gateway_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2260,7 +2515,7 @@ func (x *WriteCommand) String() string { func (*WriteCommand) ProtoMessage() {} func (x *WriteCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[19] + mi := &file_mxaccess_gateway_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2273,7 +2528,7 @@ func (x *WriteCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteCommand.ProtoReflect.Descriptor instead. func (*WriteCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{19} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{20} } func (x *WriteCommand) GetServerHandle() int32 { @@ -2317,7 +2572,7 @@ type Write2Command struct { func (x *Write2Command) Reset() { *x = Write2Command{} - mi := &file_mxaccess_gateway_proto_msgTypes[20] + mi := &file_mxaccess_gateway_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2329,7 +2584,7 @@ func (x *Write2Command) String() string { func (*Write2Command) ProtoMessage() {} func (x *Write2Command) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[20] + mi := &file_mxaccess_gateway_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2342,7 +2597,7 @@ func (x *Write2Command) ProtoReflect() protoreflect.Message { // Deprecated: Use Write2Command.ProtoReflect.Descriptor instead. func (*Write2Command) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{20} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{21} } func (x *Write2Command) GetServerHandle() int32 { @@ -2395,7 +2650,7 @@ type WriteSecuredCommand struct { func (x *WriteSecuredCommand) Reset() { *x = WriteSecuredCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[21] + mi := &file_mxaccess_gateway_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2407,7 +2662,7 @@ func (x *WriteSecuredCommand) String() string { func (*WriteSecuredCommand) ProtoMessage() {} func (x *WriteSecuredCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[21] + mi := &file_mxaccess_gateway_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2420,7 +2675,7 @@ func (x *WriteSecuredCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteSecuredCommand.ProtoReflect.Descriptor instead. func (*WriteSecuredCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{21} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{22} } func (x *WriteSecuredCommand) GetServerHandle() int32 { @@ -2474,7 +2729,7 @@ type WriteSecured2Command struct { func (x *WriteSecured2Command) Reset() { *x = WriteSecured2Command{} - mi := &file_mxaccess_gateway_proto_msgTypes[22] + mi := &file_mxaccess_gateway_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2486,7 +2741,7 @@ func (x *WriteSecured2Command) String() string { func (*WriteSecured2Command) ProtoMessage() {} func (x *WriteSecured2Command) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[22] + mi := &file_mxaccess_gateway_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2499,7 +2754,7 @@ func (x *WriteSecured2Command) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteSecured2Command.ProtoReflect.Descriptor instead. func (*WriteSecured2Command) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{22} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{23} } func (x *WriteSecured2Command) GetServerHandle() int32 { @@ -2557,7 +2812,7 @@ type AuthenticateUserCommand struct { func (x *AuthenticateUserCommand) Reset() { *x = AuthenticateUserCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[23] + mi := &file_mxaccess_gateway_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2569,7 +2824,7 @@ func (x *AuthenticateUserCommand) String() string { func (*AuthenticateUserCommand) ProtoMessage() {} func (x *AuthenticateUserCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[23] + mi := &file_mxaccess_gateway_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2582,7 +2837,7 @@ func (x *AuthenticateUserCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthenticateUserCommand.ProtoReflect.Descriptor instead. func (*AuthenticateUserCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{23} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{24} } func (x *AuthenticateUserCommand) GetServerHandle() int32 { @@ -2616,7 +2871,7 @@ type ArchestrAUserToIdCommand struct { func (x *ArchestrAUserToIdCommand) Reset() { *x = ArchestrAUserToIdCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[24] + mi := &file_mxaccess_gateway_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2628,7 +2883,7 @@ func (x *ArchestrAUserToIdCommand) String() string { func (*ArchestrAUserToIdCommand) ProtoMessage() {} func (x *ArchestrAUserToIdCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[24] + mi := &file_mxaccess_gateway_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2641,7 +2896,7 @@ func (x *ArchestrAUserToIdCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchestrAUserToIdCommand.ProtoReflect.Descriptor instead. func (*ArchestrAUserToIdCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{24} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{25} } func (x *ArchestrAUserToIdCommand) GetServerHandle() int32 { @@ -2668,7 +2923,7 @@ type AddItemBulkCommand struct { func (x *AddItemBulkCommand) Reset() { *x = AddItemBulkCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[25] + mi := &file_mxaccess_gateway_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2680,7 +2935,7 @@ func (x *AddItemBulkCommand) String() string { func (*AddItemBulkCommand) ProtoMessage() {} func (x *AddItemBulkCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[25] + mi := &file_mxaccess_gateway_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2693,7 +2948,7 @@ func (x *AddItemBulkCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use AddItemBulkCommand.ProtoReflect.Descriptor instead. func (*AddItemBulkCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{25} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{26} } func (x *AddItemBulkCommand) GetServerHandle() int32 { @@ -2720,7 +2975,7 @@ type AdviseItemBulkCommand struct { func (x *AdviseItemBulkCommand) Reset() { *x = AdviseItemBulkCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[26] + mi := &file_mxaccess_gateway_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2732,7 +2987,7 @@ func (x *AdviseItemBulkCommand) String() string { func (*AdviseItemBulkCommand) ProtoMessage() {} func (x *AdviseItemBulkCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[26] + mi := &file_mxaccess_gateway_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2745,7 +3000,7 @@ func (x *AdviseItemBulkCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use AdviseItemBulkCommand.ProtoReflect.Descriptor instead. func (*AdviseItemBulkCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{26} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{27} } func (x *AdviseItemBulkCommand) GetServerHandle() int32 { @@ -2772,7 +3027,7 @@ type RemoveItemBulkCommand struct { func (x *RemoveItemBulkCommand) Reset() { *x = RemoveItemBulkCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[27] + mi := &file_mxaccess_gateway_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2784,7 +3039,7 @@ func (x *RemoveItemBulkCommand) String() string { func (*RemoveItemBulkCommand) ProtoMessage() {} func (x *RemoveItemBulkCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[27] + mi := &file_mxaccess_gateway_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2797,7 +3052,7 @@ func (x *RemoveItemBulkCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveItemBulkCommand.ProtoReflect.Descriptor instead. func (*RemoveItemBulkCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{27} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{28} } func (x *RemoveItemBulkCommand) GetServerHandle() int32 { @@ -2824,7 +3079,7 @@ type UnAdviseItemBulkCommand struct { func (x *UnAdviseItemBulkCommand) Reset() { *x = UnAdviseItemBulkCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[28] + mi := &file_mxaccess_gateway_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2836,7 +3091,7 @@ func (x *UnAdviseItemBulkCommand) String() string { func (*UnAdviseItemBulkCommand) ProtoMessage() {} func (x *UnAdviseItemBulkCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[28] + mi := &file_mxaccess_gateway_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2849,7 +3104,7 @@ func (x *UnAdviseItemBulkCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use UnAdviseItemBulkCommand.ProtoReflect.Descriptor instead. func (*UnAdviseItemBulkCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{28} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{29} } func (x *UnAdviseItemBulkCommand) GetServerHandle() int32 { @@ -2876,7 +3131,7 @@ type SubscribeBulkCommand struct { func (x *SubscribeBulkCommand) Reset() { *x = SubscribeBulkCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[29] + mi := &file_mxaccess_gateway_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2888,7 +3143,7 @@ func (x *SubscribeBulkCommand) String() string { func (*SubscribeBulkCommand) ProtoMessage() {} func (x *SubscribeBulkCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[29] + mi := &file_mxaccess_gateway_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2901,7 +3156,7 @@ func (x *SubscribeBulkCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribeBulkCommand.ProtoReflect.Descriptor instead. func (*SubscribeBulkCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{29} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{30} } func (x *SubscribeBulkCommand) GetServerHandle() int32 { @@ -2918,6 +3173,340 @@ func (x *SubscribeBulkCommand) GetTagAddresses() []string { return nil } +// Subscribe the worker's alarm consumer to an AVEVA alarm provider. +// Subscription expression follows the canonical +// `\\\Galaxy!` format (literal "Galaxy" provider). The +// worker spins up a wnwrapConsumer-backed subscription on its STA on +// first call; subsequent calls are an error (use UnsubscribeAlarms then +// SubscribeAlarms to reconfigure). +type SubscribeAlarmsCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + SubscriptionExpression string `protobuf:"bytes,1,opt,name=subscription_expression,json=subscriptionExpression,proto3" json:"subscription_expression,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SubscribeAlarmsCommand) Reset() { + *x = SubscribeAlarmsCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SubscribeAlarmsCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubscribeAlarmsCommand) ProtoMessage() {} + +func (x *SubscribeAlarmsCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SubscribeAlarmsCommand.ProtoReflect.Descriptor instead. +func (*SubscribeAlarmsCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{31} +} + +func (x *SubscribeAlarmsCommand) GetSubscriptionExpression() string { + if x != nil { + return x.SubscriptionExpression + } + return "" +} + +// Tear down the worker's alarm consumer. No-op if no subscription is +// currently active. +type UnsubscribeAlarmsCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UnsubscribeAlarmsCommand) Reset() { + *x = UnsubscribeAlarmsCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UnsubscribeAlarmsCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnsubscribeAlarmsCommand) ProtoMessage() {} + +func (x *UnsubscribeAlarmsCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnsubscribeAlarmsCommand.ProtoReflect.Descriptor instead. +func (*UnsubscribeAlarmsCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{32} +} + +// Acknowledge a single alarm by its GUID. Operator identity fields are +// recorded atomically with the ack transition in the alarm-history log. +// The reply's hresult / native_status surfaces AVEVA's +// AlarmAckByGUID return code. +type AcknowledgeAlarmCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73"). + AlarmGuid string `protobuf:"bytes,1,opt,name=alarm_guid,json=alarmGuid,proto3" json:"alarm_guid,omitempty"` + Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` + OperatorUser string `protobuf:"bytes,3,opt,name=operator_user,json=operatorUser,proto3" json:"operator_user,omitempty"` + OperatorNode string `protobuf:"bytes,4,opt,name=operator_node,json=operatorNode,proto3" json:"operator_node,omitempty"` + OperatorDomain string `protobuf:"bytes,5,opt,name=operator_domain,json=operatorDomain,proto3" json:"operator_domain,omitempty"` + OperatorFullName string `protobuf:"bytes,6,opt,name=operator_full_name,json=operatorFullName,proto3" json:"operator_full_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AcknowledgeAlarmCommand) Reset() { + *x = AcknowledgeAlarmCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AcknowledgeAlarmCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AcknowledgeAlarmCommand) ProtoMessage() {} + +func (x *AcknowledgeAlarmCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AcknowledgeAlarmCommand.ProtoReflect.Descriptor instead. +func (*AcknowledgeAlarmCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{33} +} + +func (x *AcknowledgeAlarmCommand) GetAlarmGuid() string { + if x != nil { + return x.AlarmGuid + } + return "" +} + +func (x *AcknowledgeAlarmCommand) GetComment() string { + if x != nil { + return x.Comment + } + return "" +} + +func (x *AcknowledgeAlarmCommand) GetOperatorUser() string { + if x != nil { + return x.OperatorUser + } + return "" +} + +func (x *AcknowledgeAlarmCommand) GetOperatorNode() string { + if x != nil { + return x.OperatorNode + } + return "" +} + +func (x *AcknowledgeAlarmCommand) GetOperatorDomain() string { + if x != nil { + return x.OperatorDomain + } + return "" +} + +func (x *AcknowledgeAlarmCommand) GetOperatorFullName() string { + if x != nil { + return x.OperatorFullName + } + return "" +} + +// Snapshot the currently-active alarm set. Optional filter prefix scopes +// the snapshot to alarms whose alarm_full_reference starts with the +// supplied string (matches QueryActiveAlarmsRequest.alarm_filter_prefix). +type QueryActiveAlarmsCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + AlarmFilterPrefix string `protobuf:"bytes,1,opt,name=alarm_filter_prefix,json=alarmFilterPrefix,proto3" json:"alarm_filter_prefix,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *QueryActiveAlarmsCommand) Reset() { + *x = QueryActiveAlarmsCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryActiveAlarmsCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryActiveAlarmsCommand) ProtoMessage() {} + +func (x *QueryActiveAlarmsCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryActiveAlarmsCommand.ProtoReflect.Descriptor instead. +func (*QueryActiveAlarmsCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{34} +} + +func (x *QueryActiveAlarmsCommand) GetAlarmFilterPrefix() string { + if x != nil { + return x.AlarmFilterPrefix + } + return "" +} + +// Acknowledge a single alarm by its (name, provider, group) tuple. Used +// when the public RPC's AlarmFullReference (Provider!Group.Tag) cannot +// be resolved to a GUID directly. The worker invokes +// wwAlarmConsumerClass.AlarmAckByName which reaches the same alarm +// history path as AlarmAckByGUID. +type AcknowledgeAlarmByNameCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself + // may contain dots; the gateway-side parser splits on the first dot + // after the '!' separator. + AlarmName string `protobuf:"bytes,1,opt,name=alarm_name,json=alarmName,proto3" json:"alarm_name,omitempty"` + // AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies). + ProviderName string `protobuf:"bytes,2,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"` + // Area/group name (e.g. "TestArea"). + GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` + Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` + OperatorUser string `protobuf:"bytes,5,opt,name=operator_user,json=operatorUser,proto3" json:"operator_user,omitempty"` + OperatorNode string `protobuf:"bytes,6,opt,name=operator_node,json=operatorNode,proto3" json:"operator_node,omitempty"` + OperatorDomain string `protobuf:"bytes,7,opt,name=operator_domain,json=operatorDomain,proto3" json:"operator_domain,omitempty"` + OperatorFullName string `protobuf:"bytes,8,opt,name=operator_full_name,json=operatorFullName,proto3" json:"operator_full_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AcknowledgeAlarmByNameCommand) Reset() { + *x = AcknowledgeAlarmByNameCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AcknowledgeAlarmByNameCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AcknowledgeAlarmByNameCommand) ProtoMessage() {} + +func (x *AcknowledgeAlarmByNameCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AcknowledgeAlarmByNameCommand.ProtoReflect.Descriptor instead. +func (*AcknowledgeAlarmByNameCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{35} +} + +func (x *AcknowledgeAlarmByNameCommand) GetAlarmName() string { + if x != nil { + return x.AlarmName + } + return "" +} + +func (x *AcknowledgeAlarmByNameCommand) GetProviderName() string { + if x != nil { + return x.ProviderName + } + return "" +} + +func (x *AcknowledgeAlarmByNameCommand) GetGroupName() string { + if x != nil { + return x.GroupName + } + return "" +} + +func (x *AcknowledgeAlarmByNameCommand) GetComment() string { + if x != nil { + return x.Comment + } + return "" +} + +func (x *AcknowledgeAlarmByNameCommand) GetOperatorUser() string { + if x != nil { + return x.OperatorUser + } + return "" +} + +func (x *AcknowledgeAlarmByNameCommand) GetOperatorNode() string { + if x != nil { + return x.OperatorNode + } + return "" +} + +func (x *AcknowledgeAlarmByNameCommand) GetOperatorDomain() string { + if x != nil { + return x.OperatorDomain + } + return "" +} + +func (x *AcknowledgeAlarmByNameCommand) GetOperatorFullName() string { + if x != nil { + return x.OperatorFullName + } + return "" +} + type UnsubscribeBulkCommand struct { state protoimpl.MessageState `protogen:"open.v1"` ServerHandle int32 `protobuf:"varint,1,opt,name=server_handle,json=serverHandle,proto3" json:"server_handle,omitempty"` @@ -2928,7 +3517,7 @@ type UnsubscribeBulkCommand struct { func (x *UnsubscribeBulkCommand) Reset() { *x = UnsubscribeBulkCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[30] + mi := &file_mxaccess_gateway_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2940,7 +3529,7 @@ func (x *UnsubscribeBulkCommand) String() string { func (*UnsubscribeBulkCommand) ProtoMessage() {} func (x *UnsubscribeBulkCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[30] + mi := &file_mxaccess_gateway_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2953,7 +3542,7 @@ func (x *UnsubscribeBulkCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsubscribeBulkCommand.ProtoReflect.Descriptor instead. func (*UnsubscribeBulkCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{30} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{36} } func (x *UnsubscribeBulkCommand) GetServerHandle() int32 { @@ -2970,6 +3559,574 @@ func (x *UnsubscribeBulkCommand) GetItemHandles() []int32 { return nil } +// Bulk Write — sequential MXAccess Write per entry, on the worker's STA. +// MXAccess has no native bulk write; each entry round-trips through the same +// single-item Write path the gateway uses today. Per-item failures appear as +// BulkWriteResult entries with `was_successful = false` and never throw. +type WriteBulkCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + ServerHandle int32 `protobuf:"varint,1,opt,name=server_handle,json=serverHandle,proto3" json:"server_handle,omitempty"` + Entries []*WriteBulkEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WriteBulkCommand) Reset() { + *x = WriteBulkCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WriteBulkCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteBulkCommand) ProtoMessage() {} + +func (x *WriteBulkCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteBulkCommand.ProtoReflect.Descriptor instead. +func (*WriteBulkCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{37} +} + +func (x *WriteBulkCommand) GetServerHandle() int32 { + if x != nil { + return x.ServerHandle + } + return 0 +} + +func (x *WriteBulkCommand) GetEntries() []*WriteBulkEntry { + if x != nil { + return x.Entries + } + return nil +} + +type WriteBulkEntry struct { + state protoimpl.MessageState `protogen:"open.v1"` + ItemHandle int32 `protobuf:"varint,1,opt,name=item_handle,json=itemHandle,proto3" json:"item_handle,omitempty"` + Value *MxValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + UserId int32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WriteBulkEntry) Reset() { + *x = WriteBulkEntry{} + mi := &file_mxaccess_gateway_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WriteBulkEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteBulkEntry) ProtoMessage() {} + +func (x *WriteBulkEntry) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteBulkEntry.ProtoReflect.Descriptor instead. +func (*WriteBulkEntry) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{38} +} + +func (x *WriteBulkEntry) GetItemHandle() int32 { + if x != nil { + return x.ItemHandle + } + return 0 +} + +func (x *WriteBulkEntry) GetValue() *MxValue { + if x != nil { + return x.Value + } + return nil +} + +func (x *WriteBulkEntry) GetUserId() int32 { + if x != nil { + return x.UserId + } + return 0 +} + +// Bulk Write2 — sequential MXAccess Write2 (timestamped) per entry. +type Write2BulkCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + ServerHandle int32 `protobuf:"varint,1,opt,name=server_handle,json=serverHandle,proto3" json:"server_handle,omitempty"` + Entries []*Write2BulkEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Write2BulkCommand) Reset() { + *x = Write2BulkCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Write2BulkCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Write2BulkCommand) ProtoMessage() {} + +func (x *Write2BulkCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[39] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Write2BulkCommand.ProtoReflect.Descriptor instead. +func (*Write2BulkCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{39} +} + +func (x *Write2BulkCommand) GetServerHandle() int32 { + if x != nil { + return x.ServerHandle + } + return 0 +} + +func (x *Write2BulkCommand) GetEntries() []*Write2BulkEntry { + if x != nil { + return x.Entries + } + return nil +} + +type Write2BulkEntry struct { + state protoimpl.MessageState `protogen:"open.v1"` + ItemHandle int32 `protobuf:"varint,1,opt,name=item_handle,json=itemHandle,proto3" json:"item_handle,omitempty"` + Value *MxValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + TimestampValue *MxValue `protobuf:"bytes,3,opt,name=timestamp_value,json=timestampValue,proto3" json:"timestamp_value,omitempty"` + UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Write2BulkEntry) Reset() { + *x = Write2BulkEntry{} + mi := &file_mxaccess_gateway_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Write2BulkEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Write2BulkEntry) ProtoMessage() {} + +func (x *Write2BulkEntry) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[40] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Write2BulkEntry.ProtoReflect.Descriptor instead. +func (*Write2BulkEntry) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{40} +} + +func (x *Write2BulkEntry) GetItemHandle() int32 { + if x != nil { + return x.ItemHandle + } + return 0 +} + +func (x *Write2BulkEntry) GetValue() *MxValue { + if x != nil { + return x.Value + } + return nil +} + +func (x *Write2BulkEntry) GetTimestampValue() *MxValue { + if x != nil { + return x.TimestampValue + } + return nil +} + +func (x *Write2BulkEntry) GetUserId() int32 { + if x != nil { + return x.UserId + } + return 0 +} + +// Bulk WriteSecured — sequential MXAccess WriteSecured per entry. +// Credential-sensitive values (`value`) MUST be kept out of logs, metrics +// labels, command lines, and diagnostics — same redaction rules as the +// single-item WriteSecured contract. +type WriteSecuredBulkCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + ServerHandle int32 `protobuf:"varint,1,opt,name=server_handle,json=serverHandle,proto3" json:"server_handle,omitempty"` + Entries []*WriteSecuredBulkEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WriteSecuredBulkCommand) Reset() { + *x = WriteSecuredBulkCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WriteSecuredBulkCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteSecuredBulkCommand) ProtoMessage() {} + +func (x *WriteSecuredBulkCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteSecuredBulkCommand.ProtoReflect.Descriptor instead. +func (*WriteSecuredBulkCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{41} +} + +func (x *WriteSecuredBulkCommand) GetServerHandle() int32 { + if x != nil { + return x.ServerHandle + } + return 0 +} + +func (x *WriteSecuredBulkCommand) GetEntries() []*WriteSecuredBulkEntry { + if x != nil { + return x.Entries + } + return nil +} + +type WriteSecuredBulkEntry struct { + state protoimpl.MessageState `protogen:"open.v1"` + ItemHandle int32 `protobuf:"varint,1,opt,name=item_handle,json=itemHandle,proto3" json:"item_handle,omitempty"` + CurrentUserId int32 `protobuf:"varint,2,opt,name=current_user_id,json=currentUserId,proto3" json:"current_user_id,omitempty"` + VerifierUserId int32 `protobuf:"varint,3,opt,name=verifier_user_id,json=verifierUserId,proto3" json:"verifier_user_id,omitempty"` + // Credential-sensitive write value. Implementations must not log this field + // unless an explicit redacted value-logging path is enabled. + Value *MxValue `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WriteSecuredBulkEntry) Reset() { + *x = WriteSecuredBulkEntry{} + mi := &file_mxaccess_gateway_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WriteSecuredBulkEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteSecuredBulkEntry) ProtoMessage() {} + +func (x *WriteSecuredBulkEntry) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[42] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteSecuredBulkEntry.ProtoReflect.Descriptor instead. +func (*WriteSecuredBulkEntry) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{42} +} + +func (x *WriteSecuredBulkEntry) GetItemHandle() int32 { + if x != nil { + return x.ItemHandle + } + return 0 +} + +func (x *WriteSecuredBulkEntry) GetCurrentUserId() int32 { + if x != nil { + return x.CurrentUserId + } + return 0 +} + +func (x *WriteSecuredBulkEntry) GetVerifierUserId() int32 { + if x != nil { + return x.VerifierUserId + } + return 0 +} + +func (x *WriteSecuredBulkEntry) GetValue() *MxValue { + if x != nil { + return x.Value + } + return nil +} + +// Bulk WriteSecured2 — sequential MXAccess WriteSecured2 (timestamped) per +// entry. Same redaction rules apply. +type WriteSecured2BulkCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + ServerHandle int32 `protobuf:"varint,1,opt,name=server_handle,json=serverHandle,proto3" json:"server_handle,omitempty"` + Entries []*WriteSecured2BulkEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WriteSecured2BulkCommand) Reset() { + *x = WriteSecured2BulkCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WriteSecured2BulkCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteSecured2BulkCommand) ProtoMessage() {} + +func (x *WriteSecured2BulkCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[43] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteSecured2BulkCommand.ProtoReflect.Descriptor instead. +func (*WriteSecured2BulkCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{43} +} + +func (x *WriteSecured2BulkCommand) GetServerHandle() int32 { + if x != nil { + return x.ServerHandle + } + return 0 +} + +func (x *WriteSecured2BulkCommand) GetEntries() []*WriteSecured2BulkEntry { + if x != nil { + return x.Entries + } + return nil +} + +type WriteSecured2BulkEntry struct { + state protoimpl.MessageState `protogen:"open.v1"` + ItemHandle int32 `protobuf:"varint,1,opt,name=item_handle,json=itemHandle,proto3" json:"item_handle,omitempty"` + CurrentUserId int32 `protobuf:"varint,2,opt,name=current_user_id,json=currentUserId,proto3" json:"current_user_id,omitempty"` + VerifierUserId int32 `protobuf:"varint,3,opt,name=verifier_user_id,json=verifierUserId,proto3" json:"verifier_user_id,omitempty"` + // Credential-sensitive write value. Implementations must not log this field + // unless an explicit redacted value-logging path is enabled. + Value *MxValue `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + TimestampValue *MxValue `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3" json:"timestamp_value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WriteSecured2BulkEntry) Reset() { + *x = WriteSecured2BulkEntry{} + mi := &file_mxaccess_gateway_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WriteSecured2BulkEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteSecured2BulkEntry) ProtoMessage() {} + +func (x *WriteSecured2BulkEntry) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[44] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteSecured2BulkEntry.ProtoReflect.Descriptor instead. +func (*WriteSecured2BulkEntry) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{44} +} + +func (x *WriteSecured2BulkEntry) GetItemHandle() int32 { + if x != nil { + return x.ItemHandle + } + return 0 +} + +func (x *WriteSecured2BulkEntry) GetCurrentUserId() int32 { + if x != nil { + return x.CurrentUserId + } + return 0 +} + +func (x *WriteSecured2BulkEntry) GetVerifierUserId() int32 { + if x != nil { + return x.VerifierUserId + } + return 0 +} + +func (x *WriteSecured2BulkEntry) GetValue() *MxValue { + if x != nil { + return x.Value + } + return nil +} + +func (x *WriteSecured2BulkEntry) GetTimestampValue() *MxValue { + if x != nil { + return x.TimestampValue + } + return nil +} + +// Bulk Read — snapshot the current value for each requested tag. MXAccess COM +// has no synchronous Read; the worker implements ReadBulk as: +// +// - If the tag is already in the session's item registry AND that item is +// currently advised AND the worker has a cached OnDataChange for it, the +// reply returns the cached value WITHOUT modifying the existing +// subscription (was_cached = true). +// - Otherwise the worker takes the snapshot lifecycle itself: AddItem + +// Advise, wait up to `timeout_ms` for the first OnDataChange, then +// UnAdvise + RemoveItem before returning. The session is left exactly +// as it was before the call (was_cached = false). +// +// `timeout_ms == 0` uses the gateway-configured default (1000 ms). +type ReadBulkCommand struct { + state protoimpl.MessageState `protogen:"open.v1"` + ServerHandle int32 `protobuf:"varint,1,opt,name=server_handle,json=serverHandle,proto3" json:"server_handle,omitempty"` + TagAddresses []string `protobuf:"bytes,2,rep,name=tag_addresses,json=tagAddresses,proto3" json:"tag_addresses,omitempty"` + TimeoutMs uint32 `protobuf:"varint,3,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ReadBulkCommand) Reset() { + *x = ReadBulkCommand{} + mi := &file_mxaccess_gateway_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ReadBulkCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadBulkCommand) ProtoMessage() {} + +func (x *ReadBulkCommand) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[45] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadBulkCommand.ProtoReflect.Descriptor instead. +func (*ReadBulkCommand) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{45} +} + +func (x *ReadBulkCommand) GetServerHandle() int32 { + if x != nil { + return x.ServerHandle + } + return 0 +} + +func (x *ReadBulkCommand) GetTagAddresses() []string { + if x != nil { + return x.TagAddresses + } + return nil +} + +func (x *ReadBulkCommand) GetTimeoutMs() uint32 { + if x != nil { + return x.TimeoutMs + } + return 0 +} + type PingCommand struct { state protoimpl.MessageState `protogen:"open.v1"` Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` @@ -2979,7 +4136,7 @@ type PingCommand struct { func (x *PingCommand) Reset() { *x = PingCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[31] + mi := &file_mxaccess_gateway_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2991,7 +4148,7 @@ func (x *PingCommand) String() string { func (*PingCommand) ProtoMessage() {} func (x *PingCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[31] + mi := &file_mxaccess_gateway_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3004,7 +4161,7 @@ func (x *PingCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use PingCommand.ProtoReflect.Descriptor instead. func (*PingCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{31} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{46} } func (x *PingCommand) GetMessage() string { @@ -3022,7 +4179,7 @@ type GetSessionStateCommand struct { func (x *GetSessionStateCommand) Reset() { *x = GetSessionStateCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[32] + mi := &file_mxaccess_gateway_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3034,7 +4191,7 @@ func (x *GetSessionStateCommand) String() string { func (*GetSessionStateCommand) ProtoMessage() {} func (x *GetSessionStateCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[32] + mi := &file_mxaccess_gateway_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3047,7 +4204,7 @@ func (x *GetSessionStateCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSessionStateCommand.ProtoReflect.Descriptor instead. func (*GetSessionStateCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{32} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{47} } type GetWorkerInfoCommand struct { @@ -3058,7 +4215,7 @@ type GetWorkerInfoCommand struct { func (x *GetWorkerInfoCommand) Reset() { *x = GetWorkerInfoCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[33] + mi := &file_mxaccess_gateway_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3070,7 +4227,7 @@ func (x *GetWorkerInfoCommand) String() string { func (*GetWorkerInfoCommand) ProtoMessage() {} func (x *GetWorkerInfoCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[33] + mi := &file_mxaccess_gateway_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3083,7 +4240,7 @@ func (x *GetWorkerInfoCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWorkerInfoCommand.ProtoReflect.Descriptor instead. func (*GetWorkerInfoCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{33} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{48} } type DrainEventsCommand struct { @@ -3095,7 +4252,7 @@ type DrainEventsCommand struct { func (x *DrainEventsCommand) Reset() { *x = DrainEventsCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[34] + mi := &file_mxaccess_gateway_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3107,7 +4264,7 @@ func (x *DrainEventsCommand) String() string { func (*DrainEventsCommand) ProtoMessage() {} func (x *DrainEventsCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[34] + mi := &file_mxaccess_gateway_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3120,7 +4277,7 @@ func (x *DrainEventsCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use DrainEventsCommand.ProtoReflect.Descriptor instead. func (*DrainEventsCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{34} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{49} } func (x *DrainEventsCommand) GetMaxEvents() uint32 { @@ -3139,7 +4296,7 @@ type ShutdownWorkerCommand struct { func (x *ShutdownWorkerCommand) Reset() { *x = ShutdownWorkerCommand{} - mi := &file_mxaccess_gateway_proto_msgTypes[35] + mi := &file_mxaccess_gateway_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3151,7 +4308,7 @@ func (x *ShutdownWorkerCommand) String() string { func (*ShutdownWorkerCommand) ProtoMessage() {} func (x *ShutdownWorkerCommand) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[35] + mi := &file_mxaccess_gateway_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3164,7 +4321,7 @@ func (x *ShutdownWorkerCommand) ProtoReflect() protoreflect.Message { // Deprecated: Use ShutdownWorkerCommand.ProtoReflect.Descriptor instead. func (*ShutdownWorkerCommand) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{35} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{50} } func (x *ShutdownWorkerCommand) GetGracePeriod() *durationpb.Duration { @@ -3203,6 +4360,13 @@ type MxCommandReply struct { // *MxCommandReply_UnAdviseItemBulk // *MxCommandReply_SubscribeBulk // *MxCommandReply_UnsubscribeBulk + // *MxCommandReply_AcknowledgeAlarm + // *MxCommandReply_QueryActiveAlarms + // *MxCommandReply_WriteBulk + // *MxCommandReply_Write2Bulk + // *MxCommandReply_WriteSecuredBulk + // *MxCommandReply_WriteSecured2Bulk + // *MxCommandReply_ReadBulk // *MxCommandReply_SessionState // *MxCommandReply_WorkerInfo // *MxCommandReply_DrainEvents @@ -3213,7 +4377,7 @@ type MxCommandReply struct { func (x *MxCommandReply) Reset() { *x = MxCommandReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[36] + mi := &file_mxaccess_gateway_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3225,7 +4389,7 @@ func (x *MxCommandReply) String() string { func (*MxCommandReply) ProtoMessage() {} func (x *MxCommandReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[36] + mi := &file_mxaccess_gateway_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3238,7 +4402,7 @@ func (x *MxCommandReply) ProtoReflect() protoreflect.Message { // Deprecated: Use MxCommandReply.ProtoReflect.Descriptor instead. func (*MxCommandReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{36} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{51} } func (x *MxCommandReply) GetSessionId() string { @@ -3430,6 +4594,69 @@ func (x *MxCommandReply) GetUnsubscribeBulk() *BulkSubscribeReply { return nil } +func (x *MxCommandReply) GetAcknowledgeAlarm() *AcknowledgeAlarmReplyPayload { + if x != nil { + if x, ok := x.Payload.(*MxCommandReply_AcknowledgeAlarm); ok { + return x.AcknowledgeAlarm + } + } + return nil +} + +func (x *MxCommandReply) GetQueryActiveAlarms() *QueryActiveAlarmsReplyPayload { + if x != nil { + if x, ok := x.Payload.(*MxCommandReply_QueryActiveAlarms); ok { + return x.QueryActiveAlarms + } + } + return nil +} + +func (x *MxCommandReply) GetWriteBulk() *BulkWriteReply { + if x != nil { + if x, ok := x.Payload.(*MxCommandReply_WriteBulk); ok { + return x.WriteBulk + } + } + return nil +} + +func (x *MxCommandReply) GetWrite2Bulk() *BulkWriteReply { + if x != nil { + if x, ok := x.Payload.(*MxCommandReply_Write2Bulk); ok { + return x.Write2Bulk + } + } + return nil +} + +func (x *MxCommandReply) GetWriteSecuredBulk() *BulkWriteReply { + if x != nil { + if x, ok := x.Payload.(*MxCommandReply_WriteSecuredBulk); ok { + return x.WriteSecuredBulk + } + } + return nil +} + +func (x *MxCommandReply) GetWriteSecured2Bulk() *BulkWriteReply { + if x != nil { + if x, ok := x.Payload.(*MxCommandReply_WriteSecured2Bulk); ok { + return x.WriteSecured2Bulk + } + } + return nil +} + +func (x *MxCommandReply) GetReadBulk() *BulkReadReply { + if x != nil { + if x, ok := x.Payload.(*MxCommandReply_ReadBulk); ok { + return x.ReadBulk + } + } + return nil +} + func (x *MxCommandReply) GetSessionState() *SessionStateReply { if x != nil { if x, ok := x.Payload.(*MxCommandReply_SessionState); ok { @@ -3517,6 +4744,43 @@ type MxCommandReply_UnsubscribeBulk struct { UnsubscribeBulk *BulkSubscribeReply `protobuf:"bytes,33,opt,name=unsubscribe_bulk,json=unsubscribeBulk,proto3,oneof"` } +type MxCommandReply_AcknowledgeAlarm struct { + // Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID) + // and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally + // no by-name-specific reply case: the by-name ack carries no outcome + // detail beyond the native ack return code, so the worker reuses this + // `acknowledge_alarm` payload for both command kinds (the worker's + // MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm + // too). Consumers must dispatch on MxCommandReply.kind, not on the + // payload case, to tell the two acks apart. The top-level `hresult` + // mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred. + AcknowledgeAlarm *AcknowledgeAlarmReplyPayload `protobuf:"bytes,34,opt,name=acknowledge_alarm,json=acknowledgeAlarm,proto3,oneof"` +} + +type MxCommandReply_QueryActiveAlarms struct { + QueryActiveAlarms *QueryActiveAlarmsReplyPayload `protobuf:"bytes,35,opt,name=query_active_alarms,json=queryActiveAlarms,proto3,oneof"` +} + +type MxCommandReply_WriteBulk struct { + WriteBulk *BulkWriteReply `protobuf:"bytes,36,opt,name=write_bulk,json=writeBulk,proto3,oneof"` +} + +type MxCommandReply_Write2Bulk struct { + Write2Bulk *BulkWriteReply `protobuf:"bytes,37,opt,name=write2_bulk,json=write2Bulk,proto3,oneof"` +} + +type MxCommandReply_WriteSecuredBulk struct { + WriteSecuredBulk *BulkWriteReply `protobuf:"bytes,38,opt,name=write_secured_bulk,json=writeSecuredBulk,proto3,oneof"` +} + +type MxCommandReply_WriteSecured2Bulk struct { + WriteSecured2Bulk *BulkWriteReply `protobuf:"bytes,39,opt,name=write_secured2_bulk,json=writeSecured2Bulk,proto3,oneof"` +} + +type MxCommandReply_ReadBulk struct { + ReadBulk *BulkReadReply `protobuf:"bytes,40,opt,name=read_bulk,json=readBulk,proto3,oneof"` +} + type MxCommandReply_SessionState struct { SessionState *SessionStateReply `protobuf:"bytes,100,opt,name=session_state,json=sessionState,proto3,oneof"` } @@ -3557,6 +4821,20 @@ func (*MxCommandReply_SubscribeBulk) isMxCommandReply_Payload() {} func (*MxCommandReply_UnsubscribeBulk) isMxCommandReply_Payload() {} +func (*MxCommandReply_AcknowledgeAlarm) isMxCommandReply_Payload() {} + +func (*MxCommandReply_QueryActiveAlarms) isMxCommandReply_Payload() {} + +func (*MxCommandReply_WriteBulk) isMxCommandReply_Payload() {} + +func (*MxCommandReply_Write2Bulk) isMxCommandReply_Payload() {} + +func (*MxCommandReply_WriteSecuredBulk) isMxCommandReply_Payload() {} + +func (*MxCommandReply_WriteSecured2Bulk) isMxCommandReply_Payload() {} + +func (*MxCommandReply_ReadBulk) isMxCommandReply_Payload() {} + func (*MxCommandReply_SessionState) isMxCommandReply_Payload() {} func (*MxCommandReply_WorkerInfo) isMxCommandReply_Payload() {} @@ -3572,7 +4850,7 @@ type RegisterReply struct { func (x *RegisterReply) Reset() { *x = RegisterReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[37] + mi := &file_mxaccess_gateway_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3584,7 +4862,7 @@ func (x *RegisterReply) String() string { func (*RegisterReply) ProtoMessage() {} func (x *RegisterReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[37] + mi := &file_mxaccess_gateway_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3597,7 +4875,7 @@ func (x *RegisterReply) ProtoReflect() protoreflect.Message { // Deprecated: Use RegisterReply.ProtoReflect.Descriptor instead. func (*RegisterReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{37} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{52} } func (x *RegisterReply) GetServerHandle() int32 { @@ -3616,7 +4894,7 @@ type AddItemReply struct { func (x *AddItemReply) Reset() { *x = AddItemReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[38] + mi := &file_mxaccess_gateway_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3628,7 +4906,7 @@ func (x *AddItemReply) String() string { func (*AddItemReply) ProtoMessage() {} func (x *AddItemReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[38] + mi := &file_mxaccess_gateway_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3641,7 +4919,7 @@ func (x *AddItemReply) ProtoReflect() protoreflect.Message { // Deprecated: Use AddItemReply.ProtoReflect.Descriptor instead. func (*AddItemReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{38} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{53} } func (x *AddItemReply) GetItemHandle() int32 { @@ -3660,7 +4938,7 @@ type AddItem2Reply struct { func (x *AddItem2Reply) Reset() { *x = AddItem2Reply{} - mi := &file_mxaccess_gateway_proto_msgTypes[39] + mi := &file_mxaccess_gateway_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3672,7 +4950,7 @@ func (x *AddItem2Reply) String() string { func (*AddItem2Reply) ProtoMessage() {} func (x *AddItem2Reply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[39] + mi := &file_mxaccess_gateway_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3685,7 +4963,7 @@ func (x *AddItem2Reply) ProtoReflect() protoreflect.Message { // Deprecated: Use AddItem2Reply.ProtoReflect.Descriptor instead. func (*AddItem2Reply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{39} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{54} } func (x *AddItem2Reply) GetItemHandle() int32 { @@ -3704,7 +4982,7 @@ type AddBufferedItemReply struct { func (x *AddBufferedItemReply) Reset() { *x = AddBufferedItemReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[40] + mi := &file_mxaccess_gateway_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3716,7 +4994,7 @@ func (x *AddBufferedItemReply) String() string { func (*AddBufferedItemReply) ProtoMessage() {} func (x *AddBufferedItemReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[40] + mi := &file_mxaccess_gateway_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3729,7 +5007,7 @@ func (x *AddBufferedItemReply) ProtoReflect() protoreflect.Message { // Deprecated: Use AddBufferedItemReply.ProtoReflect.Descriptor instead. func (*AddBufferedItemReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{40} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{55} } func (x *AddBufferedItemReply) GetItemHandle() int32 { @@ -3748,7 +5026,7 @@ type SuspendReply struct { func (x *SuspendReply) Reset() { *x = SuspendReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[41] + mi := &file_mxaccess_gateway_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3760,7 +5038,7 @@ func (x *SuspendReply) String() string { func (*SuspendReply) ProtoMessage() {} func (x *SuspendReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[41] + mi := &file_mxaccess_gateway_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3773,7 +5051,7 @@ func (x *SuspendReply) ProtoReflect() protoreflect.Message { // Deprecated: Use SuspendReply.ProtoReflect.Descriptor instead. func (*SuspendReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{41} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{56} } func (x *SuspendReply) GetStatus() *MxStatusProxy { @@ -3792,7 +5070,7 @@ type ActivateReply struct { func (x *ActivateReply) Reset() { *x = ActivateReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[42] + mi := &file_mxaccess_gateway_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3804,7 +5082,7 @@ func (x *ActivateReply) String() string { func (*ActivateReply) ProtoMessage() {} func (x *ActivateReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[42] + mi := &file_mxaccess_gateway_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3817,7 +5095,7 @@ func (x *ActivateReply) ProtoReflect() protoreflect.Message { // Deprecated: Use ActivateReply.ProtoReflect.Descriptor instead. func (*ActivateReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{42} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{57} } func (x *ActivateReply) GetStatus() *MxStatusProxy { @@ -3836,7 +5114,7 @@ type AuthenticateUserReply struct { func (x *AuthenticateUserReply) Reset() { *x = AuthenticateUserReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[43] + mi := &file_mxaccess_gateway_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3848,7 +5126,7 @@ func (x *AuthenticateUserReply) String() string { func (*AuthenticateUserReply) ProtoMessage() {} func (x *AuthenticateUserReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[43] + mi := &file_mxaccess_gateway_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3861,7 +5139,7 @@ func (x *AuthenticateUserReply) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthenticateUserReply.ProtoReflect.Descriptor instead. func (*AuthenticateUserReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{43} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{58} } func (x *AuthenticateUserReply) GetUserId() int32 { @@ -3880,7 +5158,7 @@ type ArchestrAUserToIdReply struct { func (x *ArchestrAUserToIdReply) Reset() { *x = ArchestrAUserToIdReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[44] + mi := &file_mxaccess_gateway_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3892,7 +5170,7 @@ func (x *ArchestrAUserToIdReply) String() string { func (*ArchestrAUserToIdReply) ProtoMessage() {} func (x *ArchestrAUserToIdReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[44] + mi := &file_mxaccess_gateway_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3905,7 +5183,7 @@ func (x *ArchestrAUserToIdReply) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchestrAUserToIdReply.ProtoReflect.Descriptor instead. func (*ArchestrAUserToIdReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{44} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{59} } func (x *ArchestrAUserToIdReply) GetUserId() int32 { @@ -3928,7 +5206,7 @@ type SubscribeResult struct { func (x *SubscribeResult) Reset() { *x = SubscribeResult{} - mi := &file_mxaccess_gateway_proto_msgTypes[45] + mi := &file_mxaccess_gateway_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3940,7 +5218,7 @@ func (x *SubscribeResult) String() string { func (*SubscribeResult) ProtoMessage() {} func (x *SubscribeResult) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[45] + mi := &file_mxaccess_gateway_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3953,7 +5231,7 @@ func (x *SubscribeResult) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribeResult.ProtoReflect.Descriptor instead. func (*SubscribeResult) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{45} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{60} } func (x *SubscribeResult) GetServerHandle() int32 { @@ -4000,7 +5278,7 @@ type BulkSubscribeReply struct { func (x *BulkSubscribeReply) Reset() { *x = BulkSubscribeReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[46] + mi := &file_mxaccess_gateway_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4012,7 +5290,7 @@ func (x *BulkSubscribeReply) String() string { func (*BulkSubscribeReply) ProtoMessage() {} func (x *BulkSubscribeReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[46] + mi := &file_mxaccess_gateway_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4025,7 +5303,7 @@ func (x *BulkSubscribeReply) ProtoReflect() protoreflect.Message { // Deprecated: Use BulkSubscribeReply.ProtoReflect.Descriptor instead. func (*BulkSubscribeReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{46} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{61} } func (x *BulkSubscribeReply) GetResults() []*SubscribeResult { @@ -4035,6 +5313,319 @@ func (x *BulkSubscribeReply) GetResults() []*SubscribeResult { return nil } +// Per-item result for the four bulk write families. `item_handle` mirrors the +// request entry's item_handle so callers can correlate inputs to outputs even +// when the gateway's per-entry `IConstraintEnforcer.CheckWriteHandleAsync` +// filter (see `MxAccessGatewayService.ReplaceWriteBulkEntries` and +// `docs/Authorization.md`) dropped some entries before reaching the worker. +// Per-item failures populate `error_message` + `hresult` and never raise — +// callers iterate and inspect each entry. +type BulkWriteResult struct { + state protoimpl.MessageState `protogen:"open.v1"` + ServerHandle int32 `protobuf:"varint,1,opt,name=server_handle,json=serverHandle,proto3" json:"server_handle,omitempty"` + ItemHandle int32 `protobuf:"varint,2,opt,name=item_handle,json=itemHandle,proto3" json:"item_handle,omitempty"` + WasSuccessful bool `protobuf:"varint,3,opt,name=was_successful,json=wasSuccessful,proto3" json:"was_successful,omitempty"` + Hresult *int32 `protobuf:"varint,4,opt,name=hresult,proto3,oneof" json:"hresult,omitempty"` + Statuses []*MxStatusProxy `protobuf:"bytes,5,rep,name=statuses,proto3" json:"statuses,omitempty"` + ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BulkWriteResult) Reset() { + *x = BulkWriteResult{} + mi := &file_mxaccess_gateway_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BulkWriteResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkWriteResult) ProtoMessage() {} + +func (x *BulkWriteResult) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[62] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BulkWriteResult.ProtoReflect.Descriptor instead. +func (*BulkWriteResult) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{62} +} + +func (x *BulkWriteResult) GetServerHandle() int32 { + if x != nil { + return x.ServerHandle + } + return 0 +} + +func (x *BulkWriteResult) GetItemHandle() int32 { + if x != nil { + return x.ItemHandle + } + return 0 +} + +func (x *BulkWriteResult) GetWasSuccessful() bool { + if x != nil { + return x.WasSuccessful + } + return false +} + +func (x *BulkWriteResult) GetHresult() int32 { + if x != nil && x.Hresult != nil { + return *x.Hresult + } + return 0 +} + +func (x *BulkWriteResult) GetStatuses() []*MxStatusProxy { + if x != nil { + return x.Statuses + } + return nil +} + +func (x *BulkWriteResult) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage + } + return "" +} + +type BulkWriteReply struct { + state protoimpl.MessageState `protogen:"open.v1"` + Results []*BulkWriteResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BulkWriteReply) Reset() { + *x = BulkWriteReply{} + mi := &file_mxaccess_gateway_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BulkWriteReply) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkWriteReply) ProtoMessage() {} + +func (x *BulkWriteReply) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[63] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BulkWriteReply.ProtoReflect.Descriptor instead. +func (*BulkWriteReply) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{63} +} + +func (x *BulkWriteReply) GetResults() []*BulkWriteResult { + if x != nil { + return x.Results + } + return nil +} + +// Per-tag result for ReadBulk. `was_cached` is true when the value came from +// an existing live subscription's last OnDataChange (the worker did not touch +// the subscription); false when the worker took the AddItem + Advise + wait + +// UnAdvise + RemoveItem snapshot lifecycle itself. +// +// On `was_successful = true`, `value`, `quality`, `source_timestamp`, and +// `statuses` carry the read data (from the cached subscription or the snapshot +// lifecycle, depending on `was_cached`) and `error_message` is empty. On +// `was_successful = false`, only `server_handle`, `tag_address`, `item_handle` +// (when allocated), `was_cached`, and `error_message` are populated; `value`, +// `quality`, `source_timestamp`, and `statuses` are left at their proto3 +// defaults (null / 0 / null / empty) and must not be read as data — they are +// wire-indistinguishable from "value is null with quality bad" data and serve +// only as absent markers. ReadBulk has no `hresult` field by design (its +// outcomes are timeout / cache / lifecycle states, not MXAccess COM return +// codes — see `docs/DesignDecisions.md` "Bulk Command Family"). Per-tag +// failures populate `error_message` and never raise — callers iterate and +// inspect each entry. +type BulkReadResult struct { + state protoimpl.MessageState `protogen:"open.v1"` + ServerHandle int32 `protobuf:"varint,1,opt,name=server_handle,json=serverHandle,proto3" json:"server_handle,omitempty"` + TagAddress string `protobuf:"bytes,2,opt,name=tag_address,json=tagAddress,proto3" json:"tag_address,omitempty"` + ItemHandle int32 `protobuf:"varint,3,opt,name=item_handle,json=itemHandle,proto3" json:"item_handle,omitempty"` + WasSuccessful bool `protobuf:"varint,4,opt,name=was_successful,json=wasSuccessful,proto3" json:"was_successful,omitempty"` + WasCached bool `protobuf:"varint,5,opt,name=was_cached,json=wasCached,proto3" json:"was_cached,omitempty"` + Value *MxValue `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` + Quality int32 `protobuf:"varint,7,opt,name=quality,proto3" json:"quality,omitempty"` + SourceTimestamp *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=source_timestamp,json=sourceTimestamp,proto3" json:"source_timestamp,omitempty"` + Statuses []*MxStatusProxy `protobuf:"bytes,9,rep,name=statuses,proto3" json:"statuses,omitempty"` + ErrorMessage string `protobuf:"bytes,10,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BulkReadResult) Reset() { + *x = BulkReadResult{} + mi := &file_mxaccess_gateway_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BulkReadResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkReadResult) ProtoMessage() {} + +func (x *BulkReadResult) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[64] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BulkReadResult.ProtoReflect.Descriptor instead. +func (*BulkReadResult) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{64} +} + +func (x *BulkReadResult) GetServerHandle() int32 { + if x != nil { + return x.ServerHandle + } + return 0 +} + +func (x *BulkReadResult) GetTagAddress() string { + if x != nil { + return x.TagAddress + } + return "" +} + +func (x *BulkReadResult) GetItemHandle() int32 { + if x != nil { + return x.ItemHandle + } + return 0 +} + +func (x *BulkReadResult) GetWasSuccessful() bool { + if x != nil { + return x.WasSuccessful + } + return false +} + +func (x *BulkReadResult) GetWasCached() bool { + if x != nil { + return x.WasCached + } + return false +} + +func (x *BulkReadResult) GetValue() *MxValue { + if x != nil { + return x.Value + } + return nil +} + +func (x *BulkReadResult) GetQuality() int32 { + if x != nil { + return x.Quality + } + return 0 +} + +func (x *BulkReadResult) GetSourceTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.SourceTimestamp + } + return nil +} + +func (x *BulkReadResult) GetStatuses() []*MxStatusProxy { + if x != nil { + return x.Statuses + } + return nil +} + +func (x *BulkReadResult) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage + } + return "" +} + +type BulkReadReply struct { + state protoimpl.MessageState `protogen:"open.v1"` + Results []*BulkReadResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BulkReadReply) Reset() { + *x = BulkReadReply{} + mi := &file_mxaccess_gateway_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BulkReadReply) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkReadReply) ProtoMessage() {} + +func (x *BulkReadReply) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[65] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BulkReadReply.ProtoReflect.Descriptor instead. +func (*BulkReadReply) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{65} +} + +func (x *BulkReadReply) GetResults() []*BulkReadResult { + if x != nil { + return x.Results + } + return nil +} + type SessionStateReply struct { state protoimpl.MessageState `protogen:"open.v1"` State SessionState `protobuf:"varint,1,opt,name=state,proto3,enum=mxaccess_gateway.v1.SessionState" json:"state,omitempty"` @@ -4044,7 +5635,7 @@ type SessionStateReply struct { func (x *SessionStateReply) Reset() { *x = SessionStateReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[47] + mi := &file_mxaccess_gateway_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4056,7 +5647,7 @@ func (x *SessionStateReply) String() string { func (*SessionStateReply) ProtoMessage() {} func (x *SessionStateReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[47] + mi := &file_mxaccess_gateway_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4069,7 +5660,7 @@ func (x *SessionStateReply) ProtoReflect() protoreflect.Message { // Deprecated: Use SessionStateReply.ProtoReflect.Descriptor instead. func (*SessionStateReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{47} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{66} } func (x *SessionStateReply) GetState() SessionState { @@ -4091,7 +5682,7 @@ type WorkerInfoReply struct { func (x *WorkerInfoReply) Reset() { *x = WorkerInfoReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[48] + mi := &file_mxaccess_gateway_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4103,7 +5694,7 @@ func (x *WorkerInfoReply) String() string { func (*WorkerInfoReply) ProtoMessage() {} func (x *WorkerInfoReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[48] + mi := &file_mxaccess_gateway_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4116,7 +5707,7 @@ func (x *WorkerInfoReply) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkerInfoReply.ProtoReflect.Descriptor instead. func (*WorkerInfoReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{48} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{67} } func (x *WorkerInfoReply) GetWorkerProcessId() int32 { @@ -4156,7 +5747,7 @@ type DrainEventsReply struct { func (x *DrainEventsReply) Reset() { *x = DrainEventsReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[49] + mi := &file_mxaccess_gateway_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4168,7 +5759,7 @@ func (x *DrainEventsReply) String() string { func (*DrainEventsReply) ProtoMessage() {} func (x *DrainEventsReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[49] + mi := &file_mxaccess_gateway_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4181,7 +5772,7 @@ func (x *DrainEventsReply) ProtoReflect() protoreflect.Message { // Deprecated: Use DrainEventsReply.ProtoReflect.Descriptor instead. func (*DrainEventsReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{49} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{68} } func (x *DrainEventsReply) GetEvents() []*MxEvent { @@ -4191,6 +5782,108 @@ func (x *DrainEventsReply) GetEvents() []*MxEvent { return nil } +// Reply payload for AcknowledgeAlarmCommand AND +// AcknowledgeAlarmByNameCommand — both ack command kinds reuse this +// payload case (`MxCommandReply.acknowledge_alarm`); there is no +// dedicated by-name reply case. Surfaces AVEVA's native ack return +// code (AlarmAckByGUID for the GUID arm, AlarmAckByName for the +// by-name arm); 0 means success. The MxCommandReply's hresult field +// carries the same value and is preferred for protocol consumers — +// this payload exists so the gateway-side WorkerAlarmRpcDispatcher +// can echo native_status into AcknowledgeAlarmReply.hresult without +// unpacking the outer envelope. +type AcknowledgeAlarmReplyPayload struct { + state protoimpl.MessageState `protogen:"open.v1"` + NativeStatus int32 `protobuf:"varint,1,opt,name=native_status,json=nativeStatus,proto3" json:"native_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AcknowledgeAlarmReplyPayload) Reset() { + *x = AcknowledgeAlarmReplyPayload{} + mi := &file_mxaccess_gateway_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AcknowledgeAlarmReplyPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AcknowledgeAlarmReplyPayload) ProtoMessage() {} + +func (x *AcknowledgeAlarmReplyPayload) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[69] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AcknowledgeAlarmReplyPayload.ProtoReflect.Descriptor instead. +func (*AcknowledgeAlarmReplyPayload) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{69} +} + +func (x *AcknowledgeAlarmReplyPayload) GetNativeStatus() int32 { + if x != nil { + return x.NativeStatus + } + return 0 +} + +// Reply payload for QueryActiveAlarmsCommand. The worker walks +// IMxAccessAlarmConsumer.SnapshotActiveAlarms and packs each record as +// an ActiveAlarmSnapshot proto for the gateway-side ConditionRefresh +// stream. +type QueryActiveAlarmsReplyPayload struct { + state protoimpl.MessageState `protogen:"open.v1"` + Snapshots []*ActiveAlarmSnapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *QueryActiveAlarmsReplyPayload) Reset() { + *x = QueryActiveAlarmsReplyPayload{} + mi := &file_mxaccess_gateway_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryActiveAlarmsReplyPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryActiveAlarmsReplyPayload) ProtoMessage() {} + +func (x *QueryActiveAlarmsReplyPayload) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[70] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryActiveAlarmsReplyPayload.ProtoReflect.Descriptor instead. +func (*QueryActiveAlarmsReplyPayload) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{70} +} + +func (x *QueryActiveAlarmsReplyPayload) GetSnapshots() []*ActiveAlarmSnapshot { + if x != nil { + return x.Snapshots + } + return nil +} + type MxEvent struct { state protoimpl.MessageState `protogen:"open.v1"` Family MxEventFamily `protobuf:"varint,1,opt,name=family,proto3,enum=mxaccess_gateway.v1.MxEventFamily" json:"family,omitempty"` @@ -4220,7 +5913,7 @@ type MxEvent struct { func (x *MxEvent) Reset() { *x = MxEvent{} - mi := &file_mxaccess_gateway_proto_msgTypes[50] + mi := &file_mxaccess_gateway_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4232,7 +5925,7 @@ func (x *MxEvent) String() string { func (*MxEvent) ProtoMessage() {} func (x *MxEvent) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[50] + mi := &file_mxaccess_gateway_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4245,7 +5938,7 @@ func (x *MxEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use MxEvent.ProtoReflect.Descriptor instead. func (*MxEvent) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{50} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{71} } func (x *MxEvent) GetFamily() MxEventFamily { @@ -4433,7 +6126,7 @@ type OnDataChangeEvent struct { func (x *OnDataChangeEvent) Reset() { *x = OnDataChangeEvent{} - mi := &file_mxaccess_gateway_proto_msgTypes[51] + mi := &file_mxaccess_gateway_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4445,7 +6138,7 @@ func (x *OnDataChangeEvent) String() string { func (*OnDataChangeEvent) ProtoMessage() {} func (x *OnDataChangeEvent) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[51] + mi := &file_mxaccess_gateway_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4458,7 +6151,7 @@ func (x *OnDataChangeEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use OnDataChangeEvent.ProtoReflect.Descriptor instead. func (*OnDataChangeEvent) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{51} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{72} } type OnWriteCompleteEvent struct { @@ -4469,7 +6162,7 @@ type OnWriteCompleteEvent struct { func (x *OnWriteCompleteEvent) Reset() { *x = OnWriteCompleteEvent{} - mi := &file_mxaccess_gateway_proto_msgTypes[52] + mi := &file_mxaccess_gateway_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4481,7 +6174,7 @@ func (x *OnWriteCompleteEvent) String() string { func (*OnWriteCompleteEvent) ProtoMessage() {} func (x *OnWriteCompleteEvent) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[52] + mi := &file_mxaccess_gateway_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4494,7 +6187,7 @@ func (x *OnWriteCompleteEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use OnWriteCompleteEvent.ProtoReflect.Descriptor instead. func (*OnWriteCompleteEvent) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{52} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{73} } type OperationCompleteEvent struct { @@ -4505,7 +6198,7 @@ type OperationCompleteEvent struct { func (x *OperationCompleteEvent) Reset() { *x = OperationCompleteEvent{} - mi := &file_mxaccess_gateway_proto_msgTypes[53] + mi := &file_mxaccess_gateway_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4517,7 +6210,7 @@ func (x *OperationCompleteEvent) String() string { func (*OperationCompleteEvent) ProtoMessage() {} func (x *OperationCompleteEvent) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[53] + mi := &file_mxaccess_gateway_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4530,7 +6223,7 @@ func (x *OperationCompleteEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use OperationCompleteEvent.ProtoReflect.Descriptor instead. func (*OperationCompleteEvent) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{53} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{74} } type OnBufferedDataChangeEvent struct { @@ -4545,7 +6238,7 @@ type OnBufferedDataChangeEvent struct { func (x *OnBufferedDataChangeEvent) Reset() { *x = OnBufferedDataChangeEvent{} - mi := &file_mxaccess_gateway_proto_msgTypes[54] + mi := &file_mxaccess_gateway_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4557,7 +6250,7 @@ func (x *OnBufferedDataChangeEvent) String() string { func (*OnBufferedDataChangeEvent) ProtoMessage() {} func (x *OnBufferedDataChangeEvent) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[54] + mi := &file_mxaccess_gateway_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4570,7 +6263,7 @@ func (x *OnBufferedDataChangeEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use OnBufferedDataChangeEvent.ProtoReflect.Descriptor instead. func (*OnBufferedDataChangeEvent) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{54} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{75} } func (x *OnBufferedDataChangeEvent) GetDataType() MxDataType { @@ -4652,7 +6345,7 @@ type OnAlarmTransitionEvent struct { func (x *OnAlarmTransitionEvent) Reset() { *x = OnAlarmTransitionEvent{} - mi := &file_mxaccess_gateway_proto_msgTypes[55] + mi := &file_mxaccess_gateway_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4664,7 +6357,7 @@ func (x *OnAlarmTransitionEvent) String() string { func (*OnAlarmTransitionEvent) ProtoMessage() {} func (x *OnAlarmTransitionEvent) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[55] + mi := &file_mxaccess_gateway_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4677,7 +6370,7 @@ func (x *OnAlarmTransitionEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use OnAlarmTransitionEvent.ProtoReflect.Descriptor instead. func (*OnAlarmTransitionEvent) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{55} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{76} } func (x *OnAlarmTransitionEvent) GetAlarmFullReference() string { @@ -4800,7 +6493,7 @@ type ActiveAlarmSnapshot struct { func (x *ActiveAlarmSnapshot) Reset() { *x = ActiveAlarmSnapshot{} - mi := &file_mxaccess_gateway_proto_msgTypes[56] + mi := &file_mxaccess_gateway_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4812,7 +6505,7 @@ func (x *ActiveAlarmSnapshot) String() string { func (*ActiveAlarmSnapshot) ProtoMessage() {} func (x *ActiveAlarmSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[56] + mi := &file_mxaccess_gateway_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4825,7 +6518,7 @@ func (x *ActiveAlarmSnapshot) ProtoReflect() protoreflect.Message { // Deprecated: Use ActiveAlarmSnapshot.ProtoReflect.Descriptor instead. func (*ActiveAlarmSnapshot) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{56} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{77} } func (x *ActiveAlarmSnapshot) GetAlarmFullReference() string { @@ -4921,7 +6614,6 @@ func (x *ActiveAlarmSnapshot) GetLimitValue() *MxValue { type AcknowledgeAlarmRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` ClientCorrelationId string `protobuf:"bytes,2,opt,name=client_correlation_id,json=clientCorrelationId,proto3" json:"client_correlation_id,omitempty"` // Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference. AlarmFullReference string `protobuf:"bytes,3,opt,name=alarm_full_reference,json=alarmFullReference,proto3" json:"alarm_full_reference,omitempty"` @@ -4936,7 +6628,7 @@ type AcknowledgeAlarmRequest struct { func (x *AcknowledgeAlarmRequest) Reset() { *x = AcknowledgeAlarmRequest{} - mi := &file_mxaccess_gateway_proto_msgTypes[57] + mi := &file_mxaccess_gateway_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4948,7 +6640,7 @@ func (x *AcknowledgeAlarmRequest) String() string { func (*AcknowledgeAlarmRequest) ProtoMessage() {} func (x *AcknowledgeAlarmRequest) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[57] + mi := &file_mxaccess_gateway_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4961,14 +6653,7 @@ func (x *AcknowledgeAlarmRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AcknowledgeAlarmRequest.ProtoReflect.Descriptor instead. func (*AcknowledgeAlarmRequest) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{57} -} - -func (x *AcknowledgeAlarmRequest) GetSessionId() string { - if x != nil { - return x.SessionId - } - return "" + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{78} } func (x *AcknowledgeAlarmRequest) GetClientCorrelationId() string { @@ -5001,12 +6686,20 @@ func (x *AcknowledgeAlarmRequest) GetOperatorUser() string { type AcknowledgeAlarmReply struct { state protoimpl.MessageState `protogen:"open.v1"` - SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` CorrelationId string `protobuf:"bytes,2,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` ProtocolStatus *ProtocolStatus `protobuf:"bytes,3,opt,name=protocol_status,json=protocolStatus,proto3" json:"protocol_status,omitempty"` - // HRESULT captured from MXAccess if the ack failed at the COM layer. + // Native ack return code echoed from the worker. The worker carries the + // ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status, + // = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's + // WorkerAlarmRpcDispatcher copies that value here. This is the authoritative + // ack-outcome field for the public RPC. Absent only when the worker reply + // omitted the value entirely (a protocol violation). Hresult *int32 `protobuf:"varint,4,opt,name=hresult,proto3,oneof" json:"hresult,omitempty"` - // Native MxAccess status describing the outcome of the ack. + // Reserved for a structured MxStatusProxy view of the ack outcome. The + // worker by-name/by-GUID ack path produces only the int32 return code + // (see `hresult`), so the current gateway leaves this field UNSET on every + // reply. Clients must read `hresult` (and `protocol_status`) for the ack + // result and must not depend on `status` being populated. Status *MxStatusProxy `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` DiagnosticMessage string `protobuf:"bytes,6,opt,name=diagnostic_message,json=diagnosticMessage,proto3" json:"diagnostic_message,omitempty"` unknownFields protoimpl.UnknownFields @@ -5015,7 +6708,7 @@ type AcknowledgeAlarmReply struct { func (x *AcknowledgeAlarmReply) Reset() { *x = AcknowledgeAlarmReply{} - mi := &file_mxaccess_gateway_proto_msgTypes[58] + mi := &file_mxaccess_gateway_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5027,7 +6720,7 @@ func (x *AcknowledgeAlarmReply) String() string { func (*AcknowledgeAlarmReply) ProtoMessage() {} func (x *AcknowledgeAlarmReply) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[58] + mi := &file_mxaccess_gateway_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5040,14 +6733,7 @@ func (x *AcknowledgeAlarmReply) ProtoReflect() protoreflect.Message { // Deprecated: Use AcknowledgeAlarmReply.ProtoReflect.Descriptor instead. func (*AcknowledgeAlarmReply) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{58} -} - -func (x *AcknowledgeAlarmReply) GetSessionId() string { - if x != nil { - return x.SessionId - } - return "" + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{79} } func (x *AcknowledgeAlarmReply) GetCorrelationId() string { @@ -5085,32 +6771,32 @@ func (x *AcknowledgeAlarmReply) GetDiagnosticMessage() string { return "" } -type QueryActiveAlarmsRequest struct { +// Request to attach to the gateway's central alarm feed (StreamAlarms). +type StreamAlarmsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` - ClientCorrelationId string `protobuf:"bytes,2,opt,name=client_correlation_id,json=clientCorrelationId,proto3" json:"client_correlation_id,omitempty"` - // Optional alarm-reference prefix used to scope a partial ConditionRefresh - // (e.g. equipment sub-tree). Empty means full refresh. - AlarmFilterPrefix string `protobuf:"bytes,3,opt,name=alarm_filter_prefix,json=alarmFilterPrefix,proto3" json:"alarm_filter_prefix,omitempty"` + ClientCorrelationId string `protobuf:"bytes,1,opt,name=client_correlation_id,json=clientCorrelationId,proto3" json:"client_correlation_id,omitempty"` + // Optional alarm-reference prefix scoping the feed to an equipment + // sub-tree. Empty streams every active alarm. + AlarmFilterPrefix string `protobuf:"bytes,2,opt,name=alarm_filter_prefix,json=alarmFilterPrefix,proto3" json:"alarm_filter_prefix,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } -func (x *QueryActiveAlarmsRequest) Reset() { - *x = QueryActiveAlarmsRequest{} - mi := &file_mxaccess_gateway_proto_msgTypes[59] +func (x *StreamAlarmsRequest) Reset() { + *x = StreamAlarmsRequest{} + mi := &file_mxaccess_gateway_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } -func (x *QueryActiveAlarmsRequest) String() string { +func (x *StreamAlarmsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryActiveAlarmsRequest) ProtoMessage() {} +func (*StreamAlarmsRequest) ProtoMessage() {} -func (x *QueryActiveAlarmsRequest) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[59] +func (x *StreamAlarmsRequest) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5121,48 +6807,155 @@ func (x *QueryActiveAlarmsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use QueryActiveAlarmsRequest.ProtoReflect.Descriptor instead. -func (*QueryActiveAlarmsRequest) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{59} +// Deprecated: Use StreamAlarmsRequest.ProtoReflect.Descriptor instead. +func (*StreamAlarmsRequest) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{80} } -func (x *QueryActiveAlarmsRequest) GetSessionId() string { - if x != nil { - return x.SessionId - } - return "" -} - -func (x *QueryActiveAlarmsRequest) GetClientCorrelationId() string { +func (x *StreamAlarmsRequest) GetClientCorrelationId() string { if x != nil { return x.ClientCorrelationId } return "" } -func (x *QueryActiveAlarmsRequest) GetAlarmFilterPrefix() string { +func (x *StreamAlarmsRequest) GetAlarmFilterPrefix() string { if x != nil { return x.AlarmFilterPrefix } return "" } +// One message on the StreamAlarms feed. The stream opens with one +// `active_alarm` per currently-active alarm, then a single +// `snapshot_complete`, then a `transition` for every subsequent change. +type AlarmFeedMessage struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Payload: + // + // *AlarmFeedMessage_ActiveAlarm + // *AlarmFeedMessage_SnapshotComplete + // *AlarmFeedMessage_Transition + Payload isAlarmFeedMessage_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AlarmFeedMessage) Reset() { + *x = AlarmFeedMessage{} + mi := &file_mxaccess_gateway_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AlarmFeedMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AlarmFeedMessage) ProtoMessage() {} + +func (x *AlarmFeedMessage) ProtoReflect() protoreflect.Message { + mi := &file_mxaccess_gateway_proto_msgTypes[81] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AlarmFeedMessage.ProtoReflect.Descriptor instead. +func (*AlarmFeedMessage) Descriptor() ([]byte, []int) { + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{81} +} + +func (x *AlarmFeedMessage) GetPayload() isAlarmFeedMessage_Payload { + if x != nil { + return x.Payload + } + return nil +} + +func (x *AlarmFeedMessage) GetActiveAlarm() *ActiveAlarmSnapshot { + if x != nil { + if x, ok := x.Payload.(*AlarmFeedMessage_ActiveAlarm); ok { + return x.ActiveAlarm + } + } + return nil +} + +func (x *AlarmFeedMessage) GetSnapshotComplete() bool { + if x != nil { + if x, ok := x.Payload.(*AlarmFeedMessage_SnapshotComplete); ok { + return x.SnapshotComplete + } + } + return false +} + +func (x *AlarmFeedMessage) GetTransition() *OnAlarmTransitionEvent { + if x != nil { + if x, ok := x.Payload.(*AlarmFeedMessage_Transition); ok { + return x.Transition + } + } + return nil +} + +type isAlarmFeedMessage_Payload interface { + isAlarmFeedMessage_Payload() +} + +type AlarmFeedMessage_ActiveAlarm struct { + // Part of the initial active-alarm snapshot (ConditionRefresh). + ActiveAlarm *ActiveAlarmSnapshot `protobuf:"bytes,1,opt,name=active_alarm,json=activeAlarm,proto3,oneof"` +} + +type AlarmFeedMessage_SnapshotComplete struct { + // Sentinel: the initial snapshot is fully delivered and `transition` + // messages follow. Always true when present. + SnapshotComplete bool `protobuf:"varint,2,opt,name=snapshot_complete,json=snapshotComplete,proto3,oneof"` +} + +type AlarmFeedMessage_Transition struct { + // A live alarm state change (raise / acknowledge / clear). + Transition *OnAlarmTransitionEvent `protobuf:"bytes,3,opt,name=transition,proto3,oneof"` +} + +func (*AlarmFeedMessage_ActiveAlarm) isAlarmFeedMessage_Payload() {} + +func (*AlarmFeedMessage_SnapshotComplete) isAlarmFeedMessage_Payload() {} + +func (*AlarmFeedMessage_Transition) isAlarmFeedMessage_Payload() {} + type MxStatusProxy struct { - state protoimpl.MessageState `protogen:"open.v1"` - Success int32 `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - Category MxStatusCategory `protobuf:"varint,2,opt,name=category,proto3,enum=mxaccess_gateway.v1.MxStatusCategory" json:"category,omitempty"` - DetectedBy MxStatusSource `protobuf:"varint,3,opt,name=detected_by,json=detectedBy,proto3,enum=mxaccess_gateway.v1.MxStatusSource" json:"detected_by,omitempty"` - Detail int32 `protobuf:"varint,4,opt,name=detail,proto3" json:"detail,omitempty"` - RawCategory int32 `protobuf:"varint,5,opt,name=raw_category,json=rawCategory,proto3" json:"raw_category,omitempty"` - RawDetectedBy int32 `protobuf:"varint,6,opt,name=raw_detected_by,json=rawDetectedBy,proto3" json:"raw_detected_by,omitempty"` - DiagnosticText string `protobuf:"bytes,7,opt,name=diagnostic_text,json=diagnosticText,proto3" json:"diagnostic_text,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + // Mirrors the `success` member of the MXAccess MXSTATUS_PROXY struct + // (a 16-bit signed value in the COM struct, widened to int32 on the + // wire). Despite the name it is NOT a boolean — it is the raw numeric + // indicator the worker reads off the COM struct without reinterpretation. + // It is carried verbatim for diagnostics; the authoritative success/ + // failure of the operation is `category` (MX_STATUS_CATEGORY_OK marks + // success), with `detail`, `diagnostic_text`, `raw_category`, and + // `raw_detected_by` describing any non-OK outcome. Clients should branch + // on `category`, not on a specific `success` value. + Success int32 `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Category MxStatusCategory `protobuf:"varint,2,opt,name=category,proto3,enum=mxaccess_gateway.v1.MxStatusCategory" json:"category,omitempty"` + DetectedBy MxStatusSource `protobuf:"varint,3,opt,name=detected_by,json=detectedBy,proto3,enum=mxaccess_gateway.v1.MxStatusSource" json:"detected_by,omitempty"` + Detail int32 `protobuf:"varint,4,opt,name=detail,proto3" json:"detail,omitempty"` + RawCategory int32 `protobuf:"varint,5,opt,name=raw_category,json=rawCategory,proto3" json:"raw_category,omitempty"` + RawDetectedBy int32 `protobuf:"varint,6,opt,name=raw_detected_by,json=rawDetectedBy,proto3" json:"raw_detected_by,omitempty"` + DiagnosticText string `protobuf:"bytes,7,opt,name=diagnostic_text,json=diagnosticText,proto3" json:"diagnostic_text,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MxStatusProxy) Reset() { *x = MxStatusProxy{} - mi := &file_mxaccess_gateway_proto_msgTypes[60] + mi := &file_mxaccess_gateway_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5174,7 +6967,7 @@ func (x *MxStatusProxy) String() string { func (*MxStatusProxy) ProtoMessage() {} func (x *MxStatusProxy) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[60] + mi := &file_mxaccess_gateway_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5187,7 +6980,7 @@ func (x *MxStatusProxy) ProtoReflect() protoreflect.Message { // Deprecated: Use MxStatusProxy.ProtoReflect.Descriptor instead. func (*MxStatusProxy) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{60} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{82} } func (x *MxStatusProxy) GetSuccess() int32 { @@ -5264,7 +7057,7 @@ type MxValue struct { func (x *MxValue) Reset() { *x = MxValue{} - mi := &file_mxaccess_gateway_proto_msgTypes[61] + mi := &file_mxaccess_gateway_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5276,7 +7069,7 @@ func (x *MxValue) String() string { func (*MxValue) ProtoMessage() {} func (x *MxValue) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[61] + mi := &file_mxaccess_gateway_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5289,7 +7082,7 @@ func (x *MxValue) ProtoReflect() protoreflect.Message { // Deprecated: Use MxValue.ProtoReflect.Descriptor instead. func (*MxValue) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{61} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{83} } func (x *MxValue) GetDataType() MxDataType { @@ -5497,7 +7290,7 @@ type MxArray struct { func (x *MxArray) Reset() { *x = MxArray{} - mi := &file_mxaccess_gateway_proto_msgTypes[62] + mi := &file_mxaccess_gateway_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5509,7 +7302,7 @@ func (x *MxArray) String() string { func (*MxArray) ProtoMessage() {} func (x *MxArray) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[62] + mi := &file_mxaccess_gateway_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5522,7 +7315,7 @@ func (x *MxArray) ProtoReflect() protoreflect.Message { // Deprecated: Use MxArray.ProtoReflect.Descriptor instead. func (*MxArray) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{62} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{84} } func (x *MxArray) GetElementDataType() MxDataType { @@ -5700,7 +7493,7 @@ type BoolArray struct { func (x *BoolArray) Reset() { *x = BoolArray{} - mi := &file_mxaccess_gateway_proto_msgTypes[63] + mi := &file_mxaccess_gateway_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5712,7 +7505,7 @@ func (x *BoolArray) String() string { func (*BoolArray) ProtoMessage() {} func (x *BoolArray) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[63] + mi := &file_mxaccess_gateway_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5725,7 +7518,7 @@ func (x *BoolArray) ProtoReflect() protoreflect.Message { // Deprecated: Use BoolArray.ProtoReflect.Descriptor instead. func (*BoolArray) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{63} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{85} } func (x *BoolArray) GetValues() []bool { @@ -5744,7 +7537,7 @@ type Int32Array struct { func (x *Int32Array) Reset() { *x = Int32Array{} - mi := &file_mxaccess_gateway_proto_msgTypes[64] + mi := &file_mxaccess_gateway_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5756,7 +7549,7 @@ func (x *Int32Array) String() string { func (*Int32Array) ProtoMessage() {} func (x *Int32Array) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[64] + mi := &file_mxaccess_gateway_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5769,7 +7562,7 @@ func (x *Int32Array) ProtoReflect() protoreflect.Message { // Deprecated: Use Int32Array.ProtoReflect.Descriptor instead. func (*Int32Array) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{64} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{86} } func (x *Int32Array) GetValues() []int32 { @@ -5788,7 +7581,7 @@ type Int64Array struct { func (x *Int64Array) Reset() { *x = Int64Array{} - mi := &file_mxaccess_gateway_proto_msgTypes[65] + mi := &file_mxaccess_gateway_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5800,7 +7593,7 @@ func (x *Int64Array) String() string { func (*Int64Array) ProtoMessage() {} func (x *Int64Array) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[65] + mi := &file_mxaccess_gateway_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5813,7 +7606,7 @@ func (x *Int64Array) ProtoReflect() protoreflect.Message { // Deprecated: Use Int64Array.ProtoReflect.Descriptor instead. func (*Int64Array) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{65} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{87} } func (x *Int64Array) GetValues() []int64 { @@ -5832,7 +7625,7 @@ type FloatArray struct { func (x *FloatArray) Reset() { *x = FloatArray{} - mi := &file_mxaccess_gateway_proto_msgTypes[66] + mi := &file_mxaccess_gateway_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5844,7 +7637,7 @@ func (x *FloatArray) String() string { func (*FloatArray) ProtoMessage() {} func (x *FloatArray) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[66] + mi := &file_mxaccess_gateway_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5857,7 +7650,7 @@ func (x *FloatArray) ProtoReflect() protoreflect.Message { // Deprecated: Use FloatArray.ProtoReflect.Descriptor instead. func (*FloatArray) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{66} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{88} } func (x *FloatArray) GetValues() []float32 { @@ -5876,7 +7669,7 @@ type DoubleArray struct { func (x *DoubleArray) Reset() { *x = DoubleArray{} - mi := &file_mxaccess_gateway_proto_msgTypes[67] + mi := &file_mxaccess_gateway_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5888,7 +7681,7 @@ func (x *DoubleArray) String() string { func (*DoubleArray) ProtoMessage() {} func (x *DoubleArray) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[67] + mi := &file_mxaccess_gateway_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5901,7 +7694,7 @@ func (x *DoubleArray) ProtoReflect() protoreflect.Message { // Deprecated: Use DoubleArray.ProtoReflect.Descriptor instead. func (*DoubleArray) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{67} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{89} } func (x *DoubleArray) GetValues() []float64 { @@ -5920,7 +7713,7 @@ type StringArray struct { func (x *StringArray) Reset() { *x = StringArray{} - mi := &file_mxaccess_gateway_proto_msgTypes[68] + mi := &file_mxaccess_gateway_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5932,7 +7725,7 @@ func (x *StringArray) String() string { func (*StringArray) ProtoMessage() {} func (x *StringArray) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[68] + mi := &file_mxaccess_gateway_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5945,7 +7738,7 @@ func (x *StringArray) ProtoReflect() protoreflect.Message { // Deprecated: Use StringArray.ProtoReflect.Descriptor instead. func (*StringArray) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{68} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{90} } func (x *StringArray) GetValues() []string { @@ -5964,7 +7757,7 @@ type TimestampArray struct { func (x *TimestampArray) Reset() { *x = TimestampArray{} - mi := &file_mxaccess_gateway_proto_msgTypes[69] + mi := &file_mxaccess_gateway_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5976,7 +7769,7 @@ func (x *TimestampArray) String() string { func (*TimestampArray) ProtoMessage() {} func (x *TimestampArray) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[69] + mi := &file_mxaccess_gateway_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5989,7 +7782,7 @@ func (x *TimestampArray) ProtoReflect() protoreflect.Message { // Deprecated: Use TimestampArray.ProtoReflect.Descriptor instead. func (*TimestampArray) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{69} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{91} } func (x *TimestampArray) GetValues() []*timestamppb.Timestamp { @@ -6008,7 +7801,7 @@ type RawArray struct { func (x *RawArray) Reset() { *x = RawArray{} - mi := &file_mxaccess_gateway_proto_msgTypes[70] + mi := &file_mxaccess_gateway_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6020,7 +7813,7 @@ func (x *RawArray) String() string { func (*RawArray) ProtoMessage() {} func (x *RawArray) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[70] + mi := &file_mxaccess_gateway_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6033,7 +7826,7 @@ func (x *RawArray) ProtoReflect() protoreflect.Message { // Deprecated: Use RawArray.ProtoReflect.Descriptor instead. func (*RawArray) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{70} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{92} } func (x *RawArray) GetValues() [][]byte { @@ -6053,7 +7846,7 @@ type ProtocolStatus struct { func (x *ProtocolStatus) Reset() { *x = ProtocolStatus{} - mi := &file_mxaccess_gateway_proto_msgTypes[71] + mi := &file_mxaccess_gateway_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6065,7 +7858,7 @@ func (x *ProtocolStatus) String() string { func (*ProtocolStatus) ProtoMessage() {} func (x *ProtocolStatus) ProtoReflect() protoreflect.Message { - mi := &file_mxaccess_gateway_proto_msgTypes[71] + mi := &file_mxaccess_gateway_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6078,7 +7871,7 @@ func (x *ProtocolStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use ProtocolStatus.ProtoReflect.Descriptor instead. func (*ProtocolStatus) Descriptor() ([]byte, []int) { - return file_mxaccess_gateway_proto_rawDescGZIP(), []int{71} + return file_mxaccess_gateway_proto_rawDescGZIP(), []int{93} } func (x *ProtocolStatus) GetCode() ProtocolStatusCode { @@ -6099,7 +7892,12 @@ var File_mxaccess_gateway_proto protoreflect.FileDescriptor const file_mxaccess_gateway_proto_rawDesc = "" + "\n" + - "\x16mxaccess_gateway.proto\x12\x13mxaccess_gateway.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe9\x01\n" + + "\x16mxaccess_gateway.proto\x12\x13mxaccess_gateway.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9d\x01\n" + + "\x18QueryActiveAlarmsRequest\x12\x1d\n" + + "\n" + + "session_id\x18\x01 \x01(\tR\tsessionId\x122\n" + + "\x15client_correlation_id\x18\x02 \x01(\tR\x13clientCorrelationId\x12.\n" + + "\x13alarm_filter_prefix\x18\x03 \x01(\tR\x11alarmFilterPrefix\"\xe9\x01\n" + "\x12OpenSessionRequest\x12+\n" + "\x11requested_backend\x18\x01 \x01(\tR\x10requestedBackend\x12.\n" + "\x13client_session_name\x18\x02 \x01(\tR\x11clientSessionName\x122\n" + @@ -6133,7 +7931,7 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\n" + "session_id\x18\x01 \x01(\tR\tsessionId\x122\n" + "\x15client_correlation_id\x18\x02 \x01(\tR\x13clientCorrelationId\x128\n" + - "\acommand\x18\x03 \x01(\v2\x1e.mxaccess_gateway.v1.MxCommandR\acommand\"\xe1\x12\n" + + "\acommand\x18\x03 \x01(\v2\x1e.mxaccess_gateway.v1.MxCommandR\acommand\"\x8e\x1a\n" + "\tMxCommand\x126\n" + "\x04kind\x18\x01 \x01(\x0e2\".mxaccess_gateway.v1.MxCommandKindR\x04kind\x12B\n" + "\bregister\x18\n" + @@ -6163,7 +7961,19 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\x10remove_item_bulk\x18\x1e \x01(\v2*.mxaccess_gateway.v1.RemoveItemBulkCommandH\x00R\x0eremoveItemBulk\x12]\n" + "\x13un_advise_item_bulk\x18\x1f \x01(\v2,.mxaccess_gateway.v1.UnAdviseItemBulkCommandH\x00R\x10unAdviseItemBulk\x12R\n" + "\x0esubscribe_bulk\x18 \x01(\v2).mxaccess_gateway.v1.SubscribeBulkCommandH\x00R\rsubscribeBulk\x12X\n" + - "\x10unsubscribe_bulk\x18! \x01(\v2+.mxaccess_gateway.v1.UnsubscribeBulkCommandH\x00R\x0funsubscribeBulk\x126\n" + + "\x10unsubscribe_bulk\x18! \x01(\v2+.mxaccess_gateway.v1.UnsubscribeBulkCommandH\x00R\x0funsubscribeBulk\x12X\n" + + "\x10subscribe_alarms\x18\" \x01(\v2+.mxaccess_gateway.v1.SubscribeAlarmsCommandH\x00R\x0fsubscribeAlarms\x12^\n" + + "\x12unsubscribe_alarms\x18# \x01(\v2-.mxaccess_gateway.v1.UnsubscribeAlarmsCommandH\x00R\x11unsubscribeAlarms\x12j\n" + + "\x19acknowledge_alarm_command\x18$ \x01(\v2,.mxaccess_gateway.v1.AcknowledgeAlarmCommandH\x00R\x17acknowledgeAlarmCommand\x12n\n" + + "\x1bquery_active_alarms_command\x18% \x01(\v2-.mxaccess_gateway.v1.QueryActiveAlarmsCommandH\x00R\x18queryActiveAlarmsCommand\x12~\n" + + "!acknowledge_alarm_by_name_command\x18& \x01(\v22.mxaccess_gateway.v1.AcknowledgeAlarmByNameCommandH\x00R\x1dacknowledgeAlarmByNameCommand\x12F\n" + + "\n" + + "write_bulk\x18' \x01(\v2%.mxaccess_gateway.v1.WriteBulkCommandH\x00R\twriteBulk\x12I\n" + + "\vwrite2_bulk\x18( \x01(\v2&.mxaccess_gateway.v1.Write2BulkCommandH\x00R\n" + + "write2Bulk\x12\\\n" + + "\x12write_secured_bulk\x18) \x01(\v2,.mxaccess_gateway.v1.WriteSecuredBulkCommandH\x00R\x10writeSecuredBulk\x12_\n" + + "\x13write_secured2_bulk\x18* \x01(\v2-.mxaccess_gateway.v1.WriteSecured2BulkCommandH\x00R\x11writeSecured2Bulk\x12C\n" + + "\tread_bulk\x18+ \x01(\v2$.mxaccess_gateway.v1.ReadBulkCommandH\x00R\breadBulk\x126\n" + "\x04ping\x18d \x01(\v2 .mxaccess_gateway.v1.PingCommandH\x00R\x04ping\x12Y\n" + "\x11get_session_state\x18e \x01(\v2+.mxaccess_gateway.v1.GetSessionStateCommandH\x00R\x0fgetSessionState\x12S\n" + "\x0fget_worker_info\x18f \x01(\v2).mxaccess_gateway.v1.GetWorkerInfoCommandH\x00R\rgetWorkerInfo\x12L\n" + @@ -6264,10 +8074,75 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\fitem_handles\x18\x02 \x03(\x05R\vitemHandles\"`\n" + "\x14SubscribeBulkCommand\x12#\n" + "\rserver_handle\x18\x01 \x01(\x05R\fserverHandle\x12#\n" + - "\rtag_addresses\x18\x02 \x03(\tR\ftagAddresses\"`\n" + + "\rtag_addresses\x18\x02 \x03(\tR\ftagAddresses\"Q\n" + + "\x16SubscribeAlarmsCommand\x127\n" + + "\x17subscription_expression\x18\x01 \x01(\tR\x16subscriptionExpression\"\x1a\n" + + "\x18UnsubscribeAlarmsCommand\"\xf3\x01\n" + + "\x17AcknowledgeAlarmCommand\x12\x1d\n" + + "\n" + + "alarm_guid\x18\x01 \x01(\tR\talarmGuid\x12\x18\n" + + "\acomment\x18\x02 \x01(\tR\acomment\x12#\n" + + "\roperator_user\x18\x03 \x01(\tR\foperatorUser\x12#\n" + + "\roperator_node\x18\x04 \x01(\tR\foperatorNode\x12'\n" + + "\x0foperator_domain\x18\x05 \x01(\tR\x0eoperatorDomain\x12,\n" + + "\x12operator_full_name\x18\x06 \x01(\tR\x10operatorFullName\"J\n" + + "\x18QueryActiveAlarmsCommand\x12.\n" + + "\x13alarm_filter_prefix\x18\x01 \x01(\tR\x11alarmFilterPrefix\"\xbd\x02\n" + + "\x1dAcknowledgeAlarmByNameCommand\x12\x1d\n" + + "\n" + + "alarm_name\x18\x01 \x01(\tR\talarmName\x12#\n" + + "\rprovider_name\x18\x02 \x01(\tR\fproviderName\x12\x1d\n" + + "\n" + + "group_name\x18\x03 \x01(\tR\tgroupName\x12\x18\n" + + "\acomment\x18\x04 \x01(\tR\acomment\x12#\n" + + "\roperator_user\x18\x05 \x01(\tR\foperatorUser\x12#\n" + + "\roperator_node\x18\x06 \x01(\tR\foperatorNode\x12'\n" + + "\x0foperator_domain\x18\a \x01(\tR\x0eoperatorDomain\x12,\n" + + "\x12operator_full_name\x18\b \x01(\tR\x10operatorFullName\"`\n" + "\x16UnsubscribeBulkCommand\x12#\n" + "\rserver_handle\x18\x01 \x01(\x05R\fserverHandle\x12!\n" + - "\fitem_handles\x18\x02 \x03(\x05R\vitemHandles\"'\n" + + "\fitem_handles\x18\x02 \x03(\x05R\vitemHandles\"v\n" + + "\x10WriteBulkCommand\x12#\n" + + "\rserver_handle\x18\x01 \x01(\x05R\fserverHandle\x12=\n" + + "\aentries\x18\x02 \x03(\v2#.mxaccess_gateway.v1.WriteBulkEntryR\aentries\"~\n" + + "\x0eWriteBulkEntry\x12\x1f\n" + + "\vitem_handle\x18\x01 \x01(\x05R\n" + + "itemHandle\x122\n" + + "\x05value\x18\x02 \x01(\v2\x1c.mxaccess_gateway.v1.MxValueR\x05value\x12\x17\n" + + "\auser_id\x18\x03 \x01(\x05R\x06userId\"x\n" + + "\x11Write2BulkCommand\x12#\n" + + "\rserver_handle\x18\x01 \x01(\x05R\fserverHandle\x12>\n" + + "\aentries\x18\x02 \x03(\v2$.mxaccess_gateway.v1.Write2BulkEntryR\aentries\"\xc6\x01\n" + + "\x0fWrite2BulkEntry\x12\x1f\n" + + "\vitem_handle\x18\x01 \x01(\x05R\n" + + "itemHandle\x122\n" + + "\x05value\x18\x02 \x01(\v2\x1c.mxaccess_gateway.v1.MxValueR\x05value\x12E\n" + + "\x0ftimestamp_value\x18\x03 \x01(\v2\x1c.mxaccess_gateway.v1.MxValueR\x0etimestampValue\x12\x17\n" + + "\auser_id\x18\x04 \x01(\x05R\x06userId\"\x84\x01\n" + + "\x17WriteSecuredBulkCommand\x12#\n" + + "\rserver_handle\x18\x01 \x01(\x05R\fserverHandle\x12D\n" + + "\aentries\x18\x02 \x03(\v2*.mxaccess_gateway.v1.WriteSecuredBulkEntryR\aentries\"\xbe\x01\n" + + "\x15WriteSecuredBulkEntry\x12\x1f\n" + + "\vitem_handle\x18\x01 \x01(\x05R\n" + + "itemHandle\x12&\n" + + "\x0fcurrent_user_id\x18\x02 \x01(\x05R\rcurrentUserId\x12(\n" + + "\x10verifier_user_id\x18\x03 \x01(\x05R\x0everifierUserId\x122\n" + + "\x05value\x18\x04 \x01(\v2\x1c.mxaccess_gateway.v1.MxValueR\x05value\"\x86\x01\n" + + "\x18WriteSecured2BulkCommand\x12#\n" + + "\rserver_handle\x18\x01 \x01(\x05R\fserverHandle\x12E\n" + + "\aentries\x18\x02 \x03(\v2+.mxaccess_gateway.v1.WriteSecured2BulkEntryR\aentries\"\x86\x02\n" + + "\x16WriteSecured2BulkEntry\x12\x1f\n" + + "\vitem_handle\x18\x01 \x01(\x05R\n" + + "itemHandle\x12&\n" + + "\x0fcurrent_user_id\x18\x02 \x01(\x05R\rcurrentUserId\x12(\n" + + "\x10verifier_user_id\x18\x03 \x01(\x05R\x0everifierUserId\x122\n" + + "\x05value\x18\x04 \x01(\v2\x1c.mxaccess_gateway.v1.MxValueR\x05value\x12E\n" + + "\x0ftimestamp_value\x18\x05 \x01(\v2\x1c.mxaccess_gateway.v1.MxValueR\x0etimestampValue\"z\n" + + "\x0fReadBulkCommand\x12#\n" + + "\rserver_handle\x18\x01 \x01(\x05R\fserverHandle\x12#\n" + + "\rtag_addresses\x18\x02 \x03(\tR\ftagAddresses\x12\x1d\n" + + "\n" + + "timeout_ms\x18\x03 \x01(\rR\ttimeoutMs\"'\n" + "\vPingCommand\x12\x18\n" + "\amessage\x18\x01 \x01(\tR\amessage\"\x18\n" + "\x16GetSessionStateCommand\"\x16\n" + @@ -6276,7 +8151,7 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\n" + "max_events\x18\x01 \x01(\rR\tmaxEvents\"U\n" + "\x15ShutdownWorkerCommand\x12<\n" + - "\fgrace_period\x18\x01 \x01(\v2\x19.google.protobuf.DurationR\vgracePeriod\"\xfb\r\n" + + "\fgrace_period\x18\x01 \x01(\v2\x19.google.protobuf.DurationR\vgracePeriod\"\xc0\x12\n" + "\x0eMxCommandReply\x12\x1d\n" + "\n" + "session_id\x18\x01 \x01(\tR\tsessionId\x12%\n" + @@ -6300,7 +8175,16 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\x10remove_item_bulk\x18\x1e \x01(\v2'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00R\x0eremoveItemBulk\x12X\n" + "\x13un_advise_item_bulk\x18\x1f \x01(\v2'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00R\x10unAdviseItemBulk\x12P\n" + "\x0esubscribe_bulk\x18 \x01(\v2'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00R\rsubscribeBulk\x12T\n" + - "\x10unsubscribe_bulk\x18! \x01(\v2'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00R\x0funsubscribeBulk\x12M\n" + + "\x10unsubscribe_bulk\x18! \x01(\v2'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00R\x0funsubscribeBulk\x12`\n" + + "\x11acknowledge_alarm\x18\" \x01(\v21.mxaccess_gateway.v1.AcknowledgeAlarmReplyPayloadH\x00R\x10acknowledgeAlarm\x12d\n" + + "\x13query_active_alarms\x18# \x01(\v22.mxaccess_gateway.v1.QueryActiveAlarmsReplyPayloadH\x00R\x11queryActiveAlarms\x12D\n" + + "\n" + + "write_bulk\x18$ \x01(\v2#.mxaccess_gateway.v1.BulkWriteReplyH\x00R\twriteBulk\x12F\n" + + "\vwrite2_bulk\x18% \x01(\v2#.mxaccess_gateway.v1.BulkWriteReplyH\x00R\n" + + "write2Bulk\x12S\n" + + "\x12write_secured_bulk\x18& \x01(\v2#.mxaccess_gateway.v1.BulkWriteReplyH\x00R\x10writeSecuredBulk\x12U\n" + + "\x13write_secured2_bulk\x18' \x01(\v2#.mxaccess_gateway.v1.BulkWriteReplyH\x00R\x11writeSecured2Bulk\x12A\n" + + "\tread_bulk\x18( \x01(\v2\".mxaccess_gateway.v1.BulkReadReplyH\x00R\breadBulk\x12M\n" + "\rsession_state\x18d \x01(\v2&.mxaccess_gateway.v1.SessionStateReplyH\x00R\fsessionState\x12G\n" + "\vworker_info\x18e \x01(\v2$.mxaccess_gateway.v1.WorkerInfoReplyH\x00R\n" + "workerInfo\x12J\n" + @@ -6336,7 +8220,36 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\x0ewas_successful\x18\x04 \x01(\bR\rwasSuccessful\x12#\n" + "\rerror_message\x18\x05 \x01(\tR\ferrorMessage\"T\n" + "\x12BulkSubscribeReply\x12>\n" + - "\aresults\x18\x01 \x03(\v2$.mxaccess_gateway.v1.SubscribeResultR\aresults\"L\n" + + "\aresults\x18\x01 \x03(\v2$.mxaccess_gateway.v1.SubscribeResultR\aresults\"\x8e\x02\n" + + "\x0fBulkWriteResult\x12#\n" + + "\rserver_handle\x18\x01 \x01(\x05R\fserverHandle\x12\x1f\n" + + "\vitem_handle\x18\x02 \x01(\x05R\n" + + "itemHandle\x12%\n" + + "\x0ewas_successful\x18\x03 \x01(\bR\rwasSuccessful\x12\x1d\n" + + "\ahresult\x18\x04 \x01(\x05H\x00R\ahresult\x88\x01\x01\x12>\n" + + "\bstatuses\x18\x05 \x03(\v2\".mxaccess_gateway.v1.MxStatusProxyR\bstatuses\x12#\n" + + "\rerror_message\x18\x06 \x01(\tR\ferrorMessageB\n" + + "\n" + + "\b_hresult\"P\n" + + "\x0eBulkWriteReply\x12>\n" + + "\aresults\x18\x01 \x03(\v2$.mxaccess_gateway.v1.BulkWriteResultR\aresults\"\xb7\x03\n" + + "\x0eBulkReadResult\x12#\n" + + "\rserver_handle\x18\x01 \x01(\x05R\fserverHandle\x12\x1f\n" + + "\vtag_address\x18\x02 \x01(\tR\n" + + "tagAddress\x12\x1f\n" + + "\vitem_handle\x18\x03 \x01(\x05R\n" + + "itemHandle\x12%\n" + + "\x0ewas_successful\x18\x04 \x01(\bR\rwasSuccessful\x12\x1d\n" + + "\n" + + "was_cached\x18\x05 \x01(\bR\twasCached\x122\n" + + "\x05value\x18\x06 \x01(\v2\x1c.mxaccess_gateway.v1.MxValueR\x05value\x12\x18\n" + + "\aquality\x18\a \x01(\x05R\aquality\x12E\n" + + "\x10source_timestamp\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\x0fsourceTimestamp\x12>\n" + + "\bstatuses\x18\t \x03(\v2\".mxaccess_gateway.v1.MxStatusProxyR\bstatuses\x12#\n" + + "\rerror_message\x18\n" + + " \x01(\tR\ferrorMessage\"N\n" + + "\rBulkReadReply\x12=\n" + + "\aresults\x18\x01 \x03(\v2#.mxaccess_gateway.v1.BulkReadResultR\aresults\"L\n" + "\x11SessionStateReply\x127\n" + "\x05state\x18\x01 \x01(\x0e2!.mxaccess_gateway.v1.SessionStateR\x05state\"\xb4\x01\n" + "\x0fWorkerInfoReply\x12*\n" + @@ -6345,7 +8258,11 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\x0fmxaccess_progid\x18\x03 \x01(\tR\x0emxaccessProgid\x12%\n" + "\x0emxaccess_clsid\x18\x04 \x01(\tR\rmxaccessClsid\"H\n" + "\x10DrainEventsReply\x124\n" + - "\x06events\x18\x01 \x03(\v2\x1c.mxaccess_gateway.v1.MxEventR\x06events\"\xe8\b\n" + + "\x06events\x18\x01 \x03(\v2\x1c.mxaccess_gateway.v1.MxEventR\x06events\"C\n" + + "\x1cAcknowledgeAlarmReplyPayload\x12#\n" + + "\rnative_status\x18\x01 \x01(\x05R\fnativeStatus\"g\n" + + "\x1dQueryActiveAlarmsReplyPayload\x12F\n" + + "\tsnapshots\x18\x01 \x03(\v2(.mxaccess_gateway.v1.ActiveAlarmSnapshotR\tsnapshots\"\xe8\b\n" + "\aMxEvent\x12:\n" + "\x06family\x18\x01 \x01(\x0e2\".mxaccess_gateway.v1.MxEventFamilyR\x06family\x12\x1d\n" + "\n" + @@ -6411,29 +8328,32 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\x10operator_comment\x18\v \x01(\tR\x0foperatorComment\x12A\n" + "\rcurrent_value\x18\f \x01(\v2\x1c.mxaccess_gateway.v1.MxValueR\fcurrentValue\x12=\n" + "\vlimit_value\x18\r \x01(\v2\x1c.mxaccess_gateway.v1.MxValueR\n" + - "limitValue\"\xdd\x01\n" + - "\x17AcknowledgeAlarmRequest\x12\x1d\n" + - "\n" + - "session_id\x18\x01 \x01(\tR\tsessionId\x122\n" + + "limitValue\"\xd0\x01\n" + + "\x17AcknowledgeAlarmRequest\x122\n" + "\x15client_correlation_id\x18\x02 \x01(\tR\x13clientCorrelationId\x120\n" + "\x14alarm_full_reference\x18\x03 \x01(\tR\x12alarmFullReference\x12\x18\n" + "\acomment\x18\x04 \x01(\tR\acomment\x12#\n" + - "\roperator_user\x18\x05 \x01(\tR\foperatorUser\"\xc1\x02\n" + - "\x15AcknowledgeAlarmReply\x12\x1d\n" + - "\n" + - "session_id\x18\x01 \x01(\tR\tsessionId\x12%\n" + + "\roperator_user\x18\x05 \x01(\tR\foperatorUserJ\x04\b\x01\x10\x02R\n" + + "session_id\"\xb4\x02\n" + + "\x15AcknowledgeAlarmReply\x12%\n" + "\x0ecorrelation_id\x18\x02 \x01(\tR\rcorrelationId\x12L\n" + "\x0fprotocol_status\x18\x03 \x01(\v2#.mxaccess_gateway.v1.ProtocolStatusR\x0eprotocolStatus\x12\x1d\n" + "\ahresult\x18\x04 \x01(\x05H\x00R\ahresult\x88\x01\x01\x12:\n" + "\x06status\x18\x05 \x01(\v2\".mxaccess_gateway.v1.MxStatusProxyR\x06status\x12-\n" + "\x12diagnostic_message\x18\x06 \x01(\tR\x11diagnosticMessageB\n" + "\n" + - "\b_hresult\"\x9d\x01\n" + - "\x18QueryActiveAlarmsRequest\x12\x1d\n" + + "\b_hresultJ\x04\b\x01\x10\x02R\n" + + "session_id\"y\n" + + "\x13StreamAlarmsRequest\x122\n" + + "\x15client_correlation_id\x18\x01 \x01(\tR\x13clientCorrelationId\x12.\n" + + "\x13alarm_filter_prefix\x18\x02 \x01(\tR\x11alarmFilterPrefix\"\xea\x01\n" + + "\x10AlarmFeedMessage\x12M\n" + + "\factive_alarm\x18\x01 \x01(\v2(.mxaccess_gateway.v1.ActiveAlarmSnapshotH\x00R\vactiveAlarm\x12-\n" + + "\x11snapshot_complete\x18\x02 \x01(\bH\x00R\x10snapshotComplete\x12M\n" + "\n" + - "session_id\x18\x01 \x01(\tR\tsessionId\x122\n" + - "\x15client_correlation_id\x18\x02 \x01(\tR\x13clientCorrelationId\x12.\n" + - "\x13alarm_filter_prefix\x18\x03 \x01(\tR\x11alarmFilterPrefix\"\xbe\x02\n" + + "transition\x18\x03 \x01(\v2+.mxaccess_gateway.v1.OnAlarmTransitionEventH\x00R\n" + + "transitionB\t\n" + + "\apayload\"\xbe\x02\n" + "\rMxStatusProxy\x12\x18\n" + "\asuccess\x18\x01 \x01(\x05R\asuccess\x12A\n" + "\bcategory\x18\x02 \x01(\x0e2%.mxaccess_gateway.v1.MxStatusCategoryR\bcategory\x12D\n" + @@ -6506,7 +8426,7 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\x06values\x18\x01 \x03(\fR\x06values\"g\n" + "\x0eProtocolStatus\x12;\n" + "\x04code\x18\x01 \x01(\x0e2'.mxaccess_gateway.v1.ProtocolStatusCodeR\x04code\x12\x18\n" + - "\amessage\x18\x02 \x01(\tR\amessage*\xa1\b\n" + + "\amessage\x18\x02 \x01(\tR\amessage*\x9f\v\n" + "\rMxCommandKind\x12\x1f\n" + "\x1bMX_COMMAND_KIND_UNSPECIFIED\x10\x00\x12\x1c\n" + "\x18MX_COMMAND_KIND_REGISTER\x10\x01\x12\x1e\n" + @@ -6533,7 +8453,17 @@ const file_mxaccess_gateway_proto_rawDesc = "" + " MX_COMMAND_KIND_REMOVE_ITEM_BULK\x10\x15\x12'\n" + "#MX_COMMAND_KIND_UN_ADVISE_ITEM_BULK\x10\x16\x12\"\n" + "\x1eMX_COMMAND_KIND_SUBSCRIBE_BULK\x10\x17\x12$\n" + - " MX_COMMAND_KIND_UNSUBSCRIBE_BULK\x10\x18\x12\x18\n" + + " MX_COMMAND_KIND_UNSUBSCRIBE_BULK\x10\x18\x12$\n" + + " MX_COMMAND_KIND_SUBSCRIBE_ALARMS\x10\x19\x12&\n" + + "\"MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS\x10\x1a\x12%\n" + + "!MX_COMMAND_KIND_ACKNOWLEDGE_ALARM\x10\x1b\x12'\n" + + "#MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS\x10\x1c\x12-\n" + + ")MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME\x10\x1d\x12\x1e\n" + + "\x1aMX_COMMAND_KIND_WRITE_BULK\x10\x1e\x12\x1f\n" + + "\x1bMX_COMMAND_KIND_WRITE2_BULK\x10\x1f\x12&\n" + + "\"MX_COMMAND_KIND_WRITE_SECURED_BULK\x10 \x12'\n" + + "#MX_COMMAND_KIND_WRITE_SECURED2_BULK\x10!\x12\x1d\n" + + "\x19MX_COMMAND_KIND_READ_BULK\x10\"\x12\x18\n" + "\x14MX_COMMAND_KIND_PING\x10d\x12%\n" + "!MX_COMMAND_KIND_GET_SESSION_STATE\x10e\x12#\n" + "\x1fMX_COMMAND_KIND_GET_WORKER_INFO\x10f\x12 \n" + @@ -6623,14 +8553,15 @@ const file_mxaccess_gateway_proto_rawDesc = "" + "\x13SESSION_STATE_READY\x10\x06\x12\x19\n" + "\x15SESSION_STATE_CLOSING\x10\a\x12\x18\n" + "\x14SESSION_STATE_CLOSED\x10\b\x12\x19\n" + - "\x15SESSION_STATE_FAULTED\x10\t2\xe0\x04\n" + + "\x15SESSION_STATE_FAULTED\x10\t2\xc3\x05\n" + "\x0fMxAccessGateway\x12]\n" + "\vOpenSession\x12'.mxaccess_gateway.v1.OpenSessionRequest\x1a%.mxaccess_gateway.v1.OpenSessionReply\x12`\n" + "\fCloseSession\x12(.mxaccess_gateway.v1.CloseSessionRequest\x1a&.mxaccess_gateway.v1.CloseSessionReply\x12T\n" + "\x06Invoke\x12%.mxaccess_gateway.v1.MxCommandRequest\x1a#.mxaccess_gateway.v1.MxCommandReply\x12X\n" + "\fStreamEvents\x12(.mxaccess_gateway.v1.StreamEventsRequest\x1a\x1c.mxaccess_gateway.v1.MxEvent0\x01\x12l\n" + - "\x10AcknowledgeAlarm\x12,.mxaccess_gateway.v1.AcknowledgeAlarmRequest\x1a*.mxaccess_gateway.v1.AcknowledgeAlarmReply\x12n\n" + - "\x11QueryActiveAlarms\x12-.mxaccess_gateway.v1.QueryActiveAlarmsRequest\x1a(.mxaccess_gateway.v1.ActiveAlarmSnapshot0\x01B\x1c\xaa\x02\x19MxGateway.Contracts.Protob\x06proto3" + "\x10AcknowledgeAlarm\x12,.mxaccess_gateway.v1.AcknowledgeAlarmRequest\x1a*.mxaccess_gateway.v1.AcknowledgeAlarmReply\x12a\n" + + "\fStreamAlarms\x12(.mxaccess_gateway.v1.StreamAlarmsRequest\x1a%.mxaccess_gateway.v1.AlarmFeedMessage0\x01\x12n\n" + + "\x11QueryActiveAlarms\x12-.mxaccess_gateway.v1.QueryActiveAlarmsRequest\x1a(.mxaccess_gateway.v1.ActiveAlarmSnapshot0\x01B&\xaa\x02#ZB.MOM.WW.MxGateway.Contracts.Protob\x06proto3" var ( file_mxaccess_gateway_proto_rawDescOnce sync.Once @@ -6645,7 +8576,7 @@ func file_mxaccess_gateway_proto_rawDescGZIP() []byte { } var file_mxaccess_gateway_proto_enumTypes = make([]protoimpl.EnumInfo, 9) -var file_mxaccess_gateway_proto_msgTypes = make([]protoimpl.MessageInfo, 72) +var file_mxaccess_gateway_proto_msgTypes = make([]protoimpl.MessageInfo, 94) var file_mxaccess_gateway_proto_goTypes = []any{ (MxCommandKind)(0), // 0: mxaccess_gateway.v1.MxCommandKind (MxEventFamily)(0), // 1: mxaccess_gateway.v1.MxEventFamily @@ -6656,210 +8587,270 @@ var file_mxaccess_gateway_proto_goTypes = []any{ (MxDataType)(0), // 6: mxaccess_gateway.v1.MxDataType (ProtocolStatusCode)(0), // 7: mxaccess_gateway.v1.ProtocolStatusCode (SessionState)(0), // 8: mxaccess_gateway.v1.SessionState - (*OpenSessionRequest)(nil), // 9: mxaccess_gateway.v1.OpenSessionRequest - (*OpenSessionReply)(nil), // 10: mxaccess_gateway.v1.OpenSessionReply - (*CloseSessionRequest)(nil), // 11: mxaccess_gateway.v1.CloseSessionRequest - (*CloseSessionReply)(nil), // 12: mxaccess_gateway.v1.CloseSessionReply - (*StreamEventsRequest)(nil), // 13: mxaccess_gateway.v1.StreamEventsRequest - (*MxCommandRequest)(nil), // 14: mxaccess_gateway.v1.MxCommandRequest - (*MxCommand)(nil), // 15: mxaccess_gateway.v1.MxCommand - (*RegisterCommand)(nil), // 16: mxaccess_gateway.v1.RegisterCommand - (*UnregisterCommand)(nil), // 17: mxaccess_gateway.v1.UnregisterCommand - (*AddItemCommand)(nil), // 18: mxaccess_gateway.v1.AddItemCommand - (*AddItem2Command)(nil), // 19: mxaccess_gateway.v1.AddItem2Command - (*RemoveItemCommand)(nil), // 20: mxaccess_gateway.v1.RemoveItemCommand - (*AdviseCommand)(nil), // 21: mxaccess_gateway.v1.AdviseCommand - (*UnAdviseCommand)(nil), // 22: mxaccess_gateway.v1.UnAdviseCommand - (*AdviseSupervisoryCommand)(nil), // 23: mxaccess_gateway.v1.AdviseSupervisoryCommand - (*AddBufferedItemCommand)(nil), // 24: mxaccess_gateway.v1.AddBufferedItemCommand - (*SetBufferedUpdateIntervalCommand)(nil), // 25: mxaccess_gateway.v1.SetBufferedUpdateIntervalCommand - (*SuspendCommand)(nil), // 26: mxaccess_gateway.v1.SuspendCommand - (*ActivateCommand)(nil), // 27: mxaccess_gateway.v1.ActivateCommand - (*WriteCommand)(nil), // 28: mxaccess_gateway.v1.WriteCommand - (*Write2Command)(nil), // 29: mxaccess_gateway.v1.Write2Command - (*WriteSecuredCommand)(nil), // 30: mxaccess_gateway.v1.WriteSecuredCommand - (*WriteSecured2Command)(nil), // 31: mxaccess_gateway.v1.WriteSecured2Command - (*AuthenticateUserCommand)(nil), // 32: mxaccess_gateway.v1.AuthenticateUserCommand - (*ArchestrAUserToIdCommand)(nil), // 33: mxaccess_gateway.v1.ArchestrAUserToIdCommand - (*AddItemBulkCommand)(nil), // 34: mxaccess_gateway.v1.AddItemBulkCommand - (*AdviseItemBulkCommand)(nil), // 35: mxaccess_gateway.v1.AdviseItemBulkCommand - (*RemoveItemBulkCommand)(nil), // 36: mxaccess_gateway.v1.RemoveItemBulkCommand - (*UnAdviseItemBulkCommand)(nil), // 37: mxaccess_gateway.v1.UnAdviseItemBulkCommand - (*SubscribeBulkCommand)(nil), // 38: mxaccess_gateway.v1.SubscribeBulkCommand - (*UnsubscribeBulkCommand)(nil), // 39: mxaccess_gateway.v1.UnsubscribeBulkCommand - (*PingCommand)(nil), // 40: mxaccess_gateway.v1.PingCommand - (*GetSessionStateCommand)(nil), // 41: mxaccess_gateway.v1.GetSessionStateCommand - (*GetWorkerInfoCommand)(nil), // 42: mxaccess_gateway.v1.GetWorkerInfoCommand - (*DrainEventsCommand)(nil), // 43: mxaccess_gateway.v1.DrainEventsCommand - (*ShutdownWorkerCommand)(nil), // 44: mxaccess_gateway.v1.ShutdownWorkerCommand - (*MxCommandReply)(nil), // 45: mxaccess_gateway.v1.MxCommandReply - (*RegisterReply)(nil), // 46: mxaccess_gateway.v1.RegisterReply - (*AddItemReply)(nil), // 47: mxaccess_gateway.v1.AddItemReply - (*AddItem2Reply)(nil), // 48: mxaccess_gateway.v1.AddItem2Reply - (*AddBufferedItemReply)(nil), // 49: mxaccess_gateway.v1.AddBufferedItemReply - (*SuspendReply)(nil), // 50: mxaccess_gateway.v1.SuspendReply - (*ActivateReply)(nil), // 51: mxaccess_gateway.v1.ActivateReply - (*AuthenticateUserReply)(nil), // 52: mxaccess_gateway.v1.AuthenticateUserReply - (*ArchestrAUserToIdReply)(nil), // 53: mxaccess_gateway.v1.ArchestrAUserToIdReply - (*SubscribeResult)(nil), // 54: mxaccess_gateway.v1.SubscribeResult - (*BulkSubscribeReply)(nil), // 55: mxaccess_gateway.v1.BulkSubscribeReply - (*SessionStateReply)(nil), // 56: mxaccess_gateway.v1.SessionStateReply - (*WorkerInfoReply)(nil), // 57: mxaccess_gateway.v1.WorkerInfoReply - (*DrainEventsReply)(nil), // 58: mxaccess_gateway.v1.DrainEventsReply - (*MxEvent)(nil), // 59: mxaccess_gateway.v1.MxEvent - (*OnDataChangeEvent)(nil), // 60: mxaccess_gateway.v1.OnDataChangeEvent - (*OnWriteCompleteEvent)(nil), // 61: mxaccess_gateway.v1.OnWriteCompleteEvent - (*OperationCompleteEvent)(nil), // 62: mxaccess_gateway.v1.OperationCompleteEvent - (*OnBufferedDataChangeEvent)(nil), // 63: mxaccess_gateway.v1.OnBufferedDataChangeEvent - (*OnAlarmTransitionEvent)(nil), // 64: mxaccess_gateway.v1.OnAlarmTransitionEvent - (*ActiveAlarmSnapshot)(nil), // 65: mxaccess_gateway.v1.ActiveAlarmSnapshot - (*AcknowledgeAlarmRequest)(nil), // 66: mxaccess_gateway.v1.AcknowledgeAlarmRequest - (*AcknowledgeAlarmReply)(nil), // 67: mxaccess_gateway.v1.AcknowledgeAlarmReply - (*QueryActiveAlarmsRequest)(nil), // 68: mxaccess_gateway.v1.QueryActiveAlarmsRequest - (*MxStatusProxy)(nil), // 69: mxaccess_gateway.v1.MxStatusProxy - (*MxValue)(nil), // 70: mxaccess_gateway.v1.MxValue - (*MxArray)(nil), // 71: mxaccess_gateway.v1.MxArray - (*BoolArray)(nil), // 72: mxaccess_gateway.v1.BoolArray - (*Int32Array)(nil), // 73: mxaccess_gateway.v1.Int32Array - (*Int64Array)(nil), // 74: mxaccess_gateway.v1.Int64Array - (*FloatArray)(nil), // 75: mxaccess_gateway.v1.FloatArray - (*DoubleArray)(nil), // 76: mxaccess_gateway.v1.DoubleArray - (*StringArray)(nil), // 77: mxaccess_gateway.v1.StringArray - (*TimestampArray)(nil), // 78: mxaccess_gateway.v1.TimestampArray - (*RawArray)(nil), // 79: mxaccess_gateway.v1.RawArray - (*ProtocolStatus)(nil), // 80: mxaccess_gateway.v1.ProtocolStatus - (*durationpb.Duration)(nil), // 81: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 82: google.protobuf.Timestamp + (*QueryActiveAlarmsRequest)(nil), // 9: mxaccess_gateway.v1.QueryActiveAlarmsRequest + (*OpenSessionRequest)(nil), // 10: mxaccess_gateway.v1.OpenSessionRequest + (*OpenSessionReply)(nil), // 11: mxaccess_gateway.v1.OpenSessionReply + (*CloseSessionRequest)(nil), // 12: mxaccess_gateway.v1.CloseSessionRequest + (*CloseSessionReply)(nil), // 13: mxaccess_gateway.v1.CloseSessionReply + (*StreamEventsRequest)(nil), // 14: mxaccess_gateway.v1.StreamEventsRequest + (*MxCommandRequest)(nil), // 15: mxaccess_gateway.v1.MxCommandRequest + (*MxCommand)(nil), // 16: mxaccess_gateway.v1.MxCommand + (*RegisterCommand)(nil), // 17: mxaccess_gateway.v1.RegisterCommand + (*UnregisterCommand)(nil), // 18: mxaccess_gateway.v1.UnregisterCommand + (*AddItemCommand)(nil), // 19: mxaccess_gateway.v1.AddItemCommand + (*AddItem2Command)(nil), // 20: mxaccess_gateway.v1.AddItem2Command + (*RemoveItemCommand)(nil), // 21: mxaccess_gateway.v1.RemoveItemCommand + (*AdviseCommand)(nil), // 22: mxaccess_gateway.v1.AdviseCommand + (*UnAdviseCommand)(nil), // 23: mxaccess_gateway.v1.UnAdviseCommand + (*AdviseSupervisoryCommand)(nil), // 24: mxaccess_gateway.v1.AdviseSupervisoryCommand + (*AddBufferedItemCommand)(nil), // 25: mxaccess_gateway.v1.AddBufferedItemCommand + (*SetBufferedUpdateIntervalCommand)(nil), // 26: mxaccess_gateway.v1.SetBufferedUpdateIntervalCommand + (*SuspendCommand)(nil), // 27: mxaccess_gateway.v1.SuspendCommand + (*ActivateCommand)(nil), // 28: mxaccess_gateway.v1.ActivateCommand + (*WriteCommand)(nil), // 29: mxaccess_gateway.v1.WriteCommand + (*Write2Command)(nil), // 30: mxaccess_gateway.v1.Write2Command + (*WriteSecuredCommand)(nil), // 31: mxaccess_gateway.v1.WriteSecuredCommand + (*WriteSecured2Command)(nil), // 32: mxaccess_gateway.v1.WriteSecured2Command + (*AuthenticateUserCommand)(nil), // 33: mxaccess_gateway.v1.AuthenticateUserCommand + (*ArchestrAUserToIdCommand)(nil), // 34: mxaccess_gateway.v1.ArchestrAUserToIdCommand + (*AddItemBulkCommand)(nil), // 35: mxaccess_gateway.v1.AddItemBulkCommand + (*AdviseItemBulkCommand)(nil), // 36: mxaccess_gateway.v1.AdviseItemBulkCommand + (*RemoveItemBulkCommand)(nil), // 37: mxaccess_gateway.v1.RemoveItemBulkCommand + (*UnAdviseItemBulkCommand)(nil), // 38: mxaccess_gateway.v1.UnAdviseItemBulkCommand + (*SubscribeBulkCommand)(nil), // 39: mxaccess_gateway.v1.SubscribeBulkCommand + (*SubscribeAlarmsCommand)(nil), // 40: mxaccess_gateway.v1.SubscribeAlarmsCommand + (*UnsubscribeAlarmsCommand)(nil), // 41: mxaccess_gateway.v1.UnsubscribeAlarmsCommand + (*AcknowledgeAlarmCommand)(nil), // 42: mxaccess_gateway.v1.AcknowledgeAlarmCommand + (*QueryActiveAlarmsCommand)(nil), // 43: mxaccess_gateway.v1.QueryActiveAlarmsCommand + (*AcknowledgeAlarmByNameCommand)(nil), // 44: mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand + (*UnsubscribeBulkCommand)(nil), // 45: mxaccess_gateway.v1.UnsubscribeBulkCommand + (*WriteBulkCommand)(nil), // 46: mxaccess_gateway.v1.WriteBulkCommand + (*WriteBulkEntry)(nil), // 47: mxaccess_gateway.v1.WriteBulkEntry + (*Write2BulkCommand)(nil), // 48: mxaccess_gateway.v1.Write2BulkCommand + (*Write2BulkEntry)(nil), // 49: mxaccess_gateway.v1.Write2BulkEntry + (*WriteSecuredBulkCommand)(nil), // 50: mxaccess_gateway.v1.WriteSecuredBulkCommand + (*WriteSecuredBulkEntry)(nil), // 51: mxaccess_gateway.v1.WriteSecuredBulkEntry + (*WriteSecured2BulkCommand)(nil), // 52: mxaccess_gateway.v1.WriteSecured2BulkCommand + (*WriteSecured2BulkEntry)(nil), // 53: mxaccess_gateway.v1.WriteSecured2BulkEntry + (*ReadBulkCommand)(nil), // 54: mxaccess_gateway.v1.ReadBulkCommand + (*PingCommand)(nil), // 55: mxaccess_gateway.v1.PingCommand + (*GetSessionStateCommand)(nil), // 56: mxaccess_gateway.v1.GetSessionStateCommand + (*GetWorkerInfoCommand)(nil), // 57: mxaccess_gateway.v1.GetWorkerInfoCommand + (*DrainEventsCommand)(nil), // 58: mxaccess_gateway.v1.DrainEventsCommand + (*ShutdownWorkerCommand)(nil), // 59: mxaccess_gateway.v1.ShutdownWorkerCommand + (*MxCommandReply)(nil), // 60: mxaccess_gateway.v1.MxCommandReply + (*RegisterReply)(nil), // 61: mxaccess_gateway.v1.RegisterReply + (*AddItemReply)(nil), // 62: mxaccess_gateway.v1.AddItemReply + (*AddItem2Reply)(nil), // 63: mxaccess_gateway.v1.AddItem2Reply + (*AddBufferedItemReply)(nil), // 64: mxaccess_gateway.v1.AddBufferedItemReply + (*SuspendReply)(nil), // 65: mxaccess_gateway.v1.SuspendReply + (*ActivateReply)(nil), // 66: mxaccess_gateway.v1.ActivateReply + (*AuthenticateUserReply)(nil), // 67: mxaccess_gateway.v1.AuthenticateUserReply + (*ArchestrAUserToIdReply)(nil), // 68: mxaccess_gateway.v1.ArchestrAUserToIdReply + (*SubscribeResult)(nil), // 69: mxaccess_gateway.v1.SubscribeResult + (*BulkSubscribeReply)(nil), // 70: mxaccess_gateway.v1.BulkSubscribeReply + (*BulkWriteResult)(nil), // 71: mxaccess_gateway.v1.BulkWriteResult + (*BulkWriteReply)(nil), // 72: mxaccess_gateway.v1.BulkWriteReply + (*BulkReadResult)(nil), // 73: mxaccess_gateway.v1.BulkReadResult + (*BulkReadReply)(nil), // 74: mxaccess_gateway.v1.BulkReadReply + (*SessionStateReply)(nil), // 75: mxaccess_gateway.v1.SessionStateReply + (*WorkerInfoReply)(nil), // 76: mxaccess_gateway.v1.WorkerInfoReply + (*DrainEventsReply)(nil), // 77: mxaccess_gateway.v1.DrainEventsReply + (*AcknowledgeAlarmReplyPayload)(nil), // 78: mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload + (*QueryActiveAlarmsReplyPayload)(nil), // 79: mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload + (*MxEvent)(nil), // 80: mxaccess_gateway.v1.MxEvent + (*OnDataChangeEvent)(nil), // 81: mxaccess_gateway.v1.OnDataChangeEvent + (*OnWriteCompleteEvent)(nil), // 82: mxaccess_gateway.v1.OnWriteCompleteEvent + (*OperationCompleteEvent)(nil), // 83: mxaccess_gateway.v1.OperationCompleteEvent + (*OnBufferedDataChangeEvent)(nil), // 84: mxaccess_gateway.v1.OnBufferedDataChangeEvent + (*OnAlarmTransitionEvent)(nil), // 85: mxaccess_gateway.v1.OnAlarmTransitionEvent + (*ActiveAlarmSnapshot)(nil), // 86: mxaccess_gateway.v1.ActiveAlarmSnapshot + (*AcknowledgeAlarmRequest)(nil), // 87: mxaccess_gateway.v1.AcknowledgeAlarmRequest + (*AcknowledgeAlarmReply)(nil), // 88: mxaccess_gateway.v1.AcknowledgeAlarmReply + (*StreamAlarmsRequest)(nil), // 89: mxaccess_gateway.v1.StreamAlarmsRequest + (*AlarmFeedMessage)(nil), // 90: mxaccess_gateway.v1.AlarmFeedMessage + (*MxStatusProxy)(nil), // 91: mxaccess_gateway.v1.MxStatusProxy + (*MxValue)(nil), // 92: mxaccess_gateway.v1.MxValue + (*MxArray)(nil), // 93: mxaccess_gateway.v1.MxArray + (*BoolArray)(nil), // 94: mxaccess_gateway.v1.BoolArray + (*Int32Array)(nil), // 95: mxaccess_gateway.v1.Int32Array + (*Int64Array)(nil), // 96: mxaccess_gateway.v1.Int64Array + (*FloatArray)(nil), // 97: mxaccess_gateway.v1.FloatArray + (*DoubleArray)(nil), // 98: mxaccess_gateway.v1.DoubleArray + (*StringArray)(nil), // 99: mxaccess_gateway.v1.StringArray + (*TimestampArray)(nil), // 100: mxaccess_gateway.v1.TimestampArray + (*RawArray)(nil), // 101: mxaccess_gateway.v1.RawArray + (*ProtocolStatus)(nil), // 102: mxaccess_gateway.v1.ProtocolStatus + (*durationpb.Duration)(nil), // 103: google.protobuf.Duration + (*timestamppb.Timestamp)(nil), // 104: google.protobuf.Timestamp } var file_mxaccess_gateway_proto_depIdxs = []int32{ - 81, // 0: mxaccess_gateway.v1.OpenSessionRequest.command_timeout:type_name -> google.protobuf.Duration - 81, // 1: mxaccess_gateway.v1.OpenSessionReply.default_command_timeout:type_name -> google.protobuf.Duration - 80, // 2: mxaccess_gateway.v1.OpenSessionReply.protocol_status:type_name -> mxaccess_gateway.v1.ProtocolStatus + 103, // 0: mxaccess_gateway.v1.OpenSessionRequest.command_timeout:type_name -> google.protobuf.Duration + 103, // 1: mxaccess_gateway.v1.OpenSessionReply.default_command_timeout:type_name -> google.protobuf.Duration + 102, // 2: mxaccess_gateway.v1.OpenSessionReply.protocol_status:type_name -> mxaccess_gateway.v1.ProtocolStatus 8, // 3: mxaccess_gateway.v1.CloseSessionReply.final_state:type_name -> mxaccess_gateway.v1.SessionState - 80, // 4: mxaccess_gateway.v1.CloseSessionReply.protocol_status:type_name -> mxaccess_gateway.v1.ProtocolStatus - 15, // 5: mxaccess_gateway.v1.MxCommandRequest.command:type_name -> mxaccess_gateway.v1.MxCommand + 102, // 4: mxaccess_gateway.v1.CloseSessionReply.protocol_status:type_name -> mxaccess_gateway.v1.ProtocolStatus + 16, // 5: mxaccess_gateway.v1.MxCommandRequest.command:type_name -> mxaccess_gateway.v1.MxCommand 0, // 6: mxaccess_gateway.v1.MxCommand.kind:type_name -> mxaccess_gateway.v1.MxCommandKind - 16, // 7: mxaccess_gateway.v1.MxCommand.register:type_name -> mxaccess_gateway.v1.RegisterCommand - 17, // 8: mxaccess_gateway.v1.MxCommand.unregister:type_name -> mxaccess_gateway.v1.UnregisterCommand - 18, // 9: mxaccess_gateway.v1.MxCommand.add_item:type_name -> mxaccess_gateway.v1.AddItemCommand - 19, // 10: mxaccess_gateway.v1.MxCommand.add_item2:type_name -> mxaccess_gateway.v1.AddItem2Command - 20, // 11: mxaccess_gateway.v1.MxCommand.remove_item:type_name -> mxaccess_gateway.v1.RemoveItemCommand - 21, // 12: mxaccess_gateway.v1.MxCommand.advise:type_name -> mxaccess_gateway.v1.AdviseCommand - 22, // 13: mxaccess_gateway.v1.MxCommand.un_advise:type_name -> mxaccess_gateway.v1.UnAdviseCommand - 23, // 14: mxaccess_gateway.v1.MxCommand.advise_supervisory:type_name -> mxaccess_gateway.v1.AdviseSupervisoryCommand - 24, // 15: mxaccess_gateway.v1.MxCommand.add_buffered_item:type_name -> mxaccess_gateway.v1.AddBufferedItemCommand - 25, // 16: mxaccess_gateway.v1.MxCommand.set_buffered_update_interval:type_name -> mxaccess_gateway.v1.SetBufferedUpdateIntervalCommand - 26, // 17: mxaccess_gateway.v1.MxCommand.suspend:type_name -> mxaccess_gateway.v1.SuspendCommand - 27, // 18: mxaccess_gateway.v1.MxCommand.activate:type_name -> mxaccess_gateway.v1.ActivateCommand - 28, // 19: mxaccess_gateway.v1.MxCommand.write:type_name -> mxaccess_gateway.v1.WriteCommand - 29, // 20: mxaccess_gateway.v1.MxCommand.write2:type_name -> mxaccess_gateway.v1.Write2Command - 30, // 21: mxaccess_gateway.v1.MxCommand.write_secured:type_name -> mxaccess_gateway.v1.WriteSecuredCommand - 31, // 22: mxaccess_gateway.v1.MxCommand.write_secured2:type_name -> mxaccess_gateway.v1.WriteSecured2Command - 32, // 23: mxaccess_gateway.v1.MxCommand.authenticate_user:type_name -> mxaccess_gateway.v1.AuthenticateUserCommand - 33, // 24: mxaccess_gateway.v1.MxCommand.archestra_user_to_id:type_name -> mxaccess_gateway.v1.ArchestrAUserToIdCommand - 34, // 25: mxaccess_gateway.v1.MxCommand.add_item_bulk:type_name -> mxaccess_gateway.v1.AddItemBulkCommand - 35, // 26: mxaccess_gateway.v1.MxCommand.advise_item_bulk:type_name -> mxaccess_gateway.v1.AdviseItemBulkCommand - 36, // 27: mxaccess_gateway.v1.MxCommand.remove_item_bulk:type_name -> mxaccess_gateway.v1.RemoveItemBulkCommand - 37, // 28: mxaccess_gateway.v1.MxCommand.un_advise_item_bulk:type_name -> mxaccess_gateway.v1.UnAdviseItemBulkCommand - 38, // 29: mxaccess_gateway.v1.MxCommand.subscribe_bulk:type_name -> mxaccess_gateway.v1.SubscribeBulkCommand - 39, // 30: mxaccess_gateway.v1.MxCommand.unsubscribe_bulk:type_name -> mxaccess_gateway.v1.UnsubscribeBulkCommand - 40, // 31: mxaccess_gateway.v1.MxCommand.ping:type_name -> mxaccess_gateway.v1.PingCommand - 41, // 32: mxaccess_gateway.v1.MxCommand.get_session_state:type_name -> mxaccess_gateway.v1.GetSessionStateCommand - 42, // 33: mxaccess_gateway.v1.MxCommand.get_worker_info:type_name -> mxaccess_gateway.v1.GetWorkerInfoCommand - 43, // 34: mxaccess_gateway.v1.MxCommand.drain_events:type_name -> mxaccess_gateway.v1.DrainEventsCommand - 44, // 35: mxaccess_gateway.v1.MxCommand.shutdown_worker:type_name -> mxaccess_gateway.v1.ShutdownWorkerCommand - 70, // 36: mxaccess_gateway.v1.WriteCommand.value:type_name -> mxaccess_gateway.v1.MxValue - 70, // 37: mxaccess_gateway.v1.Write2Command.value:type_name -> mxaccess_gateway.v1.MxValue - 70, // 38: mxaccess_gateway.v1.Write2Command.timestamp_value:type_name -> mxaccess_gateway.v1.MxValue - 70, // 39: mxaccess_gateway.v1.WriteSecuredCommand.value:type_name -> mxaccess_gateway.v1.MxValue - 70, // 40: mxaccess_gateway.v1.WriteSecured2Command.value:type_name -> mxaccess_gateway.v1.MxValue - 70, // 41: mxaccess_gateway.v1.WriteSecured2Command.timestamp_value:type_name -> mxaccess_gateway.v1.MxValue - 81, // 42: mxaccess_gateway.v1.ShutdownWorkerCommand.grace_period:type_name -> google.protobuf.Duration - 0, // 43: mxaccess_gateway.v1.MxCommandReply.kind:type_name -> mxaccess_gateway.v1.MxCommandKind - 80, // 44: mxaccess_gateway.v1.MxCommandReply.protocol_status:type_name -> mxaccess_gateway.v1.ProtocolStatus - 70, // 45: mxaccess_gateway.v1.MxCommandReply.return_value:type_name -> mxaccess_gateway.v1.MxValue - 69, // 46: mxaccess_gateway.v1.MxCommandReply.statuses:type_name -> mxaccess_gateway.v1.MxStatusProxy - 46, // 47: mxaccess_gateway.v1.MxCommandReply.register:type_name -> mxaccess_gateway.v1.RegisterReply - 47, // 48: mxaccess_gateway.v1.MxCommandReply.add_item:type_name -> mxaccess_gateway.v1.AddItemReply - 48, // 49: mxaccess_gateway.v1.MxCommandReply.add_item2:type_name -> mxaccess_gateway.v1.AddItem2Reply - 49, // 50: mxaccess_gateway.v1.MxCommandReply.add_buffered_item:type_name -> mxaccess_gateway.v1.AddBufferedItemReply - 50, // 51: mxaccess_gateway.v1.MxCommandReply.suspend:type_name -> mxaccess_gateway.v1.SuspendReply - 51, // 52: mxaccess_gateway.v1.MxCommandReply.activate:type_name -> mxaccess_gateway.v1.ActivateReply - 52, // 53: mxaccess_gateway.v1.MxCommandReply.authenticate_user:type_name -> mxaccess_gateway.v1.AuthenticateUserReply - 53, // 54: mxaccess_gateway.v1.MxCommandReply.archestra_user_to_id:type_name -> mxaccess_gateway.v1.ArchestrAUserToIdReply - 55, // 55: mxaccess_gateway.v1.MxCommandReply.add_item_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply - 55, // 56: mxaccess_gateway.v1.MxCommandReply.advise_item_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply - 55, // 57: mxaccess_gateway.v1.MxCommandReply.remove_item_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply - 55, // 58: mxaccess_gateway.v1.MxCommandReply.un_advise_item_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply - 55, // 59: mxaccess_gateway.v1.MxCommandReply.subscribe_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply - 55, // 60: mxaccess_gateway.v1.MxCommandReply.unsubscribe_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply - 56, // 61: mxaccess_gateway.v1.MxCommandReply.session_state:type_name -> mxaccess_gateway.v1.SessionStateReply - 57, // 62: mxaccess_gateway.v1.MxCommandReply.worker_info:type_name -> mxaccess_gateway.v1.WorkerInfoReply - 58, // 63: mxaccess_gateway.v1.MxCommandReply.drain_events:type_name -> mxaccess_gateway.v1.DrainEventsReply - 69, // 64: mxaccess_gateway.v1.SuspendReply.status:type_name -> mxaccess_gateway.v1.MxStatusProxy - 69, // 65: mxaccess_gateway.v1.ActivateReply.status:type_name -> mxaccess_gateway.v1.MxStatusProxy - 54, // 66: mxaccess_gateway.v1.BulkSubscribeReply.results:type_name -> mxaccess_gateway.v1.SubscribeResult - 8, // 67: mxaccess_gateway.v1.SessionStateReply.state:type_name -> mxaccess_gateway.v1.SessionState - 59, // 68: mxaccess_gateway.v1.DrainEventsReply.events:type_name -> mxaccess_gateway.v1.MxEvent - 1, // 69: mxaccess_gateway.v1.MxEvent.family:type_name -> mxaccess_gateway.v1.MxEventFamily - 70, // 70: mxaccess_gateway.v1.MxEvent.value:type_name -> mxaccess_gateway.v1.MxValue - 82, // 71: mxaccess_gateway.v1.MxEvent.source_timestamp:type_name -> google.protobuf.Timestamp - 69, // 72: mxaccess_gateway.v1.MxEvent.statuses:type_name -> mxaccess_gateway.v1.MxStatusProxy - 82, // 73: mxaccess_gateway.v1.MxEvent.worker_timestamp:type_name -> google.protobuf.Timestamp - 82, // 74: mxaccess_gateway.v1.MxEvent.gateway_receive_timestamp:type_name -> google.protobuf.Timestamp - 60, // 75: mxaccess_gateway.v1.MxEvent.on_data_change:type_name -> mxaccess_gateway.v1.OnDataChangeEvent - 61, // 76: mxaccess_gateway.v1.MxEvent.on_write_complete:type_name -> mxaccess_gateway.v1.OnWriteCompleteEvent - 62, // 77: mxaccess_gateway.v1.MxEvent.operation_complete:type_name -> mxaccess_gateway.v1.OperationCompleteEvent - 63, // 78: mxaccess_gateway.v1.MxEvent.on_buffered_data_change:type_name -> mxaccess_gateway.v1.OnBufferedDataChangeEvent - 64, // 79: mxaccess_gateway.v1.MxEvent.on_alarm_transition:type_name -> mxaccess_gateway.v1.OnAlarmTransitionEvent - 6, // 80: mxaccess_gateway.v1.OnBufferedDataChangeEvent.data_type:type_name -> mxaccess_gateway.v1.MxDataType - 71, // 81: mxaccess_gateway.v1.OnBufferedDataChangeEvent.quality_values:type_name -> mxaccess_gateway.v1.MxArray - 71, // 82: mxaccess_gateway.v1.OnBufferedDataChangeEvent.timestamp_values:type_name -> mxaccess_gateway.v1.MxArray - 2, // 83: mxaccess_gateway.v1.OnAlarmTransitionEvent.transition_kind:type_name -> mxaccess_gateway.v1.AlarmTransitionKind - 82, // 84: mxaccess_gateway.v1.OnAlarmTransitionEvent.original_raise_timestamp:type_name -> google.protobuf.Timestamp - 82, // 85: mxaccess_gateway.v1.OnAlarmTransitionEvent.transition_timestamp:type_name -> google.protobuf.Timestamp - 70, // 86: mxaccess_gateway.v1.OnAlarmTransitionEvent.current_value:type_name -> mxaccess_gateway.v1.MxValue - 70, // 87: mxaccess_gateway.v1.OnAlarmTransitionEvent.limit_value:type_name -> mxaccess_gateway.v1.MxValue - 82, // 88: mxaccess_gateway.v1.ActiveAlarmSnapshot.original_raise_timestamp:type_name -> google.protobuf.Timestamp - 3, // 89: mxaccess_gateway.v1.ActiveAlarmSnapshot.current_state:type_name -> mxaccess_gateway.v1.AlarmConditionState - 82, // 90: mxaccess_gateway.v1.ActiveAlarmSnapshot.last_transition_timestamp:type_name -> google.protobuf.Timestamp - 70, // 91: mxaccess_gateway.v1.ActiveAlarmSnapshot.current_value:type_name -> mxaccess_gateway.v1.MxValue - 70, // 92: mxaccess_gateway.v1.ActiveAlarmSnapshot.limit_value:type_name -> mxaccess_gateway.v1.MxValue - 80, // 93: mxaccess_gateway.v1.AcknowledgeAlarmReply.protocol_status:type_name -> mxaccess_gateway.v1.ProtocolStatus - 69, // 94: mxaccess_gateway.v1.AcknowledgeAlarmReply.status:type_name -> mxaccess_gateway.v1.MxStatusProxy - 4, // 95: mxaccess_gateway.v1.MxStatusProxy.category:type_name -> mxaccess_gateway.v1.MxStatusCategory - 5, // 96: mxaccess_gateway.v1.MxStatusProxy.detected_by:type_name -> mxaccess_gateway.v1.MxStatusSource - 6, // 97: mxaccess_gateway.v1.MxValue.data_type:type_name -> mxaccess_gateway.v1.MxDataType - 82, // 98: mxaccess_gateway.v1.MxValue.timestamp_value:type_name -> google.protobuf.Timestamp - 71, // 99: mxaccess_gateway.v1.MxValue.array_value:type_name -> mxaccess_gateway.v1.MxArray - 6, // 100: mxaccess_gateway.v1.MxArray.element_data_type:type_name -> mxaccess_gateway.v1.MxDataType - 72, // 101: mxaccess_gateway.v1.MxArray.bool_values:type_name -> mxaccess_gateway.v1.BoolArray - 73, // 102: mxaccess_gateway.v1.MxArray.int32_values:type_name -> mxaccess_gateway.v1.Int32Array - 74, // 103: mxaccess_gateway.v1.MxArray.int64_values:type_name -> mxaccess_gateway.v1.Int64Array - 75, // 104: mxaccess_gateway.v1.MxArray.float_values:type_name -> mxaccess_gateway.v1.FloatArray - 76, // 105: mxaccess_gateway.v1.MxArray.double_values:type_name -> mxaccess_gateway.v1.DoubleArray - 77, // 106: mxaccess_gateway.v1.MxArray.string_values:type_name -> mxaccess_gateway.v1.StringArray - 78, // 107: mxaccess_gateway.v1.MxArray.timestamp_values:type_name -> mxaccess_gateway.v1.TimestampArray - 79, // 108: mxaccess_gateway.v1.MxArray.raw_values:type_name -> mxaccess_gateway.v1.RawArray - 82, // 109: mxaccess_gateway.v1.TimestampArray.values:type_name -> google.protobuf.Timestamp - 7, // 110: mxaccess_gateway.v1.ProtocolStatus.code:type_name -> mxaccess_gateway.v1.ProtocolStatusCode - 9, // 111: mxaccess_gateway.v1.MxAccessGateway.OpenSession:input_type -> mxaccess_gateway.v1.OpenSessionRequest - 11, // 112: mxaccess_gateway.v1.MxAccessGateway.CloseSession:input_type -> mxaccess_gateway.v1.CloseSessionRequest - 14, // 113: mxaccess_gateway.v1.MxAccessGateway.Invoke:input_type -> mxaccess_gateway.v1.MxCommandRequest - 13, // 114: mxaccess_gateway.v1.MxAccessGateway.StreamEvents:input_type -> mxaccess_gateway.v1.StreamEventsRequest - 66, // 115: mxaccess_gateway.v1.MxAccessGateway.AcknowledgeAlarm:input_type -> mxaccess_gateway.v1.AcknowledgeAlarmRequest - 68, // 116: mxaccess_gateway.v1.MxAccessGateway.QueryActiveAlarms:input_type -> mxaccess_gateway.v1.QueryActiveAlarmsRequest - 10, // 117: mxaccess_gateway.v1.MxAccessGateway.OpenSession:output_type -> mxaccess_gateway.v1.OpenSessionReply - 12, // 118: mxaccess_gateway.v1.MxAccessGateway.CloseSession:output_type -> mxaccess_gateway.v1.CloseSessionReply - 45, // 119: mxaccess_gateway.v1.MxAccessGateway.Invoke:output_type -> mxaccess_gateway.v1.MxCommandReply - 59, // 120: mxaccess_gateway.v1.MxAccessGateway.StreamEvents:output_type -> mxaccess_gateway.v1.MxEvent - 67, // 121: mxaccess_gateway.v1.MxAccessGateway.AcknowledgeAlarm:output_type -> mxaccess_gateway.v1.AcknowledgeAlarmReply - 65, // 122: mxaccess_gateway.v1.MxAccessGateway.QueryActiveAlarms:output_type -> mxaccess_gateway.v1.ActiveAlarmSnapshot - 117, // [117:123] is the sub-list for method output_type - 111, // [111:117] is the sub-list for method input_type - 111, // [111:111] is the sub-list for extension type_name - 111, // [111:111] is the sub-list for extension extendee - 0, // [0:111] is the sub-list for field type_name + 17, // 7: mxaccess_gateway.v1.MxCommand.register:type_name -> mxaccess_gateway.v1.RegisterCommand + 18, // 8: mxaccess_gateway.v1.MxCommand.unregister:type_name -> mxaccess_gateway.v1.UnregisterCommand + 19, // 9: mxaccess_gateway.v1.MxCommand.add_item:type_name -> mxaccess_gateway.v1.AddItemCommand + 20, // 10: mxaccess_gateway.v1.MxCommand.add_item2:type_name -> mxaccess_gateway.v1.AddItem2Command + 21, // 11: mxaccess_gateway.v1.MxCommand.remove_item:type_name -> mxaccess_gateway.v1.RemoveItemCommand + 22, // 12: mxaccess_gateway.v1.MxCommand.advise:type_name -> mxaccess_gateway.v1.AdviseCommand + 23, // 13: mxaccess_gateway.v1.MxCommand.un_advise:type_name -> mxaccess_gateway.v1.UnAdviseCommand + 24, // 14: mxaccess_gateway.v1.MxCommand.advise_supervisory:type_name -> mxaccess_gateway.v1.AdviseSupervisoryCommand + 25, // 15: mxaccess_gateway.v1.MxCommand.add_buffered_item:type_name -> mxaccess_gateway.v1.AddBufferedItemCommand + 26, // 16: mxaccess_gateway.v1.MxCommand.set_buffered_update_interval:type_name -> mxaccess_gateway.v1.SetBufferedUpdateIntervalCommand + 27, // 17: mxaccess_gateway.v1.MxCommand.suspend:type_name -> mxaccess_gateway.v1.SuspendCommand + 28, // 18: mxaccess_gateway.v1.MxCommand.activate:type_name -> mxaccess_gateway.v1.ActivateCommand + 29, // 19: mxaccess_gateway.v1.MxCommand.write:type_name -> mxaccess_gateway.v1.WriteCommand + 30, // 20: mxaccess_gateway.v1.MxCommand.write2:type_name -> mxaccess_gateway.v1.Write2Command + 31, // 21: mxaccess_gateway.v1.MxCommand.write_secured:type_name -> mxaccess_gateway.v1.WriteSecuredCommand + 32, // 22: mxaccess_gateway.v1.MxCommand.write_secured2:type_name -> mxaccess_gateway.v1.WriteSecured2Command + 33, // 23: mxaccess_gateway.v1.MxCommand.authenticate_user:type_name -> mxaccess_gateway.v1.AuthenticateUserCommand + 34, // 24: mxaccess_gateway.v1.MxCommand.archestra_user_to_id:type_name -> mxaccess_gateway.v1.ArchestrAUserToIdCommand + 35, // 25: mxaccess_gateway.v1.MxCommand.add_item_bulk:type_name -> mxaccess_gateway.v1.AddItemBulkCommand + 36, // 26: mxaccess_gateway.v1.MxCommand.advise_item_bulk:type_name -> mxaccess_gateway.v1.AdviseItemBulkCommand + 37, // 27: mxaccess_gateway.v1.MxCommand.remove_item_bulk:type_name -> mxaccess_gateway.v1.RemoveItemBulkCommand + 38, // 28: mxaccess_gateway.v1.MxCommand.un_advise_item_bulk:type_name -> mxaccess_gateway.v1.UnAdviseItemBulkCommand + 39, // 29: mxaccess_gateway.v1.MxCommand.subscribe_bulk:type_name -> mxaccess_gateway.v1.SubscribeBulkCommand + 45, // 30: mxaccess_gateway.v1.MxCommand.unsubscribe_bulk:type_name -> mxaccess_gateway.v1.UnsubscribeBulkCommand + 40, // 31: mxaccess_gateway.v1.MxCommand.subscribe_alarms:type_name -> mxaccess_gateway.v1.SubscribeAlarmsCommand + 41, // 32: mxaccess_gateway.v1.MxCommand.unsubscribe_alarms:type_name -> mxaccess_gateway.v1.UnsubscribeAlarmsCommand + 42, // 33: mxaccess_gateway.v1.MxCommand.acknowledge_alarm_command:type_name -> mxaccess_gateway.v1.AcknowledgeAlarmCommand + 43, // 34: mxaccess_gateway.v1.MxCommand.query_active_alarms_command:type_name -> mxaccess_gateway.v1.QueryActiveAlarmsCommand + 44, // 35: mxaccess_gateway.v1.MxCommand.acknowledge_alarm_by_name_command:type_name -> mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand + 46, // 36: mxaccess_gateway.v1.MxCommand.write_bulk:type_name -> mxaccess_gateway.v1.WriteBulkCommand + 48, // 37: mxaccess_gateway.v1.MxCommand.write2_bulk:type_name -> mxaccess_gateway.v1.Write2BulkCommand + 50, // 38: mxaccess_gateway.v1.MxCommand.write_secured_bulk:type_name -> mxaccess_gateway.v1.WriteSecuredBulkCommand + 52, // 39: mxaccess_gateway.v1.MxCommand.write_secured2_bulk:type_name -> mxaccess_gateway.v1.WriteSecured2BulkCommand + 54, // 40: mxaccess_gateway.v1.MxCommand.read_bulk:type_name -> mxaccess_gateway.v1.ReadBulkCommand + 55, // 41: mxaccess_gateway.v1.MxCommand.ping:type_name -> mxaccess_gateway.v1.PingCommand + 56, // 42: mxaccess_gateway.v1.MxCommand.get_session_state:type_name -> mxaccess_gateway.v1.GetSessionStateCommand + 57, // 43: mxaccess_gateway.v1.MxCommand.get_worker_info:type_name -> mxaccess_gateway.v1.GetWorkerInfoCommand + 58, // 44: mxaccess_gateway.v1.MxCommand.drain_events:type_name -> mxaccess_gateway.v1.DrainEventsCommand + 59, // 45: mxaccess_gateway.v1.MxCommand.shutdown_worker:type_name -> mxaccess_gateway.v1.ShutdownWorkerCommand + 92, // 46: mxaccess_gateway.v1.WriteCommand.value:type_name -> mxaccess_gateway.v1.MxValue + 92, // 47: mxaccess_gateway.v1.Write2Command.value:type_name -> mxaccess_gateway.v1.MxValue + 92, // 48: mxaccess_gateway.v1.Write2Command.timestamp_value:type_name -> mxaccess_gateway.v1.MxValue + 92, // 49: mxaccess_gateway.v1.WriteSecuredCommand.value:type_name -> mxaccess_gateway.v1.MxValue + 92, // 50: mxaccess_gateway.v1.WriteSecured2Command.value:type_name -> mxaccess_gateway.v1.MxValue + 92, // 51: mxaccess_gateway.v1.WriteSecured2Command.timestamp_value:type_name -> mxaccess_gateway.v1.MxValue + 47, // 52: mxaccess_gateway.v1.WriteBulkCommand.entries:type_name -> mxaccess_gateway.v1.WriteBulkEntry + 92, // 53: mxaccess_gateway.v1.WriteBulkEntry.value:type_name -> mxaccess_gateway.v1.MxValue + 49, // 54: mxaccess_gateway.v1.Write2BulkCommand.entries:type_name -> mxaccess_gateway.v1.Write2BulkEntry + 92, // 55: mxaccess_gateway.v1.Write2BulkEntry.value:type_name -> mxaccess_gateway.v1.MxValue + 92, // 56: mxaccess_gateway.v1.Write2BulkEntry.timestamp_value:type_name -> mxaccess_gateway.v1.MxValue + 51, // 57: mxaccess_gateway.v1.WriteSecuredBulkCommand.entries:type_name -> mxaccess_gateway.v1.WriteSecuredBulkEntry + 92, // 58: mxaccess_gateway.v1.WriteSecuredBulkEntry.value:type_name -> mxaccess_gateway.v1.MxValue + 53, // 59: mxaccess_gateway.v1.WriteSecured2BulkCommand.entries:type_name -> mxaccess_gateway.v1.WriteSecured2BulkEntry + 92, // 60: mxaccess_gateway.v1.WriteSecured2BulkEntry.value:type_name -> mxaccess_gateway.v1.MxValue + 92, // 61: mxaccess_gateway.v1.WriteSecured2BulkEntry.timestamp_value:type_name -> mxaccess_gateway.v1.MxValue + 103, // 62: mxaccess_gateway.v1.ShutdownWorkerCommand.grace_period:type_name -> google.protobuf.Duration + 0, // 63: mxaccess_gateway.v1.MxCommandReply.kind:type_name -> mxaccess_gateway.v1.MxCommandKind + 102, // 64: mxaccess_gateway.v1.MxCommandReply.protocol_status:type_name -> mxaccess_gateway.v1.ProtocolStatus + 92, // 65: mxaccess_gateway.v1.MxCommandReply.return_value:type_name -> mxaccess_gateway.v1.MxValue + 91, // 66: mxaccess_gateway.v1.MxCommandReply.statuses:type_name -> mxaccess_gateway.v1.MxStatusProxy + 61, // 67: mxaccess_gateway.v1.MxCommandReply.register:type_name -> mxaccess_gateway.v1.RegisterReply + 62, // 68: mxaccess_gateway.v1.MxCommandReply.add_item:type_name -> mxaccess_gateway.v1.AddItemReply + 63, // 69: mxaccess_gateway.v1.MxCommandReply.add_item2:type_name -> mxaccess_gateway.v1.AddItem2Reply + 64, // 70: mxaccess_gateway.v1.MxCommandReply.add_buffered_item:type_name -> mxaccess_gateway.v1.AddBufferedItemReply + 65, // 71: mxaccess_gateway.v1.MxCommandReply.suspend:type_name -> mxaccess_gateway.v1.SuspendReply + 66, // 72: mxaccess_gateway.v1.MxCommandReply.activate:type_name -> mxaccess_gateway.v1.ActivateReply + 67, // 73: mxaccess_gateway.v1.MxCommandReply.authenticate_user:type_name -> mxaccess_gateway.v1.AuthenticateUserReply + 68, // 74: mxaccess_gateway.v1.MxCommandReply.archestra_user_to_id:type_name -> mxaccess_gateway.v1.ArchestrAUserToIdReply + 70, // 75: mxaccess_gateway.v1.MxCommandReply.add_item_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply + 70, // 76: mxaccess_gateway.v1.MxCommandReply.advise_item_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply + 70, // 77: mxaccess_gateway.v1.MxCommandReply.remove_item_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply + 70, // 78: mxaccess_gateway.v1.MxCommandReply.un_advise_item_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply + 70, // 79: mxaccess_gateway.v1.MxCommandReply.subscribe_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply + 70, // 80: mxaccess_gateway.v1.MxCommandReply.unsubscribe_bulk:type_name -> mxaccess_gateway.v1.BulkSubscribeReply + 78, // 81: mxaccess_gateway.v1.MxCommandReply.acknowledge_alarm:type_name -> mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload + 79, // 82: mxaccess_gateway.v1.MxCommandReply.query_active_alarms:type_name -> mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload + 72, // 83: mxaccess_gateway.v1.MxCommandReply.write_bulk:type_name -> mxaccess_gateway.v1.BulkWriteReply + 72, // 84: mxaccess_gateway.v1.MxCommandReply.write2_bulk:type_name -> mxaccess_gateway.v1.BulkWriteReply + 72, // 85: mxaccess_gateway.v1.MxCommandReply.write_secured_bulk:type_name -> mxaccess_gateway.v1.BulkWriteReply + 72, // 86: mxaccess_gateway.v1.MxCommandReply.write_secured2_bulk:type_name -> mxaccess_gateway.v1.BulkWriteReply + 74, // 87: mxaccess_gateway.v1.MxCommandReply.read_bulk:type_name -> mxaccess_gateway.v1.BulkReadReply + 75, // 88: mxaccess_gateway.v1.MxCommandReply.session_state:type_name -> mxaccess_gateway.v1.SessionStateReply + 76, // 89: mxaccess_gateway.v1.MxCommandReply.worker_info:type_name -> mxaccess_gateway.v1.WorkerInfoReply + 77, // 90: mxaccess_gateway.v1.MxCommandReply.drain_events:type_name -> mxaccess_gateway.v1.DrainEventsReply + 91, // 91: mxaccess_gateway.v1.SuspendReply.status:type_name -> mxaccess_gateway.v1.MxStatusProxy + 91, // 92: mxaccess_gateway.v1.ActivateReply.status:type_name -> mxaccess_gateway.v1.MxStatusProxy + 69, // 93: mxaccess_gateway.v1.BulkSubscribeReply.results:type_name -> mxaccess_gateway.v1.SubscribeResult + 91, // 94: mxaccess_gateway.v1.BulkWriteResult.statuses:type_name -> mxaccess_gateway.v1.MxStatusProxy + 71, // 95: mxaccess_gateway.v1.BulkWriteReply.results:type_name -> mxaccess_gateway.v1.BulkWriteResult + 92, // 96: mxaccess_gateway.v1.BulkReadResult.value:type_name -> mxaccess_gateway.v1.MxValue + 104, // 97: mxaccess_gateway.v1.BulkReadResult.source_timestamp:type_name -> google.protobuf.Timestamp + 91, // 98: mxaccess_gateway.v1.BulkReadResult.statuses:type_name -> mxaccess_gateway.v1.MxStatusProxy + 73, // 99: mxaccess_gateway.v1.BulkReadReply.results:type_name -> mxaccess_gateway.v1.BulkReadResult + 8, // 100: mxaccess_gateway.v1.SessionStateReply.state:type_name -> mxaccess_gateway.v1.SessionState + 80, // 101: mxaccess_gateway.v1.DrainEventsReply.events:type_name -> mxaccess_gateway.v1.MxEvent + 86, // 102: mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload.snapshots:type_name -> mxaccess_gateway.v1.ActiveAlarmSnapshot + 1, // 103: mxaccess_gateway.v1.MxEvent.family:type_name -> mxaccess_gateway.v1.MxEventFamily + 92, // 104: mxaccess_gateway.v1.MxEvent.value:type_name -> mxaccess_gateway.v1.MxValue + 104, // 105: mxaccess_gateway.v1.MxEvent.source_timestamp:type_name -> google.protobuf.Timestamp + 91, // 106: mxaccess_gateway.v1.MxEvent.statuses:type_name -> mxaccess_gateway.v1.MxStatusProxy + 104, // 107: mxaccess_gateway.v1.MxEvent.worker_timestamp:type_name -> google.protobuf.Timestamp + 104, // 108: mxaccess_gateway.v1.MxEvent.gateway_receive_timestamp:type_name -> google.protobuf.Timestamp + 81, // 109: mxaccess_gateway.v1.MxEvent.on_data_change:type_name -> mxaccess_gateway.v1.OnDataChangeEvent + 82, // 110: mxaccess_gateway.v1.MxEvent.on_write_complete:type_name -> mxaccess_gateway.v1.OnWriteCompleteEvent + 83, // 111: mxaccess_gateway.v1.MxEvent.operation_complete:type_name -> mxaccess_gateway.v1.OperationCompleteEvent + 84, // 112: mxaccess_gateway.v1.MxEvent.on_buffered_data_change:type_name -> mxaccess_gateway.v1.OnBufferedDataChangeEvent + 85, // 113: mxaccess_gateway.v1.MxEvent.on_alarm_transition:type_name -> mxaccess_gateway.v1.OnAlarmTransitionEvent + 6, // 114: mxaccess_gateway.v1.OnBufferedDataChangeEvent.data_type:type_name -> mxaccess_gateway.v1.MxDataType + 93, // 115: mxaccess_gateway.v1.OnBufferedDataChangeEvent.quality_values:type_name -> mxaccess_gateway.v1.MxArray + 93, // 116: mxaccess_gateway.v1.OnBufferedDataChangeEvent.timestamp_values:type_name -> mxaccess_gateway.v1.MxArray + 2, // 117: mxaccess_gateway.v1.OnAlarmTransitionEvent.transition_kind:type_name -> mxaccess_gateway.v1.AlarmTransitionKind + 104, // 118: mxaccess_gateway.v1.OnAlarmTransitionEvent.original_raise_timestamp:type_name -> google.protobuf.Timestamp + 104, // 119: mxaccess_gateway.v1.OnAlarmTransitionEvent.transition_timestamp:type_name -> google.protobuf.Timestamp + 92, // 120: mxaccess_gateway.v1.OnAlarmTransitionEvent.current_value:type_name -> mxaccess_gateway.v1.MxValue + 92, // 121: mxaccess_gateway.v1.OnAlarmTransitionEvent.limit_value:type_name -> mxaccess_gateway.v1.MxValue + 104, // 122: mxaccess_gateway.v1.ActiveAlarmSnapshot.original_raise_timestamp:type_name -> google.protobuf.Timestamp + 3, // 123: mxaccess_gateway.v1.ActiveAlarmSnapshot.current_state:type_name -> mxaccess_gateway.v1.AlarmConditionState + 104, // 124: mxaccess_gateway.v1.ActiveAlarmSnapshot.last_transition_timestamp:type_name -> google.protobuf.Timestamp + 92, // 125: mxaccess_gateway.v1.ActiveAlarmSnapshot.current_value:type_name -> mxaccess_gateway.v1.MxValue + 92, // 126: mxaccess_gateway.v1.ActiveAlarmSnapshot.limit_value:type_name -> mxaccess_gateway.v1.MxValue + 102, // 127: mxaccess_gateway.v1.AcknowledgeAlarmReply.protocol_status:type_name -> mxaccess_gateway.v1.ProtocolStatus + 91, // 128: mxaccess_gateway.v1.AcknowledgeAlarmReply.status:type_name -> mxaccess_gateway.v1.MxStatusProxy + 86, // 129: mxaccess_gateway.v1.AlarmFeedMessage.active_alarm:type_name -> mxaccess_gateway.v1.ActiveAlarmSnapshot + 85, // 130: mxaccess_gateway.v1.AlarmFeedMessage.transition:type_name -> mxaccess_gateway.v1.OnAlarmTransitionEvent + 4, // 131: mxaccess_gateway.v1.MxStatusProxy.category:type_name -> mxaccess_gateway.v1.MxStatusCategory + 5, // 132: mxaccess_gateway.v1.MxStatusProxy.detected_by:type_name -> mxaccess_gateway.v1.MxStatusSource + 6, // 133: mxaccess_gateway.v1.MxValue.data_type:type_name -> mxaccess_gateway.v1.MxDataType + 104, // 134: mxaccess_gateway.v1.MxValue.timestamp_value:type_name -> google.protobuf.Timestamp + 93, // 135: mxaccess_gateway.v1.MxValue.array_value:type_name -> mxaccess_gateway.v1.MxArray + 6, // 136: mxaccess_gateway.v1.MxArray.element_data_type:type_name -> mxaccess_gateway.v1.MxDataType + 94, // 137: mxaccess_gateway.v1.MxArray.bool_values:type_name -> mxaccess_gateway.v1.BoolArray + 95, // 138: mxaccess_gateway.v1.MxArray.int32_values:type_name -> mxaccess_gateway.v1.Int32Array + 96, // 139: mxaccess_gateway.v1.MxArray.int64_values:type_name -> mxaccess_gateway.v1.Int64Array + 97, // 140: mxaccess_gateway.v1.MxArray.float_values:type_name -> mxaccess_gateway.v1.FloatArray + 98, // 141: mxaccess_gateway.v1.MxArray.double_values:type_name -> mxaccess_gateway.v1.DoubleArray + 99, // 142: mxaccess_gateway.v1.MxArray.string_values:type_name -> mxaccess_gateway.v1.StringArray + 100, // 143: mxaccess_gateway.v1.MxArray.timestamp_values:type_name -> mxaccess_gateway.v1.TimestampArray + 101, // 144: mxaccess_gateway.v1.MxArray.raw_values:type_name -> mxaccess_gateway.v1.RawArray + 104, // 145: mxaccess_gateway.v1.TimestampArray.values:type_name -> google.protobuf.Timestamp + 7, // 146: mxaccess_gateway.v1.ProtocolStatus.code:type_name -> mxaccess_gateway.v1.ProtocolStatusCode + 10, // 147: mxaccess_gateway.v1.MxAccessGateway.OpenSession:input_type -> mxaccess_gateway.v1.OpenSessionRequest + 12, // 148: mxaccess_gateway.v1.MxAccessGateway.CloseSession:input_type -> mxaccess_gateway.v1.CloseSessionRequest + 15, // 149: mxaccess_gateway.v1.MxAccessGateway.Invoke:input_type -> mxaccess_gateway.v1.MxCommandRequest + 14, // 150: mxaccess_gateway.v1.MxAccessGateway.StreamEvents:input_type -> mxaccess_gateway.v1.StreamEventsRequest + 87, // 151: mxaccess_gateway.v1.MxAccessGateway.AcknowledgeAlarm:input_type -> mxaccess_gateway.v1.AcknowledgeAlarmRequest + 89, // 152: mxaccess_gateway.v1.MxAccessGateway.StreamAlarms:input_type -> mxaccess_gateway.v1.StreamAlarmsRequest + 9, // 153: mxaccess_gateway.v1.MxAccessGateway.QueryActiveAlarms:input_type -> mxaccess_gateway.v1.QueryActiveAlarmsRequest + 11, // 154: mxaccess_gateway.v1.MxAccessGateway.OpenSession:output_type -> mxaccess_gateway.v1.OpenSessionReply + 13, // 155: mxaccess_gateway.v1.MxAccessGateway.CloseSession:output_type -> mxaccess_gateway.v1.CloseSessionReply + 60, // 156: mxaccess_gateway.v1.MxAccessGateway.Invoke:output_type -> mxaccess_gateway.v1.MxCommandReply + 80, // 157: mxaccess_gateway.v1.MxAccessGateway.StreamEvents:output_type -> mxaccess_gateway.v1.MxEvent + 88, // 158: mxaccess_gateway.v1.MxAccessGateway.AcknowledgeAlarm:output_type -> mxaccess_gateway.v1.AcknowledgeAlarmReply + 90, // 159: mxaccess_gateway.v1.MxAccessGateway.StreamAlarms:output_type -> mxaccess_gateway.v1.AlarmFeedMessage + 86, // 160: mxaccess_gateway.v1.MxAccessGateway.QueryActiveAlarms:output_type -> mxaccess_gateway.v1.ActiveAlarmSnapshot + 154, // [154:161] is the sub-list for method output_type + 147, // [147:154] is the sub-list for method input_type + 147, // [147:147] is the sub-list for extension type_name + 147, // [147:147] is the sub-list for extension extendee + 0, // [0:147] is the sub-list for field type_name } func init() { file_mxaccess_gateway_proto_init() } @@ -6867,7 +8858,7 @@ func file_mxaccess_gateway_proto_init() { if File_mxaccess_gateway_proto != nil { return } - file_mxaccess_gateway_proto_msgTypes[6].OneofWrappers = []any{ + file_mxaccess_gateway_proto_msgTypes[7].OneofWrappers = []any{ (*MxCommand_Register)(nil), (*MxCommand_Unregister)(nil), (*MxCommand_AddItem)(nil), @@ -6892,13 +8883,23 @@ func file_mxaccess_gateway_proto_init() { (*MxCommand_UnAdviseItemBulk)(nil), (*MxCommand_SubscribeBulk)(nil), (*MxCommand_UnsubscribeBulk)(nil), + (*MxCommand_SubscribeAlarms)(nil), + (*MxCommand_UnsubscribeAlarms)(nil), + (*MxCommand_AcknowledgeAlarmCommand)(nil), + (*MxCommand_QueryActiveAlarmsCommand)(nil), + (*MxCommand_AcknowledgeAlarmByNameCommand)(nil), + (*MxCommand_WriteBulk)(nil), + (*MxCommand_Write2Bulk)(nil), + (*MxCommand_WriteSecuredBulk)(nil), + (*MxCommand_WriteSecured2Bulk)(nil), + (*MxCommand_ReadBulk)(nil), (*MxCommand_Ping)(nil), (*MxCommand_GetSessionState)(nil), (*MxCommand_GetWorkerInfo)(nil), (*MxCommand_DrainEvents)(nil), (*MxCommand_ShutdownWorker)(nil), } - file_mxaccess_gateway_proto_msgTypes[36].OneofWrappers = []any{ + file_mxaccess_gateway_proto_msgTypes[51].OneofWrappers = []any{ (*MxCommandReply_Register)(nil), (*MxCommandReply_AddItem)(nil), (*MxCommandReply_AddItem2)(nil), @@ -6913,19 +8914,32 @@ func file_mxaccess_gateway_proto_init() { (*MxCommandReply_UnAdviseItemBulk)(nil), (*MxCommandReply_SubscribeBulk)(nil), (*MxCommandReply_UnsubscribeBulk)(nil), + (*MxCommandReply_AcknowledgeAlarm)(nil), + (*MxCommandReply_QueryActiveAlarms)(nil), + (*MxCommandReply_WriteBulk)(nil), + (*MxCommandReply_Write2Bulk)(nil), + (*MxCommandReply_WriteSecuredBulk)(nil), + (*MxCommandReply_WriteSecured2Bulk)(nil), + (*MxCommandReply_ReadBulk)(nil), (*MxCommandReply_SessionState)(nil), (*MxCommandReply_WorkerInfo)(nil), (*MxCommandReply_DrainEvents)(nil), } - file_mxaccess_gateway_proto_msgTypes[50].OneofWrappers = []any{ + file_mxaccess_gateway_proto_msgTypes[62].OneofWrappers = []any{} + file_mxaccess_gateway_proto_msgTypes[71].OneofWrappers = []any{ (*MxEvent_OnDataChange)(nil), (*MxEvent_OnWriteComplete)(nil), (*MxEvent_OperationComplete)(nil), (*MxEvent_OnBufferedDataChange)(nil), (*MxEvent_OnAlarmTransition)(nil), } - file_mxaccess_gateway_proto_msgTypes[58].OneofWrappers = []any{} - file_mxaccess_gateway_proto_msgTypes[61].OneofWrappers = []any{ + file_mxaccess_gateway_proto_msgTypes[79].OneofWrappers = []any{} + file_mxaccess_gateway_proto_msgTypes[81].OneofWrappers = []any{ + (*AlarmFeedMessage_ActiveAlarm)(nil), + (*AlarmFeedMessage_SnapshotComplete)(nil), + (*AlarmFeedMessage_Transition)(nil), + } + file_mxaccess_gateway_proto_msgTypes[83].OneofWrappers = []any{ (*MxValue_BoolValue)(nil), (*MxValue_Int32Value)(nil), (*MxValue_Int64Value)(nil), @@ -6936,7 +8950,7 @@ func file_mxaccess_gateway_proto_init() { (*MxValue_ArrayValue)(nil), (*MxValue_RawValue)(nil), } - file_mxaccess_gateway_proto_msgTypes[62].OneofWrappers = []any{ + file_mxaccess_gateway_proto_msgTypes[84].OneofWrappers = []any{ (*MxArray_BoolValues)(nil), (*MxArray_Int32Values)(nil), (*MxArray_Int64Values)(nil), @@ -6952,7 +8966,7 @@ func file_mxaccess_gateway_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_mxaccess_gateway_proto_rawDesc), len(file_mxaccess_gateway_proto_rawDesc)), NumEnums: 9, - NumMessages: 72, + NumMessages: 94, NumExtensions: 0, NumServices: 1, }, diff --git a/clients/go/internal/generated/mxaccess_gateway_grpc.pb.go b/clients/go/internal/generated/mxaccess_gateway_grpc.pb.go index 8417a93..2d412bb 100644 --- a/clients/go/internal/generated/mxaccess_gateway_grpc.pb.go +++ b/clients/go/internal/generated/mxaccess_gateway_grpc.pb.go @@ -24,6 +24,7 @@ const ( MxAccessGateway_Invoke_FullMethodName = "/mxaccess_gateway.v1.MxAccessGateway/Invoke" MxAccessGateway_StreamEvents_FullMethodName = "/mxaccess_gateway.v1.MxAccessGateway/StreamEvents" MxAccessGateway_AcknowledgeAlarm_FullMethodName = "/mxaccess_gateway.v1.MxAccessGateway/AcknowledgeAlarm" + MxAccessGateway_StreamAlarms_FullMethodName = "/mxaccess_gateway.v1.MxAccessGateway/StreamAlarms" MxAccessGateway_QueryActiveAlarms_FullMethodName = "/mxaccess_gateway.v1.MxAccessGateway/QueryActiveAlarms" ) @@ -38,6 +39,17 @@ type MxAccessGatewayClient interface { Invoke(ctx context.Context, in *MxCommandRequest, opts ...grpc.CallOption) (*MxCommandReply, error) StreamEvents(ctx context.Context, in *StreamEventsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[MxEvent], error) AcknowledgeAlarm(ctx context.Context, in *AcknowledgeAlarmRequest, opts ...grpc.CallOption) (*AcknowledgeAlarmReply, error) + // Session-less central alarm feed. The stream opens with the current + // active-alarm snapshot (one `active_alarm` per alarm), then a single + // `snapshot_complete`, then a `transition` for every subsequent change. + // Served by the gateway's always-on alarm monitor; any number of clients + // fan out from the single monitor without opening a worker session. + StreamAlarms(ctx context.Context, in *StreamAlarmsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[AlarmFeedMessage], error) + // Point-in-time snapshot of the currently-active alarm set served from the + // gateway's always-on alarm monitor cache (session-less). Used after a + // reconnect to seed Part 9 client state, or to reconcile alarms that may + // have been missed during a transport blip. Streamed so callers can + // begin processing without buffering the full set. QueryActiveAlarms(ctx context.Context, in *QueryActiveAlarmsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ActiveAlarmSnapshot], error) } @@ -108,9 +120,28 @@ func (c *mxAccessGatewayClient) AcknowledgeAlarm(ctx context.Context, in *Acknow return out, nil } +func (c *mxAccessGatewayClient) StreamAlarms(ctx context.Context, in *StreamAlarmsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[AlarmFeedMessage], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &MxAccessGateway_ServiceDesc.Streams[1], MxAccessGateway_StreamAlarms_FullMethodName, cOpts...) + if err != nil { + return nil, err + } + x := &grpc.GenericClientStream[StreamAlarmsRequest, AlarmFeedMessage]{ClientStream: stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type MxAccessGateway_StreamAlarmsClient = grpc.ServerStreamingClient[AlarmFeedMessage] + func (c *mxAccessGatewayClient) QueryActiveAlarms(ctx context.Context, in *QueryActiveAlarmsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ActiveAlarmSnapshot], error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &MxAccessGateway_ServiceDesc.Streams[1], MxAccessGateway_QueryActiveAlarms_FullMethodName, cOpts...) + stream, err := c.cc.NewStream(ctx, &MxAccessGateway_ServiceDesc.Streams[2], MxAccessGateway_QueryActiveAlarms_FullMethodName, cOpts...) if err != nil { return nil, err } @@ -138,6 +169,17 @@ type MxAccessGatewayServer interface { Invoke(context.Context, *MxCommandRequest) (*MxCommandReply, error) StreamEvents(*StreamEventsRequest, grpc.ServerStreamingServer[MxEvent]) error AcknowledgeAlarm(context.Context, *AcknowledgeAlarmRequest) (*AcknowledgeAlarmReply, error) + // Session-less central alarm feed. The stream opens with the current + // active-alarm snapshot (one `active_alarm` per alarm), then a single + // `snapshot_complete`, then a `transition` for every subsequent change. + // Served by the gateway's always-on alarm monitor; any number of clients + // fan out from the single monitor without opening a worker session. + StreamAlarms(*StreamAlarmsRequest, grpc.ServerStreamingServer[AlarmFeedMessage]) error + // Point-in-time snapshot of the currently-active alarm set served from the + // gateway's always-on alarm monitor cache (session-less). Used after a + // reconnect to seed Part 9 client state, or to reconcile alarms that may + // have been missed during a transport blip. Streamed so callers can + // begin processing without buffering the full set. QueryActiveAlarms(*QueryActiveAlarmsRequest, grpc.ServerStreamingServer[ActiveAlarmSnapshot]) error mustEmbedUnimplementedMxAccessGatewayServer() } @@ -164,6 +206,9 @@ func (UnimplementedMxAccessGatewayServer) StreamEvents(*StreamEventsRequest, grp func (UnimplementedMxAccessGatewayServer) AcknowledgeAlarm(context.Context, *AcknowledgeAlarmRequest) (*AcknowledgeAlarmReply, error) { return nil, status.Error(codes.Unimplemented, "method AcknowledgeAlarm not implemented") } +func (UnimplementedMxAccessGatewayServer) StreamAlarms(*StreamAlarmsRequest, grpc.ServerStreamingServer[AlarmFeedMessage]) error { + return status.Error(codes.Unimplemented, "method StreamAlarms not implemented") +} func (UnimplementedMxAccessGatewayServer) QueryActiveAlarms(*QueryActiveAlarmsRequest, grpc.ServerStreamingServer[ActiveAlarmSnapshot]) error { return status.Error(codes.Unimplemented, "method QueryActiveAlarms not implemented") } @@ -271,6 +316,17 @@ func _MxAccessGateway_AcknowledgeAlarm_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } +func _MxAccessGateway_StreamAlarms_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(StreamAlarmsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(MxAccessGatewayServer).StreamAlarms(m, &grpc.GenericServerStream[StreamAlarmsRequest, AlarmFeedMessage]{ServerStream: stream}) +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type MxAccessGateway_StreamAlarmsServer = grpc.ServerStreamingServer[AlarmFeedMessage] + func _MxAccessGateway_QueryActiveAlarms_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(QueryActiveAlarmsRequest) if err := stream.RecvMsg(m); err != nil { @@ -312,6 +368,11 @@ var MxAccessGateway_ServiceDesc = grpc.ServiceDesc{ Handler: _MxAccessGateway_StreamEvents_Handler, ServerStreams: true, }, + { + StreamName: "StreamAlarms", + Handler: _MxAccessGateway_StreamAlarms_Handler, + ServerStreams: true, + }, { StreamName: "QueryActiveAlarms", Handler: _MxAccessGateway_QueryActiveAlarms_Handler, diff --git a/clients/go/internal/generated/mxaccess_worker.pb.go b/clients/go/internal/generated/mxaccess_worker.pb.go index 54a06b3..1ecea8a 100644 --- a/clients/go/internal/generated/mxaccess_worker.pb.go +++ b/clients/go/internal/generated/mxaccess_worker.pb.go @@ -1179,7 +1179,7 @@ const file_mxaccess_worker_proto_rawDesc = "" + "\x1eWORKER_FAULT_CATEGORY_STA_HUNG\x10\t\x12(\n" + "$WORKER_FAULT_CATEGORY_QUEUE_OVERFLOW\x10\n" + "\x12*\n" + - "&WORKER_FAULT_CATEGORY_SHUTDOWN_TIMEOUT\x10\vB\x1c\xaa\x02\x19MxGateway.Contracts.Protob\x06proto3" + "&WORKER_FAULT_CATEGORY_SHUTDOWN_TIMEOUT\x10\vB&\xaa\x02#ZB.MOM.WW.MxGateway.Contracts.Protob\x06proto3" var ( file_mxaccess_worker_proto_rawDescOnce sync.Once diff --git a/clients/go/mxgateway/alarms_test.go b/clients/go/mxgateway/alarms_test.go index 46b0c1f..95d61ef 100644 --- a/clients/go/mxgateway/alarms_test.go +++ b/clients/go/mxgateway/alarms_test.go @@ -20,7 +20,6 @@ import ( func TestAcknowledgeAlarmSendsRequestAndReturnsReply(t *testing.T) { fake := &fakeGatewayWithAlarms{ acknowledgeReply: &pb.AcknowledgeAlarmReply{ - SessionId: "session-1", CorrelationId: "corr-1", ProtocolStatus: &pb.ProtocolStatus{ Code: pb.ProtocolStatusCode_PROTOCOL_STATUS_CODE_OK, @@ -35,7 +34,6 @@ func TestAcknowledgeAlarmSendsRequestAndReturnsReply(t *testing.T) { defer cleanup() reply, err := client.AcknowledgeAlarm(context.Background(), &pb.AcknowledgeAlarmRequest{ - SessionId: "session-1", ClientCorrelationId: "corr-1", AlarmFullReference: "Tank01.Level.HiHi", Comment: "investigating", @@ -81,7 +79,6 @@ func TestAcknowledgeAlarmMapsUnauthenticated(t *testing.T) { defer cleanup() _, err := client.AcknowledgeAlarm(context.Background(), &pb.AcknowledgeAlarmRequest{ - SessionId: "session-1", AlarmFullReference: "Tank01.Level.HiHi", OperatorUser: "alice", }) @@ -193,7 +190,7 @@ func (s *fakeGatewayWithAlarms) AcknowledgeAlarm(ctx context.Context, req *pb.Ac return s.acknowledgeReply, nil } return &pb.AcknowledgeAlarmReply{ - SessionId: req.GetSessionId(), + CorrelationId: req.GetClientCorrelationId(), ProtocolStatus: &pb.ProtocolStatus{ Code: pb.ProtocolStatusCode_PROTOCOL_STATUS_CODE_OK, }, diff --git a/clients/java/JavaClientDesign.md b/clients/java/JavaClientDesign.md index e02e547..31896d1 100644 --- a/clients/java/JavaClientDesign.md +++ b/clients/java/JavaClientDesign.md @@ -18,11 +18,11 @@ clients/java/ settings.gradle build.gradle src/main/generated/ - mxgateway-client/ + zb-mom-ww-mxgateway-client/ build.gradle src/main/java/com/dohertylan/mxgateway/client/ src/test/java/com/dohertylan/mxgateway/client/ - mxgateway-cli/ + zb-mom-ww-mxgateway-cli/ build.gradle src/main/java/com/dohertylan/mxgateway/cli/ ``` diff --git a/clients/java/README.md b/clients/java/README.md index 7a9fe97..98aba24 100644 --- a/clients/java/README.md +++ b/clients/java/README.md @@ -10,12 +10,12 @@ clients/java/ settings.gradle build.gradle src/main/generated/ - mxgateway-client/ - mxgateway-cli/ + zb-mom-ww-mxgateway-client/ + zb-mom-ww-mxgateway-cli/ ``` `mxgateway-client` generates Java protobuf and gRPC sources from -`../../src/MxGateway.Contracts/Protos`. The Gradle protobuf plugin writes those +`../../src/ZB.MOM.WW.MxGateway.Contracts/Protos`. The Gradle protobuf plugin writes those generated sources under `src/main/generated`, which matches the client proto manifest in `../proto/proto-inputs.json`. Do not edit generated files by hand. @@ -205,8 +205,8 @@ Create local library and CLI artifacts from `clients/java`: gradle :mxgateway-client:jar :mxgateway-cli:installDist ``` -The library jar is under `mxgateway-client/build/libs`. The installed CLI -distribution is under `mxgateway-cli/build/install/mxgateway-cli`. +The library jar is under `zb-mom-ww-mxgateway-client/build/libs`. The installed CLI +distribution is under `zb-mom-ww-mxgateway-cli/build/install/mxgateway-cli`. ## Integration Checks diff --git a/clients/java/build.gradle b/clients/java/build.gradle index 55d7248..4a4db6a 100644 --- a/clients/java/build.gradle +++ b/clients/java/build.gradle @@ -12,7 +12,7 @@ ext { } subprojects { - group = 'com.dohertylan.mxgateway' + group = 'com.zb.mom.ww.mxgateway' version = '0.1.0' pluginManager.withPlugin('java') { diff --git a/clients/java/settings.gradle b/clients/java/settings.gradle index d568509..9b5a97f 100644 --- a/clients/java/settings.gradle +++ b/clients/java/settings.gradle @@ -16,7 +16,7 @@ dependencyResolutionManagement { } } -rootProject.name = 'mxaccessgw-java' +rootProject.name = 'zb-mom-ww-mxaccessgw-java' -include 'mxgateway-client' -include 'mxgateway-cli' +include 'zb-mom-ww-mxgateway-client' +include 'zb-mom-ww-mxgateway-cli' diff --git a/clients/java/src/main/generated/main/grpc/mxaccess_gateway/v1/MxAccessGatewayGrpc.java b/clients/java/src/main/generated/main/grpc/mxaccess_gateway/v1/MxAccessGatewayGrpc.java index 77ee973..b8b8f66 100644 --- a/clients/java/src/main/generated/main/grpc/mxaccess_gateway/v1/MxAccessGatewayGrpc.java +++ b/clients/java/src/main/generated/main/grpc/mxaccess_gateway/v1/MxAccessGatewayGrpc.java @@ -139,6 +139,99 @@ public final class MxAccessGatewayGrpc { return getStreamEventsMethod; } + private static volatile io.grpc.MethodDescriptor getAcknowledgeAlarmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AcknowledgeAlarm", + requestType = mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest.class, + responseType = mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAcknowledgeAlarmMethod() { + io.grpc.MethodDescriptor getAcknowledgeAlarmMethod; + if ((getAcknowledgeAlarmMethod = MxAccessGatewayGrpc.getAcknowledgeAlarmMethod) == null) { + synchronized (MxAccessGatewayGrpc.class) { + if ((getAcknowledgeAlarmMethod = MxAccessGatewayGrpc.getAcknowledgeAlarmMethod) == null) { + MxAccessGatewayGrpc.getAcknowledgeAlarmMethod = getAcknowledgeAlarmMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeAlarm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply.getDefaultInstance())) + .setSchemaDescriptor(new MxAccessGatewayMethodDescriptorSupplier("AcknowledgeAlarm")) + .build(); + } + } + } + return getAcknowledgeAlarmMethod; + } + + private static volatile io.grpc.MethodDescriptor getStreamAlarmsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StreamAlarms", + requestType = mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest.class, + responseType = mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getStreamAlarmsMethod() { + io.grpc.MethodDescriptor getStreamAlarmsMethod; + if ((getStreamAlarmsMethod = MxAccessGatewayGrpc.getStreamAlarmsMethod) == null) { + synchronized (MxAccessGatewayGrpc.class) { + if ((getStreamAlarmsMethod = MxAccessGatewayGrpc.getStreamAlarmsMethod) == null) { + MxAccessGatewayGrpc.getStreamAlarmsMethod = getStreamAlarmsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamAlarms")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.getDefaultInstance())) + .setSchemaDescriptor(new MxAccessGatewayMethodDescriptorSupplier("StreamAlarms")) + .build(); + } + } + } + return getStreamAlarmsMethod; + } + + private static volatile io.grpc.MethodDescriptor getQueryActiveAlarmsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryActiveAlarms", + requestType = mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest.class, + responseType = mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getQueryActiveAlarmsMethod() { + io.grpc.MethodDescriptor getQueryActiveAlarmsMethod; + if ((getQueryActiveAlarmsMethod = MxAccessGatewayGrpc.getQueryActiveAlarmsMethod) == null) { + synchronized (MxAccessGatewayGrpc.class) { + if ((getQueryActiveAlarmsMethod = MxAccessGatewayGrpc.getQueryActiveAlarmsMethod) == null) { + MxAccessGatewayGrpc.getQueryActiveAlarmsMethod = getQueryActiveAlarmsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryActiveAlarms")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance())) + .setSchemaDescriptor(new MxAccessGatewayMethodDescriptorSupplier("QueryActiveAlarms")) + .build(); + } + } + } + return getQueryActiveAlarmsMethod; + } + /** * Creates a new async stub that supports all call types for the service */ @@ -232,6 +325,41 @@ public final class MxAccessGatewayGrpc { io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStreamEventsMethod(), responseObserver); } + + /** + */ + default void acknowledgeAlarm(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeAlarmMethod(), responseObserver); + } + + /** + *
+     * Session-less central alarm feed. The stream opens with the current
+     * active-alarm snapshot (one `active_alarm` per alarm), then a single
+     * `snapshot_complete`, then a `transition` for every subsequent change.
+     * Served by the gateway's always-on alarm monitor; any number of clients
+     * fan out from the single monitor without opening a worker session.
+     * 
+ */ + default void streamAlarms(mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStreamAlarmsMethod(), responseObserver); + } + + /** + *
+     * Point-in-time snapshot of the currently-active alarm set served from the
+     * gateway's always-on alarm monitor cache (session-less). Used after a
+     * reconnect to seed Part 9 client state, or to reconcile alarms that may
+     * have been missed during a transport blip. Streamed so callers can
+     * begin processing without buffering the full set.
+     * 
+ */ + default void queryActiveAlarms(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryActiveAlarmsMethod(), responseObserver); + } } /** @@ -298,6 +426,44 @@ public final class MxAccessGatewayGrpc { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getStreamEventsMethod(), getCallOptions()), request, responseObserver); } + + /** + */ + public void acknowledgeAlarm(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAcknowledgeAlarmMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Session-less central alarm feed. The stream opens with the current
+     * active-alarm snapshot (one `active_alarm` per alarm), then a single
+     * `snapshot_complete`, then a `transition` for every subsequent change.
+     * Served by the gateway's always-on alarm monitor; any number of clients
+     * fan out from the single monitor without opening a worker session.
+     * 
+ */ + public void streamAlarms(mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getStreamAlarmsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Point-in-time snapshot of the currently-active alarm set served from the
+     * gateway's always-on alarm monitor cache (session-less). Used after a
+     * reconnect to seed Part 9 client state, or to reconcile alarms that may
+     * have been missed during a transport blip. Streamed so callers can
+     * begin processing without buffering the full set.
+     * 
+ */ + public void queryActiveAlarms(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getQueryActiveAlarmsMethod(), getCallOptions()), request, responseObserver); + } } /** @@ -348,6 +514,45 @@ public final class MxAccessGatewayGrpc { return io.grpc.stub.ClientCalls.blockingV2ServerStreamingCall( getChannel(), getStreamEventsMethod(), getCallOptions(), request); } + + /** + */ + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply acknowledgeAlarm(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getAcknowledgeAlarmMethod(), getCallOptions(), request); + } + + /** + *
+     * Session-less central alarm feed. The stream opens with the current
+     * active-alarm snapshot (one `active_alarm` per alarm), then a single
+     * `snapshot_complete`, then a `transition` for every subsequent change.
+     * Served by the gateway's always-on alarm monitor; any number of clients
+     * fan out from the single monitor without opening a worker session.
+     * 
+ */ + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") + public io.grpc.stub.BlockingClientCall + streamAlarms(mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest request) { + return io.grpc.stub.ClientCalls.blockingV2ServerStreamingCall( + getChannel(), getStreamAlarmsMethod(), getCallOptions(), request); + } + + /** + *
+     * Point-in-time snapshot of the currently-active alarm set served from the
+     * gateway's always-on alarm monitor cache (session-less). Used after a
+     * reconnect to seed Part 9 client state, or to reconcile alarms that may
+     * have been missed during a transport blip. Streamed so callers can
+     * begin processing without buffering the full set.
+     * 
+ */ + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") + public io.grpc.stub.BlockingClientCall + queryActiveAlarms(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest request) { + return io.grpc.stub.ClientCalls.blockingV2ServerStreamingCall( + getChannel(), getQueryActiveAlarmsMethod(), getCallOptions(), request); + } } /** @@ -397,6 +602,43 @@ public final class MxAccessGatewayGrpc { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getStreamEventsMethod(), getCallOptions(), request); } + + /** + */ + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply acknowledgeAlarm(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAcknowledgeAlarmMethod(), getCallOptions(), request); + } + + /** + *
+     * Session-less central alarm feed. The stream opens with the current
+     * active-alarm snapshot (one `active_alarm` per alarm), then a single
+     * `snapshot_complete`, then a `transition` for every subsequent change.
+     * Served by the gateway's always-on alarm monitor; any number of clients
+     * fan out from the single monitor without opening a worker session.
+     * 
+ */ + public java.util.Iterator streamAlarms( + mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getStreamAlarmsMethod(), getCallOptions(), request); + } + + /** + *
+     * Point-in-time snapshot of the currently-active alarm set served from the
+     * gateway's always-on alarm monitor cache (session-less). Used after a
+     * reconnect to seed Part 9 client state, or to reconcile alarms that may
+     * have been missed during a transport blip. Streamed so callers can
+     * begin processing without buffering the full set.
+     * 
+ */ + public java.util.Iterator queryActiveAlarms( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getQueryActiveAlarmsMethod(), getCallOptions(), request); + } } /** @@ -441,12 +683,23 @@ public final class MxAccessGatewayGrpc { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInvokeMethod(), getCallOptions()), request); } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture acknowledgeAlarm( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAcknowledgeAlarmMethod(), getCallOptions()), request); + } } private static final int METHODID_OPEN_SESSION = 0; private static final int METHODID_CLOSE_SESSION = 1; private static final int METHODID_INVOKE = 2; private static final int METHODID_STREAM_EVENTS = 3; + private static final int METHODID_ACKNOWLEDGE_ALARM = 4; + private static final int METHODID_STREAM_ALARMS = 5; + private static final int METHODID_QUERY_ACTIVE_ALARMS = 6; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -481,6 +734,18 @@ public final class MxAccessGatewayGrpc { serviceImpl.streamEvents((mxaccess_gateway.v1.MxaccessGateway.StreamEventsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_ACKNOWLEDGE_ALARM: + serviceImpl.acknowledgeAlarm((mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_STREAM_ALARMS: + serviceImpl.streamAlarms((mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_QUERY_ACTIVE_ALARMS: + serviceImpl.queryActiveAlarms((mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -527,6 +792,27 @@ public final class MxAccessGatewayGrpc { mxaccess_gateway.v1.MxaccessGateway.StreamEventsRequest, mxaccess_gateway.v1.MxaccessGateway.MxEvent>( service, METHODID_STREAM_EVENTS))) + .addMethod( + getAcknowledgeAlarmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest, + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply>( + service, METHODID_ACKNOWLEDGE_ALARM))) + .addMethod( + getStreamAlarmsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest, + mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage>( + service, METHODID_STREAM_ALARMS))) + .addMethod( + getQueryActiveAlarmsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest, + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot>( + service, METHODID_QUERY_ACTIVE_ALARMS))) .build(); } @@ -579,6 +865,9 @@ public final class MxAccessGatewayGrpc { .addMethod(getCloseSessionMethod()) .addMethod(getInvokeMethod()) .addMethod(getStreamEventsMethod()) + .addMethod(getAcknowledgeAlarmMethod()) + .addMethod(getStreamAlarmsMethod()) + .addMethod(getQueryActiveAlarmsMethod()) .build(); } } diff --git a/clients/java/src/main/generated/main/java/galaxy_repository/v1/GalaxyRepositoryOuterClass.java b/clients/java/src/main/generated/main/java/galaxy_repository/v1/GalaxyRepositoryOuterClass.java index be8f55c..4a4651d 100644 --- a/clients/java/src/main/generated/main/java/galaxy_repository/v1/GalaxyRepositoryOuterClass.java +++ b/clients/java/src/main/generated/main/java/galaxy_repository/v1/GalaxyRepositoryOuterClass.java @@ -1750,7 +1750,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera * .google.protobuf.Timestamp time_of_last_deploy = 2; */ private com.google.protobuf.SingleFieldBuilder< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> internalGetTimeOfLastDeployFieldBuilder() { if (timeOfLastDeployBuilder_ == null) { timeOfLastDeployBuilder_ = new com.google.protobuf.SingleFieldBuilder< @@ -2175,7 +2175,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; @@ -2195,7 +2195,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; @@ -2246,7 +2246,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (rootCase_ == 4) { @@ -2266,7 +2266,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera ref = root_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (rootCase_ == 4) { @@ -2298,7 +2298,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (rootCase_ == 5) { @@ -2318,7 +2318,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera ref = root_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (rootCase_ == 5) { @@ -2483,7 +2483,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagNameGlob_ = s; @@ -2503,7 +2503,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getTagNameGlobBytes() { java.lang.Object ref = tagNameGlob_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagNameGlob_ = b; @@ -3328,7 +3328,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; @@ -3471,7 +3471,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera ref = root_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (rootCase_ == 4) { @@ -3564,7 +3564,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera ref = root_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (rootCase_ == 5) { @@ -3768,7 +3768,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera * .google.protobuf.Int32Value max_depth = 6; */ private com.google.protobuf.SingleFieldBuilder< - com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> + com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> internalGetMaxDepthFieldBuilder() { if (maxDepthBuilder_ == null) { maxDepthBuilder_ = new com.google.protobuf.SingleFieldBuilder< @@ -4073,7 +4073,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getTagNameGlobBytes() { java.lang.Object ref = tagNameGlob_; if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagNameGlob_ = b; @@ -4334,7 +4334,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera /** * repeated .galaxy_repository.v1.GalaxyObject objects = 1; */ - java.util.List + java.util.List getObjectsList(); /** * repeated .galaxy_repository.v1.GalaxyObject objects = 1; @@ -4347,7 +4347,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera /** * repeated .galaxy_repository.v1.GalaxyObject objects = 1; */ - java.util.List + java.util.List getObjectsOrBuilderList(); /** * repeated .galaxy_repository.v1.GalaxyObject objects = 1; @@ -4438,7 +4438,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera * repeated .galaxy_repository.v1.GalaxyObject objects = 1; */ @java.lang.Override - public java.util.List + public java.util.List getObjectsOrBuilderList() { return objects_; } @@ -4482,7 +4482,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; @@ -4502,7 +4502,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; @@ -4834,7 +4834,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera objectsBuilder_ = null; objects_ = other.objects_; bitField0_ = (bitField0_ & ~0x00000001); - objectsBuilder_ = + objectsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetObjectsFieldBuilder() : null; } else { @@ -5111,7 +5111,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera /** * repeated .galaxy_repository.v1.GalaxyObject objects = 1; */ - public java.util.List + public java.util.List getObjectsOrBuilderList() { if (objectsBuilder_ != null) { return objectsBuilder_.getMessageOrBuilderList(); @@ -5137,12 +5137,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera /** * repeated .galaxy_repository.v1.GalaxyObject objects = 1; */ - public java.util.List + public java.util.List getObjectsBuilderList() { return internalGetObjectsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< - galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObjectOrBuilder> + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObjectOrBuilder> internalGetObjectsFieldBuilder() { if (objectsBuilder_ == null) { objectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< @@ -5189,7 +5189,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; @@ -5924,7 +5924,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera * .google.protobuf.Timestamp last_seen_deploy_time = 1; */ private com.google.protobuf.SingleFieldBuilder< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> internalGetLastSeenDeployTimeFieldBuilder() { if (lastSeenDeployTimeBuilder_ == null) { lastSeenDeployTimeBuilder_ = new com.google.protobuf.SingleFieldBuilder< @@ -6871,7 +6871,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera * .google.protobuf.Timestamp observed_at = 2; */ private com.google.protobuf.SingleFieldBuilder< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> internalGetObservedAtFieldBuilder() { if (observedAtBuilder_ == null) { observedAtBuilder_ = new com.google.protobuf.SingleFieldBuilder< @@ -7028,7 +7028,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera * .google.protobuf.Timestamp time_of_last_deploy = 3; */ private com.google.protobuf.SingleFieldBuilder< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> internalGetTimeOfLastDeployFieldBuilder() { if (timeOfLastDeployBuilder_ == null) { timeOfLastDeployBuilder_ = new com.google.protobuf.SingleFieldBuilder< @@ -7286,7 +7286,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera /** * repeated .galaxy_repository.v1.GalaxyAttribute attributes = 10; */ - java.util.List + java.util.List getAttributesList(); /** * repeated .galaxy_repository.v1.GalaxyAttribute attributes = 10; @@ -7299,7 +7299,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera /** * repeated .galaxy_repository.v1.GalaxyAttribute attributes = 10; */ - java.util.List + java.util.List getAttributesOrBuilderList(); /** * repeated .galaxy_repository.v1.GalaxyAttribute attributes = 10; @@ -7374,7 +7374,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagName_ = s; @@ -7390,7 +7390,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getTagNameBytes() { java.lang.Object ref = tagName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagName_ = b; @@ -7413,7 +7413,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containedName_ = s; @@ -7429,7 +7429,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getContainedNameBytes() { java.lang.Object ref = containedName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); containedName_ = b; @@ -7452,7 +7452,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); browseName_ = s; @@ -7468,7 +7468,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getBrowseNameBytes() { java.lang.Object ref = browseName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); browseName_ = b; @@ -7573,7 +7573,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera * repeated .galaxy_repository.v1.GalaxyAttribute attributes = 10; */ @java.lang.Override - public java.util.List + public java.util.List getAttributesOrBuilderList() { return attributes_; } @@ -8059,7 +8059,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera attributesBuilder_ = null; attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000200); - attributesBuilder_ = + attributesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetAttributesFieldBuilder() : null; } else { @@ -8226,7 +8226,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getTagNameBytes() { java.lang.Object ref = tagName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tagName_ = b; @@ -8298,7 +8298,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getContainedNameBytes() { java.lang.Object ref = containedName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); containedName_ = b; @@ -8370,7 +8370,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getBrowseNameBytes() { java.lang.Object ref = browseName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); browseName_ = b; @@ -8851,7 +8851,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera /** * repeated .galaxy_repository.v1.GalaxyAttribute attributes = 10; */ - public java.util.List + public java.util.List getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); @@ -8877,12 +8877,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera /** * repeated .galaxy_repository.v1.GalaxyAttribute attributes = 10; */ - public java.util.List + public java.util.List getAttributesBuilderList() { return internalGetAttributesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< - galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyAttribute, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyAttribute.Builder, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyAttributeOrBuilder> + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyAttribute, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyAttribute.Builder, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyAttributeOrBuilder> internalGetAttributesFieldBuilder() { if (attributesBuilder_ == null) { attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< @@ -8976,17 +8976,36 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getFullTagReferenceBytes(); /** + *
+     * Raw Galaxy SQL `dbo.data_type` identifier, passed through unchanged.
+     * This is NOT a member of `mxaccess_gateway.v1.MxDataType` — Galaxy's
+     * type enumeration is distinct from MXAccess's wire data-type enum and
+     * the two must not be cast or compared. The GalaxyRepository service is
+     * metadata-only and deliberately does not share types with
+     * mxaccess_gateway.proto. See docs/GalaxyRepository.md.
+     * 
+ * * int32 mx_data_type = 3; * @return The mxDataType. */ int getMxDataType(); /** + *
+     * Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
+     * "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
+     * 
+ * * string data_type_name = 4; * @return The dataTypeName. */ java.lang.String getDataTypeName(); /** + *
+     * Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
+     * "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
+     * 
+ * * string data_type_name = 4; * @return The bytes for dataTypeName. */ @@ -9012,12 +9031,24 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera boolean getArrayDimensionPresent(); /** + *
+     * Raw Galaxy SQL attribute-category identifier, passed through unchanged.
+     * Galaxy-specific; not mapped to any gateway enum. See
+     * docs/GalaxyRepository.md.
+     * 
+ * * int32 mx_attribute_category = 8; * @return The mxAttributeCategory. */ int getMxAttributeCategory(); /** + *
+     * Raw Galaxy SQL security-classification identifier, passed through
+     * unchanged. Galaxy-specific; not mapped to any gateway enum. See
+     * docs/GalaxyRepository.md.
+     * 
+ * * int32 security_classification = 9; * @return The securityClassification. */ @@ -9088,7 +9119,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attributeName_ = s; @@ -9104,7 +9135,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getAttributeNameBytes() { java.lang.Object ref = attributeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); attributeName_ = b; @@ -9127,7 +9158,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullTagReference_ = s; @@ -9143,7 +9174,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getFullTagReferenceBytes() { java.lang.Object ref = fullTagReference_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullTagReference_ = b; @@ -9156,6 +9187,15 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera public static final int MX_DATA_TYPE_FIELD_NUMBER = 3; private int mxDataType_ = 0; /** + *
+     * Raw Galaxy SQL `dbo.data_type` identifier, passed through unchanged.
+     * This is NOT a member of `mxaccess_gateway.v1.MxDataType` — Galaxy's
+     * type enumeration is distinct from MXAccess's wire data-type enum and
+     * the two must not be cast or compared. The GalaxyRepository service is
+     * metadata-only and deliberately does not share types with
+     * mxaccess_gateway.proto. See docs/GalaxyRepository.md.
+     * 
+ * * int32 mx_data_type = 3; * @return The mxDataType. */ @@ -9168,6 +9208,11 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera @SuppressWarnings("serial") private volatile java.lang.Object dataTypeName_ = ""; /** + *
+     * Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
+     * "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
+     * 
+ * * string data_type_name = 4; * @return The dataTypeName. */ @@ -9177,7 +9222,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataTypeName_ = s; @@ -9185,6 +9230,11 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera } } /** + *
+     * Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
+     * "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
+     * 
+ * * string data_type_name = 4; * @return The bytes for dataTypeName. */ @@ -9193,7 +9243,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getDataTypeNameBytes() { java.lang.Object ref = dataTypeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataTypeName_ = b; @@ -9239,6 +9289,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera public static final int MX_ATTRIBUTE_CATEGORY_FIELD_NUMBER = 8; private int mxAttributeCategory_ = 0; /** + *
+     * Raw Galaxy SQL attribute-category identifier, passed through unchanged.
+     * Galaxy-specific; not mapped to any gateway enum. See
+     * docs/GalaxyRepository.md.
+     * 
+ * * int32 mx_attribute_category = 8; * @return The mxAttributeCategory. */ @@ -9250,6 +9306,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera public static final int SECURITY_CLASSIFICATION_FIELD_NUMBER = 9; private int securityClassification_ = 0; /** + *
+     * Raw Galaxy SQL security-classification identifier, passed through
+     * unchanged. Galaxy-specific; not mapped to any gateway enum. See
+     * docs/GalaxyRepository.md.
+     * 
+ * * int32 security_classification = 9; * @return The securityClassification. */ @@ -9835,7 +9897,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getAttributeNameBytes() { java.lang.Object ref = attributeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); attributeName_ = b; @@ -9907,7 +9969,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getFullTagReferenceBytes() { java.lang.Object ref = fullTagReference_; if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullTagReference_ = b; @@ -9956,6 +10018,15 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera private int mxDataType_ ; /** + *
+       * Raw Galaxy SQL `dbo.data_type` identifier, passed through unchanged.
+       * This is NOT a member of `mxaccess_gateway.v1.MxDataType` — Galaxy's
+       * type enumeration is distinct from MXAccess's wire data-type enum and
+       * the two must not be cast or compared. The GalaxyRepository service is
+       * metadata-only and deliberately does not share types with
+       * mxaccess_gateway.proto. See docs/GalaxyRepository.md.
+       * 
+ * * int32 mx_data_type = 3; * @return The mxDataType. */ @@ -9964,6 +10035,15 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera return mxDataType_; } /** + *
+       * Raw Galaxy SQL `dbo.data_type` identifier, passed through unchanged.
+       * This is NOT a member of `mxaccess_gateway.v1.MxDataType` — Galaxy's
+       * type enumeration is distinct from MXAccess's wire data-type enum and
+       * the two must not be cast or compared. The GalaxyRepository service is
+       * metadata-only and deliberately does not share types with
+       * mxaccess_gateway.proto. See docs/GalaxyRepository.md.
+       * 
+ * * int32 mx_data_type = 3; * @param value The mxDataType to set. * @return This builder for chaining. @@ -9976,6 +10056,15 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera return this; } /** + *
+       * Raw Galaxy SQL `dbo.data_type` identifier, passed through unchanged.
+       * This is NOT a member of `mxaccess_gateway.v1.MxDataType` — Galaxy's
+       * type enumeration is distinct from MXAccess's wire data-type enum and
+       * the two must not be cast or compared. The GalaxyRepository service is
+       * metadata-only and deliberately does not share types with
+       * mxaccess_gateway.proto. See docs/GalaxyRepository.md.
+       * 
+ * * int32 mx_data_type = 3; * @return This builder for chaining. */ @@ -9988,6 +10077,11 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera private java.lang.Object dataTypeName_ = ""; /** + *
+       * Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
+       * "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
+       * 
+ * * string data_type_name = 4; * @return The dataTypeName. */ @@ -10004,6 +10098,11 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera } } /** + *
+       * Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
+       * "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
+       * 
+ * * string data_type_name = 4; * @return The bytes for dataTypeName. */ @@ -10011,7 +10110,7 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera getDataTypeNameBytes() { java.lang.Object ref = dataTypeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataTypeName_ = b; @@ -10021,6 +10120,11 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera } } /** + *
+       * Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
+       * "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
+       * 
+ * * string data_type_name = 4; * @param value The dataTypeName to set. * @return This builder for chaining. @@ -10034,6 +10138,11 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera return this; } /** + *
+       * Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
+       * "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
+       * 
+ * * string data_type_name = 4; * @return This builder for chaining. */ @@ -10044,6 +10153,11 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera return this; } /** + *
+       * Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
+       * "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
+       * 
+ * * string data_type_name = 4; * @param value The bytes for dataTypeName to set. * @return This builder for chaining. @@ -10156,6 +10270,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera private int mxAttributeCategory_ ; /** + *
+       * Raw Galaxy SQL attribute-category identifier, passed through unchanged.
+       * Galaxy-specific; not mapped to any gateway enum. See
+       * docs/GalaxyRepository.md.
+       * 
+ * * int32 mx_attribute_category = 8; * @return The mxAttributeCategory. */ @@ -10164,6 +10284,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera return mxAttributeCategory_; } /** + *
+       * Raw Galaxy SQL attribute-category identifier, passed through unchanged.
+       * Galaxy-specific; not mapped to any gateway enum. See
+       * docs/GalaxyRepository.md.
+       * 
+ * * int32 mx_attribute_category = 8; * @param value The mxAttributeCategory to set. * @return This builder for chaining. @@ -10176,6 +10302,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera return this; } /** + *
+       * Raw Galaxy SQL attribute-category identifier, passed through unchanged.
+       * Galaxy-specific; not mapped to any gateway enum. See
+       * docs/GalaxyRepository.md.
+       * 
+ * * int32 mx_attribute_category = 8; * @return This builder for chaining. */ @@ -10188,6 +10320,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera private int securityClassification_ ; /** + *
+       * Raw Galaxy SQL security-classification identifier, passed through
+       * unchanged. Galaxy-specific; not mapped to any gateway enum. See
+       * docs/GalaxyRepository.md.
+       * 
+ * * int32 security_classification = 9; * @return The securityClassification. */ @@ -10196,6 +10334,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera return securityClassification_; } /** + *
+       * Raw Galaxy SQL security-classification identifier, passed through
+       * unchanged. Galaxy-specific; not mapped to any gateway enum. See
+       * docs/GalaxyRepository.md.
+       * 
+ * * int32 security_classification = 9; * @param value The securityClassification to set. * @return This builder for chaining. @@ -10208,6 +10352,12 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera return this; } /** + *
+       * Raw Galaxy SQL security-classification identifier, passed through
+       * unchanged. Galaxy-specific; not mapped to any gateway enum. See
+       * docs/GalaxyRepository.md.
+       * 
+ * * int32 security_classification = 9; * @return This builder for chaining. */ @@ -10335,52 +10485,52 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_TestConnectionRequest_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_TestConnectionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_TestConnectionReply_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_TestConnectionReply_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_GetLastDeployTimeRequest_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_GetLastDeployTimeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_GetLastDeployTimeReply_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_GetLastDeployTimeReply_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_DiscoverHierarchyRequest_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_DiscoverHierarchyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_DiscoverHierarchyReply_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_DiscoverHierarchyReply_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_WatchDeployEventsRequest_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_WatchDeployEventsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_DeployEvent_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_DeployEvent_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_GalaxyObject_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_GalaxyObject_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_GalaxyAttribute_descriptor; - private static final + private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_GalaxyAttribute_fieldAccessorTable; @@ -10446,8 +10596,8 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera "sitory.v1.DiscoverHierarchyReply\022h\n\021Watc" + "hDeployEvents\022..galaxy_repository.v1.Wat" + "chDeployEventsRequest\032!.galaxy_repositor" + - "y.v1.DeployEvent0\001B#\252\002 MxGateway.Contrac" + - "ts.Proto.Galaxyb\006proto3" + "y.v1.DeployEvent0\001B-\252\002*ZB.MOM.WW.MxGatew" + + "ay.Contracts.Proto.Galaxyb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/clients/java/src/main/generated/main/java/mxaccess_gateway/v1/MxaccessGateway.java b/clients/java/src/main/generated/main/java/mxaccess_gateway/v1/MxaccessGateway.java index a41df8c..0b3d0b8 100644 --- a/clients/java/src/main/generated/main/java/mxaccess_gateway/v1/MxaccessGateway.java +++ b/clients/java/src/main/generated/main/java/mxaccess_gateway/v1/MxaccessGateway.java @@ -131,6 +131,46 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { * MX_COMMAND_KIND_UNSUBSCRIBE_BULK = 24; */ MX_COMMAND_KIND_UNSUBSCRIBE_BULK(24), + /** + * MX_COMMAND_KIND_SUBSCRIBE_ALARMS = 25; + */ + MX_COMMAND_KIND_SUBSCRIBE_ALARMS(25), + /** + * MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS = 26; + */ + MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS(26), + /** + * MX_COMMAND_KIND_ACKNOWLEDGE_ALARM = 27; + */ + MX_COMMAND_KIND_ACKNOWLEDGE_ALARM(27), + /** + * MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS = 28; + */ + MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS(28), + /** + * MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME = 29; + */ + MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME(29), + /** + * MX_COMMAND_KIND_WRITE_BULK = 30; + */ + MX_COMMAND_KIND_WRITE_BULK(30), + /** + * MX_COMMAND_KIND_WRITE2_BULK = 31; + */ + MX_COMMAND_KIND_WRITE2_BULK(31), + /** + * MX_COMMAND_KIND_WRITE_SECURED_BULK = 32; + */ + MX_COMMAND_KIND_WRITE_SECURED_BULK(32), + /** + * MX_COMMAND_KIND_WRITE_SECURED2_BULK = 33; + */ + MX_COMMAND_KIND_WRITE_SECURED2_BULK(33), + /** + * MX_COMMAND_KIND_READ_BULK = 34; + */ + MX_COMMAND_KIND_READ_BULK(34), /** * MX_COMMAND_KIND_PING = 100; */ @@ -263,6 +303,46 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { * MX_COMMAND_KIND_UNSUBSCRIBE_BULK = 24; */ public static final int MX_COMMAND_KIND_UNSUBSCRIBE_BULK_VALUE = 24; + /** + * MX_COMMAND_KIND_SUBSCRIBE_ALARMS = 25; + */ + public static final int MX_COMMAND_KIND_SUBSCRIBE_ALARMS_VALUE = 25; + /** + * MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS = 26; + */ + public static final int MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS_VALUE = 26; + /** + * MX_COMMAND_KIND_ACKNOWLEDGE_ALARM = 27; + */ + public static final int MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_VALUE = 27; + /** + * MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS = 28; + */ + public static final int MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS_VALUE = 28; + /** + * MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME = 29; + */ + public static final int MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME_VALUE = 29; + /** + * MX_COMMAND_KIND_WRITE_BULK = 30; + */ + public static final int MX_COMMAND_KIND_WRITE_BULK_VALUE = 30; + /** + * MX_COMMAND_KIND_WRITE2_BULK = 31; + */ + public static final int MX_COMMAND_KIND_WRITE2_BULK_VALUE = 31; + /** + * MX_COMMAND_KIND_WRITE_SECURED_BULK = 32; + */ + public static final int MX_COMMAND_KIND_WRITE_SECURED_BULK_VALUE = 32; + /** + * MX_COMMAND_KIND_WRITE_SECURED2_BULK = 33; + */ + public static final int MX_COMMAND_KIND_WRITE_SECURED2_BULK_VALUE = 33; + /** + * MX_COMMAND_KIND_READ_BULK = 34; + */ + public static final int MX_COMMAND_KIND_READ_BULK_VALUE = 34; /** * MX_COMMAND_KIND_PING = 100; */ @@ -334,6 +414,16 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { case 22: return MX_COMMAND_KIND_UN_ADVISE_ITEM_BULK; case 23: return MX_COMMAND_KIND_SUBSCRIBE_BULK; case 24: return MX_COMMAND_KIND_UNSUBSCRIBE_BULK; + case 25: return MX_COMMAND_KIND_SUBSCRIBE_ALARMS; + case 26: return MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS; + case 27: return MX_COMMAND_KIND_ACKNOWLEDGE_ALARM; + case 28: return MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS; + case 29: return MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME; + case 30: return MX_COMMAND_KIND_WRITE_BULK; + case 31: return MX_COMMAND_KIND_WRITE2_BULK; + case 32: return MX_COMMAND_KIND_WRITE_SECURED_BULK; + case 33: return MX_COMMAND_KIND_WRITE_SECURED2_BULK; + case 34: return MX_COMMAND_KIND_READ_BULK; case 100: return MX_COMMAND_KIND_PING; case 101: return MX_COMMAND_KIND_GET_SESSION_STATE; case 102: return MX_COMMAND_KIND_GET_WORKER_INFO; @@ -420,6 +510,10 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { * MX_EVENT_FAMILY_ON_BUFFERED_DATA_CHANGE = 4; */ MX_EVENT_FAMILY_ON_BUFFERED_DATA_CHANGE(4), + /** + * MX_EVENT_FAMILY_ON_ALARM_TRANSITION = 5; + */ + MX_EVENT_FAMILY_ON_ALARM_TRANSITION(5), UNRECOGNIZED(-1), ; @@ -452,6 +546,10 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { * MX_EVENT_FAMILY_ON_BUFFERED_DATA_CHANGE = 4; */ public static final int MX_EVENT_FAMILY_ON_BUFFERED_DATA_CHANGE_VALUE = 4; + /** + * MX_EVENT_FAMILY_ON_ALARM_TRANSITION = 5; + */ + public static final int MX_EVENT_FAMILY_ON_ALARM_TRANSITION_VALUE = 5; public final int getNumber() { @@ -483,6 +581,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { case 2: return MX_EVENT_FAMILY_ON_WRITE_COMPLETE; case 3: return MX_EVENT_FAMILY_OPERATION_COMPLETE; case 4: return MX_EVENT_FAMILY_ON_BUFFERED_DATA_CHANGE; + case 5: return MX_EVENT_FAMILY_ON_ALARM_TRANSITION; default: return null; } } @@ -539,6 +638,285 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { // @@protoc_insertion_point(enum_scope:mxaccess_gateway.v1.MxEventFamily) } + /** + * Protobuf enum {@code mxaccess_gateway.v1.AlarmTransitionKind} + */ + public enum AlarmTransitionKind + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ALARM_TRANSITION_KIND_UNSPECIFIED = 0; + */ + ALARM_TRANSITION_KIND_UNSPECIFIED(0), + /** + * ALARM_TRANSITION_KIND_RAISE = 1; + */ + ALARM_TRANSITION_KIND_RAISE(1), + /** + * ALARM_TRANSITION_KIND_ACKNOWLEDGE = 2; + */ + ALARM_TRANSITION_KIND_ACKNOWLEDGE(2), + /** + * ALARM_TRANSITION_KIND_CLEAR = 3; + */ + ALARM_TRANSITION_KIND_CLEAR(3), + /** + * ALARM_TRANSITION_KIND_RETRIGGER = 4; + */ + ALARM_TRANSITION_KIND_RETRIGGER(4), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "AlarmTransitionKind"); + } + /** + * ALARM_TRANSITION_KIND_UNSPECIFIED = 0; + */ + public static final int ALARM_TRANSITION_KIND_UNSPECIFIED_VALUE = 0; + /** + * ALARM_TRANSITION_KIND_RAISE = 1; + */ + public static final int ALARM_TRANSITION_KIND_RAISE_VALUE = 1; + /** + * ALARM_TRANSITION_KIND_ACKNOWLEDGE = 2; + */ + public static final int ALARM_TRANSITION_KIND_ACKNOWLEDGE_VALUE = 2; + /** + * ALARM_TRANSITION_KIND_CLEAR = 3; + */ + public static final int ALARM_TRANSITION_KIND_CLEAR_VALUE = 3; + /** + * ALARM_TRANSITION_KIND_RETRIGGER = 4; + */ + public static final int ALARM_TRANSITION_KIND_RETRIGGER_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AlarmTransitionKind valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AlarmTransitionKind forNumber(int value) { + switch (value) { + case 0: return ALARM_TRANSITION_KIND_UNSPECIFIED; + case 1: return ALARM_TRANSITION_KIND_RAISE; + case 2: return ALARM_TRANSITION_KIND_ACKNOWLEDGE; + case 3: return ALARM_TRANSITION_KIND_CLEAR; + case 4: return ALARM_TRANSITION_KIND_RETRIGGER; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AlarmTransitionKind> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AlarmTransitionKind findValueByNumber(int number) { + return AlarmTransitionKind.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(2); + } + + private static final AlarmTransitionKind[] VALUES = values(); + + public static AlarmTransitionKind valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AlarmTransitionKind(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:mxaccess_gateway.v1.AlarmTransitionKind) + } + + /** + * Protobuf enum {@code mxaccess_gateway.v1.AlarmConditionState} + */ + public enum AlarmConditionState + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ALARM_CONDITION_STATE_UNSPECIFIED = 0; + */ + ALARM_CONDITION_STATE_UNSPECIFIED(0), + /** + * ALARM_CONDITION_STATE_ACTIVE = 1; + */ + ALARM_CONDITION_STATE_ACTIVE(1), + /** + * ALARM_CONDITION_STATE_ACTIVE_ACKED = 2; + */ + ALARM_CONDITION_STATE_ACTIVE_ACKED(2), + /** + * ALARM_CONDITION_STATE_INACTIVE = 3; + */ + ALARM_CONDITION_STATE_INACTIVE(3), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "AlarmConditionState"); + } + /** + * ALARM_CONDITION_STATE_UNSPECIFIED = 0; + */ + public static final int ALARM_CONDITION_STATE_UNSPECIFIED_VALUE = 0; + /** + * ALARM_CONDITION_STATE_ACTIVE = 1; + */ + public static final int ALARM_CONDITION_STATE_ACTIVE_VALUE = 1; + /** + * ALARM_CONDITION_STATE_ACTIVE_ACKED = 2; + */ + public static final int ALARM_CONDITION_STATE_ACTIVE_ACKED_VALUE = 2; + /** + * ALARM_CONDITION_STATE_INACTIVE = 3; + */ + public static final int ALARM_CONDITION_STATE_INACTIVE_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AlarmConditionState valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AlarmConditionState forNumber(int value) { + switch (value) { + case 0: return ALARM_CONDITION_STATE_UNSPECIFIED; + case 1: return ALARM_CONDITION_STATE_ACTIVE; + case 2: return ALARM_CONDITION_STATE_ACTIVE_ACKED; + case 3: return ALARM_CONDITION_STATE_INACTIVE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AlarmConditionState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AlarmConditionState findValueByNumber(int number) { + return AlarmConditionState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(3); + } + + private static final AlarmConditionState[] VALUES = values(); + + public static AlarmConditionState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AlarmConditionState(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:mxaccess_gateway.v1.AlarmConditionState) + } + /** * Protobuf enum {@code mxaccess_gateway.v1.MxStatusCategory} */ @@ -711,7 +1089,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(2); + return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(4); } private static final MxStatusCategory[] VALUES = values(); @@ -882,7 +1260,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(3); + return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(5); } private static final MxStatusSource[] VALUES = values(); @@ -1161,7 +1539,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(4); + return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(6); } private static final MxDataType[] VALUES = values(); @@ -1350,7 +1728,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(5); + return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(7); } private static final ProtocolStatusCode[] VALUES = values(); @@ -1539,7 +1917,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(6); + return mxaccess_gateway.v1.MxaccessGateway.getDescriptor().getEnumTypes().get(8); } private static final SessionState[] VALUES = values(); @@ -1565,6 +1943,869 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { // @@protoc_insertion_point(enum_scope:mxaccess_gateway.v1.SessionState) } + public interface QueryActiveAlarmsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.QueryActiveAlarmsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string session_id = 1; + * @return The sessionId. + */ + java.lang.String getSessionId(); + /** + * string session_id = 1; + * @return The bytes for sessionId. + */ + com.google.protobuf.ByteString + getSessionIdBytes(); + + /** + * string client_correlation_id = 2; + * @return The clientCorrelationId. + */ + java.lang.String getClientCorrelationId(); + /** + * string client_correlation_id = 2; + * @return The bytes for clientCorrelationId. + */ + com.google.protobuf.ByteString + getClientCorrelationIdBytes(); + + /** + *
+     * Optional filter: when non-empty, only snapshots whose alarm_full_reference
+     * starts with this string are returned.
+     * 
+ * + * string alarm_filter_prefix = 3; + * @return The alarmFilterPrefix. + */ + java.lang.String getAlarmFilterPrefix(); + /** + *
+     * Optional filter: when non-empty, only snapshots whose alarm_full_reference
+     * starts with this string are returned.
+     * 
+ * + * string alarm_filter_prefix = 3; + * @return The bytes for alarmFilterPrefix. + */ + com.google.protobuf.ByteString + getAlarmFilterPrefixBytes(); + } + /** + *
+   * Public request shape for QueryActiveAlarms. session_id is currently unused
+   * (the snapshot is session-less) but reserved so a future per-session view
+   * can be added without a wire break.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.QueryActiveAlarmsRequest} + */ + public static final class QueryActiveAlarmsRequest extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.QueryActiveAlarmsRequest) + QueryActiveAlarmsRequestOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "QueryActiveAlarmsRequest"); + } + // Use QueryActiveAlarmsRequest.newBuilder() to construct. + private QueryActiveAlarmsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private QueryActiveAlarmsRequest() { + sessionId_ = ""; + clientCorrelationId_ = ""; + alarmFilterPrefix_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest.class, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest.Builder.class); + } + + public static final int SESSION_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object sessionId_ = ""; + /** + * string session_id = 1; + * @return The sessionId. + */ + @java.lang.Override + public java.lang.String getSessionId() { + java.lang.Object ref = sessionId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sessionId_ = s; + return s; + } + } + /** + * string session_id = 1; + * @return The bytes for sessionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSessionIdBytes() { + java.lang.Object ref = sessionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_CORRELATION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object clientCorrelationId_ = ""; + /** + * string client_correlation_id = 2; + * @return The clientCorrelationId. + */ + @java.lang.Override + public java.lang.String getClientCorrelationId() { + java.lang.Object ref = clientCorrelationId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientCorrelationId_ = s; + return s; + } + } + /** + * string client_correlation_id = 2; + * @return The bytes for clientCorrelationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClientCorrelationIdBytes() { + java.lang.Object ref = clientCorrelationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientCorrelationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALARM_FILTER_PREFIX_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmFilterPrefix_ = ""; + /** + *
+     * Optional filter: when non-empty, only snapshots whose alarm_full_reference
+     * starts with this string are returned.
+     * 
+ * + * string alarm_filter_prefix = 3; + * @return The alarmFilterPrefix. + */ + @java.lang.Override + public java.lang.String getAlarmFilterPrefix() { + java.lang.Object ref = alarmFilterPrefix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFilterPrefix_ = s; + return s; + } + } + /** + *
+     * Optional filter: when non-empty, only snapshots whose alarm_full_reference
+     * starts with this string are returned.
+     * 
+ * + * string alarm_filter_prefix = 3; + * @return The bytes for alarmFilterPrefix. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmFilterPrefixBytes() { + java.lang.Object ref = alarmFilterPrefix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFilterPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sessionId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, sessionId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientCorrelationId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clientCorrelationId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFilterPrefix_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, alarmFilterPrefix_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sessionId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, sessionId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientCorrelationId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clientCorrelationId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFilterPrefix_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, alarmFilterPrefix_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest other = (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest) obj; + + if (!getSessionId() + .equals(other.getSessionId())) return false; + if (!getClientCorrelationId() + .equals(other.getClientCorrelationId())) return false; + if (!getAlarmFilterPrefix() + .equals(other.getAlarmFilterPrefix())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SESSION_ID_FIELD_NUMBER; + hash = (53 * hash) + getSessionId().hashCode(); + hash = (37 * hash) + CLIENT_CORRELATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientCorrelationId().hashCode(); + hash = (37 * hash) + ALARM_FILTER_PREFIX_FIELD_NUMBER; + hash = (53 * hash) + getAlarmFilterPrefix().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Public request shape for QueryActiveAlarms. session_id is currently unused
+     * (the snapshot is session-less) but reserved so a future per-session view
+     * can be added without a wire break.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.QueryActiveAlarmsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.QueryActiveAlarmsRequest) + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest.class, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + sessionId_ = ""; + clientCorrelationId_ = ""; + alarmFilterPrefix_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest build() { + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest result = new mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.sessionId_ = sessionId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clientCorrelationId_ = clientCorrelationId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.alarmFilterPrefix_ = alarmFilterPrefix_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest.getDefaultInstance()) return this; + if (!other.getSessionId().isEmpty()) { + sessionId_ = other.sessionId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getClientCorrelationId().isEmpty()) { + clientCorrelationId_ = other.clientCorrelationId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getAlarmFilterPrefix().isEmpty()) { + alarmFilterPrefix_ = other.alarmFilterPrefix_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + sessionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clientCorrelationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + alarmFilterPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object sessionId_ = ""; + /** + * string session_id = 1; + * @return The sessionId. + */ + public java.lang.String getSessionId() { + java.lang.Object ref = sessionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sessionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string session_id = 1; + * @return The bytes for sessionId. + */ + public com.google.protobuf.ByteString + getSessionIdBytes() { + java.lang.Object ref = sessionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string session_id = 1; + * @param value The sessionId to set. + * @return This builder for chaining. + */ + public Builder setSessionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + sessionId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string session_id = 1; + * @return This builder for chaining. + */ + public Builder clearSessionId() { + sessionId_ = getDefaultInstance().getSessionId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string session_id = 1; + * @param value The bytes for sessionId to set. + * @return This builder for chaining. + */ + public Builder setSessionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + sessionId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object clientCorrelationId_ = ""; + /** + * string client_correlation_id = 2; + * @return The clientCorrelationId. + */ + public java.lang.String getClientCorrelationId() { + java.lang.Object ref = clientCorrelationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientCorrelationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string client_correlation_id = 2; + * @return The bytes for clientCorrelationId. + */ + public com.google.protobuf.ByteString + getClientCorrelationIdBytes() { + java.lang.Object ref = clientCorrelationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientCorrelationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string client_correlation_id = 2; + * @param value The clientCorrelationId to set. + * @return This builder for chaining. + */ + public Builder setClientCorrelationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clientCorrelationId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string client_correlation_id = 2; + * @return This builder for chaining. + */ + public Builder clearClientCorrelationId() { + clientCorrelationId_ = getDefaultInstance().getClientCorrelationId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string client_correlation_id = 2; + * @param value The bytes for clientCorrelationId to set. + * @return This builder for chaining. + */ + public Builder setClientCorrelationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clientCorrelationId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object alarmFilterPrefix_ = ""; + /** + *
+       * Optional filter: when non-empty, only snapshots whose alarm_full_reference
+       * starts with this string are returned.
+       * 
+ * + * string alarm_filter_prefix = 3; + * @return The alarmFilterPrefix. + */ + public java.lang.String getAlarmFilterPrefix() { + java.lang.Object ref = alarmFilterPrefix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFilterPrefix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Optional filter: when non-empty, only snapshots whose alarm_full_reference
+       * starts with this string are returned.
+       * 
+ * + * string alarm_filter_prefix = 3; + * @return The bytes for alarmFilterPrefix. + */ + public com.google.protobuf.ByteString + getAlarmFilterPrefixBytes() { + java.lang.Object ref = alarmFilterPrefix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFilterPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Optional filter: when non-empty, only snapshots whose alarm_full_reference
+       * starts with this string are returned.
+       * 
+ * + * string alarm_filter_prefix = 3; + * @param value The alarmFilterPrefix to set. + * @return This builder for chaining. + */ + public Builder setAlarmFilterPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmFilterPrefix_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Optional filter: when non-empty, only snapshots whose alarm_full_reference
+       * starts with this string are returned.
+       * 
+ * + * string alarm_filter_prefix = 3; + * @return This builder for chaining. + */ + public Builder clearAlarmFilterPrefix() { + alarmFilterPrefix_ = getDefaultInstance().getAlarmFilterPrefix(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Optional filter: when non-empty, only snapshots whose alarm_full_reference
+       * starts with this string are returned.
+       * 
+ * + * string alarm_filter_prefix = 3; + * @param value The bytes for alarmFilterPrefix to set. + * @return This builder for chaining. + */ + public Builder setAlarmFilterPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmFilterPrefix_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.QueryActiveAlarmsRequest) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.QueryActiveAlarmsRequest) + private static final mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryActiveAlarmsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface OpenSessionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.OpenSessionRequest) com.google.protobuf.MessageOrBuilder { @@ -7408,6 +8649,156 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { */ mxaccess_gateway.v1.MxaccessGateway.UnsubscribeBulkCommandOrBuilder getUnsubscribeBulkOrBuilder(); + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + * @return Whether the subscribeAlarms field is set. + */ + boolean hasSubscribeAlarms(); + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + * @return The subscribeAlarms. + */ + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand getSubscribeAlarms(); + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + */ + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommandOrBuilder getSubscribeAlarmsOrBuilder(); + + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + * @return Whether the unsubscribeAlarms field is set. + */ + boolean hasUnsubscribeAlarms(); + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + * @return The unsubscribeAlarms. + */ + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand getUnsubscribeAlarms(); + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + */ + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommandOrBuilder getUnsubscribeAlarmsOrBuilder(); + + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + * @return Whether the acknowledgeAlarmCommand field is set. + */ + boolean hasAcknowledgeAlarmCommand(); + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + * @return The acknowledgeAlarmCommand. + */ + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand getAcknowledgeAlarmCommand(); + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + */ + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommandOrBuilder getAcknowledgeAlarmCommandOrBuilder(); + + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + * @return Whether the queryActiveAlarmsCommand field is set. + */ + boolean hasQueryActiveAlarmsCommand(); + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + * @return The queryActiveAlarmsCommand. + */ + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand getQueryActiveAlarmsCommand(); + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + */ + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommandOrBuilder getQueryActiveAlarmsCommandOrBuilder(); + + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + * @return Whether the acknowledgeAlarmByNameCommand field is set. + */ + boolean hasAcknowledgeAlarmByNameCommand(); + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + * @return The acknowledgeAlarmByNameCommand. + */ + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand getAcknowledgeAlarmByNameCommand(); + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + */ + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommandOrBuilder getAcknowledgeAlarmByNameCommandOrBuilder(); + + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + * @return Whether the writeBulk field is set. + */ + boolean hasWriteBulk(); + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + * @return The writeBulk. + */ + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand getWriteBulk(); + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + */ + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommandOrBuilder getWriteBulkOrBuilder(); + + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + * @return Whether the write2Bulk field is set. + */ + boolean hasWrite2Bulk(); + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + * @return The write2Bulk. + */ + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand getWrite2Bulk(); + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + */ + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommandOrBuilder getWrite2BulkOrBuilder(); + + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + * @return Whether the writeSecuredBulk field is set. + */ + boolean hasWriteSecuredBulk(); + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + * @return The writeSecuredBulk. + */ + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand getWriteSecuredBulk(); + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + */ + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommandOrBuilder getWriteSecuredBulkOrBuilder(); + + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + * @return Whether the writeSecured2Bulk field is set. + */ + boolean hasWriteSecured2Bulk(); + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + * @return The writeSecured2Bulk. + */ + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand getWriteSecured2Bulk(); + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + */ + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommandOrBuilder getWriteSecured2BulkOrBuilder(); + + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + * @return Whether the readBulk field is set. + */ + boolean hasReadBulk(); + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + * @return The readBulk. + */ + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand getReadBulk(); + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + */ + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommandOrBuilder getReadBulkOrBuilder(); + /** * .mxaccess_gateway.v1.PingCommand ping = 100; * @return Whether the ping field is set. @@ -7553,6 +8944,16 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { UN_ADVISE_ITEM_BULK(31), SUBSCRIBE_BULK(32), UNSUBSCRIBE_BULK(33), + SUBSCRIBE_ALARMS(34), + UNSUBSCRIBE_ALARMS(35), + ACKNOWLEDGE_ALARM_COMMAND(36), + QUERY_ACTIVE_ALARMS_COMMAND(37), + ACKNOWLEDGE_ALARM_BY_NAME_COMMAND(38), + WRITE_BULK(39), + WRITE2_BULK(40), + WRITE_SECURED_BULK(41), + WRITE_SECURED2_BULK(42), + READ_BULK(43), PING(100), GET_SESSION_STATE(101), GET_WORKER_INFO(102), @@ -7599,6 +9000,16 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { case 31: return UN_ADVISE_ITEM_BULK; case 32: return SUBSCRIBE_BULK; case 33: return UNSUBSCRIBE_BULK; + case 34: return SUBSCRIBE_ALARMS; + case 35: return UNSUBSCRIBE_ALARMS; + case 36: return ACKNOWLEDGE_ALARM_COMMAND; + case 37: return QUERY_ACTIVE_ALARMS_COMMAND; + case 38: return ACKNOWLEDGE_ALARM_BY_NAME_COMMAND; + case 39: return WRITE_BULK; + case 40: return WRITE2_BULK; + case 41: return WRITE_SECURED_BULK; + case 42: return WRITE_SECURED2_BULK; + case 43: return READ_BULK; case 100: return PING; case 101: return GET_SESSION_STATE; case 102: return GET_WORKER_INFO; @@ -8381,6 +9792,316 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { return mxaccess_gateway.v1.MxaccessGateway.UnsubscribeBulkCommand.getDefaultInstance(); } + public static final int SUBSCRIBE_ALARMS_FIELD_NUMBER = 34; + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + * @return Whether the subscribeAlarms field is set. + */ + @java.lang.Override + public boolean hasSubscribeAlarms() { + return payloadCase_ == 34; + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + * @return The subscribeAlarms. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand getSubscribeAlarms() { + if (payloadCase_ == 34) { + return (mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommandOrBuilder getSubscribeAlarmsOrBuilder() { + if (payloadCase_ == 34) { + return (mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.getDefaultInstance(); + } + + public static final int UNSUBSCRIBE_ALARMS_FIELD_NUMBER = 35; + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + * @return Whether the unsubscribeAlarms field is set. + */ + @java.lang.Override + public boolean hasUnsubscribeAlarms() { + return payloadCase_ == 35; + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + * @return The unsubscribeAlarms. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand getUnsubscribeAlarms() { + if (payloadCase_ == 35) { + return (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommandOrBuilder getUnsubscribeAlarmsOrBuilder() { + if (payloadCase_ == 35) { + return (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.getDefaultInstance(); + } + + public static final int ACKNOWLEDGE_ALARM_COMMAND_FIELD_NUMBER = 36; + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + * @return Whether the acknowledgeAlarmCommand field is set. + */ + @java.lang.Override + public boolean hasAcknowledgeAlarmCommand() { + return payloadCase_ == 36; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + * @return The acknowledgeAlarmCommand. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand getAcknowledgeAlarmCommand() { + if (payloadCase_ == 36) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommandOrBuilder getAcknowledgeAlarmCommandOrBuilder() { + if (payloadCase_ == 36) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.getDefaultInstance(); + } + + public static final int QUERY_ACTIVE_ALARMS_COMMAND_FIELD_NUMBER = 37; + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + * @return Whether the queryActiveAlarmsCommand field is set. + */ + @java.lang.Override + public boolean hasQueryActiveAlarmsCommand() { + return payloadCase_ == 37; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + * @return The queryActiveAlarmsCommand. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand getQueryActiveAlarmsCommand() { + if (payloadCase_ == 37) { + return (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommandOrBuilder getQueryActiveAlarmsCommandOrBuilder() { + if (payloadCase_ == 37) { + return (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.getDefaultInstance(); + } + + public static final int ACKNOWLEDGE_ALARM_BY_NAME_COMMAND_FIELD_NUMBER = 38; + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + * @return Whether the acknowledgeAlarmByNameCommand field is set. + */ + @java.lang.Override + public boolean hasAcknowledgeAlarmByNameCommand() { + return payloadCase_ == 38; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + * @return The acknowledgeAlarmByNameCommand. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand getAcknowledgeAlarmByNameCommand() { + if (payloadCase_ == 38) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommandOrBuilder getAcknowledgeAlarmByNameCommandOrBuilder() { + if (payloadCase_ == 38) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.getDefaultInstance(); + } + + public static final int WRITE_BULK_FIELD_NUMBER = 39; + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + * @return Whether the writeBulk field is set. + */ + @java.lang.Override + public boolean hasWriteBulk() { + return payloadCase_ == 39; + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + * @return The writeBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand getWriteBulk() { + if (payloadCase_ == 39) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommandOrBuilder getWriteBulkOrBuilder() { + if (payloadCase_ == 39) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.getDefaultInstance(); + } + + public static final int WRITE2_BULK_FIELD_NUMBER = 40; + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + * @return Whether the write2Bulk field is set. + */ + @java.lang.Override + public boolean hasWrite2Bulk() { + return payloadCase_ == 40; + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + * @return The write2Bulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand getWrite2Bulk() { + if (payloadCase_ == 40) { + return (mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommandOrBuilder getWrite2BulkOrBuilder() { + if (payloadCase_ == 40) { + return (mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.getDefaultInstance(); + } + + public static final int WRITE_SECURED_BULK_FIELD_NUMBER = 41; + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + * @return Whether the writeSecuredBulk field is set. + */ + @java.lang.Override + public boolean hasWriteSecuredBulk() { + return payloadCase_ == 41; + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + * @return The writeSecuredBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand getWriteSecuredBulk() { + if (payloadCase_ == 41) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommandOrBuilder getWriteSecuredBulkOrBuilder() { + if (payloadCase_ == 41) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.getDefaultInstance(); + } + + public static final int WRITE_SECURED2_BULK_FIELD_NUMBER = 42; + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + * @return Whether the writeSecured2Bulk field is set. + */ + @java.lang.Override + public boolean hasWriteSecured2Bulk() { + return payloadCase_ == 42; + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + * @return The writeSecured2Bulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand getWriteSecured2Bulk() { + if (payloadCase_ == 42) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommandOrBuilder getWriteSecured2BulkOrBuilder() { + if (payloadCase_ == 42) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.getDefaultInstance(); + } + + public static final int READ_BULK_FIELD_NUMBER = 43; + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + * @return Whether the readBulk field is set. + */ + @java.lang.Override + public boolean hasReadBulk() { + return payloadCase_ == 43; + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + * @return The readBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand getReadBulk() { + if (payloadCase_ == 43) { + return (mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommandOrBuilder getReadBulkOrBuilder() { + if (payloadCase_ == 43) { + return (mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.getDefaultInstance(); + } + public static final int PING_FIELD_NUMBER = 100; /** * .mxaccess_gateway.v1.PingCommand ping = 100; @@ -8625,6 +10346,36 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { if (payloadCase_ == 33) { output.writeMessage(33, (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeBulkCommand) payload_); } + if (payloadCase_ == 34) { + output.writeMessage(34, (mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) payload_); + } + if (payloadCase_ == 35) { + output.writeMessage(35, (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) payload_); + } + if (payloadCase_ == 36) { + output.writeMessage(36, (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) payload_); + } + if (payloadCase_ == 37) { + output.writeMessage(37, (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) payload_); + } + if (payloadCase_ == 38) { + output.writeMessage(38, (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) payload_); + } + if (payloadCase_ == 39) { + output.writeMessage(39, (mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) payload_); + } + if (payloadCase_ == 40) { + output.writeMessage(40, (mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) payload_); + } + if (payloadCase_ == 41) { + output.writeMessage(41, (mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) payload_); + } + if (payloadCase_ == 42) { + output.writeMessage(42, (mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) payload_); + } + if (payloadCase_ == 43) { + output.writeMessage(43, (mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) payload_); + } if (payloadCase_ == 100) { output.writeMessage(100, (mxaccess_gateway.v1.MxaccessGateway.PingCommand) payload_); } @@ -8749,6 +10500,46 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { size += com.google.protobuf.CodedOutputStream .computeMessageSize(33, (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeBulkCommand) payload_); } + if (payloadCase_ == 34) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(34, (mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) payload_); + } + if (payloadCase_ == 35) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(35, (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) payload_); + } + if (payloadCase_ == 36) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(36, (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) payload_); + } + if (payloadCase_ == 37) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(37, (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) payload_); + } + if (payloadCase_ == 38) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(38, (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) payload_); + } + if (payloadCase_ == 39) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(39, (mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) payload_); + } + if (payloadCase_ == 40) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(40, (mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) payload_); + } + if (payloadCase_ == 41) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(41, (mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) payload_); + } + if (payloadCase_ == 42) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(42, (mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) payload_); + } + if (payloadCase_ == 43) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(43, (mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) payload_); + } if (payloadCase_ == 100) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(100, (mxaccess_gateway.v1.MxaccessGateway.PingCommand) payload_); @@ -8883,6 +10674,46 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { if (!getUnsubscribeBulk() .equals(other.getUnsubscribeBulk())) return false; break; + case 34: + if (!getSubscribeAlarms() + .equals(other.getSubscribeAlarms())) return false; + break; + case 35: + if (!getUnsubscribeAlarms() + .equals(other.getUnsubscribeAlarms())) return false; + break; + case 36: + if (!getAcknowledgeAlarmCommand() + .equals(other.getAcknowledgeAlarmCommand())) return false; + break; + case 37: + if (!getQueryActiveAlarmsCommand() + .equals(other.getQueryActiveAlarmsCommand())) return false; + break; + case 38: + if (!getAcknowledgeAlarmByNameCommand() + .equals(other.getAcknowledgeAlarmByNameCommand())) return false; + break; + case 39: + if (!getWriteBulk() + .equals(other.getWriteBulk())) return false; + break; + case 40: + if (!getWrite2Bulk() + .equals(other.getWrite2Bulk())) return false; + break; + case 41: + if (!getWriteSecuredBulk() + .equals(other.getWriteSecuredBulk())) return false; + break; + case 42: + if (!getWriteSecured2Bulk() + .equals(other.getWriteSecured2Bulk())) return false; + break; + case 43: + if (!getReadBulk() + .equals(other.getReadBulk())) return false; + break; case 100: if (!getPing() .equals(other.getPing())) return false; @@ -9016,6 +10847,46 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { hash = (37 * hash) + UNSUBSCRIBE_BULK_FIELD_NUMBER; hash = (53 * hash) + getUnsubscribeBulk().hashCode(); break; + case 34: + hash = (37 * hash) + SUBSCRIBE_ALARMS_FIELD_NUMBER; + hash = (53 * hash) + getSubscribeAlarms().hashCode(); + break; + case 35: + hash = (37 * hash) + UNSUBSCRIBE_ALARMS_FIELD_NUMBER; + hash = (53 * hash) + getUnsubscribeAlarms().hashCode(); + break; + case 36: + hash = (37 * hash) + ACKNOWLEDGE_ALARM_COMMAND_FIELD_NUMBER; + hash = (53 * hash) + getAcknowledgeAlarmCommand().hashCode(); + break; + case 37: + hash = (37 * hash) + QUERY_ACTIVE_ALARMS_COMMAND_FIELD_NUMBER; + hash = (53 * hash) + getQueryActiveAlarmsCommand().hashCode(); + break; + case 38: + hash = (37 * hash) + ACKNOWLEDGE_ALARM_BY_NAME_COMMAND_FIELD_NUMBER; + hash = (53 * hash) + getAcknowledgeAlarmByNameCommand().hashCode(); + break; + case 39: + hash = (37 * hash) + WRITE_BULK_FIELD_NUMBER; + hash = (53 * hash) + getWriteBulk().hashCode(); + break; + case 40: + hash = (37 * hash) + WRITE2_BULK_FIELD_NUMBER; + hash = (53 * hash) + getWrite2Bulk().hashCode(); + break; + case 41: + hash = (37 * hash) + WRITE_SECURED_BULK_FIELD_NUMBER; + hash = (53 * hash) + getWriteSecuredBulk().hashCode(); + break; + case 42: + hash = (37 * hash) + WRITE_SECURED2_BULK_FIELD_NUMBER; + hash = (53 * hash) + getWriteSecured2Bulk().hashCode(); + break; + case 43: + hash = (37 * hash) + READ_BULK_FIELD_NUMBER; + hash = (53 * hash) + getReadBulk().hashCode(); + break; case 100: hash = (37 * hash) + PING_FIELD_NUMBER; hash = (53 * hash) + getPing().hashCode(); @@ -9170,6 +11041,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { public Builder clear() { super.clear(); bitField0_ = 0; + bitField1_ = 0; kind_ = 0; if (registerBuilder_ != null) { registerBuilder_.clear(); @@ -9243,6 +11115,36 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { if (unsubscribeBulkBuilder_ != null) { unsubscribeBulkBuilder_.clear(); } + if (subscribeAlarmsBuilder_ != null) { + subscribeAlarmsBuilder_.clear(); + } + if (unsubscribeAlarmsBuilder_ != null) { + unsubscribeAlarmsBuilder_.clear(); + } + if (acknowledgeAlarmCommandBuilder_ != null) { + acknowledgeAlarmCommandBuilder_.clear(); + } + if (queryActiveAlarmsCommandBuilder_ != null) { + queryActiveAlarmsCommandBuilder_.clear(); + } + if (acknowledgeAlarmByNameCommandBuilder_ != null) { + acknowledgeAlarmByNameCommandBuilder_.clear(); + } + if (writeBulkBuilder_ != null) { + writeBulkBuilder_.clear(); + } + if (write2BulkBuilder_ != null) { + write2BulkBuilder_.clear(); + } + if (writeSecuredBulkBuilder_ != null) { + writeSecuredBulkBuilder_.clear(); + } + if (writeSecured2BulkBuilder_ != null) { + writeSecured2BulkBuilder_.clear(); + } + if (readBulkBuilder_ != null) { + readBulkBuilder_.clear(); + } if (pingBuilder_ != null) { pingBuilder_.clear(); } @@ -9287,6 +11189,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { public mxaccess_gateway.v1.MxaccessGateway.MxCommand buildPartial() { mxaccess_gateway.v1.MxaccessGateway.MxCommand result = new mxaccess_gateway.v1.MxaccessGateway.MxCommand(this); if (bitField0_ != 0) { buildPartial0(result); } + if (bitField1_ != 0) { buildPartial1(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -9299,6 +11202,10 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } } + private void buildPartial1(mxaccess_gateway.v1.MxaccessGateway.MxCommand result) { + int from_bitField1_ = bitField1_; + } + private void buildPartialOneofs(mxaccess_gateway.v1.MxaccessGateway.MxCommand result) { result.payloadCase_ = payloadCase_; result.payload_ = this.payload_; @@ -9398,6 +11305,46 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { unsubscribeBulkBuilder_ != null) { result.payload_ = unsubscribeBulkBuilder_.build(); } + if (payloadCase_ == 34 && + subscribeAlarmsBuilder_ != null) { + result.payload_ = subscribeAlarmsBuilder_.build(); + } + if (payloadCase_ == 35 && + unsubscribeAlarmsBuilder_ != null) { + result.payload_ = unsubscribeAlarmsBuilder_.build(); + } + if (payloadCase_ == 36 && + acknowledgeAlarmCommandBuilder_ != null) { + result.payload_ = acknowledgeAlarmCommandBuilder_.build(); + } + if (payloadCase_ == 37 && + queryActiveAlarmsCommandBuilder_ != null) { + result.payload_ = queryActiveAlarmsCommandBuilder_.build(); + } + if (payloadCase_ == 38 && + acknowledgeAlarmByNameCommandBuilder_ != null) { + result.payload_ = acknowledgeAlarmByNameCommandBuilder_.build(); + } + if (payloadCase_ == 39 && + writeBulkBuilder_ != null) { + result.payload_ = writeBulkBuilder_.build(); + } + if (payloadCase_ == 40 && + write2BulkBuilder_ != null) { + result.payload_ = write2BulkBuilder_.build(); + } + if (payloadCase_ == 41 && + writeSecuredBulkBuilder_ != null) { + result.payload_ = writeSecuredBulkBuilder_.build(); + } + if (payloadCase_ == 42 && + writeSecured2BulkBuilder_ != null) { + result.payload_ = writeSecured2BulkBuilder_.build(); + } + if (payloadCase_ == 43 && + readBulkBuilder_ != null) { + result.payload_ = readBulkBuilder_.build(); + } if (payloadCase_ == 100 && pingBuilder_ != null) { result.payload_ = pingBuilder_.build(); @@ -9532,6 +11479,46 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { mergeUnsubscribeBulk(other.getUnsubscribeBulk()); break; } + case SUBSCRIBE_ALARMS: { + mergeSubscribeAlarms(other.getSubscribeAlarms()); + break; + } + case UNSUBSCRIBE_ALARMS: { + mergeUnsubscribeAlarms(other.getUnsubscribeAlarms()); + break; + } + case ACKNOWLEDGE_ALARM_COMMAND: { + mergeAcknowledgeAlarmCommand(other.getAcknowledgeAlarmCommand()); + break; + } + case QUERY_ACTIVE_ALARMS_COMMAND: { + mergeQueryActiveAlarmsCommand(other.getQueryActiveAlarmsCommand()); + break; + } + case ACKNOWLEDGE_ALARM_BY_NAME_COMMAND: { + mergeAcknowledgeAlarmByNameCommand(other.getAcknowledgeAlarmByNameCommand()); + break; + } + case WRITE_BULK: { + mergeWriteBulk(other.getWriteBulk()); + break; + } + case WRITE2_BULK: { + mergeWrite2Bulk(other.getWrite2Bulk()); + break; + } + case WRITE_SECURED_BULK: { + mergeWriteSecuredBulk(other.getWriteSecuredBulk()); + break; + } + case WRITE_SECURED2_BULK: { + mergeWriteSecured2Bulk(other.getWriteSecured2Bulk()); + break; + } + case READ_BULK: { + mergeReadBulk(other.getReadBulk()); + break; + } case PING: { mergePing(other.getPing()); break; @@ -9755,6 +11742,76 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { payloadCase_ = 33; break; } // case 266 + case 274: { + input.readMessage( + internalGetSubscribeAlarmsFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 34; + break; + } // case 274 + case 282: { + input.readMessage( + internalGetUnsubscribeAlarmsFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 35; + break; + } // case 282 + case 290: { + input.readMessage( + internalGetAcknowledgeAlarmCommandFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 36; + break; + } // case 290 + case 298: { + input.readMessage( + internalGetQueryActiveAlarmsCommandFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 37; + break; + } // case 298 + case 306: { + input.readMessage( + internalGetAcknowledgeAlarmByNameCommandFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 38; + break; + } // case 306 + case 314: { + input.readMessage( + internalGetWriteBulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 39; + break; + } // case 314 + case 322: { + input.readMessage( + internalGetWrite2BulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 40; + break; + } // case 322 + case 330: { + input.readMessage( + internalGetWriteSecuredBulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 41; + break; + } // case 330 + case 338: { + input.readMessage( + internalGetWriteSecured2BulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 42; + break; + } // case 338 + case 346: { + input.readMessage( + internalGetReadBulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 43; + break; + } // case 346 case 802: { input.readMessage( internalGetPingFieldBuilder().getBuilder(), @@ -9821,6 +11878,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } private int bitField0_; + private int bitField1_; private int kind_ = 0; /** @@ -13281,6 +15339,1426 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { return unsubscribeBulkBuilder_; } + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand, mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommandOrBuilder> subscribeAlarmsBuilder_; + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + * @return Whether the subscribeAlarms field is set. + */ + @java.lang.Override + public boolean hasSubscribeAlarms() { + return payloadCase_ == 34; + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + * @return The subscribeAlarms. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand getSubscribeAlarms() { + if (subscribeAlarmsBuilder_ == null) { + if (payloadCase_ == 34) { + return (mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 34) { + return subscribeAlarmsBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + */ + public Builder setSubscribeAlarms(mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand value) { + if (subscribeAlarmsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + subscribeAlarmsBuilder_.setMessage(value); + } + payloadCase_ = 34; + return this; + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + */ + public Builder setSubscribeAlarms( + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.Builder builderForValue) { + if (subscribeAlarmsBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + subscribeAlarmsBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 34; + return this; + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + */ + public Builder mergeSubscribeAlarms(mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand value) { + if (subscribeAlarmsBuilder_ == null) { + if (payloadCase_ == 34 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 34) { + subscribeAlarmsBuilder_.mergeFrom(value); + } else { + subscribeAlarmsBuilder_.setMessage(value); + } + } + payloadCase_ = 34; + return this; + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + */ + public Builder clearSubscribeAlarms() { + if (subscribeAlarmsBuilder_ == null) { + if (payloadCase_ == 34) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 34) { + payloadCase_ = 0; + payload_ = null; + } + subscribeAlarmsBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + */ + public mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.Builder getSubscribeAlarmsBuilder() { + return internalGetSubscribeAlarmsFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommandOrBuilder getSubscribeAlarmsOrBuilder() { + if ((payloadCase_ == 34) && (subscribeAlarmsBuilder_ != null)) { + return subscribeAlarmsBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 34) { + return (mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.SubscribeAlarmsCommand subscribe_alarms = 34; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand, mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommandOrBuilder> + internalGetSubscribeAlarmsFieldBuilder() { + if (subscribeAlarmsBuilder_ == null) { + if (!(payloadCase_ == 34)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.getDefaultInstance(); + } + subscribeAlarmsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand, mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 34; + onChanged(); + return subscribeAlarmsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand, mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommandOrBuilder> unsubscribeAlarmsBuilder_; + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + * @return Whether the unsubscribeAlarms field is set. + */ + @java.lang.Override + public boolean hasUnsubscribeAlarms() { + return payloadCase_ == 35; + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + * @return The unsubscribeAlarms. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand getUnsubscribeAlarms() { + if (unsubscribeAlarmsBuilder_ == null) { + if (payloadCase_ == 35) { + return (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 35) { + return unsubscribeAlarmsBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + */ + public Builder setUnsubscribeAlarms(mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand value) { + if (unsubscribeAlarmsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + unsubscribeAlarmsBuilder_.setMessage(value); + } + payloadCase_ = 35; + return this; + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + */ + public Builder setUnsubscribeAlarms( + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.Builder builderForValue) { + if (unsubscribeAlarmsBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + unsubscribeAlarmsBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 35; + return this; + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + */ + public Builder mergeUnsubscribeAlarms(mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand value) { + if (unsubscribeAlarmsBuilder_ == null) { + if (payloadCase_ == 35 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 35) { + unsubscribeAlarmsBuilder_.mergeFrom(value); + } else { + unsubscribeAlarmsBuilder_.setMessage(value); + } + } + payloadCase_ = 35; + return this; + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + */ + public Builder clearUnsubscribeAlarms() { + if (unsubscribeAlarmsBuilder_ == null) { + if (payloadCase_ == 35) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 35) { + payloadCase_ = 0; + payload_ = null; + } + unsubscribeAlarmsBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + */ + public mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.Builder getUnsubscribeAlarmsBuilder() { + return internalGetUnsubscribeAlarmsFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommandOrBuilder getUnsubscribeAlarmsOrBuilder() { + if ((payloadCase_ == 35) && (unsubscribeAlarmsBuilder_ != null)) { + return unsubscribeAlarmsBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 35) { + return (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.UnsubscribeAlarmsCommand unsubscribe_alarms = 35; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand, mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommandOrBuilder> + internalGetUnsubscribeAlarmsFieldBuilder() { + if (unsubscribeAlarmsBuilder_ == null) { + if (!(payloadCase_ == 35)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.getDefaultInstance(); + } + unsubscribeAlarmsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand, mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 35; + onChanged(); + return unsubscribeAlarmsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommandOrBuilder> acknowledgeAlarmCommandBuilder_; + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + * @return Whether the acknowledgeAlarmCommand field is set. + */ + @java.lang.Override + public boolean hasAcknowledgeAlarmCommand() { + return payloadCase_ == 36; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + * @return The acknowledgeAlarmCommand. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand getAcknowledgeAlarmCommand() { + if (acknowledgeAlarmCommandBuilder_ == null) { + if (payloadCase_ == 36) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 36) { + return acknowledgeAlarmCommandBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + */ + public Builder setAcknowledgeAlarmCommand(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand value) { + if (acknowledgeAlarmCommandBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + acknowledgeAlarmCommandBuilder_.setMessage(value); + } + payloadCase_ = 36; + return this; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + */ + public Builder setAcknowledgeAlarmCommand( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.Builder builderForValue) { + if (acknowledgeAlarmCommandBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + acknowledgeAlarmCommandBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 36; + return this; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + */ + public Builder mergeAcknowledgeAlarmCommand(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand value) { + if (acknowledgeAlarmCommandBuilder_ == null) { + if (payloadCase_ == 36 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 36) { + acknowledgeAlarmCommandBuilder_.mergeFrom(value); + } else { + acknowledgeAlarmCommandBuilder_.setMessage(value); + } + } + payloadCase_ = 36; + return this; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + */ + public Builder clearAcknowledgeAlarmCommand() { + if (acknowledgeAlarmCommandBuilder_ == null) { + if (payloadCase_ == 36) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 36) { + payloadCase_ = 0; + payload_ = null; + } + acknowledgeAlarmCommandBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + */ + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.Builder getAcknowledgeAlarmCommandBuilder() { + return internalGetAcknowledgeAlarmCommandFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommandOrBuilder getAcknowledgeAlarmCommandOrBuilder() { + if ((payloadCase_ == 36) && (acknowledgeAlarmCommandBuilder_ != null)) { + return acknowledgeAlarmCommandBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 36) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmCommand acknowledge_alarm_command = 36; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommandOrBuilder> + internalGetAcknowledgeAlarmCommandFieldBuilder() { + if (acknowledgeAlarmCommandBuilder_ == null) { + if (!(payloadCase_ == 36)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.getDefaultInstance(); + } + acknowledgeAlarmCommandBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 36; + onChanged(); + return acknowledgeAlarmCommandBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommandOrBuilder> queryActiveAlarmsCommandBuilder_; + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + * @return Whether the queryActiveAlarmsCommand field is set. + */ + @java.lang.Override + public boolean hasQueryActiveAlarmsCommand() { + return payloadCase_ == 37; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + * @return The queryActiveAlarmsCommand. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand getQueryActiveAlarmsCommand() { + if (queryActiveAlarmsCommandBuilder_ == null) { + if (payloadCase_ == 37) { + return (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 37) { + return queryActiveAlarmsCommandBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + */ + public Builder setQueryActiveAlarmsCommand(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand value) { + if (queryActiveAlarmsCommandBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + queryActiveAlarmsCommandBuilder_.setMessage(value); + } + payloadCase_ = 37; + return this; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + */ + public Builder setQueryActiveAlarmsCommand( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.Builder builderForValue) { + if (queryActiveAlarmsCommandBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + queryActiveAlarmsCommandBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 37; + return this; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + */ + public Builder mergeQueryActiveAlarmsCommand(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand value) { + if (queryActiveAlarmsCommandBuilder_ == null) { + if (payloadCase_ == 37 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 37) { + queryActiveAlarmsCommandBuilder_.mergeFrom(value); + } else { + queryActiveAlarmsCommandBuilder_.setMessage(value); + } + } + payloadCase_ = 37; + return this; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + */ + public Builder clearQueryActiveAlarmsCommand() { + if (queryActiveAlarmsCommandBuilder_ == null) { + if (payloadCase_ == 37) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 37) { + payloadCase_ = 0; + payload_ = null; + } + queryActiveAlarmsCommandBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + */ + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.Builder getQueryActiveAlarmsCommandBuilder() { + return internalGetQueryActiveAlarmsCommandFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommandOrBuilder getQueryActiveAlarmsCommandOrBuilder() { + if ((payloadCase_ == 37) && (queryActiveAlarmsCommandBuilder_ != null)) { + return queryActiveAlarmsCommandBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 37) { + return (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsCommand query_active_alarms_command = 37; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommandOrBuilder> + internalGetQueryActiveAlarmsCommandFieldBuilder() { + if (queryActiveAlarmsCommandBuilder_ == null) { + if (!(payloadCase_ == 37)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.getDefaultInstance(); + } + queryActiveAlarmsCommandBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 37; + onChanged(); + return queryActiveAlarmsCommandBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommandOrBuilder> acknowledgeAlarmByNameCommandBuilder_; + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + * @return Whether the acknowledgeAlarmByNameCommand field is set. + */ + @java.lang.Override + public boolean hasAcknowledgeAlarmByNameCommand() { + return payloadCase_ == 38; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + * @return The acknowledgeAlarmByNameCommand. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand getAcknowledgeAlarmByNameCommand() { + if (acknowledgeAlarmByNameCommandBuilder_ == null) { + if (payloadCase_ == 38) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 38) { + return acknowledgeAlarmByNameCommandBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + */ + public Builder setAcknowledgeAlarmByNameCommand(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand value) { + if (acknowledgeAlarmByNameCommandBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + acknowledgeAlarmByNameCommandBuilder_.setMessage(value); + } + payloadCase_ = 38; + return this; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + */ + public Builder setAcknowledgeAlarmByNameCommand( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.Builder builderForValue) { + if (acknowledgeAlarmByNameCommandBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + acknowledgeAlarmByNameCommandBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 38; + return this; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + */ + public Builder mergeAcknowledgeAlarmByNameCommand(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand value) { + if (acknowledgeAlarmByNameCommandBuilder_ == null) { + if (payloadCase_ == 38 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 38) { + acknowledgeAlarmByNameCommandBuilder_.mergeFrom(value); + } else { + acknowledgeAlarmByNameCommandBuilder_.setMessage(value); + } + } + payloadCase_ = 38; + return this; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + */ + public Builder clearAcknowledgeAlarmByNameCommand() { + if (acknowledgeAlarmByNameCommandBuilder_ == null) { + if (payloadCase_ == 38) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 38) { + payloadCase_ = 0; + payload_ = null; + } + acknowledgeAlarmByNameCommandBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + */ + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.Builder getAcknowledgeAlarmByNameCommandBuilder() { + return internalGetAcknowledgeAlarmByNameCommandFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommandOrBuilder getAcknowledgeAlarmByNameCommandOrBuilder() { + if ((payloadCase_ == 38) && (acknowledgeAlarmByNameCommandBuilder_ != null)) { + return acknowledgeAlarmByNameCommandBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 38) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand acknowledge_alarm_by_name_command = 38; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommandOrBuilder> + internalGetAcknowledgeAlarmByNameCommandFieldBuilder() { + if (acknowledgeAlarmByNameCommandBuilder_ == null) { + if (!(payloadCase_ == 38)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.getDefaultInstance(); + } + acknowledgeAlarmByNameCommandBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 38; + onChanged(); + return acknowledgeAlarmByNameCommandBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand, mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommandOrBuilder> writeBulkBuilder_; + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + * @return Whether the writeBulk field is set. + */ + @java.lang.Override + public boolean hasWriteBulk() { + return payloadCase_ == 39; + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + * @return The writeBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand getWriteBulk() { + if (writeBulkBuilder_ == null) { + if (payloadCase_ == 39) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 39) { + return writeBulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + */ + public Builder setWriteBulk(mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand value) { + if (writeBulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + writeBulkBuilder_.setMessage(value); + } + payloadCase_ = 39; + return this; + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + */ + public Builder setWriteBulk( + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.Builder builderForValue) { + if (writeBulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + writeBulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 39; + return this; + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + */ + public Builder mergeWriteBulk(mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand value) { + if (writeBulkBuilder_ == null) { + if (payloadCase_ == 39 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 39) { + writeBulkBuilder_.mergeFrom(value); + } else { + writeBulkBuilder_.setMessage(value); + } + } + payloadCase_ = 39; + return this; + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + */ + public Builder clearWriteBulk() { + if (writeBulkBuilder_ == null) { + if (payloadCase_ == 39) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 39) { + payloadCase_ = 0; + payload_ = null; + } + writeBulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.Builder getWriteBulkBuilder() { + return internalGetWriteBulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommandOrBuilder getWriteBulkOrBuilder() { + if ((payloadCase_ == 39) && (writeBulkBuilder_ != null)) { + return writeBulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 39) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.WriteBulkCommand write_bulk = 39; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand, mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommandOrBuilder> + internalGetWriteBulkFieldBuilder() { + if (writeBulkBuilder_ == null) { + if (!(payloadCase_ == 39)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.getDefaultInstance(); + } + writeBulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand, mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 39; + onChanged(); + return writeBulkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand, mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommandOrBuilder> write2BulkBuilder_; + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + * @return Whether the write2Bulk field is set. + */ + @java.lang.Override + public boolean hasWrite2Bulk() { + return payloadCase_ == 40; + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + * @return The write2Bulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand getWrite2Bulk() { + if (write2BulkBuilder_ == null) { + if (payloadCase_ == 40) { + return (mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 40) { + return write2BulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + */ + public Builder setWrite2Bulk(mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand value) { + if (write2BulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + write2BulkBuilder_.setMessage(value); + } + payloadCase_ = 40; + return this; + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + */ + public Builder setWrite2Bulk( + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.Builder builderForValue) { + if (write2BulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + write2BulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 40; + return this; + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + */ + public Builder mergeWrite2Bulk(mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand value) { + if (write2BulkBuilder_ == null) { + if (payloadCase_ == 40 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 40) { + write2BulkBuilder_.mergeFrom(value); + } else { + write2BulkBuilder_.setMessage(value); + } + } + payloadCase_ = 40; + return this; + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + */ + public Builder clearWrite2Bulk() { + if (write2BulkBuilder_ == null) { + if (payloadCase_ == 40) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 40) { + payloadCase_ = 0; + payload_ = null; + } + write2BulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + */ + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.Builder getWrite2BulkBuilder() { + return internalGetWrite2BulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommandOrBuilder getWrite2BulkOrBuilder() { + if ((payloadCase_ == 40) && (write2BulkBuilder_ != null)) { + return write2BulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 40) { + return (mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.Write2BulkCommand write2_bulk = 40; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand, mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommandOrBuilder> + internalGetWrite2BulkFieldBuilder() { + if (write2BulkBuilder_ == null) { + if (!(payloadCase_ == 40)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.getDefaultInstance(); + } + write2BulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand, mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 40; + onChanged(); + return write2BulkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommandOrBuilder> writeSecuredBulkBuilder_; + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + * @return Whether the writeSecuredBulk field is set. + */ + @java.lang.Override + public boolean hasWriteSecuredBulk() { + return payloadCase_ == 41; + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + * @return The writeSecuredBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand getWriteSecuredBulk() { + if (writeSecuredBulkBuilder_ == null) { + if (payloadCase_ == 41) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 41) { + return writeSecuredBulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + */ + public Builder setWriteSecuredBulk(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand value) { + if (writeSecuredBulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + writeSecuredBulkBuilder_.setMessage(value); + } + payloadCase_ = 41; + return this; + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + */ + public Builder setWriteSecuredBulk( + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.Builder builderForValue) { + if (writeSecuredBulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + writeSecuredBulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 41; + return this; + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + */ + public Builder mergeWriteSecuredBulk(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand value) { + if (writeSecuredBulkBuilder_ == null) { + if (payloadCase_ == 41 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 41) { + writeSecuredBulkBuilder_.mergeFrom(value); + } else { + writeSecuredBulkBuilder_.setMessage(value); + } + } + payloadCase_ = 41; + return this; + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + */ + public Builder clearWriteSecuredBulk() { + if (writeSecuredBulkBuilder_ == null) { + if (payloadCase_ == 41) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 41) { + payloadCase_ = 0; + payload_ = null; + } + writeSecuredBulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.Builder getWriteSecuredBulkBuilder() { + return internalGetWriteSecuredBulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommandOrBuilder getWriteSecuredBulkOrBuilder() { + if ((payloadCase_ == 41) && (writeSecuredBulkBuilder_ != null)) { + return writeSecuredBulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 41) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.WriteSecuredBulkCommand write_secured_bulk = 41; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommandOrBuilder> + internalGetWriteSecuredBulkFieldBuilder() { + if (writeSecuredBulkBuilder_ == null) { + if (!(payloadCase_ == 41)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.getDefaultInstance(); + } + writeSecuredBulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 41; + onChanged(); + return writeSecuredBulkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommandOrBuilder> writeSecured2BulkBuilder_; + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + * @return Whether the writeSecured2Bulk field is set. + */ + @java.lang.Override + public boolean hasWriteSecured2Bulk() { + return payloadCase_ == 42; + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + * @return The writeSecured2Bulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand getWriteSecured2Bulk() { + if (writeSecured2BulkBuilder_ == null) { + if (payloadCase_ == 42) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 42) { + return writeSecured2BulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + */ + public Builder setWriteSecured2Bulk(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand value) { + if (writeSecured2BulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + writeSecured2BulkBuilder_.setMessage(value); + } + payloadCase_ = 42; + return this; + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + */ + public Builder setWriteSecured2Bulk( + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.Builder builderForValue) { + if (writeSecured2BulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + writeSecured2BulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 42; + return this; + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + */ + public Builder mergeWriteSecured2Bulk(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand value) { + if (writeSecured2BulkBuilder_ == null) { + if (payloadCase_ == 42 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 42) { + writeSecured2BulkBuilder_.mergeFrom(value); + } else { + writeSecured2BulkBuilder_.setMessage(value); + } + } + payloadCase_ = 42; + return this; + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + */ + public Builder clearWriteSecured2Bulk() { + if (writeSecured2BulkBuilder_ == null) { + if (payloadCase_ == 42) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 42) { + payloadCase_ = 0; + payload_ = null; + } + writeSecured2BulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.Builder getWriteSecured2BulkBuilder() { + return internalGetWriteSecured2BulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommandOrBuilder getWriteSecured2BulkOrBuilder() { + if ((payloadCase_ == 42) && (writeSecured2BulkBuilder_ != null)) { + return writeSecured2BulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 42) { + return (mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.WriteSecured2BulkCommand write_secured2_bulk = 42; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommandOrBuilder> + internalGetWriteSecured2BulkFieldBuilder() { + if (writeSecured2BulkBuilder_ == null) { + if (!(payloadCase_ == 42)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.getDefaultInstance(); + } + writeSecured2BulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 42; + onChanged(); + return writeSecured2BulkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand, mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommandOrBuilder> readBulkBuilder_; + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + * @return Whether the readBulk field is set. + */ + @java.lang.Override + public boolean hasReadBulk() { + return payloadCase_ == 43; + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + * @return The readBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand getReadBulk() { + if (readBulkBuilder_ == null) { + if (payloadCase_ == 43) { + return (mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.getDefaultInstance(); + } else { + if (payloadCase_ == 43) { + return readBulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + */ + public Builder setReadBulk(mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand value) { + if (readBulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + readBulkBuilder_.setMessage(value); + } + payloadCase_ = 43; + return this; + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + */ + public Builder setReadBulk( + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.Builder builderForValue) { + if (readBulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + readBulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 43; + return this; + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + */ + public Builder mergeReadBulk(mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand value) { + if (readBulkBuilder_ == null) { + if (payloadCase_ == 43 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.newBuilder((mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 43) { + readBulkBuilder_.mergeFrom(value); + } else { + readBulkBuilder_.setMessage(value); + } + } + payloadCase_ = 43; + return this; + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + */ + public Builder clearReadBulk() { + if (readBulkBuilder_ == null) { + if (payloadCase_ == 43) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 43) { + payloadCase_ = 0; + payload_ = null; + } + readBulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + */ + public mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.Builder getReadBulkBuilder() { + return internalGetReadBulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommandOrBuilder getReadBulkOrBuilder() { + if ((payloadCase_ == 43) && (readBulkBuilder_ != null)) { + return readBulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 43) { + return (mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.ReadBulkCommand read_bulk = 43; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand, mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommandOrBuilder> + internalGetReadBulkFieldBuilder() { + if (readBulkBuilder_ == null) { + if (!(payloadCase_ == 43)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.getDefaultInstance(); + } + readBulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand, mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommandOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 43; + onChanged(); + return readBulkBuilder_; + } + private com.google.protobuf.SingleFieldBuilder< mxaccess_gateway.v1.MxaccessGateway.PingCommand, mxaccess_gateway.v1.MxaccessGateway.PingCommand.Builder, mxaccess_gateway.v1.MxaccessGateway.PingCommandOrBuilder> pingBuilder_; /** @@ -28939,6 +32417,4409 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } + public interface SubscribeAlarmsCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.SubscribeAlarmsCommand) + com.google.protobuf.MessageOrBuilder { + + /** + * string subscription_expression = 1; + * @return The subscriptionExpression. + */ + java.lang.String getSubscriptionExpression(); + /** + * string subscription_expression = 1; + * @return The bytes for subscriptionExpression. + */ + com.google.protobuf.ByteString + getSubscriptionExpressionBytes(); + } + /** + *
+   * Subscribe the worker's alarm consumer to an AVEVA alarm provider.
+   * Subscription expression follows the canonical
+   * `\\<machine>\Galaxy!<area>` format (literal "Galaxy" provider). The
+   * worker spins up a wnwrapConsumer-backed subscription on its STA on
+   * first call; subsequent calls are an error (use UnsubscribeAlarms then
+   * SubscribeAlarms to reconfigure).
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.SubscribeAlarmsCommand} + */ + public static final class SubscribeAlarmsCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.SubscribeAlarmsCommand) + SubscribeAlarmsCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "SubscribeAlarmsCommand"); + } + // Use SubscribeAlarmsCommand.newBuilder() to construct. + private SubscribeAlarmsCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private SubscribeAlarmsCommand() { + subscriptionExpression_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.class, mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.Builder.class); + } + + public static final int SUBSCRIPTION_EXPRESSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object subscriptionExpression_ = ""; + /** + * string subscription_expression = 1; + * @return The subscriptionExpression. + */ + @java.lang.Override + public java.lang.String getSubscriptionExpression() { + java.lang.Object ref = subscriptionExpression_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subscriptionExpression_ = s; + return s; + } + } + /** + * string subscription_expression = 1; + * @return The bytes for subscriptionExpression. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSubscriptionExpressionBytes() { + java.lang.Object ref = subscriptionExpression_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subscriptionExpression_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscriptionExpression_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscriptionExpression_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscriptionExpression_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscriptionExpression_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand other = (mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) obj; + + if (!getSubscriptionExpression() + .equals(other.getSubscriptionExpression())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SUBSCRIPTION_EXPRESSION_FIELD_NUMBER; + hash = (53 * hash) + getSubscriptionExpression().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Subscribe the worker's alarm consumer to an AVEVA alarm provider.
+     * Subscription expression follows the canonical
+     * `\\<machine>\Galaxy!<area>` format (literal "Galaxy" provider). The
+     * worker spins up a wnwrapConsumer-backed subscription on its STA on
+     * first call; subsequent calls are an error (use UnsubscribeAlarms then
+     * SubscribeAlarms to reconfigure).
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.SubscribeAlarmsCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.SubscribeAlarmsCommand) + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.class, mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + subscriptionExpression_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand build() { + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand result = new mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.subscriptionExpression_ = subscriptionExpression_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand.getDefaultInstance()) return this; + if (!other.getSubscriptionExpression().isEmpty()) { + subscriptionExpression_ = other.subscriptionExpression_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + subscriptionExpression_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object subscriptionExpression_ = ""; + /** + * string subscription_expression = 1; + * @return The subscriptionExpression. + */ + public java.lang.String getSubscriptionExpression() { + java.lang.Object ref = subscriptionExpression_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subscriptionExpression_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string subscription_expression = 1; + * @return The bytes for subscriptionExpression. + */ + public com.google.protobuf.ByteString + getSubscriptionExpressionBytes() { + java.lang.Object ref = subscriptionExpression_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subscriptionExpression_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string subscription_expression = 1; + * @param value The subscriptionExpression to set. + * @return This builder for chaining. + */ + public Builder setSubscriptionExpression( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + subscriptionExpression_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string subscription_expression = 1; + * @return This builder for chaining. + */ + public Builder clearSubscriptionExpression() { + subscriptionExpression_ = getDefaultInstance().getSubscriptionExpression(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string subscription_expression = 1; + * @param value The bytes for subscriptionExpression to set. + * @return This builder for chaining. + */ + public Builder setSubscriptionExpressionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + subscriptionExpression_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.SubscribeAlarmsCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.SubscribeAlarmsCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubscribeAlarmsCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.SubscribeAlarmsCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface UnsubscribeAlarmsCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.UnsubscribeAlarmsCommand) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Tear down the worker's alarm consumer. No-op if no subscription is
+   * currently active.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.UnsubscribeAlarmsCommand} + */ + public static final class UnsubscribeAlarmsCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.UnsubscribeAlarmsCommand) + UnsubscribeAlarmsCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "UnsubscribeAlarmsCommand"); + } + // Use UnsubscribeAlarmsCommand.newBuilder() to construct. + private UnsubscribeAlarmsCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private UnsubscribeAlarmsCommand() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.class, mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand other = (mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Tear down the worker's alarm consumer. No-op if no subscription is
+     * currently active.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.UnsubscribeAlarmsCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.UnsubscribeAlarmsCommand) + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.class, mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand build() { + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand result = new mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.UnsubscribeAlarmsCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.UnsubscribeAlarmsCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnsubscribeAlarmsCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.UnsubscribeAlarmsCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AcknowledgeAlarmCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.AcknowledgeAlarmCommand) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73").
+     * 
+ * + * string alarm_guid = 1; + * @return The alarmGuid. + */ + java.lang.String getAlarmGuid(); + /** + *
+     * Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73").
+     * 
+ * + * string alarm_guid = 1; + * @return The bytes for alarmGuid. + */ + com.google.protobuf.ByteString + getAlarmGuidBytes(); + + /** + * string comment = 2; + * @return The comment. + */ + java.lang.String getComment(); + /** + * string comment = 2; + * @return The bytes for comment. + */ + com.google.protobuf.ByteString + getCommentBytes(); + + /** + * string operator_user = 3; + * @return The operatorUser. + */ + java.lang.String getOperatorUser(); + /** + * string operator_user = 3; + * @return The bytes for operatorUser. + */ + com.google.protobuf.ByteString + getOperatorUserBytes(); + + /** + * string operator_node = 4; + * @return The operatorNode. + */ + java.lang.String getOperatorNode(); + /** + * string operator_node = 4; + * @return The bytes for operatorNode. + */ + com.google.protobuf.ByteString + getOperatorNodeBytes(); + + /** + * string operator_domain = 5; + * @return The operatorDomain. + */ + java.lang.String getOperatorDomain(); + /** + * string operator_domain = 5; + * @return The bytes for operatorDomain. + */ + com.google.protobuf.ByteString + getOperatorDomainBytes(); + + /** + * string operator_full_name = 6; + * @return The operatorFullName. + */ + java.lang.String getOperatorFullName(); + /** + * string operator_full_name = 6; + * @return The bytes for operatorFullName. + */ + com.google.protobuf.ByteString + getOperatorFullNameBytes(); + } + /** + *
+   * Acknowledge a single alarm by its GUID. Operator identity fields are
+   * recorded atomically with the ack transition in the alarm-history log.
+   * The reply's hresult / native_status surfaces AVEVA's
+   * AlarmAckByGUID return code.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmCommand} + */ + public static final class AcknowledgeAlarmCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.AcknowledgeAlarmCommand) + AcknowledgeAlarmCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "AcknowledgeAlarmCommand"); + } + // Use AcknowledgeAlarmCommand.newBuilder() to construct. + private AcknowledgeAlarmCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private AcknowledgeAlarmCommand() { + alarmGuid_ = ""; + comment_ = ""; + operatorUser_ = ""; + operatorNode_ = ""; + operatorDomain_ = ""; + operatorFullName_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.Builder.class); + } + + public static final int ALARM_GUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmGuid_ = ""; + /** + *
+     * Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73").
+     * 
+ * + * string alarm_guid = 1; + * @return The alarmGuid. + */ + @java.lang.Override + public java.lang.String getAlarmGuid() { + java.lang.Object ref = alarmGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmGuid_ = s; + return s; + } + } + /** + *
+     * Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73").
+     * 
+ * + * string alarm_guid = 1; + * @return The bytes for alarmGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmGuidBytes() { + java.lang.Object ref = alarmGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMMENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object comment_ = ""; + /** + * string comment = 2; + * @return The comment. + */ + @java.lang.Override + public java.lang.String getComment() { + java.lang.Object ref = comment_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comment_ = s; + return s; + } + } + /** + * string comment = 2; + * @return The bytes for comment. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCommentBytes() { + java.lang.Object ref = comment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_USER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorUser_ = ""; + /** + * string operator_user = 3; + * @return The operatorUser. + */ + @java.lang.Override + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } + } + /** + * string operator_user = 3; + * @return The bytes for operatorUser. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_NODE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorNode_ = ""; + /** + * string operator_node = 4; + * @return The operatorNode. + */ + @java.lang.Override + public java.lang.String getOperatorNode() { + java.lang.Object ref = operatorNode_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorNode_ = s; + return s; + } + } + /** + * string operator_node = 4; + * @return The bytes for operatorNode. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorNodeBytes() { + java.lang.Object ref = operatorNode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorNode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_DOMAIN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorDomain_ = ""; + /** + * string operator_domain = 5; + * @return The operatorDomain. + */ + @java.lang.Override + public java.lang.String getOperatorDomain() { + java.lang.Object ref = operatorDomain_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorDomain_ = s; + return s; + } + } + /** + * string operator_domain = 5; + * @return The bytes for operatorDomain. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorDomainBytes() { + java.lang.Object ref = operatorDomain_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorDomain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_FULL_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorFullName_ = ""; + /** + * string operator_full_name = 6; + * @return The operatorFullName. + */ + @java.lang.Override + public java.lang.String getOperatorFullName() { + java.lang.Object ref = operatorFullName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorFullName_ = s; + return s; + } + } + /** + * string operator_full_name = 6; + * @return The bytes for operatorFullName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorFullNameBytes() { + java.lang.Object ref = operatorFullName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorFullName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmGuid_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, alarmGuid_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(comment_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, comment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, operatorUser_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorNode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, operatorNode_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorDomain_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, operatorDomain_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorFullName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, operatorFullName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmGuid_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, alarmGuid_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(comment_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, comment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, operatorUser_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorNode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, operatorNode_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorDomain_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, operatorDomain_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorFullName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, operatorFullName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand other = (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) obj; + + if (!getAlarmGuid() + .equals(other.getAlarmGuid())) return false; + if (!getComment() + .equals(other.getComment())) return false; + if (!getOperatorUser() + .equals(other.getOperatorUser())) return false; + if (!getOperatorNode() + .equals(other.getOperatorNode())) return false; + if (!getOperatorDomain() + .equals(other.getOperatorDomain())) return false; + if (!getOperatorFullName() + .equals(other.getOperatorFullName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ALARM_GUID_FIELD_NUMBER; + hash = (53 * hash) + getAlarmGuid().hashCode(); + hash = (37 * hash) + COMMENT_FIELD_NUMBER; + hash = (53 * hash) + getComment().hashCode(); + hash = (37 * hash) + OPERATOR_USER_FIELD_NUMBER; + hash = (53 * hash) + getOperatorUser().hashCode(); + hash = (37 * hash) + OPERATOR_NODE_FIELD_NUMBER; + hash = (53 * hash) + getOperatorNode().hashCode(); + hash = (37 * hash) + OPERATOR_DOMAIN_FIELD_NUMBER; + hash = (53 * hash) + getOperatorDomain().hashCode(); + hash = (37 * hash) + OPERATOR_FULL_NAME_FIELD_NUMBER; + hash = (53 * hash) + getOperatorFullName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Acknowledge a single alarm by its GUID. Operator identity fields are
+     * recorded atomically with the ack transition in the alarm-history log.
+     * The reply's hresult / native_status surfaces AVEVA's
+     * AlarmAckByGUID return code.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.AcknowledgeAlarmCommand) + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + alarmGuid_ = ""; + comment_ = ""; + operatorUser_ = ""; + operatorNode_ = ""; + operatorDomain_ = ""; + operatorFullName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand build() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand result = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.alarmGuid_ = alarmGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.comment_ = comment_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.operatorUser_ = operatorUser_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.operatorNode_ = operatorNode_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.operatorDomain_ = operatorDomain_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.operatorFullName_ = operatorFullName_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand.getDefaultInstance()) return this; + if (!other.getAlarmGuid().isEmpty()) { + alarmGuid_ = other.alarmGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getComment().isEmpty()) { + comment_ = other.comment_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getOperatorUser().isEmpty()) { + operatorUser_ = other.operatorUser_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getOperatorNode().isEmpty()) { + operatorNode_ = other.operatorNode_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getOperatorDomain().isEmpty()) { + operatorDomain_ = other.operatorDomain_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getOperatorFullName().isEmpty()) { + operatorFullName_ = other.operatorFullName_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + alarmGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + comment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + operatorUser_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + operatorNode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + operatorDomain_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + operatorFullName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object alarmGuid_ = ""; + /** + *
+       * Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73").
+       * 
+ * + * string alarm_guid = 1; + * @return The alarmGuid. + */ + public java.lang.String getAlarmGuid() { + java.lang.Object ref = alarmGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73").
+       * 
+ * + * string alarm_guid = 1; + * @return The bytes for alarmGuid. + */ + public com.google.protobuf.ByteString + getAlarmGuidBytes() { + java.lang.Object ref = alarmGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73").
+       * 
+ * + * string alarm_guid = 1; + * @param value The alarmGuid to set. + * @return This builder for chaining. + */ + public Builder setAlarmGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73").
+       * 
+ * + * string alarm_guid = 1; + * @return This builder for chaining. + */ + public Builder clearAlarmGuid() { + alarmGuid_ = getDefaultInstance().getAlarmGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Canonical 8-4-4-4-12 GUID string (e.g. "BCC47053-9542-4D65-BDAA-BCDEA6A32A73").
+       * 
+ * + * string alarm_guid = 1; + * @param value The bytes for alarmGuid to set. + * @return This builder for chaining. + */ + public Builder setAlarmGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object comment_ = ""; + /** + * string comment = 2; + * @return The comment. + */ + public java.lang.String getComment() { + java.lang.Object ref = comment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string comment = 2; + * @return The bytes for comment. + */ + public com.google.protobuf.ByteString + getCommentBytes() { + java.lang.Object ref = comment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string comment = 2; + * @param value The comment to set. + * @return This builder for chaining. + */ + public Builder setComment( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + comment_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string comment = 2; + * @return This builder for chaining. + */ + public Builder clearComment() { + comment_ = getDefaultInstance().getComment(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string comment = 2; + * @param value The bytes for comment to set. + * @return This builder for chaining. + */ + public Builder setCommentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + comment_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object operatorUser_ = ""; + /** + * string operator_user = 3; + * @return The operatorUser. + */ + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string operator_user = 3; + * @return The bytes for operatorUser. + */ + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string operator_user = 3; + * @param value The operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorUser_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string operator_user = 3; + * @return This builder for chaining. + */ + public Builder clearOperatorUser() { + operatorUser_ = getDefaultInstance().getOperatorUser(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string operator_user = 3; + * @param value The bytes for operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorUser_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object operatorNode_ = ""; + /** + * string operator_node = 4; + * @return The operatorNode. + */ + public java.lang.String getOperatorNode() { + java.lang.Object ref = operatorNode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorNode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string operator_node = 4; + * @return The bytes for operatorNode. + */ + public com.google.protobuf.ByteString + getOperatorNodeBytes() { + java.lang.Object ref = operatorNode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorNode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string operator_node = 4; + * @param value The operatorNode to set. + * @return This builder for chaining. + */ + public Builder setOperatorNode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorNode_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string operator_node = 4; + * @return This builder for chaining. + */ + public Builder clearOperatorNode() { + operatorNode_ = getDefaultInstance().getOperatorNode(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string operator_node = 4; + * @param value The bytes for operatorNode to set. + * @return This builder for chaining. + */ + public Builder setOperatorNodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorNode_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object operatorDomain_ = ""; + /** + * string operator_domain = 5; + * @return The operatorDomain. + */ + public java.lang.String getOperatorDomain() { + java.lang.Object ref = operatorDomain_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorDomain_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string operator_domain = 5; + * @return The bytes for operatorDomain. + */ + public com.google.protobuf.ByteString + getOperatorDomainBytes() { + java.lang.Object ref = operatorDomain_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorDomain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string operator_domain = 5; + * @param value The operatorDomain to set. + * @return This builder for chaining. + */ + public Builder setOperatorDomain( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorDomain_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string operator_domain = 5; + * @return This builder for chaining. + */ + public Builder clearOperatorDomain() { + operatorDomain_ = getDefaultInstance().getOperatorDomain(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string operator_domain = 5; + * @param value The bytes for operatorDomain to set. + * @return This builder for chaining. + */ + public Builder setOperatorDomainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorDomain_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object operatorFullName_ = ""; + /** + * string operator_full_name = 6; + * @return The operatorFullName. + */ + public java.lang.String getOperatorFullName() { + java.lang.Object ref = operatorFullName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorFullName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string operator_full_name = 6; + * @return The bytes for operatorFullName. + */ + public com.google.protobuf.ByteString + getOperatorFullNameBytes() { + java.lang.Object ref = operatorFullName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorFullName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string operator_full_name = 6; + * @param value The operatorFullName to set. + * @return This builder for chaining. + */ + public Builder setOperatorFullName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorFullName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string operator_full_name = 6; + * @return This builder for chaining. + */ + public Builder clearOperatorFullName() { + operatorFullName_ = getDefaultInstance().getOperatorFullName(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string operator_full_name = 6; + * @param value The bytes for operatorFullName to set. + * @return This builder for chaining. + */ + public Builder setOperatorFullNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorFullName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.AcknowledgeAlarmCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.AcknowledgeAlarmCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeAlarmCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface QueryActiveAlarmsCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.QueryActiveAlarmsCommand) + com.google.protobuf.MessageOrBuilder { + + /** + * string alarm_filter_prefix = 1; + * @return The alarmFilterPrefix. + */ + java.lang.String getAlarmFilterPrefix(); + /** + * string alarm_filter_prefix = 1; + * @return The bytes for alarmFilterPrefix. + */ + com.google.protobuf.ByteString + getAlarmFilterPrefixBytes(); + } + /** + *
+   * Snapshot the currently-active alarm set. Optional filter prefix scopes
+   * the snapshot to alarms whose alarm_full_reference starts with the
+   * supplied string (matches QueryActiveAlarmsRequest.alarm_filter_prefix).
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.QueryActiveAlarmsCommand} + */ + public static final class QueryActiveAlarmsCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.QueryActiveAlarmsCommand) + QueryActiveAlarmsCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "QueryActiveAlarmsCommand"); + } + // Use QueryActiveAlarmsCommand.newBuilder() to construct. + private QueryActiveAlarmsCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private QueryActiveAlarmsCommand() { + alarmFilterPrefix_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.class, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.Builder.class); + } + + public static final int ALARM_FILTER_PREFIX_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmFilterPrefix_ = ""; + /** + * string alarm_filter_prefix = 1; + * @return The alarmFilterPrefix. + */ + @java.lang.Override + public java.lang.String getAlarmFilterPrefix() { + java.lang.Object ref = alarmFilterPrefix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFilterPrefix_ = s; + return s; + } + } + /** + * string alarm_filter_prefix = 1; + * @return The bytes for alarmFilterPrefix. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmFilterPrefixBytes() { + java.lang.Object ref = alarmFilterPrefix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFilterPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFilterPrefix_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, alarmFilterPrefix_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFilterPrefix_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, alarmFilterPrefix_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand other = (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) obj; + + if (!getAlarmFilterPrefix() + .equals(other.getAlarmFilterPrefix())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ALARM_FILTER_PREFIX_FIELD_NUMBER; + hash = (53 * hash) + getAlarmFilterPrefix().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Snapshot the currently-active alarm set. Optional filter prefix scopes
+     * the snapshot to alarms whose alarm_full_reference starts with the
+     * supplied string (matches QueryActiveAlarmsRequest.alarm_filter_prefix).
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.QueryActiveAlarmsCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.QueryActiveAlarmsCommand) + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.class, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + alarmFilterPrefix_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand build() { + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand result = new mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.alarmFilterPrefix_ = alarmFilterPrefix_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand.getDefaultInstance()) return this; + if (!other.getAlarmFilterPrefix().isEmpty()) { + alarmFilterPrefix_ = other.alarmFilterPrefix_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + alarmFilterPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object alarmFilterPrefix_ = ""; + /** + * string alarm_filter_prefix = 1; + * @return The alarmFilterPrefix. + */ + public java.lang.String getAlarmFilterPrefix() { + java.lang.Object ref = alarmFilterPrefix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFilterPrefix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string alarm_filter_prefix = 1; + * @return The bytes for alarmFilterPrefix. + */ + public com.google.protobuf.ByteString + getAlarmFilterPrefixBytes() { + java.lang.Object ref = alarmFilterPrefix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFilterPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string alarm_filter_prefix = 1; + * @param value The alarmFilterPrefix to set. + * @return This builder for chaining. + */ + public Builder setAlarmFilterPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmFilterPrefix_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string alarm_filter_prefix = 1; + * @return This builder for chaining. + */ + public Builder clearAlarmFilterPrefix() { + alarmFilterPrefix_ = getDefaultInstance().getAlarmFilterPrefix(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string alarm_filter_prefix = 1; + * @param value The bytes for alarmFilterPrefix to set. + * @return This builder for chaining. + */ + public Builder setAlarmFilterPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmFilterPrefix_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.QueryActiveAlarmsCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.QueryActiveAlarmsCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryActiveAlarmsCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AcknowledgeAlarmByNameCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself
+     * may contain dots; the gateway-side parser splits on the first dot
+     * after the '!' separator.
+     * 
+ * + * string alarm_name = 1; + * @return The alarmName. + */ + java.lang.String getAlarmName(); + /** + *
+     * Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself
+     * may contain dots; the gateway-side parser splits on the first dot
+     * after the '!' separator.
+     * 
+ * + * string alarm_name = 1; + * @return The bytes for alarmName. + */ + com.google.protobuf.ByteString + getAlarmNameBytes(); + + /** + *
+     * AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies).
+     * 
+ * + * string provider_name = 2; + * @return The providerName. + */ + java.lang.String getProviderName(); + /** + *
+     * AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies).
+     * 
+ * + * string provider_name = 2; + * @return The bytes for providerName. + */ + com.google.protobuf.ByteString + getProviderNameBytes(); + + /** + *
+     * Area/group name (e.g. "TestArea").
+     * 
+ * + * string group_name = 3; + * @return The groupName. + */ + java.lang.String getGroupName(); + /** + *
+     * Area/group name (e.g. "TestArea").
+     * 
+ * + * string group_name = 3; + * @return The bytes for groupName. + */ + com.google.protobuf.ByteString + getGroupNameBytes(); + + /** + * string comment = 4; + * @return The comment. + */ + java.lang.String getComment(); + /** + * string comment = 4; + * @return The bytes for comment. + */ + com.google.protobuf.ByteString + getCommentBytes(); + + /** + * string operator_user = 5; + * @return The operatorUser. + */ + java.lang.String getOperatorUser(); + /** + * string operator_user = 5; + * @return The bytes for operatorUser. + */ + com.google.protobuf.ByteString + getOperatorUserBytes(); + + /** + * string operator_node = 6; + * @return The operatorNode. + */ + java.lang.String getOperatorNode(); + /** + * string operator_node = 6; + * @return The bytes for operatorNode. + */ + com.google.protobuf.ByteString + getOperatorNodeBytes(); + + /** + * string operator_domain = 7; + * @return The operatorDomain. + */ + java.lang.String getOperatorDomain(); + /** + * string operator_domain = 7; + * @return The bytes for operatorDomain. + */ + com.google.protobuf.ByteString + getOperatorDomainBytes(); + + /** + * string operator_full_name = 8; + * @return The operatorFullName. + */ + java.lang.String getOperatorFullName(); + /** + * string operator_full_name = 8; + * @return The bytes for operatorFullName. + */ + com.google.protobuf.ByteString + getOperatorFullNameBytes(); + } + /** + *
+   * Acknowledge a single alarm by its (name, provider, group) tuple. Used
+   * when the public RPC's AlarmFullReference (Provider!Group.Tag) cannot
+   * be resolved to a GUID directly. The worker invokes
+   * wwAlarmConsumerClass.AlarmAckByName which reaches the same alarm
+   * history path as AlarmAckByGUID.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand} + */ + public static final class AcknowledgeAlarmByNameCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand) + AcknowledgeAlarmByNameCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "AcknowledgeAlarmByNameCommand"); + } + // Use AcknowledgeAlarmByNameCommand.newBuilder() to construct. + private AcknowledgeAlarmByNameCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private AcknowledgeAlarmByNameCommand() { + alarmName_ = ""; + providerName_ = ""; + groupName_ = ""; + comment_ = ""; + operatorUser_ = ""; + operatorNode_ = ""; + operatorDomain_ = ""; + operatorFullName_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.Builder.class); + } + + public static final int ALARM_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmName_ = ""; + /** + *
+     * Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself
+     * may contain dots; the gateway-side parser splits on the first dot
+     * after the '!' separator.
+     * 
+ * + * string alarm_name = 1; + * @return The alarmName. + */ + @java.lang.Override + public java.lang.String getAlarmName() { + java.lang.Object ref = alarmName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmName_ = s; + return s; + } + } + /** + *
+     * Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself
+     * may contain dots; the gateway-side parser splits on the first dot
+     * after the '!' separator.
+     * 
+ * + * string alarm_name = 1; + * @return The bytes for alarmName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmNameBytes() { + java.lang.Object ref = alarmName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROVIDER_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object providerName_ = ""; + /** + *
+     * AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies).
+     * 
+ * + * string provider_name = 2; + * @return The providerName. + */ + @java.lang.Override + public java.lang.String getProviderName() { + java.lang.Object ref = providerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + providerName_ = s; + return s; + } + } + /** + *
+     * AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies).
+     * 
+ * + * string provider_name = 2; + * @return The bytes for providerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getProviderNameBytes() { + java.lang.Object ref = providerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + providerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GROUP_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object groupName_ = ""; + /** + *
+     * Area/group name (e.g. "TestArea").
+     * 
+ * + * string group_name = 3; + * @return The groupName. + */ + @java.lang.Override + public java.lang.String getGroupName() { + java.lang.Object ref = groupName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + groupName_ = s; + return s; + } + } + /** + *
+     * Area/group name (e.g. "TestArea").
+     * 
+ * + * string group_name = 3; + * @return The bytes for groupName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGroupNameBytes() { + java.lang.Object ref = groupName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + groupName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMMENT_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object comment_ = ""; + /** + * string comment = 4; + * @return The comment. + */ + @java.lang.Override + public java.lang.String getComment() { + java.lang.Object ref = comment_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comment_ = s; + return s; + } + } + /** + * string comment = 4; + * @return The bytes for comment. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCommentBytes() { + java.lang.Object ref = comment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_USER_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorUser_ = ""; + /** + * string operator_user = 5; + * @return The operatorUser. + */ + @java.lang.Override + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } + } + /** + * string operator_user = 5; + * @return The bytes for operatorUser. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_NODE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorNode_ = ""; + /** + * string operator_node = 6; + * @return The operatorNode. + */ + @java.lang.Override + public java.lang.String getOperatorNode() { + java.lang.Object ref = operatorNode_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorNode_ = s; + return s; + } + } + /** + * string operator_node = 6; + * @return The bytes for operatorNode. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorNodeBytes() { + java.lang.Object ref = operatorNode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorNode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_DOMAIN_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorDomain_ = ""; + /** + * string operator_domain = 7; + * @return The operatorDomain. + */ + @java.lang.Override + public java.lang.String getOperatorDomain() { + java.lang.Object ref = operatorDomain_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorDomain_ = s; + return s; + } + } + /** + * string operator_domain = 7; + * @return The bytes for operatorDomain. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorDomainBytes() { + java.lang.Object ref = operatorDomain_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorDomain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_FULL_NAME_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorFullName_ = ""; + /** + * string operator_full_name = 8; + * @return The operatorFullName. + */ + @java.lang.Override + public java.lang.String getOperatorFullName() { + java.lang.Object ref = operatorFullName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorFullName_ = s; + return s; + } + } + /** + * string operator_full_name = 8; + * @return The bytes for operatorFullName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorFullNameBytes() { + java.lang.Object ref = operatorFullName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorFullName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, alarmName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(providerName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, providerName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(groupName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, groupName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(comment_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, comment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, operatorUser_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorNode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, operatorNode_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorDomain_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, operatorDomain_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorFullName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, operatorFullName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, alarmName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(providerName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, providerName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(groupName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, groupName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(comment_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, comment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, operatorUser_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorNode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, operatorNode_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorDomain_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, operatorDomain_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorFullName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, operatorFullName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand other = (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) obj; + + if (!getAlarmName() + .equals(other.getAlarmName())) return false; + if (!getProviderName() + .equals(other.getProviderName())) return false; + if (!getGroupName() + .equals(other.getGroupName())) return false; + if (!getComment() + .equals(other.getComment())) return false; + if (!getOperatorUser() + .equals(other.getOperatorUser())) return false; + if (!getOperatorNode() + .equals(other.getOperatorNode())) return false; + if (!getOperatorDomain() + .equals(other.getOperatorDomain())) return false; + if (!getOperatorFullName() + .equals(other.getOperatorFullName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ALARM_NAME_FIELD_NUMBER; + hash = (53 * hash) + getAlarmName().hashCode(); + hash = (37 * hash) + PROVIDER_NAME_FIELD_NUMBER; + hash = (53 * hash) + getProviderName().hashCode(); + hash = (37 * hash) + GROUP_NAME_FIELD_NUMBER; + hash = (53 * hash) + getGroupName().hashCode(); + hash = (37 * hash) + COMMENT_FIELD_NUMBER; + hash = (53 * hash) + getComment().hashCode(); + hash = (37 * hash) + OPERATOR_USER_FIELD_NUMBER; + hash = (53 * hash) + getOperatorUser().hashCode(); + hash = (37 * hash) + OPERATOR_NODE_FIELD_NUMBER; + hash = (53 * hash) + getOperatorNode().hashCode(); + hash = (37 * hash) + OPERATOR_DOMAIN_FIELD_NUMBER; + hash = (53 * hash) + getOperatorDomain().hashCode(); + hash = (37 * hash) + OPERATOR_FULL_NAME_FIELD_NUMBER; + hash = (53 * hash) + getOperatorFullName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Acknowledge a single alarm by its (name, provider, group) tuple. Used
+     * when the public RPC's AlarmFullReference (Provider!Group.Tag) cannot
+     * be resolved to a GUID directly. The worker invokes
+     * wwAlarmConsumerClass.AlarmAckByName which reaches the same alarm
+     * history path as AlarmAckByGUID.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand) + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + alarmName_ = ""; + providerName_ = ""; + groupName_ = ""; + comment_ = ""; + operatorUser_ = ""; + operatorNode_ = ""; + operatorDomain_ = ""; + operatorFullName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand build() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand result = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.alarmName_ = alarmName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.providerName_ = providerName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.groupName_ = groupName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.comment_ = comment_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.operatorUser_ = operatorUser_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.operatorNode_ = operatorNode_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.operatorDomain_ = operatorDomain_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.operatorFullName_ = operatorFullName_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand.getDefaultInstance()) return this; + if (!other.getAlarmName().isEmpty()) { + alarmName_ = other.alarmName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getProviderName().isEmpty()) { + providerName_ = other.providerName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getGroupName().isEmpty()) { + groupName_ = other.groupName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getComment().isEmpty()) { + comment_ = other.comment_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getOperatorUser().isEmpty()) { + operatorUser_ = other.operatorUser_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getOperatorNode().isEmpty()) { + operatorNode_ = other.operatorNode_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getOperatorDomain().isEmpty()) { + operatorDomain_ = other.operatorDomain_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getOperatorFullName().isEmpty()) { + operatorFullName_ = other.operatorFullName_; + bitField0_ |= 0x00000080; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + alarmName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + providerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + groupName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + comment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + operatorUser_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + operatorNode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + operatorDomain_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + operatorFullName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object alarmName_ = ""; + /** + *
+       * Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself
+       * may contain dots; the gateway-side parser splits on the first dot
+       * after the '!' separator.
+       * 
+ * + * string alarm_name = 1; + * @return The alarmName. + */ + public java.lang.String getAlarmName() { + java.lang.Object ref = alarmName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself
+       * may contain dots; the gateway-side parser splits on the first dot
+       * after the '!' separator.
+       * 
+ * + * string alarm_name = 1; + * @return The bytes for alarmName. + */ + public com.google.protobuf.ByteString + getAlarmNameBytes() { + java.lang.Object ref = alarmName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself
+       * may contain dots; the gateway-side parser splits on the first dot
+       * after the '!' separator.
+       * 
+ * + * string alarm_name = 1; + * @param value The alarmName to set. + * @return This builder for chaining. + */ + public Builder setAlarmName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself
+       * may contain dots; the gateway-side parser splits on the first dot
+       * after the '!' separator.
+       * 
+ * + * string alarm_name = 1; + * @return This builder for chaining. + */ + public Builder clearAlarmName() { + alarmName_ = getDefaultInstance().getAlarmName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Tag/alarm name (e.g. "TestMachine_001.TestAlarm001"). Tag itself
+       * may contain dots; the gateway-side parser splits on the first dot
+       * after the '!' separator.
+       * 
+ * + * string alarm_name = 1; + * @param value The bytes for alarmName to set. + * @return This builder for chaining. + */ + public Builder setAlarmNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object providerName_ = ""; + /** + *
+       * AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies).
+       * 
+ * + * string provider_name = 2; + * @return The providerName. + */ + public java.lang.String getProviderName() { + java.lang.Object ref = providerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + providerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies).
+       * 
+ * + * string provider_name = 2; + * @return The bytes for providerName. + */ + public com.google.protobuf.ByteString + getProviderNameBytes() { + java.lang.Object ref = providerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + providerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies).
+       * 
+ * + * string provider_name = 2; + * @param value The providerName to set. + * @return This builder for chaining. + */ + public Builder setProviderName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + providerName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies).
+       * 
+ * + * string provider_name = 2; + * @return This builder for chaining. + */ + public Builder clearProviderName() { + providerName_ = getDefaultInstance().getProviderName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * AVEVA alarm-provider name (literal "Galaxy" for ArchestrA Galaxies).
+       * 
+ * + * string provider_name = 2; + * @param value The bytes for providerName to set. + * @return This builder for chaining. + */ + public Builder setProviderNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + providerName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object groupName_ = ""; + /** + *
+       * Area/group name (e.g. "TestArea").
+       * 
+ * + * string group_name = 3; + * @return The groupName. + */ + public java.lang.String getGroupName() { + java.lang.Object ref = groupName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + groupName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Area/group name (e.g. "TestArea").
+       * 
+ * + * string group_name = 3; + * @return The bytes for groupName. + */ + public com.google.protobuf.ByteString + getGroupNameBytes() { + java.lang.Object ref = groupName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + groupName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Area/group name (e.g. "TestArea").
+       * 
+ * + * string group_name = 3; + * @param value The groupName to set. + * @return This builder for chaining. + */ + public Builder setGroupName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + groupName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Area/group name (e.g. "TestArea").
+       * 
+ * + * string group_name = 3; + * @return This builder for chaining. + */ + public Builder clearGroupName() { + groupName_ = getDefaultInstance().getGroupName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Area/group name (e.g. "TestArea").
+       * 
+ * + * string group_name = 3; + * @param value The bytes for groupName to set. + * @return This builder for chaining. + */ + public Builder setGroupNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + groupName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object comment_ = ""; + /** + * string comment = 4; + * @return The comment. + */ + public java.lang.String getComment() { + java.lang.Object ref = comment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string comment = 4; + * @return The bytes for comment. + */ + public com.google.protobuf.ByteString + getCommentBytes() { + java.lang.Object ref = comment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string comment = 4; + * @param value The comment to set. + * @return This builder for chaining. + */ + public Builder setComment( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + comment_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string comment = 4; + * @return This builder for chaining. + */ + public Builder clearComment() { + comment_ = getDefaultInstance().getComment(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string comment = 4; + * @param value The bytes for comment to set. + * @return This builder for chaining. + */ + public Builder setCommentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + comment_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object operatorUser_ = ""; + /** + * string operator_user = 5; + * @return The operatorUser. + */ + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string operator_user = 5; + * @return The bytes for operatorUser. + */ + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string operator_user = 5; + * @param value The operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorUser_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string operator_user = 5; + * @return This builder for chaining. + */ + public Builder clearOperatorUser() { + operatorUser_ = getDefaultInstance().getOperatorUser(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string operator_user = 5; + * @param value The bytes for operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorUser_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object operatorNode_ = ""; + /** + * string operator_node = 6; + * @return The operatorNode. + */ + public java.lang.String getOperatorNode() { + java.lang.Object ref = operatorNode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorNode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string operator_node = 6; + * @return The bytes for operatorNode. + */ + public com.google.protobuf.ByteString + getOperatorNodeBytes() { + java.lang.Object ref = operatorNode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorNode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string operator_node = 6; + * @param value The operatorNode to set. + * @return This builder for chaining. + */ + public Builder setOperatorNode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorNode_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string operator_node = 6; + * @return This builder for chaining. + */ + public Builder clearOperatorNode() { + operatorNode_ = getDefaultInstance().getOperatorNode(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string operator_node = 6; + * @param value The bytes for operatorNode to set. + * @return This builder for chaining. + */ + public Builder setOperatorNodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorNode_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object operatorDomain_ = ""; + /** + * string operator_domain = 7; + * @return The operatorDomain. + */ + public java.lang.String getOperatorDomain() { + java.lang.Object ref = operatorDomain_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorDomain_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string operator_domain = 7; + * @return The bytes for operatorDomain. + */ + public com.google.protobuf.ByteString + getOperatorDomainBytes() { + java.lang.Object ref = operatorDomain_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorDomain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string operator_domain = 7; + * @param value The operatorDomain to set. + * @return This builder for chaining. + */ + public Builder setOperatorDomain( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorDomain_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string operator_domain = 7; + * @return This builder for chaining. + */ + public Builder clearOperatorDomain() { + operatorDomain_ = getDefaultInstance().getOperatorDomain(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string operator_domain = 7; + * @param value The bytes for operatorDomain to set. + * @return This builder for chaining. + */ + public Builder setOperatorDomainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorDomain_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object operatorFullName_ = ""; + /** + * string operator_full_name = 8; + * @return The operatorFullName. + */ + public java.lang.String getOperatorFullName() { + java.lang.Object ref = operatorFullName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorFullName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string operator_full_name = 8; + * @return The bytes for operatorFullName. + */ + public com.google.protobuf.ByteString + getOperatorFullNameBytes() { + java.lang.Object ref = operatorFullName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorFullName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string operator_full_name = 8; + * @param value The operatorFullName to set. + * @return This builder for chaining. + */ + public Builder setOperatorFullName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorFullName_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * string operator_full_name = 8; + * @return This builder for chaining. + */ + public Builder clearOperatorFullName() { + operatorFullName_ = getDefaultInstance().getOperatorFullName(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * string operator_full_name = 8; + * @param value The bytes for operatorFullName to set. + * @return This builder for chaining. + */ + public Builder setOperatorFullNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorFullName_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.AcknowledgeAlarmByNameCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeAlarmByNameCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmByNameCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface UnsubscribeBulkCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.UnsubscribeBulkCommand) com.google.protobuf.MessageOrBuilder { @@ -29565,6 +37446,7602 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } + public interface WriteBulkCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.WriteBulkCommand) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + int getServerHandle(); + + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + java.util.List + getEntriesList(); + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry getEntries(int index); + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + int getEntriesCount(); + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + java.util.List + getEntriesOrBuilderList(); + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntryOrBuilder getEntriesOrBuilder( + int index); + } + /** + *
+   * Bulk Write — sequential MXAccess Write per entry, on the worker's STA.
+   * MXAccess has no native bulk write; each entry round-trips through the same
+   * single-item Write path the gateway uses today. Per-item failures appear as
+   * BulkWriteResult entries with `was_successful = false` and never throw.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.WriteBulkCommand} + */ + public static final class WriteBulkCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.WriteBulkCommand) + WriteBulkCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "WriteBulkCommand"); + } + // Use WriteBulkCommand.newBuilder() to construct. + private WriteBulkCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private WriteBulkCommand() { + entries_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.Builder.class); + } + + public static final int SERVER_HANDLE_FIELD_NUMBER = 1; + private int serverHandle_ = 0; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + + public static final int ENTRIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List entries_; + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + @java.lang.Override + public java.util.List getEntriesList() { + return entries_; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + @java.lang.Override + public java.util.List + getEntriesOrBuilderList() { + return entries_; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + @java.lang.Override + public int getEntriesCount() { + return entries_.size(); + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry getEntries(int index) { + return entries_.get(index); + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntryOrBuilder getEntriesOrBuilder( + int index) { + return entries_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (serverHandle_ != 0) { + output.writeInt32(1, serverHandle_); + } + for (int i = 0; i < entries_.size(); i++) { + output.writeMessage(2, entries_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (serverHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, serverHandle_); + } + for (int i = 0; i < entries_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, entries_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand other = (mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) obj; + + if (getServerHandle() + != other.getServerHandle()) return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVER_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getServerHandle(); + if (getEntriesCount() > 0) { + hash = (37 * hash) + ENTRIES_FIELD_NUMBER; + hash = (53 * hash) + getEntriesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Bulk Write — sequential MXAccess Write per entry, on the worker's STA.
+     * MXAccess has no native bulk write; each entry round-trips through the same
+     * single-item Write path the gateway uses today. Per-item failures appear as
+     * BulkWriteResult entries with `was_successful = false` and never throw.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.WriteBulkCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.WriteBulkCommand) + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverHandle_ = 0; + if (entriesBuilder_ == null) { + entries_ = java.util.Collections.emptyList(); + } else { + entries_ = null; + entriesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand build() { + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand result = new mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand result) { + if (entriesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + entries_ = java.util.Collections.unmodifiableList(entries_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.entries_ = entries_; + } else { + result.entries_ = entriesBuilder_.build(); + } + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverHandle_ = serverHandle_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand.getDefaultInstance()) return this; + if (other.getServerHandle() != 0) { + setServerHandle(other.getServerHandle()); + } + if (entriesBuilder_ == null) { + if (!other.entries_.isEmpty()) { + if (entries_.isEmpty()) { + entries_ = other.entries_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureEntriesIsMutable(); + entries_.addAll(other.entries_); + } + onChanged(); + } + } else { + if (!other.entries_.isEmpty()) { + if (entriesBuilder_.isEmpty()) { + entriesBuilder_.dispose(); + entriesBuilder_ = null; + entries_ = other.entries_; + bitField0_ = (bitField0_ & ~0x00000002); + entriesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetEntriesFieldBuilder() : null; + } else { + entriesBuilder_.addAllMessages(other.entries_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + serverHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry m = + input.readMessage( + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int serverHandle_ ; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + /** + * int32 server_handle = 1; + * @param value The serverHandle to set. + * @return This builder for chaining. + */ + public Builder setServerHandle(int value) { + + serverHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 server_handle = 1; + * @return This builder for chaining. + */ + public Builder clearServerHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + serverHandle_ = 0; + onChanged(); + return this; + } + + private java.util.List entries_ = + java.util.Collections.emptyList(); + private void ensureEntriesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + entries_ = new java.util.ArrayList(entries_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntryOrBuilder> entriesBuilder_; + + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public java.util.List getEntriesList() { + if (entriesBuilder_ == null) { + return java.util.Collections.unmodifiableList(entries_); + } else { + return entriesBuilder_.getMessageList(); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public int getEntriesCount() { + if (entriesBuilder_ == null) { + return entries_.size(); + } else { + return entriesBuilder_.getCount(); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry getEntries(int index) { + if (entriesBuilder_ == null) { + return entries_.get(index); + } else { + return entriesBuilder_.getMessage(index); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public Builder setEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.set(index, value); + onChanged(); + } else { + entriesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public Builder setEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.set(index, builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public Builder addEntries(mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.add(value); + onChanged(); + } else { + entriesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public Builder addEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.add(index, value); + onChanged(); + } else { + entriesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public Builder addEntries( + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public Builder addEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(index, builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public Builder addAllEntries( + java.lang.Iterable values) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); + onChanged(); + } else { + entriesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public Builder clearEntries() { + if (entriesBuilder_ == null) { + entries_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + entriesBuilder_.clear(); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public Builder removeEntries(int index) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.remove(index); + onChanged(); + } else { + entriesBuilder_.remove(index); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder getEntriesBuilder( + int index) { + return internalGetEntriesFieldBuilder().getBuilder(index); + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntryOrBuilder getEntriesOrBuilder( + int index) { + if (entriesBuilder_ == null) { + return entries_.get(index); } else { + return entriesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public java.util.List + getEntriesOrBuilderList() { + if (entriesBuilder_ != null) { + return entriesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(entries_); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder addEntriesBuilder() { + return internalGetEntriesFieldBuilder().addBuilder( + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder addEntriesBuilder( + int index) { + return internalGetEntriesFieldBuilder().addBuilder( + index, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.WriteBulkEntry entries = 2; + */ + public java.util.List + getEntriesBuilderList() { + return internalGetEntriesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntryOrBuilder> + internalGetEntriesFieldBuilder() { + if (entriesBuilder_ == null) { + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + entries_ = null; + } + return entriesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.WriteBulkCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.WriteBulkCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteBulkCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WriteBulkEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.WriteBulkEntry) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + int getItemHandle(); + + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return Whether the value field is set. + */ + boolean hasValue(); + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return The value. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getValue(); + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder(); + + /** + * int32 user_id = 3; + * @return The userId. + */ + int getUserId(); + } + /** + * Protobuf type {@code mxaccess_gateway.v1.WriteBulkEntry} + */ + public static final class WriteBulkEntry extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.WriteBulkEntry) + WriteBulkEntryOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "WriteBulkEntry"); + } + // Use WriteBulkEntry.newBuilder() to construct. + private WriteBulkEntry(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private WriteBulkEntry() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.class, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder.class); + } + + private int bitField0_; + public static final int ITEM_HANDLE_FIELD_NUMBER = 1; + private int itemHandle_ = 0; + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + + public static final int VALUE_FIELD_NUMBER = 2; + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return The value. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + + public static final int USER_ID_FIELD_NUMBER = 3; + private int userId_ = 0; + /** + * int32 user_id = 3; + * @return The userId. + */ + @java.lang.Override + public int getUserId() { + return userId_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (itemHandle_ != 0) { + output.writeInt32(1, itemHandle_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getValue()); + } + if (userId_ != 0) { + output.writeInt32(3, userId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (itemHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, itemHandle_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); + } + if (userId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, userId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry other = (mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry) obj; + + if (getItemHandle() + != other.getItemHandle()) return false; + if (hasValue() != other.hasValue()) return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) return false; + } + if (getUserId() + != other.getUserId()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEM_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getItemHandle(); + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + hash = (37 * hash) + USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getUserId(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code mxaccess_gateway.v1.WriteBulkEntry} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.WriteBulkEntry) + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.class, mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetValueFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemHandle_ = 0; + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + userId_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteBulkEntry_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry build() { + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry result = new mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemHandle_ = itemHandle_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.userId_ = userId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry.getDefaultInstance()) return this; + if (other.getItemHandle() != 0) { + setItemHandle(other.getItemHandle()); + } + if (other.hasValue()) { + mergeValue(other.getValue()); + } + if (other.getUserId() != 0) { + setUserId(other.getUserId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + itemHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + internalGetValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + userId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int itemHandle_ ; + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + /** + * int32 item_handle = 1; + * @param value The itemHandle to set. + * @return This builder for chaining. + */ + public Builder setItemHandle(int value) { + + itemHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 item_handle = 1; + * @return This builder for chaining. + */ + public Builder clearItemHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + itemHandle_ = 0; + onChanged(); + return this; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> valueBuilder_; + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return Whether the value field is set. + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return The value. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + if (valueBuilder_ == null) { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } else { + return valueBuilder_.getMessage(); + } + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public Builder setValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + } else { + valueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public Builder setValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (valueBuilder_ == null) { + value_ = builderForValue.build(); + } else { + valueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public Builder mergeValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + value_ != null && + value_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getValueBuilder().mergeFrom(value); + } else { + value_ = value; + } + } else { + valueBuilder_.mergeFrom(value); + } + if (value_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000002); + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getValueBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetValueFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + if (valueBuilder_ != null) { + return valueBuilder_.getMessageOrBuilder(); + } else { + return value_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetValueFieldBuilder() { + if (valueBuilder_ == null) { + valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); + value_ = null; + } + return valueBuilder_; + } + + private int userId_ ; + /** + * int32 user_id = 3; + * @return The userId. + */ + @java.lang.Override + public int getUserId() { + return userId_; + } + /** + * int32 user_id = 3; + * @param value The userId to set. + * @return This builder for chaining. + */ + public Builder setUserId(int value) { + + userId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 user_id = 3; + * @return This builder for chaining. + */ + public Builder clearUserId() { + bitField0_ = (bitField0_ & ~0x00000004); + userId_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.WriteBulkEntry) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.WriteBulkEntry) + private static final mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteBulkEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteBulkEntry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface Write2BulkCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.Write2BulkCommand) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + int getServerHandle(); + + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + java.util.List + getEntriesList(); + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry getEntries(int index); + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + int getEntriesCount(); + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + java.util.List + getEntriesOrBuilderList(); + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntryOrBuilder getEntriesOrBuilder( + int index); + } + /** + *
+   * Bulk Write2 — sequential MXAccess Write2 (timestamped) per entry.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.Write2BulkCommand} + */ + public static final class Write2BulkCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.Write2BulkCommand) + Write2BulkCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Write2BulkCommand"); + } + // Use Write2BulkCommand.newBuilder() to construct. + private Write2BulkCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Write2BulkCommand() { + entries_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.Builder.class); + } + + public static final int SERVER_HANDLE_FIELD_NUMBER = 1; + private int serverHandle_ = 0; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + + public static final int ENTRIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List entries_; + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + @java.lang.Override + public java.util.List getEntriesList() { + return entries_; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + @java.lang.Override + public java.util.List + getEntriesOrBuilderList() { + return entries_; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + @java.lang.Override + public int getEntriesCount() { + return entries_.size(); + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry getEntries(int index) { + return entries_.get(index); + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntryOrBuilder getEntriesOrBuilder( + int index) { + return entries_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (serverHandle_ != 0) { + output.writeInt32(1, serverHandle_); + } + for (int i = 0; i < entries_.size(); i++) { + output.writeMessage(2, entries_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (serverHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, serverHandle_); + } + for (int i = 0; i < entries_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, entries_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand other = (mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) obj; + + if (getServerHandle() + != other.getServerHandle()) return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVER_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getServerHandle(); + if (getEntriesCount() > 0) { + hash = (37 * hash) + ENTRIES_FIELD_NUMBER; + hash = (53 * hash) + getEntriesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Bulk Write2 — sequential MXAccess Write2 (timestamped) per entry.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.Write2BulkCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.Write2BulkCommand) + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverHandle_ = 0; + if (entriesBuilder_ == null) { + entries_ = java.util.Collections.emptyList(); + } else { + entries_ = null; + entriesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand build() { + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand result = new mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand result) { + if (entriesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + entries_ = java.util.Collections.unmodifiableList(entries_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.entries_ = entries_; + } else { + result.entries_ = entriesBuilder_.build(); + } + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverHandle_ = serverHandle_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand.getDefaultInstance()) return this; + if (other.getServerHandle() != 0) { + setServerHandle(other.getServerHandle()); + } + if (entriesBuilder_ == null) { + if (!other.entries_.isEmpty()) { + if (entries_.isEmpty()) { + entries_ = other.entries_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureEntriesIsMutable(); + entries_.addAll(other.entries_); + } + onChanged(); + } + } else { + if (!other.entries_.isEmpty()) { + if (entriesBuilder_.isEmpty()) { + entriesBuilder_.dispose(); + entriesBuilder_ = null; + entries_ = other.entries_; + bitField0_ = (bitField0_ & ~0x00000002); + entriesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetEntriesFieldBuilder() : null; + } else { + entriesBuilder_.addAllMessages(other.entries_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + serverHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry m = + input.readMessage( + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int serverHandle_ ; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + /** + * int32 server_handle = 1; + * @param value The serverHandle to set. + * @return This builder for chaining. + */ + public Builder setServerHandle(int value) { + + serverHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 server_handle = 1; + * @return This builder for chaining. + */ + public Builder clearServerHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + serverHandle_ = 0; + onChanged(); + return this; + } + + private java.util.List entries_ = + java.util.Collections.emptyList(); + private void ensureEntriesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + entries_ = new java.util.ArrayList(entries_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntryOrBuilder> entriesBuilder_; + + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public java.util.List getEntriesList() { + if (entriesBuilder_ == null) { + return java.util.Collections.unmodifiableList(entries_); + } else { + return entriesBuilder_.getMessageList(); + } + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public int getEntriesCount() { + if (entriesBuilder_ == null) { + return entries_.size(); + } else { + return entriesBuilder_.getCount(); + } + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry getEntries(int index) { + if (entriesBuilder_ == null) { + return entries_.get(index); + } else { + return entriesBuilder_.getMessage(index); + } + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public Builder setEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.set(index, value); + onChanged(); + } else { + entriesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public Builder setEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.set(index, builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public Builder addEntries(mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.add(value); + onChanged(); + } else { + entriesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public Builder addEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.add(index, value); + onChanged(); + } else { + entriesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public Builder addEntries( + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public Builder addEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(index, builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public Builder addAllEntries( + java.lang.Iterable values) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); + onChanged(); + } else { + entriesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public Builder clearEntries() { + if (entriesBuilder_ == null) { + entries_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + entriesBuilder_.clear(); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public Builder removeEntries(int index) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.remove(index); + onChanged(); + } else { + entriesBuilder_.remove(index); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder getEntriesBuilder( + int index) { + return internalGetEntriesFieldBuilder().getBuilder(index); + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntryOrBuilder getEntriesOrBuilder( + int index) { + if (entriesBuilder_ == null) { + return entries_.get(index); } else { + return entriesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public java.util.List + getEntriesOrBuilderList() { + if (entriesBuilder_ != null) { + return entriesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(entries_); + } + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder addEntriesBuilder() { + return internalGetEntriesFieldBuilder().addBuilder( + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder addEntriesBuilder( + int index) { + return internalGetEntriesFieldBuilder().addBuilder( + index, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.Write2BulkEntry entries = 2; + */ + public java.util.List + getEntriesBuilderList() { + return internalGetEntriesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntryOrBuilder> + internalGetEntriesFieldBuilder() { + if (entriesBuilder_ == null) { + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + entries_ = null; + } + return entriesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.Write2BulkCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.Write2BulkCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Write2BulkCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface Write2BulkEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.Write2BulkEntry) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + int getItemHandle(); + + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return Whether the value field is set. + */ + boolean hasValue(); + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return The value. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getValue(); + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder(); + + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + * @return Whether the timestampValue field is set. + */ + boolean hasTimestampValue(); + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + * @return The timestampValue. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getTimestampValue(); + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getTimestampValueOrBuilder(); + + /** + * int32 user_id = 4; + * @return The userId. + */ + int getUserId(); + } + /** + * Protobuf type {@code mxaccess_gateway.v1.Write2BulkEntry} + */ + public static final class Write2BulkEntry extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.Write2BulkEntry) + Write2BulkEntryOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Write2BulkEntry"); + } + // Use Write2BulkEntry.newBuilder() to construct. + private Write2BulkEntry(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Write2BulkEntry() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.class, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder.class); + } + + private int bitField0_; + public static final int ITEM_HANDLE_FIELD_NUMBER = 1; + private int itemHandle_ = 0; + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + + public static final int VALUE_FIELD_NUMBER = 2; + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return The value. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + + public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 3; + private mxaccess_gateway.v1.MxaccessGateway.MxValue timestampValue_; + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + * @return Whether the timestampValue field is set. + */ + @java.lang.Override + public boolean hasTimestampValue() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + * @return The timestampValue. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getTimestampValue() { + return timestampValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : timestampValue_; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getTimestampValueOrBuilder() { + return timestampValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : timestampValue_; + } + + public static final int USER_ID_FIELD_NUMBER = 4; + private int userId_ = 0; + /** + * int32 user_id = 4; + * @return The userId. + */ + @java.lang.Override + public int getUserId() { + return userId_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (itemHandle_ != 0) { + output.writeInt32(1, itemHandle_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getValue()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getTimestampValue()); + } + if (userId_ != 0) { + output.writeInt32(4, userId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (itemHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, itemHandle_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTimestampValue()); + } + if (userId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, userId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry other = (mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry) obj; + + if (getItemHandle() + != other.getItemHandle()) return false; + if (hasValue() != other.hasValue()) return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) return false; + } + if (hasTimestampValue() != other.hasTimestampValue()) return false; + if (hasTimestampValue()) { + if (!getTimestampValue() + .equals(other.getTimestampValue())) return false; + } + if (getUserId() + != other.getUserId()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEM_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getItemHandle(); + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + if (hasTimestampValue()) { + hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getTimestampValue().hashCode(); + } + hash = (37 * hash) + USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getUserId(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code mxaccess_gateway.v1.Write2BulkEntry} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.Write2BulkEntry) + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.class, mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetValueFieldBuilder(); + internalGetTimestampValueFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemHandle_ = 0; + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + timestampValue_ = null; + if (timestampValueBuilder_ != null) { + timestampValueBuilder_.dispose(); + timestampValueBuilder_ = null; + } + userId_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_Write2BulkEntry_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry build() { + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry result = new mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemHandle_ = itemHandle_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.timestampValue_ = timestampValueBuilder_ == null + ? timestampValue_ + : timestampValueBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.userId_ = userId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry.getDefaultInstance()) return this; + if (other.getItemHandle() != 0) { + setItemHandle(other.getItemHandle()); + } + if (other.hasValue()) { + mergeValue(other.getValue()); + } + if (other.hasTimestampValue()) { + mergeTimestampValue(other.getTimestampValue()); + } + if (other.getUserId() != 0) { + setUserId(other.getUserId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + itemHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + internalGetValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + internalGetTimestampValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + userId_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int itemHandle_ ; + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + /** + * int32 item_handle = 1; + * @param value The itemHandle to set. + * @return This builder for chaining. + */ + public Builder setItemHandle(int value) { + + itemHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 item_handle = 1; + * @return This builder for chaining. + */ + public Builder clearItemHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + itemHandle_ = 0; + onChanged(); + return this; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> valueBuilder_; + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return Whether the value field is set. + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + * @return The value. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + if (valueBuilder_ == null) { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } else { + return valueBuilder_.getMessage(); + } + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public Builder setValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + } else { + valueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public Builder setValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (valueBuilder_ == null) { + value_ = builderForValue.build(); + } else { + valueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public Builder mergeValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + value_ != null && + value_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getValueBuilder().mergeFrom(value); + } else { + value_ = value; + } + } else { + valueBuilder_.mergeFrom(value); + } + if (value_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000002); + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getValueBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetValueFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + if (valueBuilder_ != null) { + return valueBuilder_.getMessageOrBuilder(); + } else { + return value_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + } + /** + * .mxaccess_gateway.v1.MxValue value = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetValueFieldBuilder() { + if (valueBuilder_ == null) { + valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); + value_ = null; + } + return valueBuilder_; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue timestampValue_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> timestampValueBuilder_; + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + * @return Whether the timestampValue field is set. + */ + public boolean hasTimestampValue() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + * @return The timestampValue. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getTimestampValue() { + if (timestampValueBuilder_ == null) { + return timestampValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : timestampValue_; + } else { + return timestampValueBuilder_.getMessage(); + } + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + */ + public Builder setTimestampValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (timestampValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + timestampValue_ = value; + } else { + timestampValueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + */ + public Builder setTimestampValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (timestampValueBuilder_ == null) { + timestampValue_ = builderForValue.build(); + } else { + timestampValueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + */ + public Builder mergeTimestampValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (timestampValueBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + timestampValue_ != null && + timestampValue_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getTimestampValueBuilder().mergeFrom(value); + } else { + timestampValue_ = value; + } + } else { + timestampValueBuilder_.mergeFrom(value); + } + if (timestampValue_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + */ + public Builder clearTimestampValue() { + bitField0_ = (bitField0_ & ~0x00000004); + timestampValue_ = null; + if (timestampValueBuilder_ != null) { + timestampValueBuilder_.dispose(); + timestampValueBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getTimestampValueBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetTimestampValueFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getTimestampValueOrBuilder() { + if (timestampValueBuilder_ != null) { + return timestampValueBuilder_.getMessageOrBuilder(); + } else { + return timestampValue_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : timestampValue_; + } + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetTimestampValueFieldBuilder() { + if (timestampValueBuilder_ == null) { + timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getTimestampValue(), + getParentForChildren(), + isClean()); + timestampValue_ = null; + } + return timestampValueBuilder_; + } + + private int userId_ ; + /** + * int32 user_id = 4; + * @return The userId. + */ + @java.lang.Override + public int getUserId() { + return userId_; + } + /** + * int32 user_id = 4; + * @param value The userId to set. + * @return This builder for chaining. + */ + public Builder setUserId(int value) { + + userId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 user_id = 4; + * @return This builder for chaining. + */ + public Builder clearUserId() { + bitField0_ = (bitField0_ & ~0x00000008); + userId_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.Write2BulkEntry) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.Write2BulkEntry) + private static final mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Write2BulkEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.Write2BulkEntry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WriteSecuredBulkCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.WriteSecuredBulkCommand) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + int getServerHandle(); + + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + java.util.List + getEntriesList(); + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry getEntries(int index); + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + int getEntriesCount(); + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + java.util.List + getEntriesOrBuilderList(); + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntryOrBuilder getEntriesOrBuilder( + int index); + } + /** + *
+   * Bulk WriteSecured — sequential MXAccess WriteSecured per entry.
+   * Credential-sensitive values (`value`) MUST be kept out of logs, metrics
+   * labels, command lines, and diagnostics — same redaction rules as the
+   * single-item WriteSecured contract.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.WriteSecuredBulkCommand} + */ + public static final class WriteSecuredBulkCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.WriteSecuredBulkCommand) + WriteSecuredBulkCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "WriteSecuredBulkCommand"); + } + // Use WriteSecuredBulkCommand.newBuilder() to construct. + private WriteSecuredBulkCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private WriteSecuredBulkCommand() { + entries_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.Builder.class); + } + + public static final int SERVER_HANDLE_FIELD_NUMBER = 1; + private int serverHandle_ = 0; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + + public static final int ENTRIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List entries_; + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + @java.lang.Override + public java.util.List getEntriesList() { + return entries_; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + @java.lang.Override + public java.util.List + getEntriesOrBuilderList() { + return entries_; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + @java.lang.Override + public int getEntriesCount() { + return entries_.size(); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry getEntries(int index) { + return entries_.get(index); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntryOrBuilder getEntriesOrBuilder( + int index) { + return entries_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (serverHandle_ != 0) { + output.writeInt32(1, serverHandle_); + } + for (int i = 0; i < entries_.size(); i++) { + output.writeMessage(2, entries_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (serverHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, serverHandle_); + } + for (int i = 0; i < entries_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, entries_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand other = (mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) obj; + + if (getServerHandle() + != other.getServerHandle()) return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVER_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getServerHandle(); + if (getEntriesCount() > 0) { + hash = (37 * hash) + ENTRIES_FIELD_NUMBER; + hash = (53 * hash) + getEntriesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Bulk WriteSecured — sequential MXAccess WriteSecured per entry.
+     * Credential-sensitive values (`value`) MUST be kept out of logs, metrics
+     * labels, command lines, and diagnostics — same redaction rules as the
+     * single-item WriteSecured contract.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.WriteSecuredBulkCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.WriteSecuredBulkCommand) + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverHandle_ = 0; + if (entriesBuilder_ == null) { + entries_ = java.util.Collections.emptyList(); + } else { + entries_ = null; + entriesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand build() { + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand result = new mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand result) { + if (entriesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + entries_ = java.util.Collections.unmodifiableList(entries_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.entries_ = entries_; + } else { + result.entries_ = entriesBuilder_.build(); + } + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverHandle_ = serverHandle_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand.getDefaultInstance()) return this; + if (other.getServerHandle() != 0) { + setServerHandle(other.getServerHandle()); + } + if (entriesBuilder_ == null) { + if (!other.entries_.isEmpty()) { + if (entries_.isEmpty()) { + entries_ = other.entries_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureEntriesIsMutable(); + entries_.addAll(other.entries_); + } + onChanged(); + } + } else { + if (!other.entries_.isEmpty()) { + if (entriesBuilder_.isEmpty()) { + entriesBuilder_.dispose(); + entriesBuilder_ = null; + entries_ = other.entries_; + bitField0_ = (bitField0_ & ~0x00000002); + entriesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetEntriesFieldBuilder() : null; + } else { + entriesBuilder_.addAllMessages(other.entries_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + serverHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry m = + input.readMessage( + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int serverHandle_ ; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + /** + * int32 server_handle = 1; + * @param value The serverHandle to set. + * @return This builder for chaining. + */ + public Builder setServerHandle(int value) { + + serverHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 server_handle = 1; + * @return This builder for chaining. + */ + public Builder clearServerHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + serverHandle_ = 0; + onChanged(); + return this; + } + + private java.util.List entries_ = + java.util.Collections.emptyList(); + private void ensureEntriesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + entries_ = new java.util.ArrayList(entries_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntryOrBuilder> entriesBuilder_; + + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public java.util.List getEntriesList() { + if (entriesBuilder_ == null) { + return java.util.Collections.unmodifiableList(entries_); + } else { + return entriesBuilder_.getMessageList(); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public int getEntriesCount() { + if (entriesBuilder_ == null) { + return entries_.size(); + } else { + return entriesBuilder_.getCount(); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry getEntries(int index) { + if (entriesBuilder_ == null) { + return entries_.get(index); + } else { + return entriesBuilder_.getMessage(index); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public Builder setEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.set(index, value); + onChanged(); + } else { + entriesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public Builder setEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.set(index, builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public Builder addEntries(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.add(value); + onChanged(); + } else { + entriesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public Builder addEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.add(index, value); + onChanged(); + } else { + entriesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public Builder addEntries( + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public Builder addEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(index, builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public Builder addAllEntries( + java.lang.Iterable values) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); + onChanged(); + } else { + entriesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public Builder clearEntries() { + if (entriesBuilder_ == null) { + entries_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + entriesBuilder_.clear(); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public Builder removeEntries(int index) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.remove(index); + onChanged(); + } else { + entriesBuilder_.remove(index); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder getEntriesBuilder( + int index) { + return internalGetEntriesFieldBuilder().getBuilder(index); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntryOrBuilder getEntriesOrBuilder( + int index) { + if (entriesBuilder_ == null) { + return entries_.get(index); } else { + return entriesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public java.util.List + getEntriesOrBuilderList() { + if (entriesBuilder_ != null) { + return entriesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(entries_); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder addEntriesBuilder() { + return internalGetEntriesFieldBuilder().addBuilder( + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder addEntriesBuilder( + int index) { + return internalGetEntriesFieldBuilder().addBuilder( + index, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecuredBulkEntry entries = 2; + */ + public java.util.List + getEntriesBuilderList() { + return internalGetEntriesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntryOrBuilder> + internalGetEntriesFieldBuilder() { + if (entriesBuilder_ == null) { + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + entries_ = null; + } + return entriesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.WriteSecuredBulkCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.WriteSecuredBulkCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteSecuredBulkCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WriteSecuredBulkEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.WriteSecuredBulkEntry) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + int getItemHandle(); + + /** + * int32 current_user_id = 2; + * @return The currentUserId. + */ + int getCurrentUserId(); + + /** + * int32 verifier_user_id = 3; + * @return The verifierUserId. + */ + int getVerifierUserId(); + + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return Whether the value field is set. + */ + boolean hasValue(); + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return The value. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getValue(); + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder(); + } + /** + * Protobuf type {@code mxaccess_gateway.v1.WriteSecuredBulkEntry} + */ + public static final class WriteSecuredBulkEntry extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.WriteSecuredBulkEntry) + WriteSecuredBulkEntryOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "WriteSecuredBulkEntry"); + } + // Use WriteSecuredBulkEntry.newBuilder() to construct. + private WriteSecuredBulkEntry(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private WriteSecuredBulkEntry() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.class, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder.class); + } + + private int bitField0_; + public static final int ITEM_HANDLE_FIELD_NUMBER = 1; + private int itemHandle_ = 0; + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + + public static final int CURRENT_USER_ID_FIELD_NUMBER = 2; + private int currentUserId_ = 0; + /** + * int32 current_user_id = 2; + * @return The currentUserId. + */ + @java.lang.Override + public int getCurrentUserId() { + return currentUserId_; + } + + public static final int VERIFIER_USER_ID_FIELD_NUMBER = 3; + private int verifierUserId_ = 0; + /** + * int32 verifier_user_id = 3; + * @return The verifierUserId. + */ + @java.lang.Override + public int getVerifierUserId() { + return verifierUserId_; + } + + public static final int VALUE_FIELD_NUMBER = 4; + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return The value. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (itemHandle_ != 0) { + output.writeInt32(1, itemHandle_); + } + if (currentUserId_ != 0) { + output.writeInt32(2, currentUserId_); + } + if (verifierUserId_ != 0) { + output.writeInt32(3, verifierUserId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(4, getValue()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (itemHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, itemHandle_); + } + if (currentUserId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, currentUserId_); + } + if (verifierUserId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, verifierUserId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getValue()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry other = (mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry) obj; + + if (getItemHandle() + != other.getItemHandle()) return false; + if (getCurrentUserId() + != other.getCurrentUserId()) return false; + if (getVerifierUserId() + != other.getVerifierUserId()) return false; + if (hasValue() != other.hasValue()) return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEM_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getItemHandle(); + hash = (37 * hash) + CURRENT_USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getCurrentUserId(); + hash = (37 * hash) + VERIFIER_USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getVerifierUserId(); + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code mxaccess_gateway.v1.WriteSecuredBulkEntry} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.WriteSecuredBulkEntry) + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.class, mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetValueFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemHandle_ = 0; + currentUserId_ = 0; + verifierUserId_ = 0; + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry build() { + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry result = new mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemHandle_ = itemHandle_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.currentUserId_ = currentUserId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.verifierUserId_ = verifierUserId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry.getDefaultInstance()) return this; + if (other.getItemHandle() != 0) { + setItemHandle(other.getItemHandle()); + } + if (other.getCurrentUserId() != 0) { + setCurrentUserId(other.getCurrentUserId()); + } + if (other.getVerifierUserId() != 0) { + setVerifierUserId(other.getVerifierUserId()); + } + if (other.hasValue()) { + mergeValue(other.getValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + itemHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + currentUserId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + verifierUserId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + internalGetValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int itemHandle_ ; + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + /** + * int32 item_handle = 1; + * @param value The itemHandle to set. + * @return This builder for chaining. + */ + public Builder setItemHandle(int value) { + + itemHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 item_handle = 1; + * @return This builder for chaining. + */ + public Builder clearItemHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + itemHandle_ = 0; + onChanged(); + return this; + } + + private int currentUserId_ ; + /** + * int32 current_user_id = 2; + * @return The currentUserId. + */ + @java.lang.Override + public int getCurrentUserId() { + return currentUserId_; + } + /** + * int32 current_user_id = 2; + * @param value The currentUserId to set. + * @return This builder for chaining. + */ + public Builder setCurrentUserId(int value) { + + currentUserId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 current_user_id = 2; + * @return This builder for chaining. + */ + public Builder clearCurrentUserId() { + bitField0_ = (bitField0_ & ~0x00000002); + currentUserId_ = 0; + onChanged(); + return this; + } + + private int verifierUserId_ ; + /** + * int32 verifier_user_id = 3; + * @return The verifierUserId. + */ + @java.lang.Override + public int getVerifierUserId() { + return verifierUserId_; + } + /** + * int32 verifier_user_id = 3; + * @param value The verifierUserId to set. + * @return This builder for chaining. + */ + public Builder setVerifierUserId(int value) { + + verifierUserId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 verifier_user_id = 3; + * @return This builder for chaining. + */ + public Builder clearVerifierUserId() { + bitField0_ = (bitField0_ & ~0x00000004); + verifierUserId_ = 0; + onChanged(); + return this; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> valueBuilder_; + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return Whether the value field is set. + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return The value. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + if (valueBuilder_ == null) { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } else { + return valueBuilder_.getMessage(); + } + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public Builder setValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + } else { + valueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public Builder setValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (valueBuilder_ == null) { + value_ = builderForValue.build(); + } else { + valueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public Builder mergeValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + value_ != null && + value_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getValueBuilder().mergeFrom(value); + } else { + value_ = value; + } + } else { + valueBuilder_.mergeFrom(value); + } + if (value_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000008); + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getValueBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return internalGetValueFieldBuilder().getBuilder(); + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + if (valueBuilder_ != null) { + return valueBuilder_.getMessageOrBuilder(); + } else { + return value_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetValueFieldBuilder() { + if (valueBuilder_ == null) { + valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); + value_ = null; + } + return valueBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.WriteSecuredBulkEntry) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.WriteSecuredBulkEntry) + private static final mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteSecuredBulkEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecuredBulkEntry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WriteSecured2BulkCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.WriteSecured2BulkCommand) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + int getServerHandle(); + + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + java.util.List + getEntriesList(); + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry getEntries(int index); + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + int getEntriesCount(); + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + java.util.List + getEntriesOrBuilderList(); + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntryOrBuilder getEntriesOrBuilder( + int index); + } + /** + *
+   * Bulk WriteSecured2 — sequential MXAccess WriteSecured2 (timestamped) per
+   * entry. Same redaction rules apply.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.WriteSecured2BulkCommand} + */ + public static final class WriteSecured2BulkCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.WriteSecured2BulkCommand) + WriteSecured2BulkCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "WriteSecured2BulkCommand"); + } + // Use WriteSecured2BulkCommand.newBuilder() to construct. + private WriteSecured2BulkCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private WriteSecured2BulkCommand() { + entries_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.Builder.class); + } + + public static final int SERVER_HANDLE_FIELD_NUMBER = 1; + private int serverHandle_ = 0; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + + public static final int ENTRIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List entries_; + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + @java.lang.Override + public java.util.List getEntriesList() { + return entries_; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + @java.lang.Override + public java.util.List + getEntriesOrBuilderList() { + return entries_; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + @java.lang.Override + public int getEntriesCount() { + return entries_.size(); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry getEntries(int index) { + return entries_.get(index); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntryOrBuilder getEntriesOrBuilder( + int index) { + return entries_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (serverHandle_ != 0) { + output.writeInt32(1, serverHandle_); + } + for (int i = 0; i < entries_.size(); i++) { + output.writeMessage(2, entries_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (serverHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, serverHandle_); + } + for (int i = 0; i < entries_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, entries_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand other = (mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) obj; + + if (getServerHandle() + != other.getServerHandle()) return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVER_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getServerHandle(); + if (getEntriesCount() > 0) { + hash = (37 * hash) + ENTRIES_FIELD_NUMBER; + hash = (53 * hash) + getEntriesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Bulk WriteSecured2 — sequential MXAccess WriteSecured2 (timestamped) per
+     * entry. Same redaction rules apply.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.WriteSecured2BulkCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.WriteSecured2BulkCommand) + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverHandle_ = 0; + if (entriesBuilder_ == null) { + entries_ = java.util.Collections.emptyList(); + } else { + entries_ = null; + entriesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand build() { + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand result = new mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand result) { + if (entriesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + entries_ = java.util.Collections.unmodifiableList(entries_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.entries_ = entries_; + } else { + result.entries_ = entriesBuilder_.build(); + } + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverHandle_ = serverHandle_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand.getDefaultInstance()) return this; + if (other.getServerHandle() != 0) { + setServerHandle(other.getServerHandle()); + } + if (entriesBuilder_ == null) { + if (!other.entries_.isEmpty()) { + if (entries_.isEmpty()) { + entries_ = other.entries_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureEntriesIsMutable(); + entries_.addAll(other.entries_); + } + onChanged(); + } + } else { + if (!other.entries_.isEmpty()) { + if (entriesBuilder_.isEmpty()) { + entriesBuilder_.dispose(); + entriesBuilder_ = null; + entries_ = other.entries_; + bitField0_ = (bitField0_ & ~0x00000002); + entriesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetEntriesFieldBuilder() : null; + } else { + entriesBuilder_.addAllMessages(other.entries_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + serverHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry m = + input.readMessage( + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int serverHandle_ ; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + /** + * int32 server_handle = 1; + * @param value The serverHandle to set. + * @return This builder for chaining. + */ + public Builder setServerHandle(int value) { + + serverHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 server_handle = 1; + * @return This builder for chaining. + */ + public Builder clearServerHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + serverHandle_ = 0; + onChanged(); + return this; + } + + private java.util.List entries_ = + java.util.Collections.emptyList(); + private void ensureEntriesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + entries_ = new java.util.ArrayList(entries_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntryOrBuilder> entriesBuilder_; + + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public java.util.List getEntriesList() { + if (entriesBuilder_ == null) { + return java.util.Collections.unmodifiableList(entries_); + } else { + return entriesBuilder_.getMessageList(); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public int getEntriesCount() { + if (entriesBuilder_ == null) { + return entries_.size(); + } else { + return entriesBuilder_.getCount(); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry getEntries(int index) { + if (entriesBuilder_ == null) { + return entries_.get(index); + } else { + return entriesBuilder_.getMessage(index); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public Builder setEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.set(index, value); + onChanged(); + } else { + entriesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public Builder setEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.set(index, builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public Builder addEntries(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.add(value); + onChanged(); + } else { + entriesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public Builder addEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry value) { + if (entriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntriesIsMutable(); + entries_.add(index, value); + onChanged(); + } else { + entriesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public Builder addEntries( + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public Builder addEntries( + int index, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder builderForValue) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(index, builderForValue.build()); + onChanged(); + } else { + entriesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public Builder addAllEntries( + java.lang.Iterable values) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); + onChanged(); + } else { + entriesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public Builder clearEntries() { + if (entriesBuilder_ == null) { + entries_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + entriesBuilder_.clear(); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public Builder removeEntries(int index) { + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.remove(index); + onChanged(); + } else { + entriesBuilder_.remove(index); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder getEntriesBuilder( + int index) { + return internalGetEntriesFieldBuilder().getBuilder(index); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntryOrBuilder getEntriesOrBuilder( + int index) { + if (entriesBuilder_ == null) { + return entries_.get(index); } else { + return entriesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public java.util.List + getEntriesOrBuilderList() { + if (entriesBuilder_ != null) { + return entriesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(entries_); + } + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder addEntriesBuilder() { + return internalGetEntriesFieldBuilder().addBuilder( + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder addEntriesBuilder( + int index) { + return internalGetEntriesFieldBuilder().addBuilder( + index, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.WriteSecured2BulkEntry entries = 2; + */ + public java.util.List + getEntriesBuilderList() { + return internalGetEntriesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntryOrBuilder> + internalGetEntriesFieldBuilder() { + if (entriesBuilder_ == null) { + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + entries_ = null; + } + return entriesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.WriteSecured2BulkCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.WriteSecured2BulkCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteSecured2BulkCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WriteSecured2BulkEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.WriteSecured2BulkEntry) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + int getItemHandle(); + + /** + * int32 current_user_id = 2; + * @return The currentUserId. + */ + int getCurrentUserId(); + + /** + * int32 verifier_user_id = 3; + * @return The verifierUserId. + */ + int getVerifierUserId(); + + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return Whether the value field is set. + */ + boolean hasValue(); + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return The value. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getValue(); + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder(); + + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + * @return Whether the timestampValue field is set. + */ + boolean hasTimestampValue(); + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + * @return The timestampValue. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getTimestampValue(); + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getTimestampValueOrBuilder(); + } + /** + * Protobuf type {@code mxaccess_gateway.v1.WriteSecured2BulkEntry} + */ + public static final class WriteSecured2BulkEntry extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.WriteSecured2BulkEntry) + WriteSecured2BulkEntryOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "WriteSecured2BulkEntry"); + } + // Use WriteSecured2BulkEntry.newBuilder() to construct. + private WriteSecured2BulkEntry(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private WriteSecured2BulkEntry() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.class, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder.class); + } + + private int bitField0_; + public static final int ITEM_HANDLE_FIELD_NUMBER = 1; + private int itemHandle_ = 0; + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + + public static final int CURRENT_USER_ID_FIELD_NUMBER = 2; + private int currentUserId_ = 0; + /** + * int32 current_user_id = 2; + * @return The currentUserId. + */ + @java.lang.Override + public int getCurrentUserId() { + return currentUserId_; + } + + public static final int VERIFIER_USER_ID_FIELD_NUMBER = 3; + private int verifierUserId_ = 0; + /** + * int32 verifier_user_id = 3; + * @return The verifierUserId. + */ + @java.lang.Override + public int getVerifierUserId() { + return verifierUserId_; + } + + public static final int VALUE_FIELD_NUMBER = 4; + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return The value. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + /** + *
+     * Credential-sensitive write value. Implementations must not log this field
+     * unless an explicit redacted value-logging path is enabled.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + + public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 5; + private mxaccess_gateway.v1.MxaccessGateway.MxValue timestampValue_; + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + * @return Whether the timestampValue field is set. + */ + @java.lang.Override + public boolean hasTimestampValue() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + * @return The timestampValue. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getTimestampValue() { + return timestampValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : timestampValue_; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getTimestampValueOrBuilder() { + return timestampValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : timestampValue_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (itemHandle_ != 0) { + output.writeInt32(1, itemHandle_); + } + if (currentUserId_ != 0) { + output.writeInt32(2, currentUserId_); + } + if (verifierUserId_ != 0) { + output.writeInt32(3, verifierUserId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(4, getValue()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(5, getTimestampValue()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (itemHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, itemHandle_); + } + if (currentUserId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, currentUserId_); + } + if (verifierUserId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, verifierUserId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getValue()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getTimestampValue()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry other = (mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry) obj; + + if (getItemHandle() + != other.getItemHandle()) return false; + if (getCurrentUserId() + != other.getCurrentUserId()) return false; + if (getVerifierUserId() + != other.getVerifierUserId()) return false; + if (hasValue() != other.hasValue()) return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) return false; + } + if (hasTimestampValue() != other.hasTimestampValue()) return false; + if (hasTimestampValue()) { + if (!getTimestampValue() + .equals(other.getTimestampValue())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEM_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getItemHandle(); + hash = (37 * hash) + CURRENT_USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getCurrentUserId(); + hash = (37 * hash) + VERIFIER_USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getVerifierUserId(); + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + if (hasTimestampValue()) { + hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getTimestampValue().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code mxaccess_gateway.v1.WriteSecured2BulkEntry} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.WriteSecured2BulkEntry) + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.class, mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetValueFieldBuilder(); + internalGetTimestampValueFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemHandle_ = 0; + currentUserId_ = 0; + verifierUserId_ = 0; + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + timestampValue_ = null; + if (timestampValueBuilder_ != null) { + timestampValueBuilder_.dispose(); + timestampValueBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry build() { + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry result = new mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemHandle_ = itemHandle_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.currentUserId_ = currentUserId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.verifierUserId_ = verifierUserId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.timestampValue_ = timestampValueBuilder_ == null + ? timestampValue_ + : timestampValueBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry.getDefaultInstance()) return this; + if (other.getItemHandle() != 0) { + setItemHandle(other.getItemHandle()); + } + if (other.getCurrentUserId() != 0) { + setCurrentUserId(other.getCurrentUserId()); + } + if (other.getVerifierUserId() != 0) { + setVerifierUserId(other.getVerifierUserId()); + } + if (other.hasValue()) { + mergeValue(other.getValue()); + } + if (other.hasTimestampValue()) { + mergeTimestampValue(other.getTimestampValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + itemHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + currentUserId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + verifierUserId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + internalGetValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + internalGetTimestampValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int itemHandle_ ; + /** + * int32 item_handle = 1; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + /** + * int32 item_handle = 1; + * @param value The itemHandle to set. + * @return This builder for chaining. + */ + public Builder setItemHandle(int value) { + + itemHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 item_handle = 1; + * @return This builder for chaining. + */ + public Builder clearItemHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + itemHandle_ = 0; + onChanged(); + return this; + } + + private int currentUserId_ ; + /** + * int32 current_user_id = 2; + * @return The currentUserId. + */ + @java.lang.Override + public int getCurrentUserId() { + return currentUserId_; + } + /** + * int32 current_user_id = 2; + * @param value The currentUserId to set. + * @return This builder for chaining. + */ + public Builder setCurrentUserId(int value) { + + currentUserId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 current_user_id = 2; + * @return This builder for chaining. + */ + public Builder clearCurrentUserId() { + bitField0_ = (bitField0_ & ~0x00000002); + currentUserId_ = 0; + onChanged(); + return this; + } + + private int verifierUserId_ ; + /** + * int32 verifier_user_id = 3; + * @return The verifierUserId. + */ + @java.lang.Override + public int getVerifierUserId() { + return verifierUserId_; + } + /** + * int32 verifier_user_id = 3; + * @param value The verifierUserId to set. + * @return This builder for chaining. + */ + public Builder setVerifierUserId(int value) { + + verifierUserId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 verifier_user_id = 3; + * @return This builder for chaining. + */ + public Builder clearVerifierUserId() { + bitField0_ = (bitField0_ & ~0x00000004); + verifierUserId_ = 0; + onChanged(); + return this; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> valueBuilder_; + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return Whether the value field is set. + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + * @return The value. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + if (valueBuilder_ == null) { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } else { + return valueBuilder_.getMessage(); + } + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public Builder setValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + } else { + valueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public Builder setValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (valueBuilder_ == null) { + value_ = builderForValue.build(); + } else { + valueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public Builder mergeValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + value_ != null && + value_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getValueBuilder().mergeFrom(value); + } else { + value_ = value; + } + } else { + valueBuilder_.mergeFrom(value); + } + if (value_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000008); + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getValueBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return internalGetValueFieldBuilder().getBuilder(); + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + if (valueBuilder_ != null) { + return valueBuilder_.getMessageOrBuilder(); + } else { + return value_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + } + /** + *
+       * Credential-sensitive write value. Implementations must not log this field
+       * unless an explicit redacted value-logging path is enabled.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue value = 4; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetValueFieldBuilder() { + if (valueBuilder_ == null) { + valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); + value_ = null; + } + return valueBuilder_; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue timestampValue_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> timestampValueBuilder_; + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + * @return Whether the timestampValue field is set. + */ + public boolean hasTimestampValue() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + * @return The timestampValue. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getTimestampValue() { + if (timestampValueBuilder_ == null) { + return timestampValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : timestampValue_; + } else { + return timestampValueBuilder_.getMessage(); + } + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + */ + public Builder setTimestampValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (timestampValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + timestampValue_ = value; + } else { + timestampValueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + */ + public Builder setTimestampValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (timestampValueBuilder_ == null) { + timestampValue_ = builderForValue.build(); + } else { + timestampValueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + */ + public Builder mergeTimestampValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (timestampValueBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + timestampValue_ != null && + timestampValue_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getTimestampValueBuilder().mergeFrom(value); + } else { + timestampValue_ = value; + } + } else { + timestampValueBuilder_.mergeFrom(value); + } + if (timestampValue_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + */ + public Builder clearTimestampValue() { + bitField0_ = (bitField0_ & ~0x00000010); + timestampValue_ = null; + if (timestampValueBuilder_ != null) { + timestampValueBuilder_.dispose(); + timestampValueBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getTimestampValueBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return internalGetTimestampValueFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getTimestampValueOrBuilder() { + if (timestampValueBuilder_ != null) { + return timestampValueBuilder_.getMessageOrBuilder(); + } else { + return timestampValue_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : timestampValue_; + } + } + /** + * .mxaccess_gateway.v1.MxValue timestamp_value = 5; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetTimestampValueFieldBuilder() { + if (timestampValueBuilder_ == null) { + timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getTimestampValue(), + getParentForChildren(), + isClean()); + timestampValue_ = null; + } + return timestampValueBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.WriteSecured2BulkEntry) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.WriteSecured2BulkEntry) + private static final mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteSecured2BulkEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.WriteSecured2BulkEntry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReadBulkCommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.ReadBulkCommand) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + int getServerHandle(); + + /** + * repeated string tag_addresses = 2; + * @return A list containing the tagAddresses. + */ + java.util.List + getTagAddressesList(); + /** + * repeated string tag_addresses = 2; + * @return The count of tagAddresses. + */ + int getTagAddressesCount(); + /** + * repeated string tag_addresses = 2; + * @param index The index of the element to return. + * @return The tagAddresses at the given index. + */ + java.lang.String getTagAddresses(int index); + /** + * repeated string tag_addresses = 2; + * @param index The index of the value to return. + * @return The bytes of the tagAddresses at the given index. + */ + com.google.protobuf.ByteString + getTagAddressesBytes(int index); + + /** + * uint32 timeout_ms = 3; + * @return The timeoutMs. + */ + int getTimeoutMs(); + } + /** + *
+   * Bulk Read — snapshot the current value for each requested tag. MXAccess COM
+   * has no synchronous Read; the worker implements ReadBulk as:
+   *
+   * - If the tag is already in the session's item registry AND that item is
+   * currently advised AND the worker has a cached OnDataChange for it, the
+   * reply returns the cached value WITHOUT modifying the existing
+   * subscription (was_cached = true).
+   * - Otherwise the worker takes the snapshot lifecycle itself: AddItem +
+   * Advise, wait up to `timeout_ms` for the first OnDataChange, then
+   * UnAdvise + RemoveItem before returning. The session is left exactly
+   * as it was before the call (was_cached = false).
+   *
+   * `timeout_ms == 0` uses the gateway-configured default (1000 ms).
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.ReadBulkCommand} + */ + public static final class ReadBulkCommand extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.ReadBulkCommand) + ReadBulkCommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ReadBulkCommand"); + } + // Use ReadBulkCommand.newBuilder() to construct. + private ReadBulkCommand(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ReadBulkCommand() { + tagAddresses_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ReadBulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ReadBulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.Builder.class); + } + + public static final int SERVER_HANDLE_FIELD_NUMBER = 1; + private int serverHandle_ = 0; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + + public static final int TAG_ADDRESSES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList tagAddresses_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string tag_addresses = 2; + * @return A list containing the tagAddresses. + */ + public com.google.protobuf.ProtocolStringList + getTagAddressesList() { + return tagAddresses_; + } + /** + * repeated string tag_addresses = 2; + * @return The count of tagAddresses. + */ + public int getTagAddressesCount() { + return tagAddresses_.size(); + } + /** + * repeated string tag_addresses = 2; + * @param index The index of the element to return. + * @return The tagAddresses at the given index. + */ + public java.lang.String getTagAddresses(int index) { + return tagAddresses_.get(index); + } + /** + * repeated string tag_addresses = 2; + * @param index The index of the value to return. + * @return The bytes of the tagAddresses at the given index. + */ + public com.google.protobuf.ByteString + getTagAddressesBytes(int index) { + return tagAddresses_.getByteString(index); + } + + public static final int TIMEOUT_MS_FIELD_NUMBER = 3; + private int timeoutMs_ = 0; + /** + * uint32 timeout_ms = 3; + * @return The timeoutMs. + */ + @java.lang.Override + public int getTimeoutMs() { + return timeoutMs_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (serverHandle_ != 0) { + output.writeInt32(1, serverHandle_); + } + for (int i = 0; i < tagAddresses_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, tagAddresses_.getRaw(i)); + } + if (timeoutMs_ != 0) { + output.writeUInt32(3, timeoutMs_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (serverHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, serverHandle_); + } + { + int dataSize = 0; + for (int i = 0; i < tagAddresses_.size(); i++) { + dataSize += computeStringSizeNoTag(tagAddresses_.getRaw(i)); + } + size += dataSize; + size += 1 * getTagAddressesList().size(); + } + if (timeoutMs_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, timeoutMs_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand other = (mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) obj; + + if (getServerHandle() + != other.getServerHandle()) return false; + if (!getTagAddressesList() + .equals(other.getTagAddressesList())) return false; + if (getTimeoutMs() + != other.getTimeoutMs()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVER_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getServerHandle(); + if (getTagAddressesCount() > 0) { + hash = (37 * hash) + TAG_ADDRESSES_FIELD_NUMBER; + hash = (53 * hash) + getTagAddressesList().hashCode(); + } + hash = (37 * hash) + TIMEOUT_MS_FIELD_NUMBER; + hash = (53 * hash) + getTimeoutMs(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Bulk Read — snapshot the current value for each requested tag. MXAccess COM
+     * has no synchronous Read; the worker implements ReadBulk as:
+     *
+     * - If the tag is already in the session's item registry AND that item is
+     * currently advised AND the worker has a cached OnDataChange for it, the
+     * reply returns the cached value WITHOUT modifying the existing
+     * subscription (was_cached = true).
+     * - Otherwise the worker takes the snapshot lifecycle itself: AddItem +
+     * Advise, wait up to `timeout_ms` for the first OnDataChange, then
+     * UnAdvise + RemoveItem before returning. The session is left exactly
+     * as it was before the call (was_cached = false).
+     *
+     * `timeout_ms == 0` uses the gateway-configured default (1000 ms).
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.ReadBulkCommand} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.ReadBulkCommand) + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ReadBulkCommand_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ReadBulkCommand_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.class, mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverHandle_ = 0; + tagAddresses_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + timeoutMs_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ReadBulkCommand_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand build() { + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand result = new mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverHandle_ = serverHandle_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + tagAddresses_.makeImmutable(); + result.tagAddresses_ = tagAddresses_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.timeoutMs_ = timeoutMs_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand.getDefaultInstance()) return this; + if (other.getServerHandle() != 0) { + setServerHandle(other.getServerHandle()); + } + if (!other.tagAddresses_.isEmpty()) { + if (tagAddresses_.isEmpty()) { + tagAddresses_ = other.tagAddresses_; + bitField0_ |= 0x00000002; + } else { + ensureTagAddressesIsMutable(); + tagAddresses_.addAll(other.tagAddresses_); + } + onChanged(); + } + if (other.getTimeoutMs() != 0) { + setTimeoutMs(other.getTimeoutMs()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + serverHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureTagAddressesIsMutable(); + tagAddresses_.add(s); + break; + } // case 18 + case 24: { + timeoutMs_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int serverHandle_ ; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + /** + * int32 server_handle = 1; + * @param value The serverHandle to set. + * @return This builder for chaining. + */ + public Builder setServerHandle(int value) { + + serverHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 server_handle = 1; + * @return This builder for chaining. + */ + public Builder clearServerHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + serverHandle_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList tagAddresses_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureTagAddressesIsMutable() { + if (!tagAddresses_.isModifiable()) { + tagAddresses_ = new com.google.protobuf.LazyStringArrayList(tagAddresses_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string tag_addresses = 2; + * @return A list containing the tagAddresses. + */ + public com.google.protobuf.ProtocolStringList + getTagAddressesList() { + tagAddresses_.makeImmutable(); + return tagAddresses_; + } + /** + * repeated string tag_addresses = 2; + * @return The count of tagAddresses. + */ + public int getTagAddressesCount() { + return tagAddresses_.size(); + } + /** + * repeated string tag_addresses = 2; + * @param index The index of the element to return. + * @return The tagAddresses at the given index. + */ + public java.lang.String getTagAddresses(int index) { + return tagAddresses_.get(index); + } + /** + * repeated string tag_addresses = 2; + * @param index The index of the value to return. + * @return The bytes of the tagAddresses at the given index. + */ + public com.google.protobuf.ByteString + getTagAddressesBytes(int index) { + return tagAddresses_.getByteString(index); + } + /** + * repeated string tag_addresses = 2; + * @param index The index to set the value at. + * @param value The tagAddresses to set. + * @return This builder for chaining. + */ + public Builder setTagAddresses( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureTagAddressesIsMutable(); + tagAddresses_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string tag_addresses = 2; + * @param value The tagAddresses to add. + * @return This builder for chaining. + */ + public Builder addTagAddresses( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureTagAddressesIsMutable(); + tagAddresses_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string tag_addresses = 2; + * @param values The tagAddresses to add. + * @return This builder for chaining. + */ + public Builder addAllTagAddresses( + java.lang.Iterable values) { + ensureTagAddressesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tagAddresses_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string tag_addresses = 2; + * @return This builder for chaining. + */ + public Builder clearTagAddresses() { + tagAddresses_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string tag_addresses = 2; + * @param value The bytes of the tagAddresses to add. + * @return This builder for chaining. + */ + public Builder addTagAddressesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureTagAddressesIsMutable(); + tagAddresses_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int timeoutMs_ ; + /** + * uint32 timeout_ms = 3; + * @return The timeoutMs. + */ + @java.lang.Override + public int getTimeoutMs() { + return timeoutMs_; + } + /** + * uint32 timeout_ms = 3; + * @param value The timeoutMs to set. + * @return This builder for chaining. + */ + public Builder setTimeoutMs(int value) { + + timeoutMs_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * uint32 timeout_ms = 3; + * @return This builder for chaining. + */ + public Builder clearTimeoutMs() { + bitField0_ = (bitField0_ & ~0x00000004); + timeoutMs_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.ReadBulkCommand) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.ReadBulkCommand) + private static final mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadBulkCommand parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ReadBulkCommand getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface PingCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.PingCommand) com.google.protobuf.MessageOrBuilder { @@ -32127,6 +47604,147 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { */ mxaccess_gateway.v1.MxaccessGateway.BulkSubscribeReplyOrBuilder getUnsubscribeBulkOrBuilder(); + /** + *
+     * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+     * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+     * no by-name-specific reply case: the by-name ack carries no outcome
+     * detail beyond the native ack return code, so the worker reuses this
+     * `acknowledge_alarm` payload for both command kinds (the worker's
+     * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+     * too). Consumers must dispatch on MxCommandReply.kind, not on the
+     * payload case, to tell the two acks apart. The top-level `hresult`
+     * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+     * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + * @return Whether the acknowledgeAlarm field is set. + */ + boolean hasAcknowledgeAlarm(); + /** + *
+     * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+     * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+     * no by-name-specific reply case: the by-name ack carries no outcome
+     * detail beyond the native ack return code, so the worker reuses this
+     * `acknowledge_alarm` payload for both command kinds (the worker's
+     * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+     * too). Consumers must dispatch on MxCommandReply.kind, not on the
+     * payload case, to tell the two acks apart. The top-level `hresult`
+     * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+     * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + * @return The acknowledgeAlarm. + */ + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload getAcknowledgeAlarm(); + /** + *
+     * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+     * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+     * no by-name-specific reply case: the by-name ack carries no outcome
+     * detail beyond the native ack return code, so the worker reuses this
+     * `acknowledge_alarm` payload for both command kinds (the worker's
+     * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+     * too). Consumers must dispatch on MxCommandReply.kind, not on the
+     * payload case, to tell the two acks apart. The top-level `hresult`
+     * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+     * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + */ + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayloadOrBuilder getAcknowledgeAlarmOrBuilder(); + + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + * @return Whether the queryActiveAlarms field is set. + */ + boolean hasQueryActiveAlarms(); + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + * @return The queryActiveAlarms. + */ + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload getQueryActiveAlarms(); + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + */ + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayloadOrBuilder getQueryActiveAlarmsOrBuilder(); + + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + * @return Whether the writeBulk field is set. + */ + boolean hasWriteBulk(); + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + * @return The writeBulk. + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWriteBulk(); + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWriteBulkOrBuilder(); + + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + * @return Whether the write2Bulk field is set. + */ + boolean hasWrite2Bulk(); + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + * @return The write2Bulk. + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWrite2Bulk(); + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWrite2BulkOrBuilder(); + + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + * @return Whether the writeSecuredBulk field is set. + */ + boolean hasWriteSecuredBulk(); + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + * @return The writeSecuredBulk. + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWriteSecuredBulk(); + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWriteSecuredBulkOrBuilder(); + + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + * @return Whether the writeSecured2Bulk field is set. + */ + boolean hasWriteSecured2Bulk(); + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + * @return The writeSecured2Bulk. + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWriteSecured2Bulk(); + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWriteSecured2BulkOrBuilder(); + + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + * @return Whether the readBulk field is set. + */ + boolean hasReadBulk(); + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + * @return The readBulk. + */ + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply getReadBulk(); + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + */ + mxaccess_gateway.v1.MxaccessGateway.BulkReadReplyOrBuilder getReadBulkOrBuilder(); + /** * .mxaccess_gateway.v1.SessionStateReply session_state = 100; * @return Whether the sessionState field is set. @@ -32237,6 +47855,13 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { UN_ADVISE_ITEM_BULK(31), SUBSCRIBE_BULK(32), UNSUBSCRIBE_BULK(33), + ACKNOWLEDGE_ALARM(34), + QUERY_ACTIVE_ALARMS(35), + WRITE_BULK(36), + WRITE2_BULK(37), + WRITE_SECURED_BULK(38), + WRITE_SECURED2_BULK(39), + READ_BULK(40), SESSION_STATE(100), WORKER_INFO(101), DRAIN_EVENTS(102), @@ -32271,6 +47896,13 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { case 31: return UN_ADVISE_ITEM_BULK; case 32: return SUBSCRIBE_BULK; case 33: return UNSUBSCRIBE_BULK; + case 34: return ACKNOWLEDGE_ALARM; + case 35: return QUERY_ACTIVE_ALARMS; + case 36: return WRITE_BULK; + case 37: return WRITE2_BULK; + case 38: return WRITE_SECURED_BULK; + case 39: return WRITE_SECURED2_BULK; + case 40: return READ_BULK; case 100: return SESSION_STATE; case 101: return WORKER_INFO; case 102: return DRAIN_EVENTS; @@ -32982,6 +48614,259 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { return mxaccess_gateway.v1.MxaccessGateway.BulkSubscribeReply.getDefaultInstance(); } + public static final int ACKNOWLEDGE_ALARM_FIELD_NUMBER = 34; + /** + *
+     * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+     * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+     * no by-name-specific reply case: the by-name ack carries no outcome
+     * detail beyond the native ack return code, so the worker reuses this
+     * `acknowledge_alarm` payload for both command kinds (the worker's
+     * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+     * too). Consumers must dispatch on MxCommandReply.kind, not on the
+     * payload case, to tell the two acks apart. The top-level `hresult`
+     * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+     * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + * @return Whether the acknowledgeAlarm field is set. + */ + @java.lang.Override + public boolean hasAcknowledgeAlarm() { + return payloadCase_ == 34; + } + /** + *
+     * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+     * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+     * no by-name-specific reply case: the by-name ack carries no outcome
+     * detail beyond the native ack return code, so the worker reuses this
+     * `acknowledge_alarm` payload for both command kinds (the worker's
+     * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+     * too). Consumers must dispatch on MxCommandReply.kind, not on the
+     * payload case, to tell the two acks apart. The top-level `hresult`
+     * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+     * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + * @return The acknowledgeAlarm. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload getAcknowledgeAlarm() { + if (payloadCase_ == 34) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.getDefaultInstance(); + } + /** + *
+     * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+     * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+     * no by-name-specific reply case: the by-name ack carries no outcome
+     * detail beyond the native ack return code, so the worker reuses this
+     * `acknowledge_alarm` payload for both command kinds (the worker's
+     * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+     * too). Consumers must dispatch on MxCommandReply.kind, not on the
+     * payload case, to tell the two acks apart. The top-level `hresult`
+     * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+     * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayloadOrBuilder getAcknowledgeAlarmOrBuilder() { + if (payloadCase_ == 34) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.getDefaultInstance(); + } + + public static final int QUERY_ACTIVE_ALARMS_FIELD_NUMBER = 35; + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + * @return Whether the queryActiveAlarms field is set. + */ + @java.lang.Override + public boolean hasQueryActiveAlarms() { + return payloadCase_ == 35; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + * @return The queryActiveAlarms. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload getQueryActiveAlarms() { + if (payloadCase_ == 35) { + return (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayloadOrBuilder getQueryActiveAlarmsOrBuilder() { + if (payloadCase_ == 35) { + return (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.getDefaultInstance(); + } + + public static final int WRITE_BULK_FIELD_NUMBER = 36; + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + * @return Whether the writeBulk field is set. + */ + @java.lang.Override + public boolean hasWriteBulk() { + return payloadCase_ == 36; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + * @return The writeBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWriteBulk() { + if (payloadCase_ == 36) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWriteBulkOrBuilder() { + if (payloadCase_ == 36) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + + public static final int WRITE2_BULK_FIELD_NUMBER = 37; + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + * @return Whether the write2Bulk field is set. + */ + @java.lang.Override + public boolean hasWrite2Bulk() { + return payloadCase_ == 37; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + * @return The write2Bulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWrite2Bulk() { + if (payloadCase_ == 37) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWrite2BulkOrBuilder() { + if (payloadCase_ == 37) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + + public static final int WRITE_SECURED_BULK_FIELD_NUMBER = 38; + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + * @return Whether the writeSecuredBulk field is set. + */ + @java.lang.Override + public boolean hasWriteSecuredBulk() { + return payloadCase_ == 38; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + * @return The writeSecuredBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWriteSecuredBulk() { + if (payloadCase_ == 38) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWriteSecuredBulkOrBuilder() { + if (payloadCase_ == 38) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + + public static final int WRITE_SECURED2_BULK_FIELD_NUMBER = 39; + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + * @return Whether the writeSecured2Bulk field is set. + */ + @java.lang.Override + public boolean hasWriteSecured2Bulk() { + return payloadCase_ == 39; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + * @return The writeSecured2Bulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWriteSecured2Bulk() { + if (payloadCase_ == 39) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWriteSecured2BulkOrBuilder() { + if (payloadCase_ == 39) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + + public static final int READ_BULK_FIELD_NUMBER = 40; + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + * @return Whether the readBulk field is set. + */ + @java.lang.Override + public boolean hasReadBulk() { + return payloadCase_ == 40; + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + * @return The readBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadReply getReadBulk() { + if (payloadCase_ == 40) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadReplyOrBuilder getReadBulkOrBuilder() { + if (payloadCase_ == 40) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.getDefaultInstance(); + } + public static final int SESSION_STATE_FIELD_NUMBER = 100; /** * .mxaccess_gateway.v1.SessionStateReply session_state = 100; @@ -33155,6 +49040,27 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { if (payloadCase_ == 33) { output.writeMessage(33, (mxaccess_gateway.v1.MxaccessGateway.BulkSubscribeReply) payload_); } + if (payloadCase_ == 34) { + output.writeMessage(34, (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) payload_); + } + if (payloadCase_ == 35) { + output.writeMessage(35, (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) payload_); + } + if (payloadCase_ == 36) { + output.writeMessage(36, (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_); + } + if (payloadCase_ == 37) { + output.writeMessage(37, (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_); + } + if (payloadCase_ == 38) { + output.writeMessage(38, (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_); + } + if (payloadCase_ == 39) { + output.writeMessage(39, (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_); + } + if (payloadCase_ == 40) { + output.writeMessage(40, (mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) payload_); + } if (payloadCase_ == 100) { output.writeMessage(100, (mxaccess_gateway.v1.MxaccessGateway.SessionStateReply) payload_); } @@ -33258,6 +49164,34 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { size += com.google.protobuf.CodedOutputStream .computeMessageSize(33, (mxaccess_gateway.v1.MxaccessGateway.BulkSubscribeReply) payload_); } + if (payloadCase_ == 34) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(34, (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) payload_); + } + if (payloadCase_ == 35) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(35, (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) payload_); + } + if (payloadCase_ == 36) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(36, (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_); + } + if (payloadCase_ == 37) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(37, (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_); + } + if (payloadCase_ == 38) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(38, (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_); + } + if (payloadCase_ == 39) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(39, (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_); + } + if (payloadCase_ == 40) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(40, (mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) payload_); + } if (payloadCase_ == 100) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(100, (mxaccess_gateway.v1.MxaccessGateway.SessionStateReply) payload_); @@ -33367,6 +49301,34 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { if (!getUnsubscribeBulk() .equals(other.getUnsubscribeBulk())) return false; break; + case 34: + if (!getAcknowledgeAlarm() + .equals(other.getAcknowledgeAlarm())) return false; + break; + case 35: + if (!getQueryActiveAlarms() + .equals(other.getQueryActiveAlarms())) return false; + break; + case 36: + if (!getWriteBulk() + .equals(other.getWriteBulk())) return false; + break; + case 37: + if (!getWrite2Bulk() + .equals(other.getWrite2Bulk())) return false; + break; + case 38: + if (!getWriteSecuredBulk() + .equals(other.getWriteSecuredBulk())) return false; + break; + case 39: + if (!getWriteSecured2Bulk() + .equals(other.getWriteSecured2Bulk())) return false; + break; + case 40: + if (!getReadBulk() + .equals(other.getReadBulk())) return false; + break; case 100: if (!getSessionState() .equals(other.getSessionState())) return false; @@ -33474,6 +49436,34 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { hash = (37 * hash) + UNSUBSCRIBE_BULK_FIELD_NUMBER; hash = (53 * hash) + getUnsubscribeBulk().hashCode(); break; + case 34: + hash = (37 * hash) + ACKNOWLEDGE_ALARM_FIELD_NUMBER; + hash = (53 * hash) + getAcknowledgeAlarm().hashCode(); + break; + case 35: + hash = (37 * hash) + QUERY_ACTIVE_ALARMS_FIELD_NUMBER; + hash = (53 * hash) + getQueryActiveAlarms().hashCode(); + break; + case 36: + hash = (37 * hash) + WRITE_BULK_FIELD_NUMBER; + hash = (53 * hash) + getWriteBulk().hashCode(); + break; + case 37: + hash = (37 * hash) + WRITE2_BULK_FIELD_NUMBER; + hash = (53 * hash) + getWrite2Bulk().hashCode(); + break; + case 38: + hash = (37 * hash) + WRITE_SECURED_BULK_FIELD_NUMBER; + hash = (53 * hash) + getWriteSecuredBulk().hashCode(); + break; + case 39: + hash = (37 * hash) + WRITE_SECURED2_BULK_FIELD_NUMBER; + hash = (53 * hash) + getWriteSecured2Bulk().hashCode(); + break; + case 40: + hash = (37 * hash) + READ_BULK_FIELD_NUMBER; + hash = (53 * hash) + getReadBulk().hashCode(); + break; case 100: hash = (37 * hash) + SESSION_STATE_FIELD_NUMBER; hash = (53 * hash) + getSessionState().hashCode(); @@ -33692,6 +49682,27 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { if (unsubscribeBulkBuilder_ != null) { unsubscribeBulkBuilder_.clear(); } + if (acknowledgeAlarmBuilder_ != null) { + acknowledgeAlarmBuilder_.clear(); + } + if (queryActiveAlarmsBuilder_ != null) { + queryActiveAlarmsBuilder_.clear(); + } + if (writeBulkBuilder_ != null) { + writeBulkBuilder_.clear(); + } + if (write2BulkBuilder_ != null) { + write2BulkBuilder_.clear(); + } + if (writeSecuredBulkBuilder_ != null) { + writeSecuredBulkBuilder_.clear(); + } + if (writeSecured2BulkBuilder_ != null) { + writeSecured2BulkBuilder_.clear(); + } + if (readBulkBuilder_ != null) { + readBulkBuilder_.clear(); + } if (sessionStateBuilder_ != null) { sessionStateBuilder_.clear(); } @@ -33841,6 +49852,34 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { unsubscribeBulkBuilder_ != null) { result.payload_ = unsubscribeBulkBuilder_.build(); } + if (payloadCase_ == 34 && + acknowledgeAlarmBuilder_ != null) { + result.payload_ = acknowledgeAlarmBuilder_.build(); + } + if (payloadCase_ == 35 && + queryActiveAlarmsBuilder_ != null) { + result.payload_ = queryActiveAlarmsBuilder_.build(); + } + if (payloadCase_ == 36 && + writeBulkBuilder_ != null) { + result.payload_ = writeBulkBuilder_.build(); + } + if (payloadCase_ == 37 && + write2BulkBuilder_ != null) { + result.payload_ = write2BulkBuilder_.build(); + } + if (payloadCase_ == 38 && + writeSecuredBulkBuilder_ != null) { + result.payload_ = writeSecuredBulkBuilder_.build(); + } + if (payloadCase_ == 39 && + writeSecured2BulkBuilder_ != null) { + result.payload_ = writeSecured2BulkBuilder_.build(); + } + if (payloadCase_ == 40 && + readBulkBuilder_ != null) { + result.payload_ = readBulkBuilder_.build(); + } if (payloadCase_ == 100 && sessionStateBuilder_ != null) { result.payload_ = sessionStateBuilder_.build(); @@ -33977,6 +50016,34 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { mergeUnsubscribeBulk(other.getUnsubscribeBulk()); break; } + case ACKNOWLEDGE_ALARM: { + mergeAcknowledgeAlarm(other.getAcknowledgeAlarm()); + break; + } + case QUERY_ACTIVE_ALARMS: { + mergeQueryActiveAlarms(other.getQueryActiveAlarms()); + break; + } + case WRITE_BULK: { + mergeWriteBulk(other.getWriteBulk()); + break; + } + case WRITE2_BULK: { + mergeWrite2Bulk(other.getWrite2Bulk()); + break; + } + case WRITE_SECURED_BULK: { + mergeWriteSecuredBulk(other.getWriteSecuredBulk()); + break; + } + case WRITE_SECURED2_BULK: { + mergeWriteSecured2Bulk(other.getWriteSecured2Bulk()); + break; + } + case READ_BULK: { + mergeReadBulk(other.getReadBulk()); + break; + } case SESSION_STATE: { mergeSessionState(other.getSessionState()); break; @@ -34169,6 +50236,55 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { payloadCase_ = 33; break; } // case 266 + case 274: { + input.readMessage( + internalGetAcknowledgeAlarmFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 34; + break; + } // case 274 + case 282: { + input.readMessage( + internalGetQueryActiveAlarmsFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 35; + break; + } // case 282 + case 290: { + input.readMessage( + internalGetWriteBulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 36; + break; + } // case 290 + case 298: { + input.readMessage( + internalGetWrite2BulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 37; + break; + } // case 298 + case 306: { + input.readMessage( + internalGetWriteSecuredBulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 38; + break; + } // case 306 + case 314: { + input.readMessage( + internalGetWriteSecured2BulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 39; + break; + } // case 314 + case 322: { + input.readMessage( + internalGetReadBulkFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 40; + break; + } // case 322 case 802: { input.readMessage( internalGetSessionStateFieldBuilder().getBuilder(), @@ -37023,6 +53139,1108 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { return unsubscribeBulkBuilder_; } + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.Builder, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayloadOrBuilder> acknowledgeAlarmBuilder_; + /** + *
+       * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+       * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+       * no by-name-specific reply case: the by-name ack carries no outcome
+       * detail beyond the native ack return code, so the worker reuses this
+       * `acknowledge_alarm` payload for both command kinds (the worker's
+       * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+       * too). Consumers must dispatch on MxCommandReply.kind, not on the
+       * payload case, to tell the two acks apart. The top-level `hresult`
+       * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+       * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + * @return Whether the acknowledgeAlarm field is set. + */ + @java.lang.Override + public boolean hasAcknowledgeAlarm() { + return payloadCase_ == 34; + } + /** + *
+       * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+       * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+       * no by-name-specific reply case: the by-name ack carries no outcome
+       * detail beyond the native ack return code, so the worker reuses this
+       * `acknowledge_alarm` payload for both command kinds (the worker's
+       * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+       * too). Consumers must dispatch on MxCommandReply.kind, not on the
+       * payload case, to tell the two acks apart. The top-level `hresult`
+       * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+       * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + * @return The acknowledgeAlarm. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload getAcknowledgeAlarm() { + if (acknowledgeAlarmBuilder_ == null) { + if (payloadCase_ == 34) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.getDefaultInstance(); + } else { + if (payloadCase_ == 34) { + return acknowledgeAlarmBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.getDefaultInstance(); + } + } + /** + *
+       * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+       * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+       * no by-name-specific reply case: the by-name ack carries no outcome
+       * detail beyond the native ack return code, so the worker reuses this
+       * `acknowledge_alarm` payload for both command kinds (the worker's
+       * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+       * too). Consumers must dispatch on MxCommandReply.kind, not on the
+       * payload case, to tell the two acks apart. The top-level `hresult`
+       * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+       * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + */ + public Builder setAcknowledgeAlarm(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload value) { + if (acknowledgeAlarmBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + acknowledgeAlarmBuilder_.setMessage(value); + } + payloadCase_ = 34; + return this; + } + /** + *
+       * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+       * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+       * no by-name-specific reply case: the by-name ack carries no outcome
+       * detail beyond the native ack return code, so the worker reuses this
+       * `acknowledge_alarm` payload for both command kinds (the worker's
+       * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+       * too). Consumers must dispatch on MxCommandReply.kind, not on the
+       * payload case, to tell the two acks apart. The top-level `hresult`
+       * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+       * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + */ + public Builder setAcknowledgeAlarm( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.Builder builderForValue) { + if (acknowledgeAlarmBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + acknowledgeAlarmBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 34; + return this; + } + /** + *
+       * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+       * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+       * no by-name-specific reply case: the by-name ack carries no outcome
+       * detail beyond the native ack return code, so the worker reuses this
+       * `acknowledge_alarm` payload for both command kinds (the worker's
+       * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+       * too). Consumers must dispatch on MxCommandReply.kind, not on the
+       * payload case, to tell the two acks apart. The top-level `hresult`
+       * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+       * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + */ + public Builder mergeAcknowledgeAlarm(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload value) { + if (acknowledgeAlarmBuilder_ == null) { + if (payloadCase_ == 34 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.newBuilder((mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 34) { + acknowledgeAlarmBuilder_.mergeFrom(value); + } else { + acknowledgeAlarmBuilder_.setMessage(value); + } + } + payloadCase_ = 34; + return this; + } + /** + *
+       * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+       * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+       * no by-name-specific reply case: the by-name ack carries no outcome
+       * detail beyond the native ack return code, so the worker reuses this
+       * `acknowledge_alarm` payload for both command kinds (the worker's
+       * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+       * too). Consumers must dispatch on MxCommandReply.kind, not on the
+       * payload case, to tell the two acks apart. The top-level `hresult`
+       * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+       * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + */ + public Builder clearAcknowledgeAlarm() { + if (acknowledgeAlarmBuilder_ == null) { + if (payloadCase_ == 34) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 34) { + payloadCase_ = 0; + payload_ = null; + } + acknowledgeAlarmBuilder_.clear(); + } + return this; + } + /** + *
+       * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+       * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+       * no by-name-specific reply case: the by-name ack carries no outcome
+       * detail beyond the native ack return code, so the worker reuses this
+       * `acknowledge_alarm` payload for both command kinds (the worker's
+       * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+       * too). Consumers must dispatch on MxCommandReply.kind, not on the
+       * payload case, to tell the two acks apart. The top-level `hresult`
+       * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+       * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + */ + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.Builder getAcknowledgeAlarmBuilder() { + return internalGetAcknowledgeAlarmFieldBuilder().getBuilder(); + } + /** + *
+       * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+       * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+       * no by-name-specific reply case: the by-name ack carries no outcome
+       * detail beyond the native ack return code, so the worker reuses this
+       * `acknowledge_alarm` payload for both command kinds (the worker's
+       * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+       * too). Consumers must dispatch on MxCommandReply.kind, not on the
+       * payload case, to tell the two acks apart. The top-level `hresult`
+       * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+       * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayloadOrBuilder getAcknowledgeAlarmOrBuilder() { + if ((payloadCase_ == 34) && (acknowledgeAlarmBuilder_ != null)) { + return acknowledgeAlarmBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 34) { + return (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.getDefaultInstance(); + } + } + /** + *
+       * Reply payload for BOTH MX_COMMAND_KIND_ACKNOWLEDGE_ALARM (by GUID)
+       * and MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME. There is intentionally
+       * no by-name-specific reply case: the by-name ack carries no outcome
+       * detail beyond the native ack return code, so the worker reuses this
+       * `acknowledge_alarm` payload for both command kinds (the worker's
+       * MxAccessCommandExecutor sets `acknowledge_alarm` for the by-name arm
+       * too). Consumers must dispatch on MxCommandReply.kind, not on the
+       * payload case, to tell the two acks apart. The top-level `hresult`
+       * mirrors AcknowledgeAlarmReplyPayload.native_status and is preferred.
+       * 
+ * + * .mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload acknowledge_alarm = 34; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.Builder, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayloadOrBuilder> + internalGetAcknowledgeAlarmFieldBuilder() { + if (acknowledgeAlarmBuilder_ == null) { + if (!(payloadCase_ == 34)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.getDefaultInstance(); + } + acknowledgeAlarmBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.Builder, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayloadOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 34; + onChanged(); + return acknowledgeAlarmBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.Builder, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayloadOrBuilder> queryActiveAlarmsBuilder_; + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + * @return Whether the queryActiveAlarms field is set. + */ + @java.lang.Override + public boolean hasQueryActiveAlarms() { + return payloadCase_ == 35; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + * @return The queryActiveAlarms. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload getQueryActiveAlarms() { + if (queryActiveAlarmsBuilder_ == null) { + if (payloadCase_ == 35) { + return (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.getDefaultInstance(); + } else { + if (payloadCase_ == 35) { + return queryActiveAlarmsBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + */ + public Builder setQueryActiveAlarms(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload value) { + if (queryActiveAlarmsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + queryActiveAlarmsBuilder_.setMessage(value); + } + payloadCase_ = 35; + return this; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + */ + public Builder setQueryActiveAlarms( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.Builder builderForValue) { + if (queryActiveAlarmsBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + queryActiveAlarmsBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 35; + return this; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + */ + public Builder mergeQueryActiveAlarms(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload value) { + if (queryActiveAlarmsBuilder_ == null) { + if (payloadCase_ == 35 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.newBuilder((mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 35) { + queryActiveAlarmsBuilder_.mergeFrom(value); + } else { + queryActiveAlarmsBuilder_.setMessage(value); + } + } + payloadCase_ = 35; + return this; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + */ + public Builder clearQueryActiveAlarms() { + if (queryActiveAlarmsBuilder_ == null) { + if (payloadCase_ == 35) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 35) { + payloadCase_ = 0; + payload_ = null; + } + queryActiveAlarmsBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + */ + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.Builder getQueryActiveAlarmsBuilder() { + return internalGetQueryActiveAlarmsFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayloadOrBuilder getQueryActiveAlarmsOrBuilder() { + if ((payloadCase_ == 35) && (queryActiveAlarmsBuilder_ != null)) { + return queryActiveAlarmsBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 35) { + return (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload query_active_alarms = 35; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.Builder, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayloadOrBuilder> + internalGetQueryActiveAlarmsFieldBuilder() { + if (queryActiveAlarmsBuilder_ == null) { + if (!(payloadCase_ == 35)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.getDefaultInstance(); + } + queryActiveAlarmsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.Builder, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayloadOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 35; + onChanged(); + return queryActiveAlarmsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder> writeBulkBuilder_; + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + * @return Whether the writeBulk field is set. + */ + @java.lang.Override + public boolean hasWriteBulk() { + return payloadCase_ == 36; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + * @return The writeBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWriteBulk() { + if (writeBulkBuilder_ == null) { + if (payloadCase_ == 36) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } else { + if (payloadCase_ == 36) { + return writeBulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + */ + public Builder setWriteBulk(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply value) { + if (writeBulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + writeBulkBuilder_.setMessage(value); + } + payloadCase_ = 36; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + */ + public Builder setWriteBulk( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder builderForValue) { + if (writeBulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + writeBulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 36; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + */ + public Builder mergeWriteBulk(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply value) { + if (writeBulkBuilder_ == null) { + if (payloadCase_ == 36 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.newBuilder((mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 36) { + writeBulkBuilder_.mergeFrom(value); + } else { + writeBulkBuilder_.setMessage(value); + } + } + payloadCase_ = 36; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + */ + public Builder clearWriteBulk() { + if (writeBulkBuilder_ == null) { + if (payloadCase_ == 36) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 36) { + payloadCase_ = 0; + payload_ = null; + } + writeBulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder getWriteBulkBuilder() { + return internalGetWriteBulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWriteBulkOrBuilder() { + if ((payloadCase_ == 36) && (writeBulkBuilder_ != null)) { + return writeBulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 36) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_bulk = 36; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder> + internalGetWriteBulkFieldBuilder() { + if (writeBulkBuilder_ == null) { + if (!(payloadCase_ == 36)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + writeBulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 36; + onChanged(); + return writeBulkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder> write2BulkBuilder_; + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + * @return Whether the write2Bulk field is set. + */ + @java.lang.Override + public boolean hasWrite2Bulk() { + return payloadCase_ == 37; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + * @return The write2Bulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWrite2Bulk() { + if (write2BulkBuilder_ == null) { + if (payloadCase_ == 37) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } else { + if (payloadCase_ == 37) { + return write2BulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + */ + public Builder setWrite2Bulk(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply value) { + if (write2BulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + write2BulkBuilder_.setMessage(value); + } + payloadCase_ = 37; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + */ + public Builder setWrite2Bulk( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder builderForValue) { + if (write2BulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + write2BulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 37; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + */ + public Builder mergeWrite2Bulk(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply value) { + if (write2BulkBuilder_ == null) { + if (payloadCase_ == 37 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.newBuilder((mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 37) { + write2BulkBuilder_.mergeFrom(value); + } else { + write2BulkBuilder_.setMessage(value); + } + } + payloadCase_ = 37; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + */ + public Builder clearWrite2Bulk() { + if (write2BulkBuilder_ == null) { + if (payloadCase_ == 37) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 37) { + payloadCase_ = 0; + payload_ = null; + } + write2BulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder getWrite2BulkBuilder() { + return internalGetWrite2BulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWrite2BulkOrBuilder() { + if ((payloadCase_ == 37) && (write2BulkBuilder_ != null)) { + return write2BulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 37) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write2_bulk = 37; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder> + internalGetWrite2BulkFieldBuilder() { + if (write2BulkBuilder_ == null) { + if (!(payloadCase_ == 37)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + write2BulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 37; + onChanged(); + return write2BulkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder> writeSecuredBulkBuilder_; + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + * @return Whether the writeSecuredBulk field is set. + */ + @java.lang.Override + public boolean hasWriteSecuredBulk() { + return payloadCase_ == 38; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + * @return The writeSecuredBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWriteSecuredBulk() { + if (writeSecuredBulkBuilder_ == null) { + if (payloadCase_ == 38) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } else { + if (payloadCase_ == 38) { + return writeSecuredBulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + */ + public Builder setWriteSecuredBulk(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply value) { + if (writeSecuredBulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + writeSecuredBulkBuilder_.setMessage(value); + } + payloadCase_ = 38; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + */ + public Builder setWriteSecuredBulk( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder builderForValue) { + if (writeSecuredBulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + writeSecuredBulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 38; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + */ + public Builder mergeWriteSecuredBulk(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply value) { + if (writeSecuredBulkBuilder_ == null) { + if (payloadCase_ == 38 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.newBuilder((mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 38) { + writeSecuredBulkBuilder_.mergeFrom(value); + } else { + writeSecuredBulkBuilder_.setMessage(value); + } + } + payloadCase_ = 38; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + */ + public Builder clearWriteSecuredBulk() { + if (writeSecuredBulkBuilder_ == null) { + if (payloadCase_ == 38) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 38) { + payloadCase_ = 0; + payload_ = null; + } + writeSecuredBulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder getWriteSecuredBulkBuilder() { + return internalGetWriteSecuredBulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWriteSecuredBulkOrBuilder() { + if ((payloadCase_ == 38) && (writeSecuredBulkBuilder_ != null)) { + return writeSecuredBulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 38) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured_bulk = 38; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder> + internalGetWriteSecuredBulkFieldBuilder() { + if (writeSecuredBulkBuilder_ == null) { + if (!(payloadCase_ == 38)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + writeSecuredBulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 38; + onChanged(); + return writeSecuredBulkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder> writeSecured2BulkBuilder_; + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + * @return Whether the writeSecured2Bulk field is set. + */ + @java.lang.Override + public boolean hasWriteSecured2Bulk() { + return payloadCase_ == 39; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + * @return The writeSecured2Bulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getWriteSecured2Bulk() { + if (writeSecured2BulkBuilder_ == null) { + if (payloadCase_ == 39) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } else { + if (payloadCase_ == 39) { + return writeSecured2BulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + */ + public Builder setWriteSecured2Bulk(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply value) { + if (writeSecured2BulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + writeSecured2BulkBuilder_.setMessage(value); + } + payloadCase_ = 39; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + */ + public Builder setWriteSecured2Bulk( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder builderForValue) { + if (writeSecured2BulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + writeSecured2BulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 39; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + */ + public Builder mergeWriteSecured2Bulk(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply value) { + if (writeSecured2BulkBuilder_ == null) { + if (payloadCase_ == 39 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.newBuilder((mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 39) { + writeSecured2BulkBuilder_.mergeFrom(value); + } else { + writeSecured2BulkBuilder_.setMessage(value); + } + } + payloadCase_ = 39; + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + */ + public Builder clearWriteSecured2Bulk() { + if (writeSecured2BulkBuilder_ == null) { + if (payloadCase_ == 39) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 39) { + payloadCase_ = 0; + payload_ = null; + } + writeSecured2BulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder getWriteSecured2BulkBuilder() { + return internalGetWriteSecured2BulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder getWriteSecured2BulkOrBuilder() { + if ((payloadCase_ == 39) && (writeSecured2BulkBuilder_ != null)) { + return writeSecured2BulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 39) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkWriteReply write_secured2_bulk = 39; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder> + internalGetWriteSecured2BulkFieldBuilder() { + if (writeSecured2BulkBuilder_ == null) { + if (!(payloadCase_ == 39)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + writeSecured2BulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 39; + onChanged(); + return writeSecured2BulkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply, mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkReadReplyOrBuilder> readBulkBuilder_; + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + * @return Whether the readBulk field is set. + */ + @java.lang.Override + public boolean hasReadBulk() { + return payloadCase_ == 40; + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + * @return The readBulk. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadReply getReadBulk() { + if (readBulkBuilder_ == null) { + if (payloadCase_ == 40) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.getDefaultInstance(); + } else { + if (payloadCase_ == 40) { + return readBulkBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + */ + public Builder setReadBulk(mxaccess_gateway.v1.MxaccessGateway.BulkReadReply value) { + if (readBulkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + readBulkBuilder_.setMessage(value); + } + payloadCase_ = 40; + return this; + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + */ + public Builder setReadBulk( + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.Builder builderForValue) { + if (readBulkBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + readBulkBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 40; + return this; + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + */ + public Builder mergeReadBulk(mxaccess_gateway.v1.MxaccessGateway.BulkReadReply value) { + if (readBulkBuilder_ == null) { + if (payloadCase_ == 40 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.newBuilder((mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 40) { + readBulkBuilder_.mergeFrom(value); + } else { + readBulkBuilder_.setMessage(value); + } + } + payloadCase_ = 40; + return this; + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + */ + public Builder clearReadBulk() { + if (readBulkBuilder_ == null) { + if (payloadCase_ == 40) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 40) { + payloadCase_ = 0; + payload_ = null; + } + readBulkBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.Builder getReadBulkBuilder() { + return internalGetReadBulkFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadReplyOrBuilder getReadBulkOrBuilder() { + if ((payloadCase_ == 40) && (readBulkBuilder_ != null)) { + return readBulkBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 40) { + return (mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.BulkReadReply read_bulk = 40; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply, mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkReadReplyOrBuilder> + internalGetReadBulkFieldBuilder() { + if (readBulkBuilder_ == null) { + if (!(payloadCase_ == 40)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.getDefaultInstance(); + } + readBulkBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply, mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkReadReplyOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 40; + onChanged(); + return readBulkBuilder_; + } + private com.google.protobuf.SingleFieldBuilder< mxaccess_gateway.v1.MxaccessGateway.SessionStateReply, mxaccess_gateway.v1.MxaccessGateway.SessionStateReply.Builder, mxaccess_gateway.v1.MxaccessGateway.SessionStateReplyOrBuilder> sessionStateBuilder_; /** @@ -42859,6 +60077,4562 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } + public interface BulkWriteResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.BulkWriteResult) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + int getServerHandle(); + + /** + * int32 item_handle = 2; + * @return The itemHandle. + */ + int getItemHandle(); + + /** + * bool was_successful = 3; + * @return The wasSuccessful. + */ + boolean getWasSuccessful(); + + /** + * optional int32 hresult = 4; + * @return Whether the hresult field is set. + */ + boolean hasHresult(); + /** + * optional int32 hresult = 4; + * @return The hresult. + */ + int getHresult(); + + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + java.util.List + getStatusesList(); + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy getStatuses(int index); + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + int getStatusesCount(); + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + java.util.List + getStatusesOrBuilderList(); + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder getStatusesOrBuilder( + int index); + + /** + * string error_message = 6; + * @return The errorMessage. + */ + java.lang.String getErrorMessage(); + /** + * string error_message = 6; + * @return The bytes for errorMessage. + */ + com.google.protobuf.ByteString + getErrorMessageBytes(); + } + /** + *
+   * Per-item result for the four bulk write families. `item_handle` mirrors the
+   * request entry's item_handle so callers can correlate inputs to outputs even
+   * when the gateway's per-entry `IConstraintEnforcer.CheckWriteHandleAsync`
+   * filter (see `MxAccessGatewayService.ReplaceWriteBulkEntries` and
+   * `docs/Authorization.md`) dropped some entries before reaching the worker.
+   * Per-item failures populate `error_message` + `hresult` and never raise —
+   * callers iterate and inspect each entry.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.BulkWriteResult} + */ + public static final class BulkWriteResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.BulkWriteResult) + BulkWriteResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "BulkWriteResult"); + } + // Use BulkWriteResult.newBuilder() to construct. + private BulkWriteResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private BulkWriteResult() { + statuses_ = java.util.Collections.emptyList(); + errorMessage_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.class, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder.class); + } + + private int bitField0_; + public static final int SERVER_HANDLE_FIELD_NUMBER = 1; + private int serverHandle_ = 0; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + + public static final int ITEM_HANDLE_FIELD_NUMBER = 2; + private int itemHandle_ = 0; + /** + * int32 item_handle = 2; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + + public static final int WAS_SUCCESSFUL_FIELD_NUMBER = 3; + private boolean wasSuccessful_ = false; + /** + * bool was_successful = 3; + * @return The wasSuccessful. + */ + @java.lang.Override + public boolean getWasSuccessful() { + return wasSuccessful_; + } + + public static final int HRESULT_FIELD_NUMBER = 4; + private int hresult_ = 0; + /** + * optional int32 hresult = 4; + * @return Whether the hresult field is set. + */ + @java.lang.Override + public boolean hasHresult() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional int32 hresult = 4; + * @return The hresult. + */ + @java.lang.Override + public int getHresult() { + return hresult_; + } + + public static final int STATUSES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List statuses_; + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + @java.lang.Override + public java.util.List getStatusesList() { + return statuses_; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + @java.lang.Override + public java.util.List + getStatusesOrBuilderList() { + return statuses_; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + @java.lang.Override + public int getStatusesCount() { + return statuses_.size(); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy getStatuses(int index) { + return statuses_.get(index); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder getStatusesOrBuilder( + int index) { + return statuses_.get(index); + } + + public static final int ERROR_MESSAGE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object errorMessage_ = ""; + /** + * string error_message = 6; + * @return The errorMessage. + */ + @java.lang.Override + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } + } + /** + * string error_message = 6; + * @return The bytes for errorMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (serverHandle_ != 0) { + output.writeInt32(1, serverHandle_); + } + if (itemHandle_ != 0) { + output.writeInt32(2, itemHandle_); + } + if (wasSuccessful_ != false) { + output.writeBool(3, wasSuccessful_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(4, hresult_); + } + for (int i = 0; i < statuses_.size(); i++) { + output.writeMessage(5, statuses_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, errorMessage_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (serverHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, serverHandle_); + } + if (itemHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, itemHandle_); + } + if (wasSuccessful_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, wasSuccessful_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, hresult_); + } + for (int i = 0; i < statuses_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, statuses_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, errorMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult other = (mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult) obj; + + if (getServerHandle() + != other.getServerHandle()) return false; + if (getItemHandle() + != other.getItemHandle()) return false; + if (getWasSuccessful() + != other.getWasSuccessful()) return false; + if (hasHresult() != other.hasHresult()) return false; + if (hasHresult()) { + if (getHresult() + != other.getHresult()) return false; + } + if (!getStatusesList() + .equals(other.getStatusesList())) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVER_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getServerHandle(); + hash = (37 * hash) + ITEM_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getItemHandle(); + hash = (37 * hash) + WAS_SUCCESSFUL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWasSuccessful()); + if (hasHresult()) { + hash = (37 * hash) + HRESULT_FIELD_NUMBER; + hash = (53 * hash) + getHresult(); + } + if (getStatusesCount() > 0) { + hash = (37 * hash) + STATUSES_FIELD_NUMBER; + hash = (53 * hash) + getStatusesList().hashCode(); + } + hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrorMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Per-item result for the four bulk write families. `item_handle` mirrors the
+     * request entry's item_handle so callers can correlate inputs to outputs even
+     * when the gateway's per-entry `IConstraintEnforcer.CheckWriteHandleAsync`
+     * filter (see `MxAccessGatewayService.ReplaceWriteBulkEntries` and
+     * `docs/Authorization.md`) dropped some entries before reaching the worker.
+     * Per-item failures populate `error_message` + `hresult` and never raise —
+     * callers iterate and inspect each entry.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.BulkWriteResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.BulkWriteResult) + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.class, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverHandle_ = 0; + itemHandle_ = 0; + wasSuccessful_ = false; + hresult_ = 0; + if (statusesBuilder_ == null) { + statuses_ = java.util.Collections.emptyList(); + } else { + statuses_ = null; + statusesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + errorMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteResult_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult build() { + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult result = new mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult result) { + if (statusesBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + statuses_ = java.util.Collections.unmodifiableList(statuses_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.statuses_ = statuses_; + } else { + result.statuses_ = statusesBuilder_.build(); + } + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverHandle_ = serverHandle_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.itemHandle_ = itemHandle_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.wasSuccessful_ = wasSuccessful_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.hresult_ = hresult_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.errorMessage_ = errorMessage_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.getDefaultInstance()) return this; + if (other.getServerHandle() != 0) { + setServerHandle(other.getServerHandle()); + } + if (other.getItemHandle() != 0) { + setItemHandle(other.getItemHandle()); + } + if (other.getWasSuccessful() != false) { + setWasSuccessful(other.getWasSuccessful()); + } + if (other.hasHresult()) { + setHresult(other.getHresult()); + } + if (statusesBuilder_ == null) { + if (!other.statuses_.isEmpty()) { + if (statuses_.isEmpty()) { + statuses_ = other.statuses_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureStatusesIsMutable(); + statuses_.addAll(other.statuses_); + } + onChanged(); + } + } else { + if (!other.statuses_.isEmpty()) { + if (statusesBuilder_.isEmpty()) { + statusesBuilder_.dispose(); + statusesBuilder_ = null; + statuses_ = other.statuses_; + bitField0_ = (bitField0_ & ~0x00000010); + statusesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetStatusesFieldBuilder() : null; + } else { + statusesBuilder_.addAllMessages(other.statuses_); + } + } + } + if (!other.getErrorMessage().isEmpty()) { + errorMessage_ = other.errorMessage_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + serverHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + itemHandle_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + wasSuccessful_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + hresult_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy m = + input.readMessage( + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.parser(), + extensionRegistry); + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.add(m); + } else { + statusesBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + errorMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int serverHandle_ ; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + /** + * int32 server_handle = 1; + * @param value The serverHandle to set. + * @return This builder for chaining. + */ + public Builder setServerHandle(int value) { + + serverHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 server_handle = 1; + * @return This builder for chaining. + */ + public Builder clearServerHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + serverHandle_ = 0; + onChanged(); + return this; + } + + private int itemHandle_ ; + /** + * int32 item_handle = 2; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + /** + * int32 item_handle = 2; + * @param value The itemHandle to set. + * @return This builder for chaining. + */ + public Builder setItemHandle(int value) { + + itemHandle_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 item_handle = 2; + * @return This builder for chaining. + */ + public Builder clearItemHandle() { + bitField0_ = (bitField0_ & ~0x00000002); + itemHandle_ = 0; + onChanged(); + return this; + } + + private boolean wasSuccessful_ ; + /** + * bool was_successful = 3; + * @return The wasSuccessful. + */ + @java.lang.Override + public boolean getWasSuccessful() { + return wasSuccessful_; + } + /** + * bool was_successful = 3; + * @param value The wasSuccessful to set. + * @return This builder for chaining. + */ + public Builder setWasSuccessful(boolean value) { + + wasSuccessful_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * bool was_successful = 3; + * @return This builder for chaining. + */ + public Builder clearWasSuccessful() { + bitField0_ = (bitField0_ & ~0x00000004); + wasSuccessful_ = false; + onChanged(); + return this; + } + + private int hresult_ ; + /** + * optional int32 hresult = 4; + * @return Whether the hresult field is set. + */ + @java.lang.Override + public boolean hasHresult() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional int32 hresult = 4; + * @return The hresult. + */ + @java.lang.Override + public int getHresult() { + return hresult_; + } + /** + * optional int32 hresult = 4; + * @param value The hresult to set. + * @return This builder for chaining. + */ + public Builder setHresult(int value) { + + hresult_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * optional int32 hresult = 4; + * @return This builder for chaining. + */ + public Builder clearHresult() { + bitField0_ = (bitField0_ & ~0x00000008); + hresult_ = 0; + onChanged(); + return this; + } + + private java.util.List statuses_ = + java.util.Collections.emptyList(); + private void ensureStatusesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + statuses_ = new java.util.ArrayList(statuses_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder> statusesBuilder_; + + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public java.util.List getStatusesList() { + if (statusesBuilder_ == null) { + return java.util.Collections.unmodifiableList(statuses_); + } else { + return statusesBuilder_.getMessageList(); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public int getStatusesCount() { + if (statusesBuilder_ == null) { + return statuses_.size(); + } else { + return statusesBuilder_.getCount(); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy getStatuses(int index) { + if (statusesBuilder_ == null) { + return statuses_.get(index); + } else { + return statusesBuilder_.getMessage(index); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public Builder setStatuses( + int index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy value) { + if (statusesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStatusesIsMutable(); + statuses_.set(index, value); + onChanged(); + } else { + statusesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public Builder setStatuses( + int index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder builderForValue) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.set(index, builderForValue.build()); + onChanged(); + } else { + statusesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public Builder addStatuses(mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy value) { + if (statusesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStatusesIsMutable(); + statuses_.add(value); + onChanged(); + } else { + statusesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public Builder addStatuses( + int index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy value) { + if (statusesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStatusesIsMutable(); + statuses_.add(index, value); + onChanged(); + } else { + statusesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public Builder addStatuses( + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder builderForValue) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.add(builderForValue.build()); + onChanged(); + } else { + statusesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public Builder addStatuses( + int index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder builderForValue) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.add(index, builderForValue.build()); + onChanged(); + } else { + statusesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public Builder addAllStatuses( + java.lang.Iterable values) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statuses_); + onChanged(); + } else { + statusesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public Builder clearStatuses() { + if (statusesBuilder_ == null) { + statuses_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + statusesBuilder_.clear(); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public Builder removeStatuses(int index) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.remove(index); + onChanged(); + } else { + statusesBuilder_.remove(index); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder getStatusesBuilder( + int index) { + return internalGetStatusesFieldBuilder().getBuilder(index); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder getStatusesOrBuilder( + int index) { + if (statusesBuilder_ == null) { + return statuses_.get(index); } else { + return statusesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public java.util.List + getStatusesOrBuilderList() { + if (statusesBuilder_ != null) { + return statusesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(statuses_); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder addStatusesBuilder() { + return internalGetStatusesFieldBuilder().addBuilder( + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder addStatusesBuilder( + int index) { + return internalGetStatusesFieldBuilder().addBuilder( + index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 5; + */ + public java.util.List + getStatusesBuilderList() { + return internalGetStatusesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder> + internalGetStatusesFieldBuilder() { + if (statusesBuilder_ == null) { + statusesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder>( + statuses_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + statuses_ = null; + } + return statusesBuilder_; + } + + private java.lang.Object errorMessage_ = ""; + /** + * string error_message = 6; + * @return The errorMessage. + */ + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string error_message = 6; + * @return The bytes for errorMessage. + */ + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string error_message = 6; + * @param value The errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + errorMessage_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string error_message = 6; + * @return This builder for chaining. + */ + public Builder clearErrorMessage() { + errorMessage_ = getDefaultInstance().getErrorMessage(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string error_message = 6; + * @param value The bytes for errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + errorMessage_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.BulkWriteResult) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.BulkWriteResult) + private static final mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BulkWriteResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BulkWriteReplyOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.BulkWriteReply) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + java.util.List + getResultsList(); + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult getResults(int index); + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + int getResultsCount(); + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + java.util.List + getResultsOrBuilderList(); + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResultOrBuilder getResultsOrBuilder( + int index); + } + /** + * Protobuf type {@code mxaccess_gateway.v1.BulkWriteReply} + */ + public static final class BulkWriteReply extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.BulkWriteReply) + BulkWriteReplyOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "BulkWriteReply"); + } + // Use BulkWriteReply.newBuilder() to construct. + private BulkWriteReply(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private BulkWriteReply() { + results_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.class, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder.class); + } + + public static final int RESULTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List results_; + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + @java.lang.Override + public java.util.List getResultsList() { + return results_; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + @java.lang.Override + public java.util.List + getResultsOrBuilderList() { + return results_; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + @java.lang.Override + public int getResultsCount() { + return results_.size(); + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult getResults(int index) { + return results_.get(index); + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResultOrBuilder getResultsOrBuilder( + int index) { + return results_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < results_.size(); i++) { + output.writeMessage(1, results_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < results_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply other = (mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) obj; + + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getResultsCount() > 0) { + hash = (37 * hash) + RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getResultsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code mxaccess_gateway.v1.BulkWriteReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.BulkWriteReply) + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReplyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.class, mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (resultsBuilder_ == null) { + results_ = java.util.Collections.emptyList(); + } else { + results_ = null; + resultsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkWriteReply_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply build() { + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply result = new mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply result) { + if (resultsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + results_ = java.util.Collections.unmodifiableList(results_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.results_ = results_; + } else { + result.results_ = resultsBuilder_.build(); + } + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply.getDefaultInstance()) return this; + if (resultsBuilder_ == null) { + if (!other.results_.isEmpty()) { + if (results_.isEmpty()) { + results_ = other.results_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureResultsIsMutable(); + results_.addAll(other.results_); + } + onChanged(); + } + } else { + if (!other.results_.isEmpty()) { + if (resultsBuilder_.isEmpty()) { + resultsBuilder_.dispose(); + resultsBuilder_ = null; + results_ = other.results_; + bitField0_ = (bitField0_ & ~0x00000001); + resultsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetResultsFieldBuilder() : null; + } else { + resultsBuilder_.addAllMessages(other.results_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult m = + input.readMessage( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.parser(), + extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List results_ = + java.util.Collections.emptyList(); + private void ensureResultsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + results_ = new java.util.ArrayList(results_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResultOrBuilder> resultsBuilder_; + + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public java.util.List getResultsList() { + if (resultsBuilder_ == null) { + return java.util.Collections.unmodifiableList(results_); + } else { + return resultsBuilder_.getMessageList(); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public int getResultsCount() { + if (resultsBuilder_ == null) { + return results_.size(); + } else { + return resultsBuilder_.getCount(); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult getResults(int index) { + if (resultsBuilder_ == null) { + return results_.get(index); + } else { + return resultsBuilder_.getMessage(index); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public Builder setResults( + int index, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult value) { + if (resultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResultsIsMutable(); + results_.set(index, value); + onChanged(); + } else { + resultsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public Builder setResults( + int index, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder builderForValue) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.set(index, builderForValue.build()); + onChanged(); + } else { + resultsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public Builder addResults(mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult value) { + if (resultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResultsIsMutable(); + results_.add(value); + onChanged(); + } else { + resultsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public Builder addResults( + int index, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult value) { + if (resultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResultsIsMutable(); + results_.add(index, value); + onChanged(); + } else { + resultsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public Builder addResults( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder builderForValue) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(builderForValue.build()); + onChanged(); + } else { + resultsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public Builder addResults( + int index, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder builderForValue) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(index, builderForValue.build()); + onChanged(); + } else { + resultsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public Builder addAllResults( + java.lang.Iterable values) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, results_); + onChanged(); + } else { + resultsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public Builder clearResults() { + if (resultsBuilder_ == null) { + results_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + resultsBuilder_.clear(); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public Builder removeResults(int index) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.remove(index); + onChanged(); + } else { + resultsBuilder_.remove(index); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder getResultsBuilder( + int index) { + return internalGetResultsFieldBuilder().getBuilder(index); + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResultOrBuilder getResultsOrBuilder( + int index) { + if (resultsBuilder_ == null) { + return results_.get(index); } else { + return resultsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public java.util.List + getResultsOrBuilderList() { + if (resultsBuilder_ != null) { + return resultsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(results_); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder addResultsBuilder() { + return internalGetResultsFieldBuilder().addBuilder( + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder addResultsBuilder( + int index) { + return internalGetResultsFieldBuilder().addBuilder( + index, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.BulkWriteResult results = 1; + */ + public java.util.List + getResultsBuilderList() { + return internalGetResultsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResultOrBuilder> + internalGetResultsFieldBuilder() { + if (resultsBuilder_ == null) { + resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResult.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkWriteResultOrBuilder>( + results_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + results_ = null; + } + return resultsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.BulkWriteReply) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.BulkWriteReply) + private static final mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BulkWriteReply parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkWriteReply getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BulkReadResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.BulkReadResult) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + int getServerHandle(); + + /** + * string tag_address = 2; + * @return The tagAddress. + */ + java.lang.String getTagAddress(); + /** + * string tag_address = 2; + * @return The bytes for tagAddress. + */ + com.google.protobuf.ByteString + getTagAddressBytes(); + + /** + * int32 item_handle = 3; + * @return The itemHandle. + */ + int getItemHandle(); + + /** + * bool was_successful = 4; + * @return The wasSuccessful. + */ + boolean getWasSuccessful(); + + /** + * bool was_cached = 5; + * @return The wasCached. + */ + boolean getWasCached(); + + /** + * .mxaccess_gateway.v1.MxValue value = 6; + * @return Whether the value field is set. + */ + boolean hasValue(); + /** + * .mxaccess_gateway.v1.MxValue value = 6; + * @return The value. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getValue(); + /** + * .mxaccess_gateway.v1.MxValue value = 6; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder(); + + /** + * int32 quality = 7; + * @return The quality. + */ + int getQuality(); + + /** + * .google.protobuf.Timestamp source_timestamp = 8; + * @return Whether the sourceTimestamp field is set. + */ + boolean hasSourceTimestamp(); + /** + * .google.protobuf.Timestamp source_timestamp = 8; + * @return The sourceTimestamp. + */ + com.google.protobuf.Timestamp getSourceTimestamp(); + /** + * .google.protobuf.Timestamp source_timestamp = 8; + */ + com.google.protobuf.TimestampOrBuilder getSourceTimestampOrBuilder(); + + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + java.util.List + getStatusesList(); + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy getStatuses(int index); + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + int getStatusesCount(); + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + java.util.List + getStatusesOrBuilderList(); + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder getStatusesOrBuilder( + int index); + + /** + * string error_message = 10; + * @return The errorMessage. + */ + java.lang.String getErrorMessage(); + /** + * string error_message = 10; + * @return The bytes for errorMessage. + */ + com.google.protobuf.ByteString + getErrorMessageBytes(); + } + /** + *
+   * Per-tag result for ReadBulk. `was_cached` is true when the value came from
+   * an existing live subscription's last OnDataChange (the worker did not touch
+   * the subscription); false when the worker took the AddItem + Advise + wait +
+   * UnAdvise + RemoveItem snapshot lifecycle itself.
+   *
+   * On `was_successful = true`, `value`, `quality`, `source_timestamp`, and
+   * `statuses` carry the read data (from the cached subscription or the snapshot
+   * lifecycle, depending on `was_cached`) and `error_message` is empty. On
+   * `was_successful = false`, only `server_handle`, `tag_address`, `item_handle`
+   * (when allocated), `was_cached`, and `error_message` are populated; `value`,
+   * `quality`, `source_timestamp`, and `statuses` are left at their proto3
+   * defaults (null / 0 / null / empty) and must not be read as data — they are
+   * wire-indistinguishable from "value is null with quality bad" data and serve
+   * only as absent markers. ReadBulk has no `hresult` field by design (its
+   * outcomes are timeout / cache / lifecycle states, not MXAccess COM return
+   * codes — see `docs/DesignDecisions.md` "Bulk Command Family"). Per-tag
+   * failures populate `error_message` and never raise — callers iterate and
+   * inspect each entry.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.BulkReadResult} + */ + public static final class BulkReadResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.BulkReadResult) + BulkReadResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "BulkReadResult"); + } + // Use BulkReadResult.newBuilder() to construct. + private BulkReadResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private BulkReadResult() { + tagAddress_ = ""; + statuses_ = java.util.Collections.emptyList(); + errorMessage_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.class, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder.class); + } + + private int bitField0_; + public static final int SERVER_HANDLE_FIELD_NUMBER = 1; + private int serverHandle_ = 0; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + + public static final int TAG_ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object tagAddress_ = ""; + /** + * string tag_address = 2; + * @return The tagAddress. + */ + @java.lang.Override + public java.lang.String getTagAddress() { + java.lang.Object ref = tagAddress_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tagAddress_ = s; + return s; + } + } + /** + * string tag_address = 2; + * @return The bytes for tagAddress. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTagAddressBytes() { + java.lang.Object ref = tagAddress_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tagAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEM_HANDLE_FIELD_NUMBER = 3; + private int itemHandle_ = 0; + /** + * int32 item_handle = 3; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + + public static final int WAS_SUCCESSFUL_FIELD_NUMBER = 4; + private boolean wasSuccessful_ = false; + /** + * bool was_successful = 4; + * @return The wasSuccessful. + */ + @java.lang.Override + public boolean getWasSuccessful() { + return wasSuccessful_; + } + + public static final int WAS_CACHED_FIELD_NUMBER = 5; + private boolean wasCached_ = false; + /** + * bool was_cached = 5; + * @return The wasCached. + */ + @java.lang.Override + public boolean getWasCached() { + return wasCached_; + } + + public static final int VALUE_FIELD_NUMBER = 6; + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + /** + * .mxaccess_gateway.v1.MxValue value = 6; + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + * @return The value. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + + public static final int QUALITY_FIELD_NUMBER = 7; + private int quality_ = 0; + /** + * int32 quality = 7; + * @return The quality. + */ + @java.lang.Override + public int getQuality() { + return quality_; + } + + public static final int SOURCE_TIMESTAMP_FIELD_NUMBER = 8; + private com.google.protobuf.Timestamp sourceTimestamp_; + /** + * .google.protobuf.Timestamp source_timestamp = 8; + * @return Whether the sourceTimestamp field is set. + */ + @java.lang.Override + public boolean hasSourceTimestamp() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + * @return The sourceTimestamp. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getSourceTimestamp() { + return sourceTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : sourceTimestamp_; + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getSourceTimestampOrBuilder() { + return sourceTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : sourceTimestamp_; + } + + public static final int STATUSES_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private java.util.List statuses_; + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + @java.lang.Override + public java.util.List getStatusesList() { + return statuses_; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + @java.lang.Override + public java.util.List + getStatusesOrBuilderList() { + return statuses_; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + @java.lang.Override + public int getStatusesCount() { + return statuses_.size(); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy getStatuses(int index) { + return statuses_.get(index); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder getStatusesOrBuilder( + int index) { + return statuses_.get(index); + } + + public static final int ERROR_MESSAGE_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object errorMessage_ = ""; + /** + * string error_message = 10; + * @return The errorMessage. + */ + @java.lang.Override + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } + } + /** + * string error_message = 10; + * @return The bytes for errorMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (serverHandle_ != 0) { + output.writeInt32(1, serverHandle_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tagAddress_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, tagAddress_); + } + if (itemHandle_ != 0) { + output.writeInt32(3, itemHandle_); + } + if (wasSuccessful_ != false) { + output.writeBool(4, wasSuccessful_); + } + if (wasCached_ != false) { + output.writeBool(5, wasCached_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(6, getValue()); + } + if (quality_ != 0) { + output.writeInt32(7, quality_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(8, getSourceTimestamp()); + } + for (int i = 0; i < statuses_.size(); i++) { + output.writeMessage(9, statuses_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 10, errorMessage_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (serverHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, serverHandle_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tagAddress_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tagAddress_); + } + if (itemHandle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, itemHandle_); + } + if (wasSuccessful_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, wasSuccessful_); + } + if (wasCached_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, wasCached_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getValue()); + } + if (quality_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, quality_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getSourceTimestamp()); + } + for (int i = 0; i < statuses_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, statuses_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(10, errorMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.BulkReadResult)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult other = (mxaccess_gateway.v1.MxaccessGateway.BulkReadResult) obj; + + if (getServerHandle() + != other.getServerHandle()) return false; + if (!getTagAddress() + .equals(other.getTagAddress())) return false; + if (getItemHandle() + != other.getItemHandle()) return false; + if (getWasSuccessful() + != other.getWasSuccessful()) return false; + if (getWasCached() + != other.getWasCached()) return false; + if (hasValue() != other.hasValue()) return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) return false; + } + if (getQuality() + != other.getQuality()) return false; + if (hasSourceTimestamp() != other.hasSourceTimestamp()) return false; + if (hasSourceTimestamp()) { + if (!getSourceTimestamp() + .equals(other.getSourceTimestamp())) return false; + } + if (!getStatusesList() + .equals(other.getStatusesList())) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVER_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getServerHandle(); + hash = (37 * hash) + TAG_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getTagAddress().hashCode(); + hash = (37 * hash) + ITEM_HANDLE_FIELD_NUMBER; + hash = (53 * hash) + getItemHandle(); + hash = (37 * hash) + WAS_SUCCESSFUL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWasSuccessful()); + hash = (37 * hash) + WAS_CACHED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWasCached()); + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + hash = (37 * hash) + QUALITY_FIELD_NUMBER; + hash = (53 * hash) + getQuality(); + if (hasSourceTimestamp()) { + hash = (37 * hash) + SOURCE_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getSourceTimestamp().hashCode(); + } + if (getStatusesCount() > 0) { + hash = (37 * hash) + STATUSES_FIELD_NUMBER; + hash = (53 * hash) + getStatusesList().hashCode(); + } + hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrorMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.BulkReadResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Per-tag result for ReadBulk. `was_cached` is true when the value came from
+     * an existing live subscription's last OnDataChange (the worker did not touch
+     * the subscription); false when the worker took the AddItem + Advise + wait +
+     * UnAdvise + RemoveItem snapshot lifecycle itself.
+     *
+     * On `was_successful = true`, `value`, `quality`, `source_timestamp`, and
+     * `statuses` carry the read data (from the cached subscription or the snapshot
+     * lifecycle, depending on `was_cached`) and `error_message` is empty. On
+     * `was_successful = false`, only `server_handle`, `tag_address`, `item_handle`
+     * (when allocated), `was_cached`, and `error_message` are populated; `value`,
+     * `quality`, `source_timestamp`, and `statuses` are left at their proto3
+     * defaults (null / 0 / null / empty) and must not be read as data — they are
+     * wire-indistinguishable from "value is null with quality bad" data and serve
+     * only as absent markers. ReadBulk has no `hresult` field by design (its
+     * outcomes are timeout / cache / lifecycle states, not MXAccess COM return
+     * codes — see `docs/DesignDecisions.md` "Bulk Command Family"). Per-tag
+     * failures populate `error_message` and never raise — callers iterate and
+     * inspect each entry.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.BulkReadResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.BulkReadResult) + mxaccess_gateway.v1.MxaccessGateway.BulkReadResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.class, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetValueFieldBuilder(); + internalGetSourceTimestampFieldBuilder(); + internalGetStatusesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverHandle_ = 0; + tagAddress_ = ""; + itemHandle_ = 0; + wasSuccessful_ = false; + wasCached_ = false; + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + quality_ = 0; + sourceTimestamp_ = null; + if (sourceTimestampBuilder_ != null) { + sourceTimestampBuilder_.dispose(); + sourceTimestampBuilder_ = null; + } + if (statusesBuilder_ == null) { + statuses_ = java.util.Collections.emptyList(); + } else { + statuses_ = null; + statusesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000100); + errorMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadResult_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResult getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResult build() { + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResult buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult result = new mxaccess_gateway.v1.MxaccessGateway.BulkReadResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(mxaccess_gateway.v1.MxaccessGateway.BulkReadResult result) { + if (statusesBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0)) { + statuses_ = java.util.Collections.unmodifiableList(statuses_); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.statuses_ = statuses_; + } else { + result.statuses_ = statusesBuilder_.build(); + } + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.BulkReadResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverHandle_ = serverHandle_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tagAddress_ = tagAddress_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.itemHandle_ = itemHandle_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.wasSuccessful_ = wasSuccessful_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.wasCached_ = wasCached_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.quality_ = quality_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.sourceTimestamp_ = sourceTimestampBuilder_ == null + ? sourceTimestamp_ + : sourceTimestampBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.errorMessage_ = errorMessage_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.BulkReadResult) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.BulkReadResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.BulkReadResult other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.getDefaultInstance()) return this; + if (other.getServerHandle() != 0) { + setServerHandle(other.getServerHandle()); + } + if (!other.getTagAddress().isEmpty()) { + tagAddress_ = other.tagAddress_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getItemHandle() != 0) { + setItemHandle(other.getItemHandle()); + } + if (other.getWasSuccessful() != false) { + setWasSuccessful(other.getWasSuccessful()); + } + if (other.getWasCached() != false) { + setWasCached(other.getWasCached()); + } + if (other.hasValue()) { + mergeValue(other.getValue()); + } + if (other.getQuality() != 0) { + setQuality(other.getQuality()); + } + if (other.hasSourceTimestamp()) { + mergeSourceTimestamp(other.getSourceTimestamp()); + } + if (statusesBuilder_ == null) { + if (!other.statuses_.isEmpty()) { + if (statuses_.isEmpty()) { + statuses_ = other.statuses_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensureStatusesIsMutable(); + statuses_.addAll(other.statuses_); + } + onChanged(); + } + } else { + if (!other.statuses_.isEmpty()) { + if (statusesBuilder_.isEmpty()) { + statusesBuilder_.dispose(); + statusesBuilder_ = null; + statuses_ = other.statuses_; + bitField0_ = (bitField0_ & ~0x00000100); + statusesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetStatusesFieldBuilder() : null; + } else { + statusesBuilder_.addAllMessages(other.statuses_); + } + } + } + if (!other.getErrorMessage().isEmpty()) { + errorMessage_ = other.errorMessage_; + bitField0_ |= 0x00000200; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + serverHandle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + tagAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + itemHandle_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + wasSuccessful_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + wasCached_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + input.readMessage( + internalGetValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + quality_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + input.readMessage( + internalGetSourceTimestampFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy m = + input.readMessage( + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.parser(), + extensionRegistry); + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.add(m); + } else { + statusesBuilder_.addMessage(m); + } + break; + } // case 74 + case 82: { + errorMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int serverHandle_ ; + /** + * int32 server_handle = 1; + * @return The serverHandle. + */ + @java.lang.Override + public int getServerHandle() { + return serverHandle_; + } + /** + * int32 server_handle = 1; + * @param value The serverHandle to set. + * @return This builder for chaining. + */ + public Builder setServerHandle(int value) { + + serverHandle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 server_handle = 1; + * @return This builder for chaining. + */ + public Builder clearServerHandle() { + bitField0_ = (bitField0_ & ~0x00000001); + serverHandle_ = 0; + onChanged(); + return this; + } + + private java.lang.Object tagAddress_ = ""; + /** + * string tag_address = 2; + * @return The tagAddress. + */ + public java.lang.String getTagAddress() { + java.lang.Object ref = tagAddress_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tagAddress_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string tag_address = 2; + * @return The bytes for tagAddress. + */ + public com.google.protobuf.ByteString + getTagAddressBytes() { + java.lang.Object ref = tagAddress_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tagAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string tag_address = 2; + * @param value The tagAddress to set. + * @return This builder for chaining. + */ + public Builder setTagAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tagAddress_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string tag_address = 2; + * @return This builder for chaining. + */ + public Builder clearTagAddress() { + tagAddress_ = getDefaultInstance().getTagAddress(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string tag_address = 2; + * @param value The bytes for tagAddress to set. + * @return This builder for chaining. + */ + public Builder setTagAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tagAddress_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int itemHandle_ ; + /** + * int32 item_handle = 3; + * @return The itemHandle. + */ + @java.lang.Override + public int getItemHandle() { + return itemHandle_; + } + /** + * int32 item_handle = 3; + * @param value The itemHandle to set. + * @return This builder for chaining. + */ + public Builder setItemHandle(int value) { + + itemHandle_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 item_handle = 3; + * @return This builder for chaining. + */ + public Builder clearItemHandle() { + bitField0_ = (bitField0_ & ~0x00000004); + itemHandle_ = 0; + onChanged(); + return this; + } + + private boolean wasSuccessful_ ; + /** + * bool was_successful = 4; + * @return The wasSuccessful. + */ + @java.lang.Override + public boolean getWasSuccessful() { + return wasSuccessful_; + } + /** + * bool was_successful = 4; + * @param value The wasSuccessful to set. + * @return This builder for chaining. + */ + public Builder setWasSuccessful(boolean value) { + + wasSuccessful_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * bool was_successful = 4; + * @return This builder for chaining. + */ + public Builder clearWasSuccessful() { + bitField0_ = (bitField0_ & ~0x00000008); + wasSuccessful_ = false; + onChanged(); + return this; + } + + private boolean wasCached_ ; + /** + * bool was_cached = 5; + * @return The wasCached. + */ + @java.lang.Override + public boolean getWasCached() { + return wasCached_; + } + /** + * bool was_cached = 5; + * @param value The wasCached to set. + * @return This builder for chaining. + */ + public Builder setWasCached(boolean value) { + + wasCached_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * bool was_cached = 5; + * @return This builder for chaining. + */ + public Builder clearWasCached() { + bitField0_ = (bitField0_ & ~0x00000010); + wasCached_ = false; + onChanged(); + return this; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue value_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> valueBuilder_; + /** + * .mxaccess_gateway.v1.MxValue value = 6; + * @return Whether the value field is set. + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + * @return The value. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getValue() { + if (valueBuilder_ == null) { + return value_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } else { + return valueBuilder_.getMessage(); + } + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + */ + public Builder setValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + } else { + valueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + */ + public Builder setValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (valueBuilder_ == null) { + value_ = builderForValue.build(); + } else { + valueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + */ + public Builder mergeValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (valueBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + value_ != null && + value_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getValueBuilder().mergeFrom(value); + } else { + value_ = value; + } + } else { + valueBuilder_.mergeFrom(value); + } + if (value_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000020); + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getValueBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return internalGetValueFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getValueOrBuilder() { + if (valueBuilder_ != null) { + return valueBuilder_.getMessageOrBuilder(); + } else { + return value_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : value_; + } + } + /** + * .mxaccess_gateway.v1.MxValue value = 6; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetValueFieldBuilder() { + if (valueBuilder_ == null) { + valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); + value_ = null; + } + return valueBuilder_; + } + + private int quality_ ; + /** + * int32 quality = 7; + * @return The quality. + */ + @java.lang.Override + public int getQuality() { + return quality_; + } + /** + * int32 quality = 7; + * @param value The quality to set. + * @return This builder for chaining. + */ + public Builder setQuality(int value) { + + quality_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int32 quality = 7; + * @return This builder for chaining. + */ + public Builder clearQuality() { + bitField0_ = (bitField0_ & ~0x00000040); + quality_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp sourceTimestamp_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> sourceTimestampBuilder_; + /** + * .google.protobuf.Timestamp source_timestamp = 8; + * @return Whether the sourceTimestamp field is set. + */ + public boolean hasSourceTimestamp() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + * @return The sourceTimestamp. + */ + public com.google.protobuf.Timestamp getSourceTimestamp() { + if (sourceTimestampBuilder_ == null) { + return sourceTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : sourceTimestamp_; + } else { + return sourceTimestampBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + */ + public Builder setSourceTimestamp(com.google.protobuf.Timestamp value) { + if (sourceTimestampBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + sourceTimestamp_ = value; + } else { + sourceTimestampBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + */ + public Builder setSourceTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (sourceTimestampBuilder_ == null) { + sourceTimestamp_ = builderForValue.build(); + } else { + sourceTimestampBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + */ + public Builder mergeSourceTimestamp(com.google.protobuf.Timestamp value) { + if (sourceTimestampBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + sourceTimestamp_ != null && + sourceTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getSourceTimestampBuilder().mergeFrom(value); + } else { + sourceTimestamp_ = value; + } + } else { + sourceTimestampBuilder_.mergeFrom(value); + } + if (sourceTimestamp_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + */ + public Builder clearSourceTimestamp() { + bitField0_ = (bitField0_ & ~0x00000080); + sourceTimestamp_ = null; + if (sourceTimestampBuilder_ != null) { + sourceTimestampBuilder_.dispose(); + sourceTimestampBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + */ + public com.google.protobuf.Timestamp.Builder getSourceTimestampBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return internalGetSourceTimestampFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + */ + public com.google.protobuf.TimestampOrBuilder getSourceTimestampOrBuilder() { + if (sourceTimestampBuilder_ != null) { + return sourceTimestampBuilder_.getMessageOrBuilder(); + } else { + return sourceTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : sourceTimestamp_; + } + } + /** + * .google.protobuf.Timestamp source_timestamp = 8; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + internalGetSourceTimestampFieldBuilder() { + if (sourceTimestampBuilder_ == null) { + sourceTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getSourceTimestamp(), + getParentForChildren(), + isClean()); + sourceTimestamp_ = null; + } + return sourceTimestampBuilder_; + } + + private java.util.List statuses_ = + java.util.Collections.emptyList(); + private void ensureStatusesIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + statuses_ = new java.util.ArrayList(statuses_); + bitField0_ |= 0x00000100; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder> statusesBuilder_; + + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public java.util.List getStatusesList() { + if (statusesBuilder_ == null) { + return java.util.Collections.unmodifiableList(statuses_); + } else { + return statusesBuilder_.getMessageList(); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public int getStatusesCount() { + if (statusesBuilder_ == null) { + return statuses_.size(); + } else { + return statusesBuilder_.getCount(); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy getStatuses(int index) { + if (statusesBuilder_ == null) { + return statuses_.get(index); + } else { + return statusesBuilder_.getMessage(index); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public Builder setStatuses( + int index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy value) { + if (statusesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStatusesIsMutable(); + statuses_.set(index, value); + onChanged(); + } else { + statusesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public Builder setStatuses( + int index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder builderForValue) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.set(index, builderForValue.build()); + onChanged(); + } else { + statusesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public Builder addStatuses(mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy value) { + if (statusesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStatusesIsMutable(); + statuses_.add(value); + onChanged(); + } else { + statusesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public Builder addStatuses( + int index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy value) { + if (statusesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStatusesIsMutable(); + statuses_.add(index, value); + onChanged(); + } else { + statusesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public Builder addStatuses( + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder builderForValue) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.add(builderForValue.build()); + onChanged(); + } else { + statusesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public Builder addStatuses( + int index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder builderForValue) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.add(index, builderForValue.build()); + onChanged(); + } else { + statusesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public Builder addAllStatuses( + java.lang.Iterable values) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statuses_); + onChanged(); + } else { + statusesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public Builder clearStatuses() { + if (statusesBuilder_ == null) { + statuses_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + } else { + statusesBuilder_.clear(); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public Builder removeStatuses(int index) { + if (statusesBuilder_ == null) { + ensureStatusesIsMutable(); + statuses_.remove(index); + onChanged(); + } else { + statusesBuilder_.remove(index); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder getStatusesBuilder( + int index) { + return internalGetStatusesFieldBuilder().getBuilder(index); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder getStatusesOrBuilder( + int index) { + if (statusesBuilder_ == null) { + return statuses_.get(index); } else { + return statusesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public java.util.List + getStatusesOrBuilderList() { + if (statusesBuilder_ != null) { + return statusesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(statuses_); + } + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder addStatusesBuilder() { + return internalGetStatusesFieldBuilder().addBuilder( + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder addStatusesBuilder( + int index) { + return internalGetStatusesFieldBuilder().addBuilder( + index, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.MxStatusProxy statuses = 9; + */ + public java.util.List + getStatusesBuilderList() { + return internalGetStatusesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder> + internalGetStatusesFieldBuilder() { + if (statusesBuilder_ == null) { + statusesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder>( + statuses_, + ((bitField0_ & 0x00000100) != 0), + getParentForChildren(), + isClean()); + statuses_ = null; + } + return statusesBuilder_; + } + + private java.lang.Object errorMessage_ = ""; + /** + * string error_message = 10; + * @return The errorMessage. + */ + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string error_message = 10; + * @return The bytes for errorMessage. + */ + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string error_message = 10; + * @param value The errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + errorMessage_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * string error_message = 10; + * @return This builder for chaining. + */ + public Builder clearErrorMessage() { + errorMessage_ = getDefaultInstance().getErrorMessage(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * string error_message = 10; + * @param value The bytes for errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + errorMessage_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.BulkReadResult) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.BulkReadResult) + private static final mxaccess_gateway.v1.MxaccessGateway.BulkReadResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.BulkReadResult(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BulkReadResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BulkReadReplyOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.BulkReadReply) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + java.util.List + getResultsList(); + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult getResults(int index); + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + int getResultsCount(); + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + java.util.List + getResultsOrBuilderList(); + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + mxaccess_gateway.v1.MxaccessGateway.BulkReadResultOrBuilder getResultsOrBuilder( + int index); + } + /** + * Protobuf type {@code mxaccess_gateway.v1.BulkReadReply} + */ + public static final class BulkReadReply extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.BulkReadReply) + BulkReadReplyOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "BulkReadReply"); + } + // Use BulkReadReply.newBuilder() to construct. + private BulkReadReply(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private BulkReadReply() { + results_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.class, mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.Builder.class); + } + + public static final int RESULTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List results_; + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + @java.lang.Override + public java.util.List getResultsList() { + return results_; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + @java.lang.Override + public java.util.List + getResultsOrBuilderList() { + return results_; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + @java.lang.Override + public int getResultsCount() { + return results_.size(); + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResult getResults(int index) { + return results_.get(index); + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResultOrBuilder getResultsOrBuilder( + int index) { + return results_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < results_.size(); i++) { + output.writeMessage(1, results_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < results_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.BulkReadReply)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply other = (mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) obj; + + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getResultsCount() > 0) { + hash = (37 * hash) + RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getResultsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.BulkReadReply prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code mxaccess_gateway.v1.BulkReadReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.BulkReadReply) + mxaccess_gateway.v1.MxaccessGateway.BulkReadReplyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.class, mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (resultsBuilder_ == null) { + results_ = java.util.Collections.emptyList(); + } else { + results_ = null; + resultsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_BulkReadReply_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadReply getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadReply build() { + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadReply buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.BulkReadReply result = new mxaccess_gateway.v1.MxaccessGateway.BulkReadReply(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(mxaccess_gateway.v1.MxaccessGateway.BulkReadReply result) { + if (resultsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + results_ = java.util.Collections.unmodifiableList(results_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.results_ = results_; + } else { + result.results_ = resultsBuilder_.build(); + } + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.BulkReadReply result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.BulkReadReply) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.BulkReadReply)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.BulkReadReply other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.BulkReadReply.getDefaultInstance()) return this; + if (resultsBuilder_ == null) { + if (!other.results_.isEmpty()) { + if (results_.isEmpty()) { + results_ = other.results_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureResultsIsMutable(); + results_.addAll(other.results_); + } + onChanged(); + } + } else { + if (!other.results_.isEmpty()) { + if (resultsBuilder_.isEmpty()) { + resultsBuilder_.dispose(); + resultsBuilder_ = null; + results_ = other.results_; + bitField0_ = (bitField0_ & ~0x00000001); + resultsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetResultsFieldBuilder() : null; + } else { + resultsBuilder_.addAllMessages(other.results_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult m = + input.readMessage( + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.parser(), + extensionRegistry); + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(m); + } else { + resultsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List results_ = + java.util.Collections.emptyList(); + private void ensureResultsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + results_ = new java.util.ArrayList(results_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkReadResultOrBuilder> resultsBuilder_; + + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public java.util.List getResultsList() { + if (resultsBuilder_ == null) { + return java.util.Collections.unmodifiableList(results_); + } else { + return resultsBuilder_.getMessageList(); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public int getResultsCount() { + if (resultsBuilder_ == null) { + return results_.size(); + } else { + return resultsBuilder_.getCount(); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResult getResults(int index) { + if (resultsBuilder_ == null) { + return results_.get(index); + } else { + return resultsBuilder_.getMessage(index); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public Builder setResults( + int index, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult value) { + if (resultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResultsIsMutable(); + results_.set(index, value); + onChanged(); + } else { + resultsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public Builder setResults( + int index, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder builderForValue) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.set(index, builderForValue.build()); + onChanged(); + } else { + resultsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public Builder addResults(mxaccess_gateway.v1.MxaccessGateway.BulkReadResult value) { + if (resultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResultsIsMutable(); + results_.add(value); + onChanged(); + } else { + resultsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public Builder addResults( + int index, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult value) { + if (resultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureResultsIsMutable(); + results_.add(index, value); + onChanged(); + } else { + resultsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public Builder addResults( + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder builderForValue) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(builderForValue.build()); + onChanged(); + } else { + resultsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public Builder addResults( + int index, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder builderForValue) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.add(index, builderForValue.build()); + onChanged(); + } else { + resultsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public Builder addAllResults( + java.lang.Iterable values) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, results_); + onChanged(); + } else { + resultsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public Builder clearResults() { + if (resultsBuilder_ == null) { + results_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + resultsBuilder_.clear(); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public Builder removeResults(int index) { + if (resultsBuilder_ == null) { + ensureResultsIsMutable(); + results_.remove(index); + onChanged(); + } else { + resultsBuilder_.remove(index); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder getResultsBuilder( + int index) { + return internalGetResultsFieldBuilder().getBuilder(index); + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResultOrBuilder getResultsOrBuilder( + int index) { + if (resultsBuilder_ == null) { + return results_.get(index); } else { + return resultsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public java.util.List + getResultsOrBuilderList() { + if (resultsBuilder_ != null) { + return resultsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(results_); + } + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder addResultsBuilder() { + return internalGetResultsFieldBuilder().addBuilder( + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder addResultsBuilder( + int index) { + return internalGetResultsFieldBuilder().addBuilder( + index, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.BulkReadResult results = 1; + */ + public java.util.List + getResultsBuilderList() { + return internalGetResultsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkReadResultOrBuilder> + internalGetResultsFieldBuilder() { + if (resultsBuilder_ == null) { + resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.BulkReadResult, mxaccess_gateway.v1.MxaccessGateway.BulkReadResult.Builder, mxaccess_gateway.v1.MxaccessGateway.BulkReadResultOrBuilder>( + results_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + results_ = null; + } + return resultsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.BulkReadReply) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.BulkReadReply) + private static final mxaccess_gateway.v1.MxaccessGateway.BulkReadReply DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.BulkReadReply(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.BulkReadReply getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BulkReadReply parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.BulkReadReply getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface SessionStateReplyOrBuilder extends // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.SessionStateReply) com.google.protobuf.MessageOrBuilder { @@ -44942,6 +66716,1220 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } + public interface AcknowledgeAlarmReplyPayloadOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 native_status = 1; + * @return The nativeStatus. + */ + int getNativeStatus(); + } + /** + *
+   * Reply payload for AcknowledgeAlarmCommand AND
+   * AcknowledgeAlarmByNameCommand — both ack command kinds reuse this
+   * payload case (`MxCommandReply.acknowledge_alarm`); there is no
+   * dedicated by-name reply case. Surfaces AVEVA's native ack return
+   * code (AlarmAckByGUID for the GUID arm, AlarmAckByName for the
+   * by-name arm); 0 means success. The MxCommandReply's hresult field
+   * carries the same value and is preferred for protocol consumers —
+   * this payload exists so the gateway-side WorkerAlarmRpcDispatcher
+   * can echo native_status into AcknowledgeAlarmReply.hresult without
+   * unpacking the outer envelope.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload} + */ + public static final class AcknowledgeAlarmReplyPayload extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload) + AcknowledgeAlarmReplyPayloadOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "AcknowledgeAlarmReplyPayload"); + } + // Use AcknowledgeAlarmReplyPayload.newBuilder() to construct. + private AcknowledgeAlarmReplyPayload(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private AcknowledgeAlarmReplyPayload() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.Builder.class); + } + + public static final int NATIVE_STATUS_FIELD_NUMBER = 1; + private int nativeStatus_ = 0; + /** + * int32 native_status = 1; + * @return The nativeStatus. + */ + @java.lang.Override + public int getNativeStatus() { + return nativeStatus_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (nativeStatus_ != 0) { + output.writeInt32(1, nativeStatus_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (nativeStatus_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, nativeStatus_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload other = (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) obj; + + if (getNativeStatus() + != other.getNativeStatus()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NATIVE_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getNativeStatus(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Reply payload for AcknowledgeAlarmCommand AND
+     * AcknowledgeAlarmByNameCommand — both ack command kinds reuse this
+     * payload case (`MxCommandReply.acknowledge_alarm`); there is no
+     * dedicated by-name reply case. Surfaces AVEVA's native ack return
+     * code (AlarmAckByGUID for the GUID arm, AlarmAckByName for the
+     * by-name arm); 0 means success. The MxCommandReply's hresult field
+     * carries the same value and is preferred for protocol consumers —
+     * this payload exists so the gateway-side WorkerAlarmRpcDispatcher
+     * can echo native_status into AcknowledgeAlarmReply.hresult without
+     * unpacking the outer envelope.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload) + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayloadOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + nativeStatus_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload build() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload result = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.nativeStatus_ = nativeStatus_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload.getDefaultInstance()) return this; + if (other.getNativeStatus() != 0) { + setNativeStatus(other.getNativeStatus()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + nativeStatus_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int nativeStatus_ ; + /** + * int32 native_status = 1; + * @return The nativeStatus. + */ + @java.lang.Override + public int getNativeStatus() { + return nativeStatus_; + } + /** + * int32 native_status = 1; + * @param value The nativeStatus to set. + * @return This builder for chaining. + */ + public Builder setNativeStatus(int value) { + + nativeStatus_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 native_status = 1; + * @return This builder for chaining. + */ + public Builder clearNativeStatus() { + bitField0_ = (bitField0_ & ~0x00000001); + nativeStatus_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.AcknowledgeAlarmReplyPayload) + private static final mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeAlarmReplyPayload parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyPayload getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface QueryActiveAlarmsReplyPayloadOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + java.util.List + getSnapshotsList(); + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot getSnapshots(int index); + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + int getSnapshotsCount(); + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + java.util.List + getSnapshotsOrBuilderList(); + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder getSnapshotsOrBuilder( + int index); + } + /** + *
+   * Reply payload for QueryActiveAlarmsCommand. The worker walks
+   * IMxAccessAlarmConsumer.SnapshotActiveAlarms and packs each record as
+   * an ActiveAlarmSnapshot proto for the gateway-side ConditionRefresh
+   * stream.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload} + */ + public static final class QueryActiveAlarmsReplyPayload extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload) + QueryActiveAlarmsReplyPayloadOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "QueryActiveAlarmsReplyPayload"); + } + // Use QueryActiveAlarmsReplyPayload.newBuilder() to construct. + private QueryActiveAlarmsReplyPayload(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private QueryActiveAlarmsReplyPayload() { + snapshots_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.class, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.Builder.class); + } + + public static final int SNAPSHOTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List snapshots_; + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + @java.lang.Override + public java.util.List getSnapshotsList() { + return snapshots_; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + @java.lang.Override + public java.util.List + getSnapshotsOrBuilderList() { + return snapshots_; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + @java.lang.Override + public int getSnapshotsCount() { + return snapshots_.size(); + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot getSnapshots(int index) { + return snapshots_.get(index); + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder getSnapshotsOrBuilder( + int index) { + return snapshots_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < snapshots_.size(); i++) { + output.writeMessage(1, snapshots_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < snapshots_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, snapshots_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload other = (mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) obj; + + if (!getSnapshotsList() + .equals(other.getSnapshotsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSnapshotsCount() > 0) { + hash = (37 * hash) + SNAPSHOTS_FIELD_NUMBER; + hash = (53 * hash) + getSnapshotsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Reply payload for QueryActiveAlarmsCommand. The worker walks
+     * IMxAccessAlarmConsumer.SnapshotActiveAlarms and packs each record as
+     * an ActiveAlarmSnapshot proto for the gateway-side ConditionRefresh
+     * stream.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload) + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayloadOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.class, mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (snapshotsBuilder_ == null) { + snapshots_ = java.util.Collections.emptyList(); + } else { + snapshots_ = null; + snapshotsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload build() { + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload result = new mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload result) { + if (snapshotsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + snapshots_ = java.util.Collections.unmodifiableList(snapshots_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.snapshots_ = snapshots_; + } else { + result.snapshots_ = snapshotsBuilder_.build(); + } + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload.getDefaultInstance()) return this; + if (snapshotsBuilder_ == null) { + if (!other.snapshots_.isEmpty()) { + if (snapshots_.isEmpty()) { + snapshots_ = other.snapshots_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSnapshotsIsMutable(); + snapshots_.addAll(other.snapshots_); + } + onChanged(); + } + } else { + if (!other.snapshots_.isEmpty()) { + if (snapshotsBuilder_.isEmpty()) { + snapshotsBuilder_.dispose(); + snapshotsBuilder_ = null; + snapshots_ = other.snapshots_; + bitField0_ = (bitField0_ & ~0x00000001); + snapshotsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetSnapshotsFieldBuilder() : null; + } else { + snapshotsBuilder_.addAllMessages(other.snapshots_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot m = + input.readMessage( + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.parser(), + extensionRegistry); + if (snapshotsBuilder_ == null) { + ensureSnapshotsIsMutable(); + snapshots_.add(m); + } else { + snapshotsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List snapshots_ = + java.util.Collections.emptyList(); + private void ensureSnapshotsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + snapshots_ = new java.util.ArrayList(snapshots_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder> snapshotsBuilder_; + + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public java.util.List getSnapshotsList() { + if (snapshotsBuilder_ == null) { + return java.util.Collections.unmodifiableList(snapshots_); + } else { + return snapshotsBuilder_.getMessageList(); + } + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public int getSnapshotsCount() { + if (snapshotsBuilder_ == null) { + return snapshots_.size(); + } else { + return snapshotsBuilder_.getCount(); + } + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot getSnapshots(int index) { + if (snapshotsBuilder_ == null) { + return snapshots_.get(index); + } else { + return snapshotsBuilder_.getMessage(index); + } + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public Builder setSnapshots( + int index, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot value) { + if (snapshotsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSnapshotsIsMutable(); + snapshots_.set(index, value); + onChanged(); + } else { + snapshotsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public Builder setSnapshots( + int index, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder builderForValue) { + if (snapshotsBuilder_ == null) { + ensureSnapshotsIsMutable(); + snapshots_.set(index, builderForValue.build()); + onChanged(); + } else { + snapshotsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public Builder addSnapshots(mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot value) { + if (snapshotsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSnapshotsIsMutable(); + snapshots_.add(value); + onChanged(); + } else { + snapshotsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public Builder addSnapshots( + int index, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot value) { + if (snapshotsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSnapshotsIsMutable(); + snapshots_.add(index, value); + onChanged(); + } else { + snapshotsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public Builder addSnapshots( + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder builderForValue) { + if (snapshotsBuilder_ == null) { + ensureSnapshotsIsMutable(); + snapshots_.add(builderForValue.build()); + onChanged(); + } else { + snapshotsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public Builder addSnapshots( + int index, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder builderForValue) { + if (snapshotsBuilder_ == null) { + ensureSnapshotsIsMutable(); + snapshots_.add(index, builderForValue.build()); + onChanged(); + } else { + snapshotsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public Builder addAllSnapshots( + java.lang.Iterable values) { + if (snapshotsBuilder_ == null) { + ensureSnapshotsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, snapshots_); + onChanged(); + } else { + snapshotsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public Builder clearSnapshots() { + if (snapshotsBuilder_ == null) { + snapshots_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + snapshotsBuilder_.clear(); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public Builder removeSnapshots(int index) { + if (snapshotsBuilder_ == null) { + ensureSnapshotsIsMutable(); + snapshots_.remove(index); + onChanged(); + } else { + snapshotsBuilder_.remove(index); + } + return this; + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder getSnapshotsBuilder( + int index) { + return internalGetSnapshotsFieldBuilder().getBuilder(index); + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder getSnapshotsOrBuilder( + int index) { + if (snapshotsBuilder_ == null) { + return snapshots_.get(index); } else { + return snapshotsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public java.util.List + getSnapshotsOrBuilderList() { + if (snapshotsBuilder_ != null) { + return snapshotsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(snapshots_); + } + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder addSnapshotsBuilder() { + return internalGetSnapshotsFieldBuilder().addBuilder( + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder addSnapshotsBuilder( + int index) { + return internalGetSnapshotsFieldBuilder().addBuilder( + index, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance()); + } + /** + * repeated .mxaccess_gateway.v1.ActiveAlarmSnapshot snapshots = 1; + */ + public java.util.List + getSnapshotsBuilderList() { + return internalGetSnapshotsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder> + internalGetSnapshotsFieldBuilder() { + if (snapshotsBuilder_ == null) { + snapshotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder>( + snapshots_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + snapshots_ = null; + } + return snapshotsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.QueryActiveAlarmsReplyPayload) + private static final mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryActiveAlarmsReplyPayload parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.QueryActiveAlarmsReplyPayload getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface MxEventOrBuilder extends // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.MxEvent) com.google.protobuf.MessageOrBuilder { @@ -45160,6 +68148,21 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { */ mxaccess_gateway.v1.MxaccessGateway.OnBufferedDataChangeEventOrBuilder getOnBufferedDataChangeOrBuilder(); + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + * @return Whether the onAlarmTransition field is set. + */ + boolean hasOnAlarmTransition(); + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + * @return The onAlarmTransition. + */ + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent getOnAlarmTransition(); + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + */ + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder getOnAlarmTransitionOrBuilder(); + mxaccess_gateway.v1.MxaccessGateway.MxEvent.BodyCase getBodyCase(); } /** @@ -45214,6 +68217,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { ON_WRITE_COMPLETE(21), OPERATION_COMPLETE(22), ON_BUFFERED_DATA_CHANGE(23), + ON_ALARM_TRANSITION(24), BODY_NOT_SET(0); private final int value; private BodyCase(int value) { @@ -45235,6 +68239,7 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { case 21: return ON_WRITE_COMPLETE; case 22: return OPERATION_COMPLETE; case 23: return ON_BUFFERED_DATA_CHANGE; + case 24: return ON_ALARM_TRANSITION; case 0: return BODY_NOT_SET; default: return null; } @@ -45678,6 +68683,37 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { return mxaccess_gateway.v1.MxaccessGateway.OnBufferedDataChangeEvent.getDefaultInstance(); } + public static final int ON_ALARM_TRANSITION_FIELD_NUMBER = 24; + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + * @return Whether the onAlarmTransition field is set. + */ + @java.lang.Override + public boolean hasOnAlarmTransition() { + return bodyCase_ == 24; + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + * @return The onAlarmTransition. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent getOnAlarmTransition() { + if (bodyCase_ == 24) { + return (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) body_; + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder getOnAlarmTransitionOrBuilder() { + if (bodyCase_ == 24) { + return (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) body_; + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -45743,6 +68779,9 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { if (bodyCase_ == 23) { output.writeMessage(23, (mxaccess_gateway.v1.MxaccessGateway.OnBufferedDataChangeEvent) body_); } + if (bodyCase_ == 24) { + output.writeMessage(24, (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) body_); + } getUnknownFields().writeTo(output); } @@ -45818,6 +68857,10 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, (mxaccess_gateway.v1.MxaccessGateway.OnBufferedDataChangeEvent) body_); } + if (bodyCase_ == 24) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) body_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -45891,6 +68934,10 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { if (!getOnBufferedDataChange() .equals(other.getOnBufferedDataChange())) return false; break; + case 24: + if (!getOnAlarmTransition() + .equals(other.getOnAlarmTransition())) return false; + break; case 0: default: } @@ -45961,6 +69008,10 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { hash = (37 * hash) + ON_BUFFERED_DATA_CHANGE_FIELD_NUMBER; hash = (53 * hash) + getOnBufferedDataChange().hashCode(); break; + case 24: + hash = (37 * hash) + ON_ALARM_TRANSITION_FIELD_NUMBER; + hash = (53 * hash) + getOnAlarmTransition().hashCode(); + break; case 0: default: } @@ -46152,6 +69203,9 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { if (onBufferedDataChangeBuilder_ != null) { onBufferedDataChangeBuilder_.clear(); } + if (onAlarmTransitionBuilder_ != null) { + onAlarmTransitionBuilder_.clear(); + } bodyCase_ = 0; body_ = null; return this; @@ -46273,6 +69327,10 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { onBufferedDataChangeBuilder_ != null) { result.body_ = onBufferedDataChangeBuilder_.build(); } + if (bodyCase_ == 24 && + onAlarmTransitionBuilder_ != null) { + result.body_ = onAlarmTransitionBuilder_.build(); + } } @java.lang.Override @@ -46370,6 +69428,10 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { mergeOnBufferedDataChange(other.getOnBufferedDataChange()); break; } + case ON_ALARM_TRANSITION: { + mergeOnAlarmTransition(other.getOnAlarmTransition()); + break; + } case BODY_NOT_SET: { break; } @@ -46509,6 +69571,13 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { bodyCase_ = 23; break; } // case 186 + case 194: { + input.readMessage( + internalGetOnAlarmTransitionFieldBuilder().getBuilder(), + extensionRegistry); + bodyCase_ = 24; + break; + } // case 194 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -48196,6 +71265,148 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { return onBufferedDataChangeBuilder_; } + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder> onAlarmTransitionBuilder_; + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + * @return Whether the onAlarmTransition field is set. + */ + @java.lang.Override + public boolean hasOnAlarmTransition() { + return bodyCase_ == 24; + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + * @return The onAlarmTransition. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent getOnAlarmTransition() { + if (onAlarmTransitionBuilder_ == null) { + if (bodyCase_ == 24) { + return (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) body_; + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } else { + if (bodyCase_ == 24) { + return onAlarmTransitionBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + */ + public Builder setOnAlarmTransition(mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent value) { + if (onAlarmTransitionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + body_ = value; + onChanged(); + } else { + onAlarmTransitionBuilder_.setMessage(value); + } + bodyCase_ = 24; + return this; + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + */ + public Builder setOnAlarmTransition( + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder builderForValue) { + if (onAlarmTransitionBuilder_ == null) { + body_ = builderForValue.build(); + onChanged(); + } else { + onAlarmTransitionBuilder_.setMessage(builderForValue.build()); + } + bodyCase_ = 24; + return this; + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + */ + public Builder mergeOnAlarmTransition(mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent value) { + if (onAlarmTransitionBuilder_ == null) { + if (bodyCase_ == 24 && + body_ != mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance()) { + body_ = mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.newBuilder((mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) body_) + .mergeFrom(value).buildPartial(); + } else { + body_ = value; + } + onChanged(); + } else { + if (bodyCase_ == 24) { + onAlarmTransitionBuilder_.mergeFrom(value); + } else { + onAlarmTransitionBuilder_.setMessage(value); + } + } + bodyCase_ = 24; + return this; + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + */ + public Builder clearOnAlarmTransition() { + if (onAlarmTransitionBuilder_ == null) { + if (bodyCase_ == 24) { + bodyCase_ = 0; + body_ = null; + onChanged(); + } + } else { + if (bodyCase_ == 24) { + bodyCase_ = 0; + body_ = null; + } + onAlarmTransitionBuilder_.clear(); + } + return this; + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + */ + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder getOnAlarmTransitionBuilder() { + return internalGetOnAlarmTransitionFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder getOnAlarmTransitionOrBuilder() { + if ((bodyCase_ == 24) && (onAlarmTransitionBuilder_ != null)) { + return onAlarmTransitionBuilder_.getMessageOrBuilder(); + } else { + if (bodyCase_ == 24) { + return (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) body_; + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + } + /** + * .mxaccess_gateway.v1.OnAlarmTransitionEvent on_alarm_transition = 24; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder> + internalGetOnAlarmTransitionFieldBuilder() { + if (onAlarmTransitionBuilder_ == null) { + if (!(bodyCase_ == 24)) { + body_ = mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + onAlarmTransitionBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) body_, + getParentForChildren(), + isClean()); + body_ = null; + } + bodyCase_ = 24; + onChanged(); + return onAlarmTransitionBuilder_; + } + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.MxEvent) } @@ -50257,11 +73468,9960 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } + public interface OnAlarmTransitionEventOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.OnAlarmTransitionEvent) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi"). Stable across
+     * transitions of the same condition; used by the lmxopcua side to correlate
+     * raise/ack/clear into a single Part 9 condition.
+     * 
+ * + * string alarm_full_reference = 1; + * @return The alarmFullReference. + */ + java.lang.String getAlarmFullReference(); + /** + *
+     * Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi"). Stable across
+     * transitions of the same condition; used by the lmxopcua side to correlate
+     * raise/ack/clear into a single Part 9 condition.
+     * 
+ * + * string alarm_full_reference = 1; + * @return The bytes for alarmFullReference. + */ + com.google.protobuf.ByteString + getAlarmFullReferenceBytes(); + + /** + *
+     * Galaxy-side source object reference (e.g. "Tank01"). Empty for alarms
+     * that do not bind to a Galaxy object.
+     * 
+ * + * string source_object_reference = 2; + * @return The sourceObjectReference. + */ + java.lang.String getSourceObjectReference(); + /** + *
+     * Galaxy-side source object reference (e.g. "Tank01"). Empty for alarms
+     * that do not bind to a Galaxy object.
+     * 
+ * + * string source_object_reference = 2; + * @return The bytes for sourceObjectReference. + */ + com.google.protobuf.ByteString + getSourceObjectReferenceBytes(); + + /** + *
+     * MxAccess alarm-type qualifier (e.g. "AnalogLimitAlarm.HiHi", "DiscAlarm").
+     * 
+ * + * string alarm_type_name = 3; + * @return The alarmTypeName. + */ + java.lang.String getAlarmTypeName(); + /** + *
+     * MxAccess alarm-type qualifier (e.g. "AnalogLimitAlarm.HiHi", "DiscAlarm").
+     * 
+ * + * string alarm_type_name = 3; + * @return The bytes for alarmTypeName. + */ + com.google.protobuf.ByteString + getAlarmTypeNameBytes(); + + /** + *
+     * What kind of state change this event represents.
+     * 
+ * + * .mxaccess_gateway.v1.AlarmTransitionKind transition_kind = 4; + * @return The enum numeric value on the wire for transitionKind. + */ + int getTransitionKindValue(); + /** + *
+     * What kind of state change this event represents.
+     * 
+ * + * .mxaccess_gateway.v1.AlarmTransitionKind transition_kind = 4; + * @return The transitionKind. + */ + mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind getTransitionKind(); + + /** + *
+     * Raw MXAccess severity value. Mapping to OPC UA 0-1000 happens server-side
+     * in lmxopcua via MxAccessSeverityMapper; the gateway preserves the native
+     * MXAccess scale.
+     * 
+ * + * int32 severity = 5; + * @return The severity. + */ + int getSeverity(); + + /** + *
+     * When the alarm originally entered the active state. Preserved across
+     * acknowledge transitions so the Part 9 condition keeps the original raise
+     * time. Unset on retrigger from a previously-cleared condition.
+     * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + * @return Whether the originalRaiseTimestamp field is set. + */ + boolean hasOriginalRaiseTimestamp(); + /** + *
+     * When the alarm originally entered the active state. Preserved across
+     * acknowledge transitions so the Part 9 condition keeps the original raise
+     * time. Unset on retrigger from a previously-cleared condition.
+     * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + * @return The originalRaiseTimestamp. + */ + com.google.protobuf.Timestamp getOriginalRaiseTimestamp(); + /** + *
+     * When the alarm originally entered the active state. Preserved across
+     * acknowledge transitions so the Part 9 condition keeps the original raise
+     * time. Unset on retrigger from a previously-cleared condition.
+     * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + */ + com.google.protobuf.TimestampOrBuilder getOriginalRaiseTimestampOrBuilder(); + + /** + *
+     * When this specific transition occurred (raise time on Raise, ack time on
+     * Acknowledge, clear time on Clear).
+     * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + * @return Whether the transitionTimestamp field is set. + */ + boolean hasTransitionTimestamp(); + /** + *
+     * When this specific transition occurred (raise time on Raise, ack time on
+     * Acknowledge, clear time on Clear).
+     * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + * @return The transitionTimestamp. + */ + com.google.protobuf.Timestamp getTransitionTimestamp(); + /** + *
+     * When this specific transition occurred (raise time on Raise, ack time on
+     * Acknowledge, clear time on Clear).
+     * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + */ + com.google.protobuf.TimestampOrBuilder getTransitionTimestampOrBuilder(); + + /** + *
+     * Operator principal recorded by MXAccess on Acknowledge transitions.
+     * Empty on raise / clear.
+     * 
+ * + * string operator_user = 8; + * @return The operatorUser. + */ + java.lang.String getOperatorUser(); + /** + *
+     * Operator principal recorded by MXAccess on Acknowledge transitions.
+     * Empty on raise / clear.
+     * 
+ * + * string operator_user = 8; + * @return The bytes for operatorUser. + */ + com.google.protobuf.ByteString + getOperatorUserBytes(); + + /** + *
+     * Operator-supplied comment recorded by MXAccess on Acknowledge transitions.
+     * Empty on raise / clear or when no comment was supplied.
+     * 
+ * + * string operator_comment = 9; + * @return The operatorComment. + */ + java.lang.String getOperatorComment(); + /** + *
+     * Operator-supplied comment recorded by MXAccess on Acknowledge transitions.
+     * Empty on raise / clear or when no comment was supplied.
+     * 
+ * + * string operator_comment = 9; + * @return The bytes for operatorComment. + */ + com.google.protobuf.ByteString + getOperatorCommentBytes(); + + /** + *
+     * MxAccess alarm category (taxonomy bucket configured in the Galaxy
+     * template, e.g. "Process", "Safety", "Diagnostics").
+     * 
+ * + * string category = 10; + * @return The category. + */ + java.lang.String getCategory(); + /** + *
+     * MxAccess alarm category (taxonomy bucket configured in the Galaxy
+     * template, e.g. "Process", "Safety", "Diagnostics").
+     * 
+ * + * string category = 10; + * @return The bytes for category. + */ + com.google.protobuf.ByteString + getCategoryBytes(); + + /** + *
+     * Human-readable alarm description from the MxAccess alarm definition.
+     * 
+ * + * string description = 11; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+     * Human-readable alarm description from the MxAccess alarm definition.
+     * 
+ * + * string description = 11; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + *
+     * Current alarm value (the value of the source attribute at the moment of
+     * transition). Optional; populated when MxAccess surfaces it.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return Whether the currentValue field is set. + */ + boolean hasCurrentValue(); + /** + *
+     * Current alarm value (the value of the source attribute at the moment of
+     * transition). Optional; populated when MxAccess surfaces it.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return The currentValue. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getCurrentValue(); + /** + *
+     * Current alarm value (the value of the source attribute at the moment of
+     * transition). Optional; populated when MxAccess surfaces it.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getCurrentValueOrBuilder(); + + /** + *
+     * Limit/threshold value that triggered the transition for limit alarms.
+     * Optional; populated for AnalogLimitAlarm-family transitions.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return Whether the limitValue field is set. + */ + boolean hasLimitValue(); + /** + *
+     * Limit/threshold value that triggered the transition for limit alarms.
+     * Optional; populated for AnalogLimitAlarm-family transitions.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return The limitValue. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getLimitValue(); + /** + *
+     * Limit/threshold value that triggered the transition for limit alarms.
+     * Optional; populated for AnalogLimitAlarm-family transitions.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getLimitValueOrBuilder(); + } + /** + *
+   * Carries a single MXAccess alarm transition (raise / acknowledge / clear /
+   * re-trigger) in native MXAccess terms. The Part 9 state machine + ACL +
+   * multi-source aggregation lives in lmxopcua's AlarmConditionService; the
+   * gateway is UA-agnostic and forwards the raw payload.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.OnAlarmTransitionEvent} + */ + public static final class OnAlarmTransitionEvent extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.OnAlarmTransitionEvent) + OnAlarmTransitionEventOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "OnAlarmTransitionEvent"); + } + // Use OnAlarmTransitionEvent.newBuilder() to construct. + private OnAlarmTransitionEvent(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private OnAlarmTransitionEvent() { + alarmFullReference_ = ""; + sourceObjectReference_ = ""; + alarmTypeName_ = ""; + transitionKind_ = 0; + operatorUser_ = ""; + operatorComment_ = ""; + category_ = ""; + description_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.class, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder.class); + } + + private int bitField0_; + public static final int ALARM_FULL_REFERENCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmFullReference_ = ""; + /** + *
+     * Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi"). Stable across
+     * transitions of the same condition; used by the lmxopcua side to correlate
+     * raise/ack/clear into a single Part 9 condition.
+     * 
+ * + * string alarm_full_reference = 1; + * @return The alarmFullReference. + */ + @java.lang.Override + public java.lang.String getAlarmFullReference() { + java.lang.Object ref = alarmFullReference_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFullReference_ = s; + return s; + } + } + /** + *
+     * Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi"). Stable across
+     * transitions of the same condition; used by the lmxopcua side to correlate
+     * raise/ack/clear into a single Part 9 condition.
+     * 
+ * + * string alarm_full_reference = 1; + * @return The bytes for alarmFullReference. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmFullReferenceBytes() { + java.lang.Object ref = alarmFullReference_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFullReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_OBJECT_REFERENCE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object sourceObjectReference_ = ""; + /** + *
+     * Galaxy-side source object reference (e.g. "Tank01"). Empty for alarms
+     * that do not bind to a Galaxy object.
+     * 
+ * + * string source_object_reference = 2; + * @return The sourceObjectReference. + */ + @java.lang.Override + public java.lang.String getSourceObjectReference() { + java.lang.Object ref = sourceObjectReference_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceObjectReference_ = s; + return s; + } + } + /** + *
+     * Galaxy-side source object reference (e.g. "Tank01"). Empty for alarms
+     * that do not bind to a Galaxy object.
+     * 
+ * + * string source_object_reference = 2; + * @return The bytes for sourceObjectReference. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSourceObjectReferenceBytes() { + java.lang.Object ref = sourceObjectReference_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sourceObjectReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALARM_TYPE_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmTypeName_ = ""; + /** + *
+     * MxAccess alarm-type qualifier (e.g. "AnalogLimitAlarm.HiHi", "DiscAlarm").
+     * 
+ * + * string alarm_type_name = 3; + * @return The alarmTypeName. + */ + @java.lang.Override + public java.lang.String getAlarmTypeName() { + java.lang.Object ref = alarmTypeName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmTypeName_ = s; + return s; + } + } + /** + *
+     * MxAccess alarm-type qualifier (e.g. "AnalogLimitAlarm.HiHi", "DiscAlarm").
+     * 
+ * + * string alarm_type_name = 3; + * @return The bytes for alarmTypeName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmTypeNameBytes() { + java.lang.Object ref = alarmTypeName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmTypeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TRANSITION_KIND_FIELD_NUMBER = 4; + private int transitionKind_ = 0; + /** + *
+     * What kind of state change this event represents.
+     * 
+ * + * .mxaccess_gateway.v1.AlarmTransitionKind transition_kind = 4; + * @return The enum numeric value on the wire for transitionKind. + */ + @java.lang.Override public int getTransitionKindValue() { + return transitionKind_; + } + /** + *
+     * What kind of state change this event represents.
+     * 
+ * + * .mxaccess_gateway.v1.AlarmTransitionKind transition_kind = 4; + * @return The transitionKind. + */ + @java.lang.Override public mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind getTransitionKind() { + mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind result = mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind.forNumber(transitionKind_); + return result == null ? mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind.UNRECOGNIZED : result; + } + + public static final int SEVERITY_FIELD_NUMBER = 5; + private int severity_ = 0; + /** + *
+     * Raw MXAccess severity value. Mapping to OPC UA 0-1000 happens server-side
+     * in lmxopcua via MxAccessSeverityMapper; the gateway preserves the native
+     * MXAccess scale.
+     * 
+ * + * int32 severity = 5; + * @return The severity. + */ + @java.lang.Override + public int getSeverity() { + return severity_; + } + + public static final int ORIGINAL_RAISE_TIMESTAMP_FIELD_NUMBER = 6; + private com.google.protobuf.Timestamp originalRaiseTimestamp_; + /** + *
+     * When the alarm originally entered the active state. Preserved across
+     * acknowledge transitions so the Part 9 condition keeps the original raise
+     * time. Unset on retrigger from a previously-cleared condition.
+     * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + * @return Whether the originalRaiseTimestamp field is set. + */ + @java.lang.Override + public boolean hasOriginalRaiseTimestamp() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * When the alarm originally entered the active state. Preserved across
+     * acknowledge transitions so the Part 9 condition keeps the original raise
+     * time. Unset on retrigger from a previously-cleared condition.
+     * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + * @return The originalRaiseTimestamp. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getOriginalRaiseTimestamp() { + return originalRaiseTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originalRaiseTimestamp_; + } + /** + *
+     * When the alarm originally entered the active state. Preserved across
+     * acknowledge transitions so the Part 9 condition keeps the original raise
+     * time. Unset on retrigger from a previously-cleared condition.
+     * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getOriginalRaiseTimestampOrBuilder() { + return originalRaiseTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originalRaiseTimestamp_; + } + + public static final int TRANSITION_TIMESTAMP_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp transitionTimestamp_; + /** + *
+     * When this specific transition occurred (raise time on Raise, ack time on
+     * Acknowledge, clear time on Clear).
+     * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + * @return Whether the transitionTimestamp field is set. + */ + @java.lang.Override + public boolean hasTransitionTimestamp() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * When this specific transition occurred (raise time on Raise, ack time on
+     * Acknowledge, clear time on Clear).
+     * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + * @return The transitionTimestamp. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getTransitionTimestamp() { + return transitionTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : transitionTimestamp_; + } + /** + *
+     * When this specific transition occurred (raise time on Raise, ack time on
+     * Acknowledge, clear time on Clear).
+     * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getTransitionTimestampOrBuilder() { + return transitionTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : transitionTimestamp_; + } + + public static final int OPERATOR_USER_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorUser_ = ""; + /** + *
+     * Operator principal recorded by MXAccess on Acknowledge transitions.
+     * Empty on raise / clear.
+     * 
+ * + * string operator_user = 8; + * @return The operatorUser. + */ + @java.lang.Override + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } + } + /** + *
+     * Operator principal recorded by MXAccess on Acknowledge transitions.
+     * Empty on raise / clear.
+     * 
+ * + * string operator_user = 8; + * @return The bytes for operatorUser. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_COMMENT_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorComment_ = ""; + /** + *
+     * Operator-supplied comment recorded by MXAccess on Acknowledge transitions.
+     * Empty on raise / clear or when no comment was supplied.
+     * 
+ * + * string operator_comment = 9; + * @return The operatorComment. + */ + @java.lang.Override + public java.lang.String getOperatorComment() { + java.lang.Object ref = operatorComment_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorComment_ = s; + return s; + } + } + /** + *
+     * Operator-supplied comment recorded by MXAccess on Acknowledge transitions.
+     * Empty on raise / clear or when no comment was supplied.
+     * 
+ * + * string operator_comment = 9; + * @return The bytes for operatorComment. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorCommentBytes() { + java.lang.Object ref = operatorComment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorComment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CATEGORY_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object category_ = ""; + /** + *
+     * MxAccess alarm category (taxonomy bucket configured in the Galaxy
+     * template, e.g. "Process", "Safety", "Diagnostics").
+     * 
+ * + * string category = 10; + * @return The category. + */ + @java.lang.Override + public java.lang.String getCategory() { + java.lang.Object ref = category_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + category_ = s; + return s; + } + } + /** + *
+     * MxAccess alarm category (taxonomy bucket configured in the Galaxy
+     * template, e.g. "Process", "Safety", "Diagnostics").
+     * 
+ * + * string category = 10; + * @return The bytes for category. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCategoryBytes() { + java.lang.Object ref = category_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + category_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + *
+     * Human-readable alarm description from the MxAccess alarm definition.
+     * 
+ * + * string description = 11; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+     * Human-readable alarm description from the MxAccess alarm definition.
+     * 
+ * + * string description = 11; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CURRENT_VALUE_FIELD_NUMBER = 12; + private mxaccess_gateway.v1.MxaccessGateway.MxValue currentValue_; + /** + *
+     * Current alarm value (the value of the source attribute at the moment of
+     * transition). Optional; populated when MxAccess surfaces it.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return Whether the currentValue field is set. + */ + @java.lang.Override + public boolean hasCurrentValue() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * Current alarm value (the value of the source attribute at the moment of
+     * transition). Optional; populated when MxAccess surfaces it.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return The currentValue. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getCurrentValue() { + return currentValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : currentValue_; + } + /** + *
+     * Current alarm value (the value of the source attribute at the moment of
+     * transition). Optional; populated when MxAccess surfaces it.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getCurrentValueOrBuilder() { + return currentValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : currentValue_; + } + + public static final int LIMIT_VALUE_FIELD_NUMBER = 13; + private mxaccess_gateway.v1.MxaccessGateway.MxValue limitValue_; + /** + *
+     * Limit/threshold value that triggered the transition for limit alarms.
+     * Optional; populated for AnalogLimitAlarm-family transitions.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return Whether the limitValue field is set. + */ + @java.lang.Override + public boolean hasLimitValue() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+     * Limit/threshold value that triggered the transition for limit alarms.
+     * Optional; populated for AnalogLimitAlarm-family transitions.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return The limitValue. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getLimitValue() { + return limitValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : limitValue_; + } + /** + *
+     * Limit/threshold value that triggered the transition for limit alarms.
+     * Optional; populated for AnalogLimitAlarm-family transitions.
+     * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getLimitValueOrBuilder() { + return limitValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : limitValue_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFullReference_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, alarmFullReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sourceObjectReference_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, sourceObjectReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmTypeName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, alarmTypeName_); + } + if (transitionKind_ != mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind.ALARM_TRANSITION_KIND_UNSPECIFIED.getNumber()) { + output.writeEnum(4, transitionKind_); + } + if (severity_ != 0) { + output.writeInt32(5, severity_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(6, getOriginalRaiseTimestamp()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(7, getTransitionTimestamp()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, operatorUser_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorComment_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 9, operatorComment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(category_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 10, category_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 11, description_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(12, getCurrentValue()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(13, getLimitValue()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFullReference_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, alarmFullReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sourceObjectReference_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, sourceObjectReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmTypeName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, alarmTypeName_); + } + if (transitionKind_ != mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind.ALARM_TRANSITION_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, transitionKind_); + } + if (severity_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, severity_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getOriginalRaiseTimestamp()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getTransitionTimestamp()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, operatorUser_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorComment_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(9, operatorComment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(category_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(10, category_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(11, description_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getCurrentValue()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getLimitValue()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent other = (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) obj; + + if (!getAlarmFullReference() + .equals(other.getAlarmFullReference())) return false; + if (!getSourceObjectReference() + .equals(other.getSourceObjectReference())) return false; + if (!getAlarmTypeName() + .equals(other.getAlarmTypeName())) return false; + if (transitionKind_ != other.transitionKind_) return false; + if (getSeverity() + != other.getSeverity()) return false; + if (hasOriginalRaiseTimestamp() != other.hasOriginalRaiseTimestamp()) return false; + if (hasOriginalRaiseTimestamp()) { + if (!getOriginalRaiseTimestamp() + .equals(other.getOriginalRaiseTimestamp())) return false; + } + if (hasTransitionTimestamp() != other.hasTransitionTimestamp()) return false; + if (hasTransitionTimestamp()) { + if (!getTransitionTimestamp() + .equals(other.getTransitionTimestamp())) return false; + } + if (!getOperatorUser() + .equals(other.getOperatorUser())) return false; + if (!getOperatorComment() + .equals(other.getOperatorComment())) return false; + if (!getCategory() + .equals(other.getCategory())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (hasCurrentValue() != other.hasCurrentValue()) return false; + if (hasCurrentValue()) { + if (!getCurrentValue() + .equals(other.getCurrentValue())) return false; + } + if (hasLimitValue() != other.hasLimitValue()) return false; + if (hasLimitValue()) { + if (!getLimitValue() + .equals(other.getLimitValue())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ALARM_FULL_REFERENCE_FIELD_NUMBER; + hash = (53 * hash) + getAlarmFullReference().hashCode(); + hash = (37 * hash) + SOURCE_OBJECT_REFERENCE_FIELD_NUMBER; + hash = (53 * hash) + getSourceObjectReference().hashCode(); + hash = (37 * hash) + ALARM_TYPE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getAlarmTypeName().hashCode(); + hash = (37 * hash) + TRANSITION_KIND_FIELD_NUMBER; + hash = (53 * hash) + transitionKind_; + hash = (37 * hash) + SEVERITY_FIELD_NUMBER; + hash = (53 * hash) + getSeverity(); + if (hasOriginalRaiseTimestamp()) { + hash = (37 * hash) + ORIGINAL_RAISE_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getOriginalRaiseTimestamp().hashCode(); + } + if (hasTransitionTimestamp()) { + hash = (37 * hash) + TRANSITION_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getTransitionTimestamp().hashCode(); + } + hash = (37 * hash) + OPERATOR_USER_FIELD_NUMBER; + hash = (53 * hash) + getOperatorUser().hashCode(); + hash = (37 * hash) + OPERATOR_COMMENT_FIELD_NUMBER; + hash = (53 * hash) + getOperatorComment().hashCode(); + hash = (37 * hash) + CATEGORY_FIELD_NUMBER; + hash = (53 * hash) + getCategory().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (hasCurrentValue()) { + hash = (37 * hash) + CURRENT_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getCurrentValue().hashCode(); + } + if (hasLimitValue()) { + hash = (37 * hash) + LIMIT_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getLimitValue().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Carries a single MXAccess alarm transition (raise / acknowledge / clear /
+     * re-trigger) in native MXAccess terms. The Part 9 state machine + ACL +
+     * multi-source aggregation lives in lmxopcua's AlarmConditionService; the
+     * gateway is UA-agnostic and forwards the raw payload.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.OnAlarmTransitionEvent} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.OnAlarmTransitionEvent) + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.class, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetOriginalRaiseTimestampFieldBuilder(); + internalGetTransitionTimestampFieldBuilder(); + internalGetCurrentValueFieldBuilder(); + internalGetLimitValueFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + alarmFullReference_ = ""; + sourceObjectReference_ = ""; + alarmTypeName_ = ""; + transitionKind_ = 0; + severity_ = 0; + originalRaiseTimestamp_ = null; + if (originalRaiseTimestampBuilder_ != null) { + originalRaiseTimestampBuilder_.dispose(); + originalRaiseTimestampBuilder_ = null; + } + transitionTimestamp_ = null; + if (transitionTimestampBuilder_ != null) { + transitionTimestampBuilder_.dispose(); + transitionTimestampBuilder_ = null; + } + operatorUser_ = ""; + operatorComment_ = ""; + category_ = ""; + description_ = ""; + currentValue_ = null; + if (currentValueBuilder_ != null) { + currentValueBuilder_.dispose(); + currentValueBuilder_ = null; + } + limitValue_ = null; + if (limitValueBuilder_ != null) { + limitValueBuilder_.dispose(); + limitValueBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent build() { + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent result = new mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.alarmFullReference_ = alarmFullReference_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sourceObjectReference_ = sourceObjectReference_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.alarmTypeName_ = alarmTypeName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.transitionKind_ = transitionKind_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.severity_ = severity_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.originalRaiseTimestamp_ = originalRaiseTimestampBuilder_ == null + ? originalRaiseTimestamp_ + : originalRaiseTimestampBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.transitionTimestamp_ = transitionTimestampBuilder_ == null + ? transitionTimestamp_ + : transitionTimestampBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.operatorUser_ = operatorUser_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.operatorComment_ = operatorComment_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.category_ = category_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.currentValue_ = currentValueBuilder_ == null + ? currentValue_ + : currentValueBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.limitValue_ = limitValueBuilder_ == null + ? limitValue_ + : limitValueBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance()) return this; + if (!other.getAlarmFullReference().isEmpty()) { + alarmFullReference_ = other.alarmFullReference_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSourceObjectReference().isEmpty()) { + sourceObjectReference_ = other.sourceObjectReference_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getAlarmTypeName().isEmpty()) { + alarmTypeName_ = other.alarmTypeName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.transitionKind_ != 0) { + setTransitionKindValue(other.getTransitionKindValue()); + } + if (other.getSeverity() != 0) { + setSeverity(other.getSeverity()); + } + if (other.hasOriginalRaiseTimestamp()) { + mergeOriginalRaiseTimestamp(other.getOriginalRaiseTimestamp()); + } + if (other.hasTransitionTimestamp()) { + mergeTransitionTimestamp(other.getTransitionTimestamp()); + } + if (!other.getOperatorUser().isEmpty()) { + operatorUser_ = other.operatorUser_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (!other.getOperatorComment().isEmpty()) { + operatorComment_ = other.operatorComment_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (!other.getCategory().isEmpty()) { + category_ = other.category_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (other.hasCurrentValue()) { + mergeCurrentValue(other.getCurrentValue()); + } + if (other.hasLimitValue()) { + mergeLimitValue(other.getLimitValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + alarmFullReference_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + sourceObjectReference_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + alarmTypeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + transitionKind_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + severity_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + input.readMessage( + internalGetOriginalRaiseTimestampFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + internalGetTransitionTimestampFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + operatorUser_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + operatorComment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + category_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + input.readMessage( + internalGetCurrentValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + input.readMessage( + internalGetLimitValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 106 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object alarmFullReference_ = ""; + /** + *
+       * Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi"). Stable across
+       * transitions of the same condition; used by the lmxopcua side to correlate
+       * raise/ack/clear into a single Part 9 condition.
+       * 
+ * + * string alarm_full_reference = 1; + * @return The alarmFullReference. + */ + public java.lang.String getAlarmFullReference() { + java.lang.Object ref = alarmFullReference_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFullReference_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi"). Stable across
+       * transitions of the same condition; used by the lmxopcua side to correlate
+       * raise/ack/clear into a single Part 9 condition.
+       * 
+ * + * string alarm_full_reference = 1; + * @return The bytes for alarmFullReference. + */ + public com.google.protobuf.ByteString + getAlarmFullReferenceBytes() { + java.lang.Object ref = alarmFullReference_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFullReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi"). Stable across
+       * transitions of the same condition; used by the lmxopcua side to correlate
+       * raise/ack/clear into a single Part 9 condition.
+       * 
+ * + * string alarm_full_reference = 1; + * @param value The alarmFullReference to set. + * @return This builder for chaining. + */ + public Builder setAlarmFullReference( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmFullReference_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi"). Stable across
+       * transitions of the same condition; used by the lmxopcua side to correlate
+       * raise/ack/clear into a single Part 9 condition.
+       * 
+ * + * string alarm_full_reference = 1; + * @return This builder for chaining. + */ + public Builder clearAlarmFullReference() { + alarmFullReference_ = getDefaultInstance().getAlarmFullReference(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi"). Stable across
+       * transitions of the same condition; used by the lmxopcua side to correlate
+       * raise/ack/clear into a single Part 9 condition.
+       * 
+ * + * string alarm_full_reference = 1; + * @param value The bytes for alarmFullReference to set. + * @return This builder for chaining. + */ + public Builder setAlarmFullReferenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmFullReference_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object sourceObjectReference_ = ""; + /** + *
+       * Galaxy-side source object reference (e.g. "Tank01"). Empty for alarms
+       * that do not bind to a Galaxy object.
+       * 
+ * + * string source_object_reference = 2; + * @return The sourceObjectReference. + */ + public java.lang.String getSourceObjectReference() { + java.lang.Object ref = sourceObjectReference_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceObjectReference_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Galaxy-side source object reference (e.g. "Tank01"). Empty for alarms
+       * that do not bind to a Galaxy object.
+       * 
+ * + * string source_object_reference = 2; + * @return The bytes for sourceObjectReference. + */ + public com.google.protobuf.ByteString + getSourceObjectReferenceBytes() { + java.lang.Object ref = sourceObjectReference_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sourceObjectReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Galaxy-side source object reference (e.g. "Tank01"). Empty for alarms
+       * that do not bind to a Galaxy object.
+       * 
+ * + * string source_object_reference = 2; + * @param value The sourceObjectReference to set. + * @return This builder for chaining. + */ + public Builder setSourceObjectReference( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + sourceObjectReference_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Galaxy-side source object reference (e.g. "Tank01"). Empty for alarms
+       * that do not bind to a Galaxy object.
+       * 
+ * + * string source_object_reference = 2; + * @return This builder for chaining. + */ + public Builder clearSourceObjectReference() { + sourceObjectReference_ = getDefaultInstance().getSourceObjectReference(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Galaxy-side source object reference (e.g. "Tank01"). Empty for alarms
+       * that do not bind to a Galaxy object.
+       * 
+ * + * string source_object_reference = 2; + * @param value The bytes for sourceObjectReference to set. + * @return This builder for chaining. + */ + public Builder setSourceObjectReferenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + sourceObjectReference_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object alarmTypeName_ = ""; + /** + *
+       * MxAccess alarm-type qualifier (e.g. "AnalogLimitAlarm.HiHi", "DiscAlarm").
+       * 
+ * + * string alarm_type_name = 3; + * @return The alarmTypeName. + */ + public java.lang.String getAlarmTypeName() { + java.lang.Object ref = alarmTypeName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmTypeName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * MxAccess alarm-type qualifier (e.g. "AnalogLimitAlarm.HiHi", "DiscAlarm").
+       * 
+ * + * string alarm_type_name = 3; + * @return The bytes for alarmTypeName. + */ + public com.google.protobuf.ByteString + getAlarmTypeNameBytes() { + java.lang.Object ref = alarmTypeName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmTypeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * MxAccess alarm-type qualifier (e.g. "AnalogLimitAlarm.HiHi", "DiscAlarm").
+       * 
+ * + * string alarm_type_name = 3; + * @param value The alarmTypeName to set. + * @return This builder for chaining. + */ + public Builder setAlarmTypeName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmTypeName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * MxAccess alarm-type qualifier (e.g. "AnalogLimitAlarm.HiHi", "DiscAlarm").
+       * 
+ * + * string alarm_type_name = 3; + * @return This builder for chaining. + */ + public Builder clearAlarmTypeName() { + alarmTypeName_ = getDefaultInstance().getAlarmTypeName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * MxAccess alarm-type qualifier (e.g. "AnalogLimitAlarm.HiHi", "DiscAlarm").
+       * 
+ * + * string alarm_type_name = 3; + * @param value The bytes for alarmTypeName to set. + * @return This builder for chaining. + */ + public Builder setAlarmTypeNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmTypeName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int transitionKind_ = 0; + /** + *
+       * What kind of state change this event represents.
+       * 
+ * + * .mxaccess_gateway.v1.AlarmTransitionKind transition_kind = 4; + * @return The enum numeric value on the wire for transitionKind. + */ + @java.lang.Override public int getTransitionKindValue() { + return transitionKind_; + } + /** + *
+       * What kind of state change this event represents.
+       * 
+ * + * .mxaccess_gateway.v1.AlarmTransitionKind transition_kind = 4; + * @param value The enum numeric value on the wire for transitionKind to set. + * @return This builder for chaining. + */ + public Builder setTransitionKindValue(int value) { + transitionKind_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * What kind of state change this event represents.
+       * 
+ * + * .mxaccess_gateway.v1.AlarmTransitionKind transition_kind = 4; + * @return The transitionKind. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind getTransitionKind() { + mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind result = mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind.forNumber(transitionKind_); + return result == null ? mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind.UNRECOGNIZED : result; + } + /** + *
+       * What kind of state change this event represents.
+       * 
+ * + * .mxaccess_gateway.v1.AlarmTransitionKind transition_kind = 4; + * @param value The transitionKind to set. + * @return This builder for chaining. + */ + public Builder setTransitionKind(mxaccess_gateway.v1.MxaccessGateway.AlarmTransitionKind value) { + if (value == null) { throw new NullPointerException(); } + bitField0_ |= 0x00000008; + transitionKind_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * What kind of state change this event represents.
+       * 
+ * + * .mxaccess_gateway.v1.AlarmTransitionKind transition_kind = 4; + * @return This builder for chaining. + */ + public Builder clearTransitionKind() { + bitField0_ = (bitField0_ & ~0x00000008); + transitionKind_ = 0; + onChanged(); + return this; + } + + private int severity_ ; + /** + *
+       * Raw MXAccess severity value. Mapping to OPC UA 0-1000 happens server-side
+       * in lmxopcua via MxAccessSeverityMapper; the gateway preserves the native
+       * MXAccess scale.
+       * 
+ * + * int32 severity = 5; + * @return The severity. + */ + @java.lang.Override + public int getSeverity() { + return severity_; + } + /** + *
+       * Raw MXAccess severity value. Mapping to OPC UA 0-1000 happens server-side
+       * in lmxopcua via MxAccessSeverityMapper; the gateway preserves the native
+       * MXAccess scale.
+       * 
+ * + * int32 severity = 5; + * @param value The severity to set. + * @return This builder for chaining. + */ + public Builder setSeverity(int value) { + + severity_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Raw MXAccess severity value. Mapping to OPC UA 0-1000 happens server-side
+       * in lmxopcua via MxAccessSeverityMapper; the gateway preserves the native
+       * MXAccess scale.
+       * 
+ * + * int32 severity = 5; + * @return This builder for chaining. + */ + public Builder clearSeverity() { + bitField0_ = (bitField0_ & ~0x00000010); + severity_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp originalRaiseTimestamp_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> originalRaiseTimestampBuilder_; + /** + *
+       * When the alarm originally entered the active state. Preserved across
+       * acknowledge transitions so the Part 9 condition keeps the original raise
+       * time. Unset on retrigger from a previously-cleared condition.
+       * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + * @return Whether the originalRaiseTimestamp field is set. + */ + public boolean hasOriginalRaiseTimestamp() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + *
+       * When the alarm originally entered the active state. Preserved across
+       * acknowledge transitions so the Part 9 condition keeps the original raise
+       * time. Unset on retrigger from a previously-cleared condition.
+       * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + * @return The originalRaiseTimestamp. + */ + public com.google.protobuf.Timestamp getOriginalRaiseTimestamp() { + if (originalRaiseTimestampBuilder_ == null) { + return originalRaiseTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originalRaiseTimestamp_; + } else { + return originalRaiseTimestampBuilder_.getMessage(); + } + } + /** + *
+       * When the alarm originally entered the active state. Preserved across
+       * acknowledge transitions so the Part 9 condition keeps the original raise
+       * time. Unset on retrigger from a previously-cleared condition.
+       * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + */ + public Builder setOriginalRaiseTimestamp(com.google.protobuf.Timestamp value) { + if (originalRaiseTimestampBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + originalRaiseTimestamp_ = value; + } else { + originalRaiseTimestampBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+       * When the alarm originally entered the active state. Preserved across
+       * acknowledge transitions so the Part 9 condition keeps the original raise
+       * time. Unset on retrigger from a previously-cleared condition.
+       * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + */ + public Builder setOriginalRaiseTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (originalRaiseTimestampBuilder_ == null) { + originalRaiseTimestamp_ = builderForValue.build(); + } else { + originalRaiseTimestampBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+       * When the alarm originally entered the active state. Preserved across
+       * acknowledge transitions so the Part 9 condition keeps the original raise
+       * time. Unset on retrigger from a previously-cleared condition.
+       * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + */ + public Builder mergeOriginalRaiseTimestamp(com.google.protobuf.Timestamp value) { + if (originalRaiseTimestampBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + originalRaiseTimestamp_ != null && + originalRaiseTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getOriginalRaiseTimestampBuilder().mergeFrom(value); + } else { + originalRaiseTimestamp_ = value; + } + } else { + originalRaiseTimestampBuilder_.mergeFrom(value); + } + if (originalRaiseTimestamp_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + /** + *
+       * When the alarm originally entered the active state. Preserved across
+       * acknowledge transitions so the Part 9 condition keeps the original raise
+       * time. Unset on retrigger from a previously-cleared condition.
+       * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + */ + public Builder clearOriginalRaiseTimestamp() { + bitField0_ = (bitField0_ & ~0x00000020); + originalRaiseTimestamp_ = null; + if (originalRaiseTimestampBuilder_ != null) { + originalRaiseTimestampBuilder_.dispose(); + originalRaiseTimestampBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * When the alarm originally entered the active state. Preserved across
+       * acknowledge transitions so the Part 9 condition keeps the original raise
+       * time. Unset on retrigger from a previously-cleared condition.
+       * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + */ + public com.google.protobuf.Timestamp.Builder getOriginalRaiseTimestampBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return internalGetOriginalRaiseTimestampFieldBuilder().getBuilder(); + } + /** + *
+       * When the alarm originally entered the active state. Preserved across
+       * acknowledge transitions so the Part 9 condition keeps the original raise
+       * time. Unset on retrigger from a previously-cleared condition.
+       * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + */ + public com.google.protobuf.TimestampOrBuilder getOriginalRaiseTimestampOrBuilder() { + if (originalRaiseTimestampBuilder_ != null) { + return originalRaiseTimestampBuilder_.getMessageOrBuilder(); + } else { + return originalRaiseTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : originalRaiseTimestamp_; + } + } + /** + *
+       * When the alarm originally entered the active state. Preserved across
+       * acknowledge transitions so the Part 9 condition keeps the original raise
+       * time. Unset on retrigger from a previously-cleared condition.
+       * 
+ * + * .google.protobuf.Timestamp original_raise_timestamp = 6; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + internalGetOriginalRaiseTimestampFieldBuilder() { + if (originalRaiseTimestampBuilder_ == null) { + originalRaiseTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOriginalRaiseTimestamp(), + getParentForChildren(), + isClean()); + originalRaiseTimestamp_ = null; + } + return originalRaiseTimestampBuilder_; + } + + private com.google.protobuf.Timestamp transitionTimestamp_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> transitionTimestampBuilder_; + /** + *
+       * When this specific transition occurred (raise time on Raise, ack time on
+       * Acknowledge, clear time on Clear).
+       * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + * @return Whether the transitionTimestamp field is set. + */ + public boolean hasTransitionTimestamp() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + *
+       * When this specific transition occurred (raise time on Raise, ack time on
+       * Acknowledge, clear time on Clear).
+       * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + * @return The transitionTimestamp. + */ + public com.google.protobuf.Timestamp getTransitionTimestamp() { + if (transitionTimestampBuilder_ == null) { + return transitionTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : transitionTimestamp_; + } else { + return transitionTimestampBuilder_.getMessage(); + } + } + /** + *
+       * When this specific transition occurred (raise time on Raise, ack time on
+       * Acknowledge, clear time on Clear).
+       * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + */ + public Builder setTransitionTimestamp(com.google.protobuf.Timestamp value) { + if (transitionTimestampBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transitionTimestamp_ = value; + } else { + transitionTimestampBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * When this specific transition occurred (raise time on Raise, ack time on
+       * Acknowledge, clear time on Clear).
+       * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + */ + public Builder setTransitionTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (transitionTimestampBuilder_ == null) { + transitionTimestamp_ = builderForValue.build(); + } else { + transitionTimestampBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * When this specific transition occurred (raise time on Raise, ack time on
+       * Acknowledge, clear time on Clear).
+       * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + */ + public Builder mergeTransitionTimestamp(com.google.protobuf.Timestamp value) { + if (transitionTimestampBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + transitionTimestamp_ != null && + transitionTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getTransitionTimestampBuilder().mergeFrom(value); + } else { + transitionTimestamp_ = value; + } + } else { + transitionTimestampBuilder_.mergeFrom(value); + } + if (transitionTimestamp_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; + } + /** + *
+       * When this specific transition occurred (raise time on Raise, ack time on
+       * Acknowledge, clear time on Clear).
+       * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + */ + public Builder clearTransitionTimestamp() { + bitField0_ = (bitField0_ & ~0x00000040); + transitionTimestamp_ = null; + if (transitionTimestampBuilder_ != null) { + transitionTimestampBuilder_.dispose(); + transitionTimestampBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * When this specific transition occurred (raise time on Raise, ack time on
+       * Acknowledge, clear time on Clear).
+       * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + */ + public com.google.protobuf.Timestamp.Builder getTransitionTimestampBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return internalGetTransitionTimestampFieldBuilder().getBuilder(); + } + /** + *
+       * When this specific transition occurred (raise time on Raise, ack time on
+       * Acknowledge, clear time on Clear).
+       * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + */ + public com.google.protobuf.TimestampOrBuilder getTransitionTimestampOrBuilder() { + if (transitionTimestampBuilder_ != null) { + return transitionTimestampBuilder_.getMessageOrBuilder(); + } else { + return transitionTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : transitionTimestamp_; + } + } + /** + *
+       * When this specific transition occurred (raise time on Raise, ack time on
+       * Acknowledge, clear time on Clear).
+       * 
+ * + * .google.protobuf.Timestamp transition_timestamp = 7; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + internalGetTransitionTimestampFieldBuilder() { + if (transitionTimestampBuilder_ == null) { + transitionTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getTransitionTimestamp(), + getParentForChildren(), + isClean()); + transitionTimestamp_ = null; + } + return transitionTimestampBuilder_; + } + + private java.lang.Object operatorUser_ = ""; + /** + *
+       * Operator principal recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear.
+       * 
+ * + * string operator_user = 8; + * @return The operatorUser. + */ + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Operator principal recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear.
+       * 
+ * + * string operator_user = 8; + * @return The bytes for operatorUser. + */ + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Operator principal recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear.
+       * 
+ * + * string operator_user = 8; + * @param value The operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorUser_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+       * Operator principal recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear.
+       * 
+ * + * string operator_user = 8; + * @return This builder for chaining. + */ + public Builder clearOperatorUser() { + operatorUser_ = getDefaultInstance().getOperatorUser(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + *
+       * Operator principal recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear.
+       * 
+ * + * string operator_user = 8; + * @param value The bytes for operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorUser_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object operatorComment_ = ""; + /** + *
+       * Operator-supplied comment recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear or when no comment was supplied.
+       * 
+ * + * string operator_comment = 9; + * @return The operatorComment. + */ + public java.lang.String getOperatorComment() { + java.lang.Object ref = operatorComment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorComment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Operator-supplied comment recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear or when no comment was supplied.
+       * 
+ * + * string operator_comment = 9; + * @return The bytes for operatorComment. + */ + public com.google.protobuf.ByteString + getOperatorCommentBytes() { + java.lang.Object ref = operatorComment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorComment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Operator-supplied comment recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear or when no comment was supplied.
+       * 
+ * + * string operator_comment = 9; + * @param value The operatorComment to set. + * @return This builder for chaining. + */ + public Builder setOperatorComment( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorComment_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * Operator-supplied comment recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear or when no comment was supplied.
+       * 
+ * + * string operator_comment = 9; + * @return This builder for chaining. + */ + public Builder clearOperatorComment() { + operatorComment_ = getDefaultInstance().getOperatorComment(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + *
+       * Operator-supplied comment recorded by MXAccess on Acknowledge transitions.
+       * Empty on raise / clear or when no comment was supplied.
+       * 
+ * + * string operator_comment = 9; + * @param value The bytes for operatorComment to set. + * @return This builder for chaining. + */ + public Builder setOperatorCommentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorComment_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private java.lang.Object category_ = ""; + /** + *
+       * MxAccess alarm category (taxonomy bucket configured in the Galaxy
+       * template, e.g. "Process", "Safety", "Diagnostics").
+       * 
+ * + * string category = 10; + * @return The category. + */ + public java.lang.String getCategory() { + java.lang.Object ref = category_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + category_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * MxAccess alarm category (taxonomy bucket configured in the Galaxy
+       * template, e.g. "Process", "Safety", "Diagnostics").
+       * 
+ * + * string category = 10; + * @return The bytes for category. + */ + public com.google.protobuf.ByteString + getCategoryBytes() { + java.lang.Object ref = category_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + category_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * MxAccess alarm category (taxonomy bucket configured in the Galaxy
+       * template, e.g. "Process", "Safety", "Diagnostics").
+       * 
+ * + * string category = 10; + * @param value The category to set. + * @return This builder for chaining. + */ + public Builder setCategory( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + category_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+       * MxAccess alarm category (taxonomy bucket configured in the Galaxy
+       * template, e.g. "Process", "Safety", "Diagnostics").
+       * 
+ * + * string category = 10; + * @return This builder for chaining. + */ + public Builder clearCategory() { + category_ = getDefaultInstance().getCategory(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + *
+       * MxAccess alarm category (taxonomy bucket configured in the Galaxy
+       * template, e.g. "Process", "Safety", "Diagnostics").
+       * 
+ * + * string category = 10; + * @param value The bytes for category to set. + * @return This builder for chaining. + */ + public Builder setCategoryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + category_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+       * Human-readable alarm description from the MxAccess alarm definition.
+       * 
+ * + * string description = 11; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Human-readable alarm description from the MxAccess alarm definition.
+       * 
+ * + * string description = 11; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Human-readable alarm description from the MxAccess alarm definition.
+       * 
+ * + * string description = 11; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + *
+       * Human-readable alarm description from the MxAccess alarm definition.
+       * 
+ * + * string description = 11; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + *
+       * Human-readable alarm description from the MxAccess alarm definition.
+       * 
+ * + * string description = 11; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue currentValue_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> currentValueBuilder_; + /** + *
+       * Current alarm value (the value of the source attribute at the moment of
+       * transition). Optional; populated when MxAccess surfaces it.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return Whether the currentValue field is set. + */ + public boolean hasCurrentValue() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + *
+       * Current alarm value (the value of the source attribute at the moment of
+       * transition). Optional; populated when MxAccess surfaces it.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return The currentValue. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getCurrentValue() { + if (currentValueBuilder_ == null) { + return currentValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : currentValue_; + } else { + return currentValueBuilder_.getMessage(); + } + } + /** + *
+       * Current alarm value (the value of the source attribute at the moment of
+       * transition). Optional; populated when MxAccess surfaces it.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public Builder setCurrentValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (currentValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + currentValue_ = value; + } else { + currentValueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + *
+       * Current alarm value (the value of the source attribute at the moment of
+       * transition). Optional; populated when MxAccess surfaces it.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public Builder setCurrentValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (currentValueBuilder_ == null) { + currentValue_ = builderForValue.build(); + } else { + currentValueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + *
+       * Current alarm value (the value of the source attribute at the moment of
+       * transition). Optional; populated when MxAccess surfaces it.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public Builder mergeCurrentValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (currentValueBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) && + currentValue_ != null && + currentValue_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getCurrentValueBuilder().mergeFrom(value); + } else { + currentValue_ = value; + } + } else { + currentValueBuilder_.mergeFrom(value); + } + if (currentValue_ != null) { + bitField0_ |= 0x00000800; + onChanged(); + } + return this; + } + /** + *
+       * Current alarm value (the value of the source attribute at the moment of
+       * transition). Optional; populated when MxAccess surfaces it.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public Builder clearCurrentValue() { + bitField0_ = (bitField0_ & ~0x00000800); + currentValue_ = null; + if (currentValueBuilder_ != null) { + currentValueBuilder_.dispose(); + currentValueBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Current alarm value (the value of the source attribute at the moment of
+       * transition). Optional; populated when MxAccess surfaces it.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getCurrentValueBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return internalGetCurrentValueFieldBuilder().getBuilder(); + } + /** + *
+       * Current alarm value (the value of the source attribute at the moment of
+       * transition). Optional; populated when MxAccess surfaces it.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getCurrentValueOrBuilder() { + if (currentValueBuilder_ != null) { + return currentValueBuilder_.getMessageOrBuilder(); + } else { + return currentValue_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : currentValue_; + } + } + /** + *
+       * Current alarm value (the value of the source attribute at the moment of
+       * transition). Optional; populated when MxAccess surfaces it.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetCurrentValueFieldBuilder() { + if (currentValueBuilder_ == null) { + currentValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getCurrentValue(), + getParentForChildren(), + isClean()); + currentValue_ = null; + } + return currentValueBuilder_; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue limitValue_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> limitValueBuilder_; + /** + *
+       * Limit/threshold value that triggered the transition for limit alarms.
+       * Optional; populated for AnalogLimitAlarm-family transitions.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return Whether the limitValue field is set. + */ + public boolean hasLimitValue() { + return ((bitField0_ & 0x00001000) != 0); + } + /** + *
+       * Limit/threshold value that triggered the transition for limit alarms.
+       * Optional; populated for AnalogLimitAlarm-family transitions.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return The limitValue. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getLimitValue() { + if (limitValueBuilder_ == null) { + return limitValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : limitValue_; + } else { + return limitValueBuilder_.getMessage(); + } + } + /** + *
+       * Limit/threshold value that triggered the transition for limit alarms.
+       * Optional; populated for AnalogLimitAlarm-family transitions.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public Builder setLimitValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (limitValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + limitValue_ = value; + } else { + limitValueBuilder_.setMessage(value); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + *
+       * Limit/threshold value that triggered the transition for limit alarms.
+       * Optional; populated for AnalogLimitAlarm-family transitions.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public Builder setLimitValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (limitValueBuilder_ == null) { + limitValue_ = builderForValue.build(); + } else { + limitValueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + *
+       * Limit/threshold value that triggered the transition for limit alarms.
+       * Optional; populated for AnalogLimitAlarm-family transitions.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public Builder mergeLimitValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (limitValueBuilder_ == null) { + if (((bitField0_ & 0x00001000) != 0) && + limitValue_ != null && + limitValue_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getLimitValueBuilder().mergeFrom(value); + } else { + limitValue_ = value; + } + } else { + limitValueBuilder_.mergeFrom(value); + } + if (limitValue_ != null) { + bitField0_ |= 0x00001000; + onChanged(); + } + return this; + } + /** + *
+       * Limit/threshold value that triggered the transition for limit alarms.
+       * Optional; populated for AnalogLimitAlarm-family transitions.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public Builder clearLimitValue() { + bitField0_ = (bitField0_ & ~0x00001000); + limitValue_ = null; + if (limitValueBuilder_ != null) { + limitValueBuilder_.dispose(); + limitValueBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Limit/threshold value that triggered the transition for limit alarms.
+       * Optional; populated for AnalogLimitAlarm-family transitions.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getLimitValueBuilder() { + bitField0_ |= 0x00001000; + onChanged(); + return internalGetLimitValueFieldBuilder().getBuilder(); + } + /** + *
+       * Limit/threshold value that triggered the transition for limit alarms.
+       * Optional; populated for AnalogLimitAlarm-family transitions.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getLimitValueOrBuilder() { + if (limitValueBuilder_ != null) { + return limitValueBuilder_.getMessageOrBuilder(); + } else { + return limitValue_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : limitValue_; + } + } + /** + *
+       * Limit/threshold value that triggered the transition for limit alarms.
+       * Optional; populated for AnalogLimitAlarm-family transitions.
+       * 
+ * + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetLimitValueFieldBuilder() { + if (limitValueBuilder_ == null) { + limitValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getLimitValue(), + getParentForChildren(), + isClean()); + limitValue_ = null; + } + return limitValueBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.OnAlarmTransitionEvent) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.OnAlarmTransitionEvent) + private static final mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OnAlarmTransitionEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ActiveAlarmSnapshotOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.ActiveAlarmSnapshot) + com.google.protobuf.MessageOrBuilder { + + /** + * string alarm_full_reference = 1; + * @return The alarmFullReference. + */ + java.lang.String getAlarmFullReference(); + /** + * string alarm_full_reference = 1; + * @return The bytes for alarmFullReference. + */ + com.google.protobuf.ByteString + getAlarmFullReferenceBytes(); + + /** + * string source_object_reference = 2; + * @return The sourceObjectReference. + */ + java.lang.String getSourceObjectReference(); + /** + * string source_object_reference = 2; + * @return The bytes for sourceObjectReference. + */ + com.google.protobuf.ByteString + getSourceObjectReferenceBytes(); + + /** + * string alarm_type_name = 3; + * @return The alarmTypeName. + */ + java.lang.String getAlarmTypeName(); + /** + * string alarm_type_name = 3; + * @return The bytes for alarmTypeName. + */ + com.google.protobuf.ByteString + getAlarmTypeNameBytes(); + + /** + * int32 severity = 4; + * @return The severity. + */ + int getSeverity(); + + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + * @return Whether the originalRaiseTimestamp field is set. + */ + boolean hasOriginalRaiseTimestamp(); + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + * @return The originalRaiseTimestamp. + */ + com.google.protobuf.Timestamp getOriginalRaiseTimestamp(); + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + */ + com.google.protobuf.TimestampOrBuilder getOriginalRaiseTimestampOrBuilder(); + + /** + * .mxaccess_gateway.v1.AlarmConditionState current_state = 6; + * @return The enum numeric value on the wire for currentState. + */ + int getCurrentStateValue(); + /** + * .mxaccess_gateway.v1.AlarmConditionState current_state = 6; + * @return The currentState. + */ + mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState getCurrentState(); + + /** + * string category = 7; + * @return The category. + */ + java.lang.String getCategory(); + /** + * string category = 7; + * @return The bytes for category. + */ + com.google.protobuf.ByteString + getCategoryBytes(); + + /** + * string description = 8; + * @return The description. + */ + java.lang.String getDescription(); + /** + * string description = 8; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + *
+     * When the most recent state transition occurred (last raise, last ack,
+     * last clear).
+     * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + * @return Whether the lastTransitionTimestamp field is set. + */ + boolean hasLastTransitionTimestamp(); + /** + *
+     * When the most recent state transition occurred (last raise, last ack,
+     * last clear).
+     * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + * @return The lastTransitionTimestamp. + */ + com.google.protobuf.Timestamp getLastTransitionTimestamp(); + /** + *
+     * When the most recent state transition occurred (last raise, last ack,
+     * last clear).
+     * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + */ + com.google.protobuf.TimestampOrBuilder getLastTransitionTimestampOrBuilder(); + + /** + *
+     * Operator who acknowledged the alarm if the current state is ActiveAcked.
+     * Empty otherwise.
+     * 
+ * + * string operator_user = 10; + * @return The operatorUser. + */ + java.lang.String getOperatorUser(); + /** + *
+     * Operator who acknowledged the alarm if the current state is ActiveAcked.
+     * Empty otherwise.
+     * 
+ * + * string operator_user = 10; + * @return The bytes for operatorUser. + */ + com.google.protobuf.ByteString + getOperatorUserBytes(); + + /** + *
+     * Operator comment recorded with the most recent acknowledge if the current
+     * state is ActiveAcked. Empty otherwise.
+     * 
+ * + * string operator_comment = 11; + * @return The operatorComment. + */ + java.lang.String getOperatorComment(); + /** + *
+     * Operator comment recorded with the most recent acknowledge if the current
+     * state is ActiveAcked. Empty otherwise.
+     * 
+ * + * string operator_comment = 11; + * @return The bytes for operatorComment. + */ + com.google.protobuf.ByteString + getOperatorCommentBytes(); + + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return Whether the currentValue field is set. + */ + boolean hasCurrentValue(); + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return The currentValue. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getCurrentValue(); + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getCurrentValueOrBuilder(); + + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return Whether the limitValue field is set. + */ + boolean hasLimitValue(); + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return The limitValue. + */ + mxaccess_gateway.v1.MxaccessGateway.MxValue getLimitValue(); + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getLimitValueOrBuilder(); + } + /** + *
+   * Snapshot of a currently-active MXAccess alarm condition, returned from a
+   * QueryActiveAlarms ConditionRefresh stream.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.ActiveAlarmSnapshot} + */ + public static final class ActiveAlarmSnapshot extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.ActiveAlarmSnapshot) + ActiveAlarmSnapshotOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ActiveAlarmSnapshot"); + } + // Use ActiveAlarmSnapshot.newBuilder() to construct. + private ActiveAlarmSnapshot(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ActiveAlarmSnapshot() { + alarmFullReference_ = ""; + sourceObjectReference_ = ""; + alarmTypeName_ = ""; + currentState_ = 0; + category_ = ""; + description_ = ""; + operatorUser_ = ""; + operatorComment_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.class, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder.class); + } + + private int bitField0_; + public static final int ALARM_FULL_REFERENCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmFullReference_ = ""; + /** + * string alarm_full_reference = 1; + * @return The alarmFullReference. + */ + @java.lang.Override + public java.lang.String getAlarmFullReference() { + java.lang.Object ref = alarmFullReference_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFullReference_ = s; + return s; + } + } + /** + * string alarm_full_reference = 1; + * @return The bytes for alarmFullReference. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmFullReferenceBytes() { + java.lang.Object ref = alarmFullReference_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFullReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_OBJECT_REFERENCE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object sourceObjectReference_ = ""; + /** + * string source_object_reference = 2; + * @return The sourceObjectReference. + */ + @java.lang.Override + public java.lang.String getSourceObjectReference() { + java.lang.Object ref = sourceObjectReference_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceObjectReference_ = s; + return s; + } + } + /** + * string source_object_reference = 2; + * @return The bytes for sourceObjectReference. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSourceObjectReferenceBytes() { + java.lang.Object ref = sourceObjectReference_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sourceObjectReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALARM_TYPE_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmTypeName_ = ""; + /** + * string alarm_type_name = 3; + * @return The alarmTypeName. + */ + @java.lang.Override + public java.lang.String getAlarmTypeName() { + java.lang.Object ref = alarmTypeName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmTypeName_ = s; + return s; + } + } + /** + * string alarm_type_name = 3; + * @return The bytes for alarmTypeName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmTypeNameBytes() { + java.lang.Object ref = alarmTypeName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmTypeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SEVERITY_FIELD_NUMBER = 4; + private int severity_ = 0; + /** + * int32 severity = 4; + * @return The severity. + */ + @java.lang.Override + public int getSeverity() { + return severity_; + } + + public static final int ORIGINAL_RAISE_TIMESTAMP_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp originalRaiseTimestamp_; + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + * @return Whether the originalRaiseTimestamp field is set. + */ + @java.lang.Override + public boolean hasOriginalRaiseTimestamp() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + * @return The originalRaiseTimestamp. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getOriginalRaiseTimestamp() { + return originalRaiseTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originalRaiseTimestamp_; + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getOriginalRaiseTimestampOrBuilder() { + return originalRaiseTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originalRaiseTimestamp_; + } + + public static final int CURRENT_STATE_FIELD_NUMBER = 6; + private int currentState_ = 0; + /** + * .mxaccess_gateway.v1.AlarmConditionState current_state = 6; + * @return The enum numeric value on the wire for currentState. + */ + @java.lang.Override public int getCurrentStateValue() { + return currentState_; + } + /** + * .mxaccess_gateway.v1.AlarmConditionState current_state = 6; + * @return The currentState. + */ + @java.lang.Override public mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState getCurrentState() { + mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState result = mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState.forNumber(currentState_); + return result == null ? mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState.UNRECOGNIZED : result; + } + + public static final int CATEGORY_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object category_ = ""; + /** + * string category = 7; + * @return The category. + */ + @java.lang.Override + public java.lang.String getCategory() { + java.lang.Object ref = category_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + category_ = s; + return s; + } + } + /** + * string category = 7; + * @return The bytes for category. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCategoryBytes() { + java.lang.Object ref = category_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + category_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * string description = 8; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * string description = 8; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LAST_TRANSITION_TIMESTAMP_FIELD_NUMBER = 9; + private com.google.protobuf.Timestamp lastTransitionTimestamp_; + /** + *
+     * When the most recent state transition occurred (last raise, last ack,
+     * last clear).
+     * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + * @return Whether the lastTransitionTimestamp field is set. + */ + @java.lang.Override + public boolean hasLastTransitionTimestamp() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * When the most recent state transition occurred (last raise, last ack,
+     * last clear).
+     * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + * @return The lastTransitionTimestamp. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getLastTransitionTimestamp() { + return lastTransitionTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastTransitionTimestamp_; + } + /** + *
+     * When the most recent state transition occurred (last raise, last ack,
+     * last clear).
+     * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getLastTransitionTimestampOrBuilder() { + return lastTransitionTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastTransitionTimestamp_; + } + + public static final int OPERATOR_USER_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorUser_ = ""; + /** + *
+     * Operator who acknowledged the alarm if the current state is ActiveAcked.
+     * Empty otherwise.
+     * 
+ * + * string operator_user = 10; + * @return The operatorUser. + */ + @java.lang.Override + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } + } + /** + *
+     * Operator who acknowledged the alarm if the current state is ActiveAcked.
+     * Empty otherwise.
+     * 
+ * + * string operator_user = 10; + * @return The bytes for operatorUser. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_COMMENT_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorComment_ = ""; + /** + *
+     * Operator comment recorded with the most recent acknowledge if the current
+     * state is ActiveAcked. Empty otherwise.
+     * 
+ * + * string operator_comment = 11; + * @return The operatorComment. + */ + @java.lang.Override + public java.lang.String getOperatorComment() { + java.lang.Object ref = operatorComment_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorComment_ = s; + return s; + } + } + /** + *
+     * Operator comment recorded with the most recent acknowledge if the current
+     * state is ActiveAcked. Empty otherwise.
+     * 
+ * + * string operator_comment = 11; + * @return The bytes for operatorComment. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorCommentBytes() { + java.lang.Object ref = operatorComment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorComment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CURRENT_VALUE_FIELD_NUMBER = 12; + private mxaccess_gateway.v1.MxaccessGateway.MxValue currentValue_; + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return Whether the currentValue field is set. + */ + @java.lang.Override + public boolean hasCurrentValue() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return The currentValue. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getCurrentValue() { + return currentValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : currentValue_; + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getCurrentValueOrBuilder() { + return currentValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : currentValue_; + } + + public static final int LIMIT_VALUE_FIELD_NUMBER = 13; + private mxaccess_gateway.v1.MxaccessGateway.MxValue limitValue_; + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return Whether the limitValue field is set. + */ + @java.lang.Override + public boolean hasLimitValue() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return The limitValue. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValue getLimitValue() { + return limitValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : limitValue_; + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getLimitValueOrBuilder() { + return limitValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : limitValue_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFullReference_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, alarmFullReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sourceObjectReference_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, sourceObjectReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmTypeName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, alarmTypeName_); + } + if (severity_ != 0) { + output.writeInt32(4, severity_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(5, getOriginalRaiseTimestamp()); + } + if (currentState_ != mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState.ALARM_CONDITION_STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(6, currentState_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(category_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, category_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, description_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(9, getLastTransitionTimestamp()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 10, operatorUser_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorComment_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 11, operatorComment_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(12, getCurrentValue()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(13, getLimitValue()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFullReference_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, alarmFullReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sourceObjectReference_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, sourceObjectReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmTypeName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, alarmTypeName_); + } + if (severity_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, severity_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getOriginalRaiseTimestamp()); + } + if (currentState_ != mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState.ALARM_CONDITION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, currentState_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(category_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, category_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, description_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getLastTransitionTimestamp()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(10, operatorUser_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorComment_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(11, operatorComment_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getCurrentValue()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getLimitValue()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot other = (mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) obj; + + if (!getAlarmFullReference() + .equals(other.getAlarmFullReference())) return false; + if (!getSourceObjectReference() + .equals(other.getSourceObjectReference())) return false; + if (!getAlarmTypeName() + .equals(other.getAlarmTypeName())) return false; + if (getSeverity() + != other.getSeverity()) return false; + if (hasOriginalRaiseTimestamp() != other.hasOriginalRaiseTimestamp()) return false; + if (hasOriginalRaiseTimestamp()) { + if (!getOriginalRaiseTimestamp() + .equals(other.getOriginalRaiseTimestamp())) return false; + } + if (currentState_ != other.currentState_) return false; + if (!getCategory() + .equals(other.getCategory())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (hasLastTransitionTimestamp() != other.hasLastTransitionTimestamp()) return false; + if (hasLastTransitionTimestamp()) { + if (!getLastTransitionTimestamp() + .equals(other.getLastTransitionTimestamp())) return false; + } + if (!getOperatorUser() + .equals(other.getOperatorUser())) return false; + if (!getOperatorComment() + .equals(other.getOperatorComment())) return false; + if (hasCurrentValue() != other.hasCurrentValue()) return false; + if (hasCurrentValue()) { + if (!getCurrentValue() + .equals(other.getCurrentValue())) return false; + } + if (hasLimitValue() != other.hasLimitValue()) return false; + if (hasLimitValue()) { + if (!getLimitValue() + .equals(other.getLimitValue())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ALARM_FULL_REFERENCE_FIELD_NUMBER; + hash = (53 * hash) + getAlarmFullReference().hashCode(); + hash = (37 * hash) + SOURCE_OBJECT_REFERENCE_FIELD_NUMBER; + hash = (53 * hash) + getSourceObjectReference().hashCode(); + hash = (37 * hash) + ALARM_TYPE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getAlarmTypeName().hashCode(); + hash = (37 * hash) + SEVERITY_FIELD_NUMBER; + hash = (53 * hash) + getSeverity(); + if (hasOriginalRaiseTimestamp()) { + hash = (37 * hash) + ORIGINAL_RAISE_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getOriginalRaiseTimestamp().hashCode(); + } + hash = (37 * hash) + CURRENT_STATE_FIELD_NUMBER; + hash = (53 * hash) + currentState_; + hash = (37 * hash) + CATEGORY_FIELD_NUMBER; + hash = (53 * hash) + getCategory().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (hasLastTransitionTimestamp()) { + hash = (37 * hash) + LAST_TRANSITION_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getLastTransitionTimestamp().hashCode(); + } + hash = (37 * hash) + OPERATOR_USER_FIELD_NUMBER; + hash = (53 * hash) + getOperatorUser().hashCode(); + hash = (37 * hash) + OPERATOR_COMMENT_FIELD_NUMBER; + hash = (53 * hash) + getOperatorComment().hashCode(); + if (hasCurrentValue()) { + hash = (37 * hash) + CURRENT_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getCurrentValue().hashCode(); + } + if (hasLimitValue()) { + hash = (37 * hash) + LIMIT_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getLimitValue().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Snapshot of a currently-active MXAccess alarm condition, returned from a
+     * QueryActiveAlarms ConditionRefresh stream.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.ActiveAlarmSnapshot} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.ActiveAlarmSnapshot) + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.class, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetOriginalRaiseTimestampFieldBuilder(); + internalGetLastTransitionTimestampFieldBuilder(); + internalGetCurrentValueFieldBuilder(); + internalGetLimitValueFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + alarmFullReference_ = ""; + sourceObjectReference_ = ""; + alarmTypeName_ = ""; + severity_ = 0; + originalRaiseTimestamp_ = null; + if (originalRaiseTimestampBuilder_ != null) { + originalRaiseTimestampBuilder_.dispose(); + originalRaiseTimestampBuilder_ = null; + } + currentState_ = 0; + category_ = ""; + description_ = ""; + lastTransitionTimestamp_ = null; + if (lastTransitionTimestampBuilder_ != null) { + lastTransitionTimestampBuilder_.dispose(); + lastTransitionTimestampBuilder_ = null; + } + operatorUser_ = ""; + operatorComment_ = ""; + currentValue_ = null; + if (currentValueBuilder_ != null) { + currentValueBuilder_.dispose(); + currentValueBuilder_ = null; + } + limitValue_ = null; + if (limitValueBuilder_ != null) { + limitValueBuilder_.dispose(); + limitValueBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot build() { + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot result = new mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.alarmFullReference_ = alarmFullReference_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sourceObjectReference_ = sourceObjectReference_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.alarmTypeName_ = alarmTypeName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.severity_ = severity_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000010) != 0)) { + result.originalRaiseTimestamp_ = originalRaiseTimestampBuilder_ == null + ? originalRaiseTimestamp_ + : originalRaiseTimestampBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.currentState_ = currentState_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.category_ = category_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.lastTransitionTimestamp_ = lastTransitionTimestampBuilder_ == null + ? lastTransitionTimestamp_ + : lastTransitionTimestampBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.operatorUser_ = operatorUser_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.operatorComment_ = operatorComment_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.currentValue_ = currentValueBuilder_ == null + ? currentValue_ + : currentValueBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.limitValue_ = limitValueBuilder_ == null + ? limitValue_ + : limitValueBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance()) return this; + if (!other.getAlarmFullReference().isEmpty()) { + alarmFullReference_ = other.alarmFullReference_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSourceObjectReference().isEmpty()) { + sourceObjectReference_ = other.sourceObjectReference_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getAlarmTypeName().isEmpty()) { + alarmTypeName_ = other.alarmTypeName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getSeverity() != 0) { + setSeverity(other.getSeverity()); + } + if (other.hasOriginalRaiseTimestamp()) { + mergeOriginalRaiseTimestamp(other.getOriginalRaiseTimestamp()); + } + if (other.currentState_ != 0) { + setCurrentStateValue(other.getCurrentStateValue()); + } + if (!other.getCategory().isEmpty()) { + category_ = other.category_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (other.hasLastTransitionTimestamp()) { + mergeLastTransitionTimestamp(other.getLastTransitionTimestamp()); + } + if (!other.getOperatorUser().isEmpty()) { + operatorUser_ = other.operatorUser_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (!other.getOperatorComment().isEmpty()) { + operatorComment_ = other.operatorComment_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (other.hasCurrentValue()) { + mergeCurrentValue(other.getCurrentValue()); + } + if (other.hasLimitValue()) { + mergeLimitValue(other.getLimitValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + alarmFullReference_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + sourceObjectReference_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + alarmTypeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + severity_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + internalGetOriginalRaiseTimestampFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + currentState_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: { + category_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + input.readMessage( + internalGetLastTransitionTimestampFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + operatorUser_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: { + operatorComment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + input.readMessage( + internalGetCurrentValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + input.readMessage( + internalGetLimitValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 106 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object alarmFullReference_ = ""; + /** + * string alarm_full_reference = 1; + * @return The alarmFullReference. + */ + public java.lang.String getAlarmFullReference() { + java.lang.Object ref = alarmFullReference_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFullReference_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string alarm_full_reference = 1; + * @return The bytes for alarmFullReference. + */ + public com.google.protobuf.ByteString + getAlarmFullReferenceBytes() { + java.lang.Object ref = alarmFullReference_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFullReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string alarm_full_reference = 1; + * @param value The alarmFullReference to set. + * @return This builder for chaining. + */ + public Builder setAlarmFullReference( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmFullReference_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string alarm_full_reference = 1; + * @return This builder for chaining. + */ + public Builder clearAlarmFullReference() { + alarmFullReference_ = getDefaultInstance().getAlarmFullReference(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string alarm_full_reference = 1; + * @param value The bytes for alarmFullReference to set. + * @return This builder for chaining. + */ + public Builder setAlarmFullReferenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmFullReference_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object sourceObjectReference_ = ""; + /** + * string source_object_reference = 2; + * @return The sourceObjectReference. + */ + public java.lang.String getSourceObjectReference() { + java.lang.Object ref = sourceObjectReference_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceObjectReference_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string source_object_reference = 2; + * @return The bytes for sourceObjectReference. + */ + public com.google.protobuf.ByteString + getSourceObjectReferenceBytes() { + java.lang.Object ref = sourceObjectReference_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sourceObjectReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string source_object_reference = 2; + * @param value The sourceObjectReference to set. + * @return This builder for chaining. + */ + public Builder setSourceObjectReference( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + sourceObjectReference_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string source_object_reference = 2; + * @return This builder for chaining. + */ + public Builder clearSourceObjectReference() { + sourceObjectReference_ = getDefaultInstance().getSourceObjectReference(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string source_object_reference = 2; + * @param value The bytes for sourceObjectReference to set. + * @return This builder for chaining. + */ + public Builder setSourceObjectReferenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + sourceObjectReference_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object alarmTypeName_ = ""; + /** + * string alarm_type_name = 3; + * @return The alarmTypeName. + */ + public java.lang.String getAlarmTypeName() { + java.lang.Object ref = alarmTypeName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmTypeName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string alarm_type_name = 3; + * @return The bytes for alarmTypeName. + */ + public com.google.protobuf.ByteString + getAlarmTypeNameBytes() { + java.lang.Object ref = alarmTypeName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmTypeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string alarm_type_name = 3; + * @param value The alarmTypeName to set. + * @return This builder for chaining. + */ + public Builder setAlarmTypeName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmTypeName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string alarm_type_name = 3; + * @return This builder for chaining. + */ + public Builder clearAlarmTypeName() { + alarmTypeName_ = getDefaultInstance().getAlarmTypeName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string alarm_type_name = 3; + * @param value The bytes for alarmTypeName to set. + * @return This builder for chaining. + */ + public Builder setAlarmTypeNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmTypeName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int severity_ ; + /** + * int32 severity = 4; + * @return The severity. + */ + @java.lang.Override + public int getSeverity() { + return severity_; + } + /** + * int32 severity = 4; + * @param value The severity to set. + * @return This builder for chaining. + */ + public Builder setSeverity(int value) { + + severity_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 severity = 4; + * @return This builder for chaining. + */ + public Builder clearSeverity() { + bitField0_ = (bitField0_ & ~0x00000008); + severity_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp originalRaiseTimestamp_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> originalRaiseTimestampBuilder_; + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + * @return Whether the originalRaiseTimestamp field is set. + */ + public boolean hasOriginalRaiseTimestamp() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + * @return The originalRaiseTimestamp. + */ + public com.google.protobuf.Timestamp getOriginalRaiseTimestamp() { + if (originalRaiseTimestampBuilder_ == null) { + return originalRaiseTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originalRaiseTimestamp_; + } else { + return originalRaiseTimestampBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + */ + public Builder setOriginalRaiseTimestamp(com.google.protobuf.Timestamp value) { + if (originalRaiseTimestampBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + originalRaiseTimestamp_ = value; + } else { + originalRaiseTimestampBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + */ + public Builder setOriginalRaiseTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (originalRaiseTimestampBuilder_ == null) { + originalRaiseTimestamp_ = builderForValue.build(); + } else { + originalRaiseTimestampBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + */ + public Builder mergeOriginalRaiseTimestamp(com.google.protobuf.Timestamp value) { + if (originalRaiseTimestampBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + originalRaiseTimestamp_ != null && + originalRaiseTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getOriginalRaiseTimestampBuilder().mergeFrom(value); + } else { + originalRaiseTimestamp_ = value; + } + } else { + originalRaiseTimestampBuilder_.mergeFrom(value); + } + if (originalRaiseTimestamp_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + */ + public Builder clearOriginalRaiseTimestamp() { + bitField0_ = (bitField0_ & ~0x00000010); + originalRaiseTimestamp_ = null; + if (originalRaiseTimestampBuilder_ != null) { + originalRaiseTimestampBuilder_.dispose(); + originalRaiseTimestampBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + */ + public com.google.protobuf.Timestamp.Builder getOriginalRaiseTimestampBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return internalGetOriginalRaiseTimestampFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + */ + public com.google.protobuf.TimestampOrBuilder getOriginalRaiseTimestampOrBuilder() { + if (originalRaiseTimestampBuilder_ != null) { + return originalRaiseTimestampBuilder_.getMessageOrBuilder(); + } else { + return originalRaiseTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : originalRaiseTimestamp_; + } + } + /** + * .google.protobuf.Timestamp original_raise_timestamp = 5; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + internalGetOriginalRaiseTimestampFieldBuilder() { + if (originalRaiseTimestampBuilder_ == null) { + originalRaiseTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOriginalRaiseTimestamp(), + getParentForChildren(), + isClean()); + originalRaiseTimestamp_ = null; + } + return originalRaiseTimestampBuilder_; + } + + private int currentState_ = 0; + /** + * .mxaccess_gateway.v1.AlarmConditionState current_state = 6; + * @return The enum numeric value on the wire for currentState. + */ + @java.lang.Override public int getCurrentStateValue() { + return currentState_; + } + /** + * .mxaccess_gateway.v1.AlarmConditionState current_state = 6; + * @param value The enum numeric value on the wire for currentState to set. + * @return This builder for chaining. + */ + public Builder setCurrentStateValue(int value) { + currentState_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.AlarmConditionState current_state = 6; + * @return The currentState. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState getCurrentState() { + mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState result = mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState.forNumber(currentState_); + return result == null ? mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState.UNRECOGNIZED : result; + } + /** + * .mxaccess_gateway.v1.AlarmConditionState current_state = 6; + * @param value The currentState to set. + * @return This builder for chaining. + */ + public Builder setCurrentState(mxaccess_gateway.v1.MxaccessGateway.AlarmConditionState value) { + if (value == null) { throw new NullPointerException(); } + bitField0_ |= 0x00000020; + currentState_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.AlarmConditionState current_state = 6; + * @return This builder for chaining. + */ + public Builder clearCurrentState() { + bitField0_ = (bitField0_ & ~0x00000020); + currentState_ = 0; + onChanged(); + return this; + } + + private java.lang.Object category_ = ""; + /** + * string category = 7; + * @return The category. + */ + public java.lang.String getCategory() { + java.lang.Object ref = category_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + category_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string category = 7; + * @return The bytes for category. + */ + public com.google.protobuf.ByteString + getCategoryBytes() { + java.lang.Object ref = category_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + category_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string category = 7; + * @param value The category to set. + * @return This builder for chaining. + */ + public Builder setCategory( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + category_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string category = 7; + * @return This builder for chaining. + */ + public Builder clearCategory() { + category_ = getDefaultInstance().getCategory(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string category = 7; + * @param value The bytes for category to set. + * @return This builder for chaining. + */ + public Builder setCategoryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + category_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * string description = 8; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string description = 8; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string description = 8; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * string description = 8; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * string description = 8; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp lastTransitionTimestamp_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastTransitionTimestampBuilder_; + /** + *
+       * When the most recent state transition occurred (last raise, last ack,
+       * last clear).
+       * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + * @return Whether the lastTransitionTimestamp field is set. + */ + public boolean hasLastTransitionTimestamp() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + *
+       * When the most recent state transition occurred (last raise, last ack,
+       * last clear).
+       * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + * @return The lastTransitionTimestamp. + */ + public com.google.protobuf.Timestamp getLastTransitionTimestamp() { + if (lastTransitionTimestampBuilder_ == null) { + return lastTransitionTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastTransitionTimestamp_; + } else { + return lastTransitionTimestampBuilder_.getMessage(); + } + } + /** + *
+       * When the most recent state transition occurred (last raise, last ack,
+       * last clear).
+       * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + */ + public Builder setLastTransitionTimestamp(com.google.protobuf.Timestamp value) { + if (lastTransitionTimestampBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + lastTransitionTimestamp_ = value; + } else { + lastTransitionTimestampBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * When the most recent state transition occurred (last raise, last ack,
+       * last clear).
+       * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + */ + public Builder setLastTransitionTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (lastTransitionTimestampBuilder_ == null) { + lastTransitionTimestamp_ = builderForValue.build(); + } else { + lastTransitionTimestampBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * When the most recent state transition occurred (last raise, last ack,
+       * last clear).
+       * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + */ + public Builder mergeLastTransitionTimestamp(com.google.protobuf.Timestamp value) { + if (lastTransitionTimestampBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) && + lastTransitionTimestamp_ != null && + lastTransitionTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getLastTransitionTimestampBuilder().mergeFrom(value); + } else { + lastTransitionTimestamp_ = value; + } + } else { + lastTransitionTimestampBuilder_.mergeFrom(value); + } + if (lastTransitionTimestamp_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } + return this; + } + /** + *
+       * When the most recent state transition occurred (last raise, last ack,
+       * last clear).
+       * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + */ + public Builder clearLastTransitionTimestamp() { + bitField0_ = (bitField0_ & ~0x00000100); + lastTransitionTimestamp_ = null; + if (lastTransitionTimestampBuilder_ != null) { + lastTransitionTimestampBuilder_.dispose(); + lastTransitionTimestampBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * When the most recent state transition occurred (last raise, last ack,
+       * last clear).
+       * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + */ + public com.google.protobuf.Timestamp.Builder getLastTransitionTimestampBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return internalGetLastTransitionTimestampFieldBuilder().getBuilder(); + } + /** + *
+       * When the most recent state transition occurred (last raise, last ack,
+       * last clear).
+       * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + */ + public com.google.protobuf.TimestampOrBuilder getLastTransitionTimestampOrBuilder() { + if (lastTransitionTimestampBuilder_ != null) { + return lastTransitionTimestampBuilder_.getMessageOrBuilder(); + } else { + return lastTransitionTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastTransitionTimestamp_; + } + } + /** + *
+       * When the most recent state transition occurred (last raise, last ack,
+       * last clear).
+       * 
+ * + * .google.protobuf.Timestamp last_transition_timestamp = 9; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + internalGetLastTransitionTimestampFieldBuilder() { + if (lastTransitionTimestampBuilder_ == null) { + lastTransitionTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastTransitionTimestamp(), + getParentForChildren(), + isClean()); + lastTransitionTimestamp_ = null; + } + return lastTransitionTimestampBuilder_; + } + + private java.lang.Object operatorUser_ = ""; + /** + *
+       * Operator who acknowledged the alarm if the current state is ActiveAcked.
+       * Empty otherwise.
+       * 
+ * + * string operator_user = 10; + * @return The operatorUser. + */ + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Operator who acknowledged the alarm if the current state is ActiveAcked.
+       * Empty otherwise.
+       * 
+ * + * string operator_user = 10; + * @return The bytes for operatorUser. + */ + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Operator who acknowledged the alarm if the current state is ActiveAcked.
+       * Empty otherwise.
+       * 
+ * + * string operator_user = 10; + * @param value The operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorUser_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+       * Operator who acknowledged the alarm if the current state is ActiveAcked.
+       * Empty otherwise.
+       * 
+ * + * string operator_user = 10; + * @return This builder for chaining. + */ + public Builder clearOperatorUser() { + operatorUser_ = getDefaultInstance().getOperatorUser(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + *
+       * Operator who acknowledged the alarm if the current state is ActiveAcked.
+       * Empty otherwise.
+       * 
+ * + * string operator_user = 10; + * @param value The bytes for operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorUser_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private java.lang.Object operatorComment_ = ""; + /** + *
+       * Operator comment recorded with the most recent acknowledge if the current
+       * state is ActiveAcked. Empty otherwise.
+       * 
+ * + * string operator_comment = 11; + * @return The operatorComment. + */ + public java.lang.String getOperatorComment() { + java.lang.Object ref = operatorComment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorComment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Operator comment recorded with the most recent acknowledge if the current
+       * state is ActiveAcked. Empty otherwise.
+       * 
+ * + * string operator_comment = 11; + * @return The bytes for operatorComment. + */ + public com.google.protobuf.ByteString + getOperatorCommentBytes() { + java.lang.Object ref = operatorComment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorComment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Operator comment recorded with the most recent acknowledge if the current
+       * state is ActiveAcked. Empty otherwise.
+       * 
+ * + * string operator_comment = 11; + * @param value The operatorComment to set. + * @return This builder for chaining. + */ + public Builder setOperatorComment( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorComment_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + *
+       * Operator comment recorded with the most recent acknowledge if the current
+       * state is ActiveAcked. Empty otherwise.
+       * 
+ * + * string operator_comment = 11; + * @return This builder for chaining. + */ + public Builder clearOperatorComment() { + operatorComment_ = getDefaultInstance().getOperatorComment(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + *
+       * Operator comment recorded with the most recent acknowledge if the current
+       * state is ActiveAcked. Empty otherwise.
+       * 
+ * + * string operator_comment = 11; + * @param value The bytes for operatorComment to set. + * @return This builder for chaining. + */ + public Builder setOperatorCommentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorComment_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue currentValue_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> currentValueBuilder_; + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return Whether the currentValue field is set. + */ + public boolean hasCurrentValue() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + * @return The currentValue. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getCurrentValue() { + if (currentValueBuilder_ == null) { + return currentValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : currentValue_; + } else { + return currentValueBuilder_.getMessage(); + } + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public Builder setCurrentValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (currentValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + currentValue_ = value; + } else { + currentValueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public Builder setCurrentValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (currentValueBuilder_ == null) { + currentValue_ = builderForValue.build(); + } else { + currentValueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public Builder mergeCurrentValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (currentValueBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) && + currentValue_ != null && + currentValue_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getCurrentValueBuilder().mergeFrom(value); + } else { + currentValue_ = value; + } + } else { + currentValueBuilder_.mergeFrom(value); + } + if (currentValue_ != null) { + bitField0_ |= 0x00000800; + onChanged(); + } + return this; + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public Builder clearCurrentValue() { + bitField0_ = (bitField0_ & ~0x00000800); + currentValue_ = null; + if (currentValueBuilder_ != null) { + currentValueBuilder_.dispose(); + currentValueBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getCurrentValueBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return internalGetCurrentValueFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getCurrentValueOrBuilder() { + if (currentValueBuilder_ != null) { + return currentValueBuilder_.getMessageOrBuilder(); + } else { + return currentValue_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : currentValue_; + } + } + /** + * .mxaccess_gateway.v1.MxValue current_value = 12; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetCurrentValueFieldBuilder() { + if (currentValueBuilder_ == null) { + currentValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getCurrentValue(), + getParentForChildren(), + isClean()); + currentValue_ = null; + } + return currentValueBuilder_; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxValue limitValue_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> limitValueBuilder_; + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return Whether the limitValue field is set. + */ + public boolean hasLimitValue() { + return ((bitField0_ & 0x00001000) != 0); + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + * @return The limitValue. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue getLimitValue() { + if (limitValueBuilder_ == null) { + return limitValue_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : limitValue_; + } else { + return limitValueBuilder_.getMessage(); + } + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public Builder setLimitValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (limitValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + limitValue_ = value; + } else { + limitValueBuilder_.setMessage(value); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public Builder setLimitValue( + mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder builderForValue) { + if (limitValueBuilder_ == null) { + limitValue_ = builderForValue.build(); + } else { + limitValueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public Builder mergeLimitValue(mxaccess_gateway.v1.MxaccessGateway.MxValue value) { + if (limitValueBuilder_ == null) { + if (((bitField0_ & 0x00001000) != 0) && + limitValue_ != null && + limitValue_ != mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance()) { + getLimitValueBuilder().mergeFrom(value); + } else { + limitValue_ = value; + } + } else { + limitValueBuilder_.mergeFrom(value); + } + if (limitValue_ != null) { + bitField0_ |= 0x00001000; + onChanged(); + } + return this; + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public Builder clearLimitValue() { + bitField0_ = (bitField0_ & ~0x00001000); + limitValue_ = null; + if (limitValueBuilder_ != null) { + limitValueBuilder_.dispose(); + limitValueBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder getLimitValueBuilder() { + bitField0_ |= 0x00001000; + onChanged(); + return internalGetLimitValueFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder getLimitValueOrBuilder() { + if (limitValueBuilder_ != null) { + return limitValueBuilder_.getMessageOrBuilder(); + } else { + return limitValue_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxValue.getDefaultInstance() : limitValue_; + } + } + /** + * .mxaccess_gateway.v1.MxValue limit_value = 13; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder> + internalGetLimitValueFieldBuilder() { + if (limitValueBuilder_ == null) { + limitValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxValue, mxaccess_gateway.v1.MxaccessGateway.MxValue.Builder, mxaccess_gateway.v1.MxaccessGateway.MxValueOrBuilder>( + getLimitValue(), + getParentForChildren(), + isClean()); + limitValue_ = null; + } + return limitValueBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.ActiveAlarmSnapshot) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.ActiveAlarmSnapshot) + private static final mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActiveAlarmSnapshot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AcknowledgeAlarmRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.AcknowledgeAlarmRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string client_correlation_id = 2; + * @return The clientCorrelationId. + */ + java.lang.String getClientCorrelationId(); + /** + * string client_correlation_id = 2; + * @return The bytes for clientCorrelationId. + */ + com.google.protobuf.ByteString + getClientCorrelationIdBytes(); + + /** + *
+     * Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference.
+     * 
+ * + * string alarm_full_reference = 3; + * @return The alarmFullReference. + */ + java.lang.String getAlarmFullReference(); + /** + *
+     * Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference.
+     * 
+ * + * string alarm_full_reference = 3; + * @return The bytes for alarmFullReference. + */ + com.google.protobuf.ByteString + getAlarmFullReferenceBytes(); + + /** + *
+     * Operator-supplied comment forwarded to MXAccess.
+     * 
+ * + * string comment = 4; + * @return The comment. + */ + java.lang.String getComment(); + /** + *
+     * Operator-supplied comment forwarded to MXAccess.
+     * 
+ * + * string comment = 4; + * @return The bytes for comment. + */ + com.google.protobuf.ByteString + getCommentBytes(); + + /** + *
+     * Operator principal performing the acknowledgement. The lmxopcua side
+     * resolves this from the OPC UA session prior to invoking the RPC.
+     * 
+ * + * string operator_user = 5; + * @return The operatorUser. + */ + java.lang.String getOperatorUser(); + /** + *
+     * Operator principal performing the acknowledgement. The lmxopcua side
+     * resolves this from the OPC UA session prior to invoking the RPC.
+     * 
+ * + * string operator_user = 5; + * @return The bytes for operatorUser. + */ + com.google.protobuf.ByteString + getOperatorUserBytes(); + } + /** + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmRequest} + */ + public static final class AcknowledgeAlarmRequest extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.AcknowledgeAlarmRequest) + AcknowledgeAlarmRequestOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "AcknowledgeAlarmRequest"); + } + // Use AcknowledgeAlarmRequest.newBuilder() to construct. + private AcknowledgeAlarmRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private AcknowledgeAlarmRequest() { + clientCorrelationId_ = ""; + alarmFullReference_ = ""; + comment_ = ""; + operatorUser_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest.Builder.class); + } + + public static final int CLIENT_CORRELATION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object clientCorrelationId_ = ""; + /** + * string client_correlation_id = 2; + * @return The clientCorrelationId. + */ + @java.lang.Override + public java.lang.String getClientCorrelationId() { + java.lang.Object ref = clientCorrelationId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientCorrelationId_ = s; + return s; + } + } + /** + * string client_correlation_id = 2; + * @return The bytes for clientCorrelationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClientCorrelationIdBytes() { + java.lang.Object ref = clientCorrelationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientCorrelationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALARM_FULL_REFERENCE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmFullReference_ = ""; + /** + *
+     * Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference.
+     * 
+ * + * string alarm_full_reference = 3; + * @return The alarmFullReference. + */ + @java.lang.Override + public java.lang.String getAlarmFullReference() { + java.lang.Object ref = alarmFullReference_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFullReference_ = s; + return s; + } + } + /** + *
+     * Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference.
+     * 
+ * + * string alarm_full_reference = 3; + * @return The bytes for alarmFullReference. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmFullReferenceBytes() { + java.lang.Object ref = alarmFullReference_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFullReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMMENT_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object comment_ = ""; + /** + *
+     * Operator-supplied comment forwarded to MXAccess.
+     * 
+ * + * string comment = 4; + * @return The comment. + */ + @java.lang.Override + public java.lang.String getComment() { + java.lang.Object ref = comment_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comment_ = s; + return s; + } + } + /** + *
+     * Operator-supplied comment forwarded to MXAccess.
+     * 
+ * + * string comment = 4; + * @return The bytes for comment. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCommentBytes() { + java.lang.Object ref = comment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_USER_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object operatorUser_ = ""; + /** + *
+     * Operator principal performing the acknowledgement. The lmxopcua side
+     * resolves this from the OPC UA session prior to invoking the RPC.
+     * 
+ * + * string operator_user = 5; + * @return The operatorUser. + */ + @java.lang.Override + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } + } + /** + *
+     * Operator principal performing the acknowledgement. The lmxopcua side
+     * resolves this from the OPC UA session prior to invoking the RPC.
+     * 
+ * + * string operator_user = 5; + * @return The bytes for operatorUser. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientCorrelationId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clientCorrelationId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFullReference_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, alarmFullReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(comment_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, comment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, operatorUser_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientCorrelationId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clientCorrelationId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFullReference_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, alarmFullReference_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(comment_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, comment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operatorUser_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, operatorUser_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest other = (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest) obj; + + if (!getClientCorrelationId() + .equals(other.getClientCorrelationId())) return false; + if (!getAlarmFullReference() + .equals(other.getAlarmFullReference())) return false; + if (!getComment() + .equals(other.getComment())) return false; + if (!getOperatorUser() + .equals(other.getOperatorUser())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CLIENT_CORRELATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientCorrelationId().hashCode(); + hash = (37 * hash) + ALARM_FULL_REFERENCE_FIELD_NUMBER; + hash = (53 * hash) + getAlarmFullReference().hashCode(); + hash = (37 * hash) + COMMENT_FIELD_NUMBER; + hash = (53 * hash) + getComment().hashCode(); + hash = (37 * hash) + OPERATOR_USER_FIELD_NUMBER; + hash = (53 * hash) + getOperatorUser().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.AcknowledgeAlarmRequest) + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + clientCorrelationId_ = ""; + alarmFullReference_ = ""; + comment_ = ""; + operatorUser_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest build() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest result = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.clientCorrelationId_ = clientCorrelationId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.alarmFullReference_ = alarmFullReference_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.comment_ = comment_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.operatorUser_ = operatorUser_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest.getDefaultInstance()) return this; + if (!other.getClientCorrelationId().isEmpty()) { + clientCorrelationId_ = other.clientCorrelationId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getAlarmFullReference().isEmpty()) { + alarmFullReference_ = other.alarmFullReference_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getComment().isEmpty()) { + comment_ = other.comment_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getOperatorUser().isEmpty()) { + operatorUser_ = other.operatorUser_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + clientCorrelationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + case 26: { + alarmFullReference_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + comment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: { + operatorUser_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object clientCorrelationId_ = ""; + /** + * string client_correlation_id = 2; + * @return The clientCorrelationId. + */ + public java.lang.String getClientCorrelationId() { + java.lang.Object ref = clientCorrelationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientCorrelationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string client_correlation_id = 2; + * @return The bytes for clientCorrelationId. + */ + public com.google.protobuf.ByteString + getClientCorrelationIdBytes() { + java.lang.Object ref = clientCorrelationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientCorrelationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string client_correlation_id = 2; + * @param value The clientCorrelationId to set. + * @return This builder for chaining. + */ + public Builder setClientCorrelationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clientCorrelationId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string client_correlation_id = 2; + * @return This builder for chaining. + */ + public Builder clearClientCorrelationId() { + clientCorrelationId_ = getDefaultInstance().getClientCorrelationId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string client_correlation_id = 2; + * @param value The bytes for clientCorrelationId to set. + * @return This builder for chaining. + */ + public Builder setClientCorrelationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clientCorrelationId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object alarmFullReference_ = ""; + /** + *
+       * Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference.
+       * 
+ * + * string alarm_full_reference = 3; + * @return The alarmFullReference. + */ + public java.lang.String getAlarmFullReference() { + java.lang.Object ref = alarmFullReference_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFullReference_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference.
+       * 
+ * + * string alarm_full_reference = 3; + * @return The bytes for alarmFullReference. + */ + public com.google.protobuf.ByteString + getAlarmFullReferenceBytes() { + java.lang.Object ref = alarmFullReference_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFullReference_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference.
+       * 
+ * + * string alarm_full_reference = 3; + * @param value The alarmFullReference to set. + * @return This builder for chaining. + */ + public Builder setAlarmFullReference( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmFullReference_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference.
+       * 
+ * + * string alarm_full_reference = 3; + * @return This builder for chaining. + */ + public Builder clearAlarmFullReference() { + alarmFullReference_ = getDefaultInstance().getAlarmFullReference(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Fully-qualified alarm reference matching OnAlarmTransitionEvent.alarm_full_reference.
+       * 
+ * + * string alarm_full_reference = 3; + * @param value The bytes for alarmFullReference to set. + * @return This builder for chaining. + */ + public Builder setAlarmFullReferenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmFullReference_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object comment_ = ""; + /** + *
+       * Operator-supplied comment forwarded to MXAccess.
+       * 
+ * + * string comment = 4; + * @return The comment. + */ + public java.lang.String getComment() { + java.lang.Object ref = comment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Operator-supplied comment forwarded to MXAccess.
+       * 
+ * + * string comment = 4; + * @return The bytes for comment. + */ + public com.google.protobuf.ByteString + getCommentBytes() { + java.lang.Object ref = comment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Operator-supplied comment forwarded to MXAccess.
+       * 
+ * + * string comment = 4; + * @param value The comment to set. + * @return This builder for chaining. + */ + public Builder setComment( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + comment_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Operator-supplied comment forwarded to MXAccess.
+       * 
+ * + * string comment = 4; + * @return This builder for chaining. + */ + public Builder clearComment() { + comment_ = getDefaultInstance().getComment(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Operator-supplied comment forwarded to MXAccess.
+       * 
+ * + * string comment = 4; + * @param value The bytes for comment to set. + * @return This builder for chaining. + */ + public Builder setCommentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + comment_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object operatorUser_ = ""; + /** + *
+       * Operator principal performing the acknowledgement. The lmxopcua side
+       * resolves this from the OPC UA session prior to invoking the RPC.
+       * 
+ * + * string operator_user = 5; + * @return The operatorUser. + */ + public java.lang.String getOperatorUser() { + java.lang.Object ref = operatorUser_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatorUser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Operator principal performing the acknowledgement. The lmxopcua side
+       * resolves this from the OPC UA session prior to invoking the RPC.
+       * 
+ * + * string operator_user = 5; + * @return The bytes for operatorUser. + */ + public com.google.protobuf.ByteString + getOperatorUserBytes() { + java.lang.Object ref = operatorUser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatorUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Operator principal performing the acknowledgement. The lmxopcua side
+       * resolves this from the OPC UA session prior to invoking the RPC.
+       * 
+ * + * string operator_user = 5; + * @param value The operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + operatorUser_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Operator principal performing the acknowledgement. The lmxopcua side
+       * resolves this from the OPC UA session prior to invoking the RPC.
+       * 
+ * + * string operator_user = 5; + * @return This builder for chaining. + */ + public Builder clearOperatorUser() { + operatorUser_ = getDefaultInstance().getOperatorUser(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * Operator principal performing the acknowledgement. The lmxopcua side
+       * resolves this from the OPC UA session prior to invoking the RPC.
+       * 
+ * + * string operator_user = 5; + * @param value The bytes for operatorUser to set. + * @return This builder for chaining. + */ + public Builder setOperatorUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + operatorUser_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.AcknowledgeAlarmRequest) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.AcknowledgeAlarmRequest) + private static final mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeAlarmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AcknowledgeAlarmReplyOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.AcknowledgeAlarmReply) + com.google.protobuf.MessageOrBuilder { + + /** + * string correlation_id = 2; + * @return The correlationId. + */ + java.lang.String getCorrelationId(); + /** + * string correlation_id = 2; + * @return The bytes for correlationId. + */ + com.google.protobuf.ByteString + getCorrelationIdBytes(); + + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + * @return Whether the protocolStatus field is set. + */ + boolean hasProtocolStatus(); + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + * @return The protocolStatus. + */ + mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus getProtocolStatus(); + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + */ + mxaccess_gateway.v1.MxaccessGateway.ProtocolStatusOrBuilder getProtocolStatusOrBuilder(); + + /** + *
+     * Native ack return code echoed from the worker. The worker carries the
+     * ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
+     * = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
+     * WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
+     * ack-outcome field for the public RPC. Absent only when the worker reply
+     * omitted the value entirely (a protocol violation).
+     * 
+ * + * optional int32 hresult = 4; + * @return Whether the hresult field is set. + */ + boolean hasHresult(); + /** + *
+     * Native ack return code echoed from the worker. The worker carries the
+     * ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
+     * = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
+     * WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
+     * ack-outcome field for the public RPC. Absent only when the worker reply
+     * omitted the value entirely (a protocol violation).
+     * 
+ * + * optional int32 hresult = 4; + * @return The hresult. + */ + int getHresult(); + + /** + *
+     * Reserved for a structured MxStatusProxy view of the ack outcome. The
+     * worker by-name/by-GUID ack path produces only the int32 return code
+     * (see `hresult`), so the current gateway leaves this field UNSET on every
+     * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+     * result and must not depend on `status` being populated.
+     * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + *
+     * Reserved for a structured MxStatusProxy view of the ack outcome. The
+     * worker by-name/by-GUID ack path produces only the int32 return code
+     * (see `hresult`), so the current gateway leaves this field UNSET on every
+     * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+     * result and must not depend on `status` being populated.
+     * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + * @return The status. + */ + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy getStatus(); + /** + *
+     * Reserved for a structured MxStatusProxy view of the ack outcome. The
+     * worker by-name/by-GUID ack path produces only the int32 return code
+     * (see `hresult`), so the current gateway leaves this field UNSET on every
+     * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+     * result and must not depend on `status` being populated.
+     * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + */ + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder getStatusOrBuilder(); + + /** + * string diagnostic_message = 6; + * @return The diagnosticMessage. + */ + java.lang.String getDiagnosticMessage(); + /** + * string diagnostic_message = 6; + * @return The bytes for diagnosticMessage. + */ + com.google.protobuf.ByteString + getDiagnosticMessageBytes(); + } + /** + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmReply} + */ + public static final class AcknowledgeAlarmReply extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.AcknowledgeAlarmReply) + AcknowledgeAlarmReplyOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "AcknowledgeAlarmReply"); + } + // Use AcknowledgeAlarmReply.newBuilder() to construct. + private AcknowledgeAlarmReply(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private AcknowledgeAlarmReply() { + correlationId_ = ""; + diagnosticMessage_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply.Builder.class); + } + + private int bitField0_; + public static final int CORRELATION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object correlationId_ = ""; + /** + * string correlation_id = 2; + * @return The correlationId. + */ + @java.lang.Override + public java.lang.String getCorrelationId() { + java.lang.Object ref = correlationId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + correlationId_ = s; + return s; + } + } + /** + * string correlation_id = 2; + * @return The bytes for correlationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCorrelationIdBytes() { + java.lang.Object ref = correlationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + correlationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROTOCOL_STATUS_FIELD_NUMBER = 3; + private mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus protocolStatus_; + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + * @return Whether the protocolStatus field is set. + */ + @java.lang.Override + public boolean hasProtocolStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + * @return The protocolStatus. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus getProtocolStatus() { + return protocolStatus_ == null ? mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.getDefaultInstance() : protocolStatus_; + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ProtocolStatusOrBuilder getProtocolStatusOrBuilder() { + return protocolStatus_ == null ? mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.getDefaultInstance() : protocolStatus_; + } + + public static final int HRESULT_FIELD_NUMBER = 4; + private int hresult_ = 0; + /** + *
+     * Native ack return code echoed from the worker. The worker carries the
+     * ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
+     * = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
+     * WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
+     * ack-outcome field for the public RPC. Absent only when the worker reply
+     * omitted the value entirely (a protocol violation).
+     * 
+ * + * optional int32 hresult = 4; + * @return Whether the hresult field is set. + */ + @java.lang.Override + public boolean hasHresult() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * Native ack return code echoed from the worker. The worker carries the
+     * ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
+     * = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
+     * WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
+     * ack-outcome field for the public RPC. Absent only when the worker reply
+     * omitted the value entirely (a protocol violation).
+     * 
+ * + * optional int32 hresult = 4; + * @return The hresult. + */ + @java.lang.Override + public int getHresult() { + return hresult_; + } + + public static final int STATUS_FIELD_NUMBER = 5; + private mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy status_; + /** + *
+     * Reserved for a structured MxStatusProxy view of the ack outcome. The
+     * worker by-name/by-GUID ack path produces only the int32 return code
+     * (see `hresult`), so the current gateway leaves this field UNSET on every
+     * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+     * result and must not depend on `status` being populated.
+     * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * Reserved for a structured MxStatusProxy view of the ack outcome. The
+     * worker by-name/by-GUID ack path produces only the int32 return code
+     * (see `hresult`), so the current gateway leaves this field UNSET on every
+     * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+     * result and must not depend on `status` being populated.
+     * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + * @return The status. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy getStatus() { + return status_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.getDefaultInstance() : status_; + } + /** + *
+     * Reserved for a structured MxStatusProxy view of the ack outcome. The
+     * worker by-name/by-GUID ack path produces only the int32 return code
+     * (see `hresult`), so the current gateway leaves this field UNSET on every
+     * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+     * result and must not depend on `status` being populated.
+     * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder getStatusOrBuilder() { + return status_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.getDefaultInstance() : status_; + } + + public static final int DIAGNOSTIC_MESSAGE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object diagnosticMessage_ = ""; + /** + * string diagnostic_message = 6; + * @return The diagnosticMessage. + */ + @java.lang.Override + public java.lang.String getDiagnosticMessage() { + java.lang.Object ref = diagnosticMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + diagnosticMessage_ = s; + return s; + } + } + /** + * string diagnostic_message = 6; + * @return The bytes for diagnosticMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDiagnosticMessageBytes() { + java.lang.Object ref = diagnosticMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + diagnosticMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(correlationId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, correlationId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getProtocolStatus()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(4, hresult_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(5, getStatus()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(diagnosticMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, diagnosticMessage_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(correlationId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, correlationId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getProtocolStatus()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, hresult_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getStatus()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(diagnosticMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, diagnosticMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply other = (mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply) obj; + + if (!getCorrelationId() + .equals(other.getCorrelationId())) return false; + if (hasProtocolStatus() != other.hasProtocolStatus()) return false; + if (hasProtocolStatus()) { + if (!getProtocolStatus() + .equals(other.getProtocolStatus())) return false; + } + if (hasHresult() != other.hasHresult()) return false; + if (hasHresult()) { + if (getHresult() + != other.getHresult()) return false; + } + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus() + .equals(other.getStatus())) return false; + } + if (!getDiagnosticMessage() + .equals(other.getDiagnosticMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CORRELATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getCorrelationId().hashCode(); + if (hasProtocolStatus()) { + hash = (37 * hash) + PROTOCOL_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getProtocolStatus().hashCode(); + } + if (hasHresult()) { + hash = (37 * hash) + HRESULT_FIELD_NUMBER; + hash = (53 * hash) + getHresult(); + } + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } + hash = (37 * hash) + DIAGNOSTIC_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getDiagnosticMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code mxaccess_gateway.v1.AcknowledgeAlarmReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.AcknowledgeAlarmReply) + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReplyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply.class, mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetProtocolStatusFieldBuilder(); + internalGetStatusFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + correlationId_ = ""; + protocolStatus_ = null; + if (protocolStatusBuilder_ != null) { + protocolStatusBuilder_.dispose(); + protocolStatusBuilder_ = null; + } + hresult_ = 0; + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + diagnosticMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply build() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply result = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.correlationId_ = correlationId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.protocolStatus_ = protocolStatusBuilder_ == null + ? protocolStatus_ + : protocolStatusBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hresult_ = hresult_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.diagnosticMessage_ = diagnosticMessage_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply.getDefaultInstance()) return this; + if (!other.getCorrelationId().isEmpty()) { + correlationId_ = other.correlationId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasProtocolStatus()) { + mergeProtocolStatus(other.getProtocolStatus()); + } + if (other.hasHresult()) { + setHresult(other.getHresult()); + } + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } + if (!other.getDiagnosticMessage().isEmpty()) { + diagnosticMessage_ = other.diagnosticMessage_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + correlationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + case 26: { + input.readMessage( + internalGetProtocolStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: { + hresult_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: { + input.readMessage( + internalGetStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + diagnosticMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object correlationId_ = ""; + /** + * string correlation_id = 2; + * @return The correlationId. + */ + public java.lang.String getCorrelationId() { + java.lang.Object ref = correlationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + correlationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string correlation_id = 2; + * @return The bytes for correlationId. + */ + public com.google.protobuf.ByteString + getCorrelationIdBytes() { + java.lang.Object ref = correlationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + correlationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string correlation_id = 2; + * @param value The correlationId to set. + * @return This builder for chaining. + */ + public Builder setCorrelationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + correlationId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string correlation_id = 2; + * @return This builder for chaining. + */ + public Builder clearCorrelationId() { + correlationId_ = getDefaultInstance().getCorrelationId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string correlation_id = 2; + * @param value The bytes for correlationId to set. + * @return This builder for chaining. + */ + public Builder setCorrelationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + correlationId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus protocolStatus_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus, mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.Builder, mxaccess_gateway.v1.MxaccessGateway.ProtocolStatusOrBuilder> protocolStatusBuilder_; + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + * @return Whether the protocolStatus field is set. + */ + public boolean hasProtocolStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + * @return The protocolStatus. + */ + public mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus getProtocolStatus() { + if (protocolStatusBuilder_ == null) { + return protocolStatus_ == null ? mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.getDefaultInstance() : protocolStatus_; + } else { + return protocolStatusBuilder_.getMessage(); + } + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + */ + public Builder setProtocolStatus(mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus value) { + if (protocolStatusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + protocolStatus_ = value; + } else { + protocolStatusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + */ + public Builder setProtocolStatus( + mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.Builder builderForValue) { + if (protocolStatusBuilder_ == null) { + protocolStatus_ = builderForValue.build(); + } else { + protocolStatusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + */ + public Builder mergeProtocolStatus(mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus value) { + if (protocolStatusBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + protocolStatus_ != null && + protocolStatus_ != mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.getDefaultInstance()) { + getProtocolStatusBuilder().mergeFrom(value); + } else { + protocolStatus_ = value; + } + } else { + protocolStatusBuilder_.mergeFrom(value); + } + if (protocolStatus_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + */ + public Builder clearProtocolStatus() { + bitField0_ = (bitField0_ & ~0x00000002); + protocolStatus_ = null; + if (protocolStatusBuilder_ != null) { + protocolStatusBuilder_.dispose(); + protocolStatusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + */ + public mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.Builder getProtocolStatusBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetProtocolStatusFieldBuilder().getBuilder(); + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + */ + public mxaccess_gateway.v1.MxaccessGateway.ProtocolStatusOrBuilder getProtocolStatusOrBuilder() { + if (protocolStatusBuilder_ != null) { + return protocolStatusBuilder_.getMessageOrBuilder(); + } else { + return protocolStatus_ == null ? + mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.getDefaultInstance() : protocolStatus_; + } + } + /** + * .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus, mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.Builder, mxaccess_gateway.v1.MxaccessGateway.ProtocolStatusOrBuilder> + internalGetProtocolStatusFieldBuilder() { + if (protocolStatusBuilder_ == null) { + protocolStatusBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus, mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus.Builder, mxaccess_gateway.v1.MxaccessGateway.ProtocolStatusOrBuilder>( + getProtocolStatus(), + getParentForChildren(), + isClean()); + protocolStatus_ = null; + } + return protocolStatusBuilder_; + } + + private int hresult_ ; + /** + *
+       * Native ack return code echoed from the worker. The worker carries the
+       * ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
+       * = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
+       * WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
+       * ack-outcome field for the public RPC. Absent only when the worker reply
+       * omitted the value entirely (a protocol violation).
+       * 
+ * + * optional int32 hresult = 4; + * @return Whether the hresult field is set. + */ + @java.lang.Override + public boolean hasHresult() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+       * Native ack return code echoed from the worker. The worker carries the
+       * ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
+       * = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
+       * WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
+       * ack-outcome field for the public RPC. Absent only when the worker reply
+       * omitted the value entirely (a protocol violation).
+       * 
+ * + * optional int32 hresult = 4; + * @return The hresult. + */ + @java.lang.Override + public int getHresult() { + return hresult_; + } + /** + *
+       * Native ack return code echoed from the worker. The worker carries the
+       * ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
+       * = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
+       * WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
+       * ack-outcome field for the public RPC. Absent only when the worker reply
+       * omitted the value entirely (a protocol violation).
+       * 
+ * + * optional int32 hresult = 4; + * @param value The hresult to set. + * @return This builder for chaining. + */ + public Builder setHresult(int value) { + + hresult_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Native ack return code echoed from the worker. The worker carries the
+       * ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
+       * = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
+       * WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
+       * ack-outcome field for the public RPC. Absent only when the worker reply
+       * omitted the value entirely (a protocol violation).
+       * 
+ * + * optional int32 hresult = 4; + * @return This builder for chaining. + */ + public Builder clearHresult() { + bitField0_ = (bitField0_ & ~0x00000004); + hresult_ = 0; + onChanged(); + return this; + } + + private mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy status_; + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder> statusBuilder_; + /** + *
+       * Reserved for a structured MxStatusProxy view of the ack outcome. The
+       * worker by-name/by-GUID ack path produces only the int32 return code
+       * (see `hresult`), so the current gateway leaves this field UNSET on every
+       * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+       * result and must not depend on `status` being populated.
+       * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+       * Reserved for a structured MxStatusProxy view of the ack outcome. The
+       * worker by-name/by-GUID ack path produces only the int32 return code
+       * (see `hresult`), so the current gateway leaves this field UNSET on every
+       * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+       * result and must not depend on `status` being populated.
+       * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + * @return The status. + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy getStatus() { + if (statusBuilder_ == null) { + return status_ == null ? mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.getDefaultInstance() : status_; + } else { + return statusBuilder_.getMessage(); + } + } + /** + *
+       * Reserved for a structured MxStatusProxy view of the ack outcome. The
+       * worker by-name/by-GUID ack path produces only the int32 return code
+       * (see `hresult`), so the current gateway leaves this field UNSET on every
+       * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+       * result and must not depend on `status` being populated.
+       * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + */ + public Builder setStatus(mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Reserved for a structured MxStatusProxy view of the ack outcome. The
+       * worker by-name/by-GUID ack path produces only the int32 return code
+       * (see `hresult`), so the current gateway leaves this field UNSET on every
+       * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+       * result and must not depend on `status` being populated.
+       * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + */ + public Builder setStatus( + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Reserved for a structured MxStatusProxy view of the ack outcome. The
+       * worker by-name/by-GUID ack path produces only the int32 return code
+       * (see `hresult`), so the current gateway leaves this field UNSET on every
+       * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+       * result and must not depend on `status` being populated.
+       * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + */ + public Builder mergeStatus(mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + status_ != null && + status_ != mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + if (status_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + *
+       * Reserved for a structured MxStatusProxy view of the ack outcome. The
+       * worker by-name/by-GUID ack path produces only the int32 return code
+       * (see `hresult`), so the current gateway leaves this field UNSET on every
+       * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+       * result and must not depend on `status` being populated.
+       * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000008); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Reserved for a structured MxStatusProxy view of the ack outcome. The
+       * worker by-name/by-GUID ack path produces only the int32 return code
+       * (see `hresult`), so the current gateway leaves this field UNSET on every
+       * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+       * result and must not depend on `status` being populated.
+       * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder getStatusBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return internalGetStatusFieldBuilder().getBuilder(); + } + /** + *
+       * Reserved for a structured MxStatusProxy view of the ack outcome. The
+       * worker by-name/by-GUID ack path produces only the int32 return code
+       * (see `hresult`), so the current gateway leaves this field UNSET on every
+       * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+       * result and must not depend on `status` being populated.
+       * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + */ + public mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null ? + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.getDefaultInstance() : status_; + } + } + /** + *
+       * Reserved for a structured MxStatusProxy view of the ack outcome. The
+       * worker by-name/by-GUID ack path produces only the int32 return code
+       * (see `hresult`), so the current gateway leaves this field UNSET on every
+       * reply. Clients must read `hresult` (and `protocol_status`) for the ack
+       * result and must not depend on `status` being populated.
+       * 
+ * + * .mxaccess_gateway.v1.MxStatusProxy status = 5; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder> + internalGetStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy.Builder, mxaccess_gateway.v1.MxaccessGateway.MxStatusProxyOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); + status_ = null; + } + return statusBuilder_; + } + + private java.lang.Object diagnosticMessage_ = ""; + /** + * string diagnostic_message = 6; + * @return The diagnosticMessage. + */ + public java.lang.String getDiagnosticMessage() { + java.lang.Object ref = diagnosticMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + diagnosticMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string diagnostic_message = 6; + * @return The bytes for diagnosticMessage. + */ + public com.google.protobuf.ByteString + getDiagnosticMessageBytes() { + java.lang.Object ref = diagnosticMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + diagnosticMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string diagnostic_message = 6; + * @param value The diagnosticMessage to set. + * @return This builder for chaining. + */ + public Builder setDiagnosticMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + diagnosticMessage_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string diagnostic_message = 6; + * @return This builder for chaining. + */ + public Builder clearDiagnosticMessage() { + diagnosticMessage_ = getDefaultInstance().getDiagnosticMessage(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string diagnostic_message = 6; + * @param value The bytes for diagnosticMessage to set. + * @return This builder for chaining. + */ + public Builder setDiagnosticMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + diagnosticMessage_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.AcknowledgeAlarmReply) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.AcknowledgeAlarmReply) + private static final mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeAlarmReply parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface StreamAlarmsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.StreamAlarmsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string client_correlation_id = 1; + * @return The clientCorrelationId. + */ + java.lang.String getClientCorrelationId(); + /** + * string client_correlation_id = 1; + * @return The bytes for clientCorrelationId. + */ + com.google.protobuf.ByteString + getClientCorrelationIdBytes(); + + /** + *
+     * Optional alarm-reference prefix scoping the feed to an equipment
+     * sub-tree. Empty streams every active alarm.
+     * 
+ * + * string alarm_filter_prefix = 2; + * @return The alarmFilterPrefix. + */ + java.lang.String getAlarmFilterPrefix(); + /** + *
+     * Optional alarm-reference prefix scoping the feed to an equipment
+     * sub-tree. Empty streams every active alarm.
+     * 
+ * + * string alarm_filter_prefix = 2; + * @return The bytes for alarmFilterPrefix. + */ + com.google.protobuf.ByteString + getAlarmFilterPrefixBytes(); + } + /** + *
+   * Request to attach to the gateway's central alarm feed (StreamAlarms).
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.StreamAlarmsRequest} + */ + public static final class StreamAlarmsRequest extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.StreamAlarmsRequest) + StreamAlarmsRequestOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "StreamAlarmsRequest"); + } + // Use StreamAlarmsRequest.newBuilder() to construct. + private StreamAlarmsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private StreamAlarmsRequest() { + clientCorrelationId_ = ""; + alarmFilterPrefix_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest.class, mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest.Builder.class); + } + + public static final int CLIENT_CORRELATION_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object clientCorrelationId_ = ""; + /** + * string client_correlation_id = 1; + * @return The clientCorrelationId. + */ + @java.lang.Override + public java.lang.String getClientCorrelationId() { + java.lang.Object ref = clientCorrelationId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientCorrelationId_ = s; + return s; + } + } + /** + * string client_correlation_id = 1; + * @return The bytes for clientCorrelationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClientCorrelationIdBytes() { + java.lang.Object ref = clientCorrelationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientCorrelationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALARM_FILTER_PREFIX_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object alarmFilterPrefix_ = ""; + /** + *
+     * Optional alarm-reference prefix scoping the feed to an equipment
+     * sub-tree. Empty streams every active alarm.
+     * 
+ * + * string alarm_filter_prefix = 2; + * @return The alarmFilterPrefix. + */ + @java.lang.Override + public java.lang.String getAlarmFilterPrefix() { + java.lang.Object ref = alarmFilterPrefix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFilterPrefix_ = s; + return s; + } + } + /** + *
+     * Optional alarm-reference prefix scoping the feed to an equipment
+     * sub-tree. Empty streams every active alarm.
+     * 
+ * + * string alarm_filter_prefix = 2; + * @return The bytes for alarmFilterPrefix. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlarmFilterPrefixBytes() { + java.lang.Object ref = alarmFilterPrefix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFilterPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientCorrelationId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, clientCorrelationId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFilterPrefix_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, alarmFilterPrefix_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientCorrelationId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, clientCorrelationId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(alarmFilterPrefix_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, alarmFilterPrefix_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest other = (mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest) obj; + + if (!getClientCorrelationId() + .equals(other.getClientCorrelationId())) return false; + if (!getAlarmFilterPrefix() + .equals(other.getAlarmFilterPrefix())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CLIENT_CORRELATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientCorrelationId().hashCode(); + hash = (37 * hash) + ALARM_FILTER_PREFIX_FIELD_NUMBER; + hash = (53 * hash) + getAlarmFilterPrefix().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Request to attach to the gateway's central alarm feed (StreamAlarms).
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.StreamAlarmsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.StreamAlarmsRequest) + mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest.class, mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + clientCorrelationId_ = ""; + alarmFilterPrefix_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest build() { + mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest result = new mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.clientCorrelationId_ = clientCorrelationId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.alarmFilterPrefix_ = alarmFilterPrefix_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest.getDefaultInstance()) return this; + if (!other.getClientCorrelationId().isEmpty()) { + clientCorrelationId_ = other.clientCorrelationId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getAlarmFilterPrefix().isEmpty()) { + alarmFilterPrefix_ = other.alarmFilterPrefix_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + clientCorrelationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + alarmFilterPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object clientCorrelationId_ = ""; + /** + * string client_correlation_id = 1; + * @return The clientCorrelationId. + */ + public java.lang.String getClientCorrelationId() { + java.lang.Object ref = clientCorrelationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientCorrelationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string client_correlation_id = 1; + * @return The bytes for clientCorrelationId. + */ + public com.google.protobuf.ByteString + getClientCorrelationIdBytes() { + java.lang.Object ref = clientCorrelationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clientCorrelationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string client_correlation_id = 1; + * @param value The clientCorrelationId to set. + * @return This builder for chaining. + */ + public Builder setClientCorrelationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clientCorrelationId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string client_correlation_id = 1; + * @return This builder for chaining. + */ + public Builder clearClientCorrelationId() { + clientCorrelationId_ = getDefaultInstance().getClientCorrelationId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string client_correlation_id = 1; + * @param value The bytes for clientCorrelationId to set. + * @return This builder for chaining. + */ + public Builder setClientCorrelationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clientCorrelationId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object alarmFilterPrefix_ = ""; + /** + *
+       * Optional alarm-reference prefix scoping the feed to an equipment
+       * sub-tree. Empty streams every active alarm.
+       * 
+ * + * string alarm_filter_prefix = 2; + * @return The alarmFilterPrefix. + */ + public java.lang.String getAlarmFilterPrefix() { + java.lang.Object ref = alarmFilterPrefix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alarmFilterPrefix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Optional alarm-reference prefix scoping the feed to an equipment
+       * sub-tree. Empty streams every active alarm.
+       * 
+ * + * string alarm_filter_prefix = 2; + * @return The bytes for alarmFilterPrefix. + */ + public com.google.protobuf.ByteString + getAlarmFilterPrefixBytes() { + java.lang.Object ref = alarmFilterPrefix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alarmFilterPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Optional alarm-reference prefix scoping the feed to an equipment
+       * sub-tree. Empty streams every active alarm.
+       * 
+ * + * string alarm_filter_prefix = 2; + * @param value The alarmFilterPrefix to set. + * @return This builder for chaining. + */ + public Builder setAlarmFilterPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alarmFilterPrefix_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Optional alarm-reference prefix scoping the feed to an equipment
+       * sub-tree. Empty streams every active alarm.
+       * 
+ * + * string alarm_filter_prefix = 2; + * @return This builder for chaining. + */ + public Builder clearAlarmFilterPrefix() { + alarmFilterPrefix_ = getDefaultInstance().getAlarmFilterPrefix(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Optional alarm-reference prefix scoping the feed to an equipment
+       * sub-tree. Empty streams every active alarm.
+       * 
+ * + * string alarm_filter_prefix = 2; + * @param value The bytes for alarmFilterPrefix to set. + * @return This builder for chaining. + */ + public Builder setAlarmFilterPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alarmFilterPrefix_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.StreamAlarmsRequest) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.StreamAlarmsRequest) + private static final mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamAlarmsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.StreamAlarmsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AlarmFeedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.AlarmFeedMessage) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Part of the initial active-alarm snapshot (ConditionRefresh).
+     * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + * @return Whether the activeAlarm field is set. + */ + boolean hasActiveAlarm(); + /** + *
+     * Part of the initial active-alarm snapshot (ConditionRefresh).
+     * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + * @return The activeAlarm. + */ + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot getActiveAlarm(); + /** + *
+     * Part of the initial active-alarm snapshot (ConditionRefresh).
+     * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + */ + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder getActiveAlarmOrBuilder(); + + /** + *
+     * Sentinel: the initial snapshot is fully delivered and `transition`
+     * messages follow. Always true when present.
+     * 
+ * + * bool snapshot_complete = 2; + * @return Whether the snapshotComplete field is set. + */ + boolean hasSnapshotComplete(); + /** + *
+     * Sentinel: the initial snapshot is fully delivered and `transition`
+     * messages follow. Always true when present.
+     * 
+ * + * bool snapshot_complete = 2; + * @return The snapshotComplete. + */ + boolean getSnapshotComplete(); + + /** + *
+     * A live alarm state change (raise / acknowledge / clear).
+     * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + * @return Whether the transition field is set. + */ + boolean hasTransition(); + /** + *
+     * A live alarm state change (raise / acknowledge / clear).
+     * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + * @return The transition. + */ + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent getTransition(); + /** + *
+     * A live alarm state change (raise / acknowledge / clear).
+     * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + */ + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder getTransitionOrBuilder(); + + mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.PayloadCase getPayloadCase(); + } + /** + *
+   * One message on the StreamAlarms feed. The stream opens with one
+   * `active_alarm` per currently-active alarm, then a single
+   * `snapshot_complete`, then a `transition` for every subsequent change.
+   * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.AlarmFeedMessage} + */ + public static final class AlarmFeedMessage extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:mxaccess_gateway.v1.AlarmFeedMessage) + AlarmFeedMessageOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "AlarmFeedMessage"); + } + // Use AlarmFeedMessage.newBuilder() to construct. + private AlarmFeedMessage(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private AlarmFeedMessage() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AlarmFeedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AlarmFeedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.class, mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.Builder.class); + } + + private int payloadCase_ = 0; + @SuppressWarnings("serial") + private java.lang.Object payload_; + public enum PayloadCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + ACTIVE_ALARM(1), + SNAPSHOT_COMPLETE(2), + TRANSITION(3), + PAYLOAD_NOT_SET(0); + private final int value; + private PayloadCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PayloadCase valueOf(int value) { + return forNumber(value); + } + + public static PayloadCase forNumber(int value) { + switch (value) { + case 1: return ACTIVE_ALARM; + case 2: return SNAPSHOT_COMPLETE; + case 3: return TRANSITION; + case 0: return PAYLOAD_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public PayloadCase + getPayloadCase() { + return PayloadCase.forNumber( + payloadCase_); + } + + public static final int ACTIVE_ALARM_FIELD_NUMBER = 1; + /** + *
+     * Part of the initial active-alarm snapshot (ConditionRefresh).
+     * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + * @return Whether the activeAlarm field is set. + */ + @java.lang.Override + public boolean hasActiveAlarm() { + return payloadCase_ == 1; + } + /** + *
+     * Part of the initial active-alarm snapshot (ConditionRefresh).
+     * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + * @return The activeAlarm. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot getActiveAlarm() { + if (payloadCase_ == 1) { + return (mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance(); + } + /** + *
+     * Part of the initial active-alarm snapshot (ConditionRefresh).
+     * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder getActiveAlarmOrBuilder() { + if (payloadCase_ == 1) { + return (mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance(); + } + + public static final int SNAPSHOT_COMPLETE_FIELD_NUMBER = 2; + /** + *
+     * Sentinel: the initial snapshot is fully delivered and `transition`
+     * messages follow. Always true when present.
+     * 
+ * + * bool snapshot_complete = 2; + * @return Whether the snapshotComplete field is set. + */ + @java.lang.Override + public boolean hasSnapshotComplete() { + return payloadCase_ == 2; + } + /** + *
+     * Sentinel: the initial snapshot is fully delivered and `transition`
+     * messages follow. Always true when present.
+     * 
+ * + * bool snapshot_complete = 2; + * @return The snapshotComplete. + */ + @java.lang.Override + public boolean getSnapshotComplete() { + if (payloadCase_ == 2) { + return (java.lang.Boolean) payload_; + } + return false; + } + + public static final int TRANSITION_FIELD_NUMBER = 3; + /** + *
+     * A live alarm state change (raise / acknowledge / clear).
+     * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + * @return Whether the transition field is set. + */ + @java.lang.Override + public boolean hasTransition() { + return payloadCase_ == 3; + } + /** + *
+     * A live alarm state change (raise / acknowledge / clear).
+     * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + * @return The transition. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent getTransition() { + if (payloadCase_ == 3) { + return (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + /** + *
+     * A live alarm state change (raise / acknowledge / clear).
+     * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder getTransitionOrBuilder() { + if (payloadCase_ == 3) { + return (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (payloadCase_ == 1) { + output.writeMessage(1, (mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) payload_); + } + if (payloadCase_ == 2) { + output.writeBool( + 2, (boolean)((java.lang.Boolean) payload_)); + } + if (payloadCase_ == 3) { + output.writeMessage(3, (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) payload_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (payloadCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) payload_); + } + if (payloadCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 2, (boolean)((java.lang.Boolean) payload_)); + } + if (payloadCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) payload_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage)) { + return super.equals(obj); + } + mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage other = (mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage) obj; + + if (!getPayloadCase().equals(other.getPayloadCase())) return false; + switch (payloadCase_) { + case 1: + if (!getActiveAlarm() + .equals(other.getActiveAlarm())) return false; + break; + case 2: + if (getSnapshotComplete() + != other.getSnapshotComplete()) return false; + break; + case 3: + if (!getTransition() + .equals(other.getTransition())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (payloadCase_) { + case 1: + hash = (37 * hash) + ACTIVE_ALARM_FIELD_NUMBER; + hash = (53 * hash) + getActiveAlarm().hashCode(); + break; + case 2: + hash = (37 * hash) + SNAPSHOT_COMPLETE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSnapshotComplete()); + break; + case 3: + hash = (37 * hash) + TRANSITION_FIELD_NUMBER; + hash = (53 * hash) + getTransition().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * One message on the StreamAlarms feed. The stream opens with one
+     * `active_alarm` per currently-active alarm, then a single
+     * `snapshot_complete`, then a `transition` for every subsequent change.
+     * 
+ * + * Protobuf type {@code mxaccess_gateway.v1.AlarmFeedMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:mxaccess_gateway.v1.AlarmFeedMessage) + mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AlarmFeedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AlarmFeedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.class, mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.Builder.class); + } + + // Construct using mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (activeAlarmBuilder_ != null) { + activeAlarmBuilder_.clear(); + } + if (transitionBuilder_ != null) { + transitionBuilder_.clear(); + } + payloadCase_ = 0; + payload_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return mxaccess_gateway.v1.MxaccessGateway.internal_static_mxaccess_gateway_v1_AlarmFeedMessage_descriptor; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage getDefaultInstanceForType() { + return mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.getDefaultInstance(); + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage build() { + mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage buildPartial() { + mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage result = new mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage result) { + result.payloadCase_ = payloadCase_; + result.payload_ = this.payload_; + if (payloadCase_ == 1 && + activeAlarmBuilder_ != null) { + result.payload_ = activeAlarmBuilder_.build(); + } + if (payloadCase_ == 3 && + transitionBuilder_ != null) { + result.payload_ = transitionBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage) { + return mergeFrom((mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage other) { + if (other == mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage.getDefaultInstance()) return this; + switch (other.getPayloadCase()) { + case ACTIVE_ALARM: { + mergeActiveAlarm(other.getActiveAlarm()); + break; + } + case SNAPSHOT_COMPLETE: { + setSnapshotComplete(other.getSnapshotComplete()); + break; + } + case TRANSITION: { + mergeTransition(other.getTransition()); + break; + } + case PAYLOAD_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + internalGetActiveAlarmFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 1; + break; + } // case 10 + case 16: { + payload_ = input.readBool(); + payloadCase_ = 2; + break; + } // case 16 + case 26: { + input.readMessage( + internalGetTransitionFieldBuilder().getBuilder(), + extensionRegistry); + payloadCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int payloadCase_ = 0; + private java.lang.Object payload_; + public PayloadCase + getPayloadCase() { + return PayloadCase.forNumber( + payloadCase_); + } + + public Builder clearPayload() { + payloadCase_ = 0; + payload_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder> activeAlarmBuilder_; + /** + *
+       * Part of the initial active-alarm snapshot (ConditionRefresh).
+       * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + * @return Whether the activeAlarm field is set. + */ + @java.lang.Override + public boolean hasActiveAlarm() { + return payloadCase_ == 1; + } + /** + *
+       * Part of the initial active-alarm snapshot (ConditionRefresh).
+       * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + * @return The activeAlarm. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot getActiveAlarm() { + if (activeAlarmBuilder_ == null) { + if (payloadCase_ == 1) { + return (mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance(); + } else { + if (payloadCase_ == 1) { + return activeAlarmBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance(); + } + } + /** + *
+       * Part of the initial active-alarm snapshot (ConditionRefresh).
+       * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + */ + public Builder setActiveAlarm(mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot value) { + if (activeAlarmBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + activeAlarmBuilder_.setMessage(value); + } + payloadCase_ = 1; + return this; + } + /** + *
+       * Part of the initial active-alarm snapshot (ConditionRefresh).
+       * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + */ + public Builder setActiveAlarm( + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder builderForValue) { + if (activeAlarmBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + activeAlarmBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 1; + return this; + } + /** + *
+       * Part of the initial active-alarm snapshot (ConditionRefresh).
+       * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + */ + public Builder mergeActiveAlarm(mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot value) { + if (activeAlarmBuilder_ == null) { + if (payloadCase_ == 1 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.newBuilder((mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 1) { + activeAlarmBuilder_.mergeFrom(value); + } else { + activeAlarmBuilder_.setMessage(value); + } + } + payloadCase_ = 1; + return this; + } + /** + *
+       * Part of the initial active-alarm snapshot (ConditionRefresh).
+       * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + */ + public Builder clearActiveAlarm() { + if (activeAlarmBuilder_ == null) { + if (payloadCase_ == 1) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 1) { + payloadCase_ = 0; + payload_ = null; + } + activeAlarmBuilder_.clear(); + } + return this; + } + /** + *
+       * Part of the initial active-alarm snapshot (ConditionRefresh).
+       * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + */ + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder getActiveAlarmBuilder() { + return internalGetActiveAlarmFieldBuilder().getBuilder(); + } + /** + *
+       * Part of the initial active-alarm snapshot (ConditionRefresh).
+       * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder getActiveAlarmOrBuilder() { + if ((payloadCase_ == 1) && (activeAlarmBuilder_ != null)) { + return activeAlarmBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 1) { + return (mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance(); + } + } + /** + *
+       * Part of the initial active-alarm snapshot (ConditionRefresh).
+       * 
+ * + * .mxaccess_gateway.v1.ActiveAlarmSnapshot active_alarm = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder> + internalGetActiveAlarmFieldBuilder() { + if (activeAlarmBuilder_ == null) { + if (!(payloadCase_ == 1)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.getDefaultInstance(); + } + activeAlarmBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot.Builder, mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshotOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.ActiveAlarmSnapshot) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 1; + onChanged(); + return activeAlarmBuilder_; + } + + /** + *
+       * Sentinel: the initial snapshot is fully delivered and `transition`
+       * messages follow. Always true when present.
+       * 
+ * + * bool snapshot_complete = 2; + * @return Whether the snapshotComplete field is set. + */ + public boolean hasSnapshotComplete() { + return payloadCase_ == 2; + } + /** + *
+       * Sentinel: the initial snapshot is fully delivered and `transition`
+       * messages follow. Always true when present.
+       * 
+ * + * bool snapshot_complete = 2; + * @return The snapshotComplete. + */ + public boolean getSnapshotComplete() { + if (payloadCase_ == 2) { + return (java.lang.Boolean) payload_; + } + return false; + } + /** + *
+       * Sentinel: the initial snapshot is fully delivered and `transition`
+       * messages follow. Always true when present.
+       * 
+ * + * bool snapshot_complete = 2; + * @param value The snapshotComplete to set. + * @return This builder for chaining. + */ + public Builder setSnapshotComplete(boolean value) { + + payloadCase_ = 2; + payload_ = value; + onChanged(); + return this; + } + /** + *
+       * Sentinel: the initial snapshot is fully delivered and `transition`
+       * messages follow. Always true when present.
+       * 
+ * + * bool snapshot_complete = 2; + * @return This builder for chaining. + */ + public Builder clearSnapshotComplete() { + if (payloadCase_ == 2) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder> transitionBuilder_; + /** + *
+       * A live alarm state change (raise / acknowledge / clear).
+       * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + * @return Whether the transition field is set. + */ + @java.lang.Override + public boolean hasTransition() { + return payloadCase_ == 3; + } + /** + *
+       * A live alarm state change (raise / acknowledge / clear).
+       * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + * @return The transition. + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent getTransition() { + if (transitionBuilder_ == null) { + if (payloadCase_ == 3) { + return (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } else { + if (payloadCase_ == 3) { + return transitionBuilder_.getMessage(); + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + } + /** + *
+       * A live alarm state change (raise / acknowledge / clear).
+       * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + */ + public Builder setTransition(mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent value) { + if (transitionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + payload_ = value; + onChanged(); + } else { + transitionBuilder_.setMessage(value); + } + payloadCase_ = 3; + return this; + } + /** + *
+       * A live alarm state change (raise / acknowledge / clear).
+       * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + */ + public Builder setTransition( + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder builderForValue) { + if (transitionBuilder_ == null) { + payload_ = builderForValue.build(); + onChanged(); + } else { + transitionBuilder_.setMessage(builderForValue.build()); + } + payloadCase_ = 3; + return this; + } + /** + *
+       * A live alarm state change (raise / acknowledge / clear).
+       * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + */ + public Builder mergeTransition(mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent value) { + if (transitionBuilder_ == null) { + if (payloadCase_ == 3 && + payload_ != mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance()) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.newBuilder((mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) payload_) + .mergeFrom(value).buildPartial(); + } else { + payload_ = value; + } + onChanged(); + } else { + if (payloadCase_ == 3) { + transitionBuilder_.mergeFrom(value); + } else { + transitionBuilder_.setMessage(value); + } + } + payloadCase_ = 3; + return this; + } + /** + *
+       * A live alarm state change (raise / acknowledge / clear).
+       * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + */ + public Builder clearTransition() { + if (transitionBuilder_ == null) { + if (payloadCase_ == 3) { + payloadCase_ = 0; + payload_ = null; + onChanged(); + } + } else { + if (payloadCase_ == 3) { + payloadCase_ = 0; + payload_ = null; + } + transitionBuilder_.clear(); + } + return this; + } + /** + *
+       * A live alarm state change (raise / acknowledge / clear).
+       * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + */ + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder getTransitionBuilder() { + return internalGetTransitionFieldBuilder().getBuilder(); + } + /** + *
+       * A live alarm state change (raise / acknowledge / clear).
+       * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + */ + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder getTransitionOrBuilder() { + if ((payloadCase_ == 3) && (transitionBuilder_ != null)) { + return transitionBuilder_.getMessageOrBuilder(); + } else { + if (payloadCase_ == 3) { + return (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) payload_; + } + return mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + } + /** + *
+       * A live alarm state change (raise / acknowledge / clear).
+       * 
+ * + * .mxaccess_gateway.v1.OnAlarmTransitionEvent transition = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder> + internalGetTransitionFieldBuilder() { + if (transitionBuilder_ == null) { + if (!(payloadCase_ == 3)) { + payload_ = mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.getDefaultInstance(); + } + transitionBuilder_ = new com.google.protobuf.SingleFieldBuilder< + mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent.Builder, mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEventOrBuilder>( + (mxaccess_gateway.v1.MxaccessGateway.OnAlarmTransitionEvent) payload_, + getParentForChildren(), + isClean()); + payload_ = null; + } + payloadCase_ = 3; + onChanged(); + return transitionBuilder_; + } + + // @@protoc_insertion_point(builder_scope:mxaccess_gateway.v1.AlarmFeedMessage) + } + + // @@protoc_insertion_point(class_scope:mxaccess_gateway.v1.AlarmFeedMessage) + private static final mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage(); + } + + public static mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AlarmFeedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public mxaccess_gateway.v1.MxaccessGateway.AlarmFeedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface MxStatusProxyOrBuilder extends // @@protoc_insertion_point(interface_extends:mxaccess_gateway.v1.MxStatusProxy) com.google.protobuf.MessageOrBuilder { /** + *
+     * Mirrors the `success` member of the MXAccess MXSTATUS_PROXY struct
+     * (a 16-bit signed value in the COM struct, widened to int32 on the
+     * wire). Despite the name it is NOT a boolean — it is the raw numeric
+     * indicator the worker reads off the COM struct without reinterpretation.
+     * It is carried verbatim for diagnostics; the authoritative success/
+     * failure of the operation is `category` (MX_STATUS_CATEGORY_OK marks
+     * success), with `detail`, `diagnostic_text`, `raw_category`, and
+     * `raw_detected_by` describing any non-OK outcome. Clients should branch
+     * on `category`, not on a specific `success` value.
+     * 
+ * * int32 success = 1; * @return The success. */ @@ -50362,6 +83522,18 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { public static final int SUCCESS_FIELD_NUMBER = 1; private int success_ = 0; /** + *
+     * Mirrors the `success` member of the MXAccess MXSTATUS_PROXY struct
+     * (a 16-bit signed value in the COM struct, widened to int32 on the
+     * wire). Despite the name it is NOT a boolean — it is the raw numeric
+     * indicator the worker reads off the COM struct without reinterpretation.
+     * It is carried verbatim for diagnostics; the authoritative success/
+     * failure of the operation is `category` (MX_STATUS_CATEGORY_OK marks
+     * success), with `detail`, `diagnostic_text`, `raw_category`, and
+     * `raw_detected_by` describing any non-OK outcome. Clients should branch
+     * on `category`, not on a specific `success` value.
+     * 
+ * * int32 success = 1; * @return The success. */ @@ -50910,6 +84082,18 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { private int success_ ; /** + *
+       * Mirrors the `success` member of the MXAccess MXSTATUS_PROXY struct
+       * (a 16-bit signed value in the COM struct, widened to int32 on the
+       * wire). Despite the name it is NOT a boolean — it is the raw numeric
+       * indicator the worker reads off the COM struct without reinterpretation.
+       * It is carried verbatim for diagnostics; the authoritative success/
+       * failure of the operation is `category` (MX_STATUS_CATEGORY_OK marks
+       * success), with `detail`, `diagnostic_text`, `raw_category`, and
+       * `raw_detected_by` describing any non-OK outcome. Clients should branch
+       * on `category`, not on a specific `success` value.
+       * 
+ * * int32 success = 1; * @return The success. */ @@ -50918,6 +84102,18 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { return success_; } /** + *
+       * Mirrors the `success` member of the MXAccess MXSTATUS_PROXY struct
+       * (a 16-bit signed value in the COM struct, widened to int32 on the
+       * wire). Despite the name it is NOT a boolean — it is the raw numeric
+       * indicator the worker reads off the COM struct without reinterpretation.
+       * It is carried verbatim for diagnostics; the authoritative success/
+       * failure of the operation is `category` (MX_STATUS_CATEGORY_OK marks
+       * success), with `detail`, `diagnostic_text`, `raw_category`, and
+       * `raw_detected_by` describing any non-OK outcome. Clients should branch
+       * on `category`, not on a specific `success` value.
+       * 
+ * * int32 success = 1; * @param value The success to set. * @return This builder for chaining. @@ -50930,6 +84126,18 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { return this; } /** + *
+       * Mirrors the `success` member of the MXAccess MXSTATUS_PROXY struct
+       * (a 16-bit signed value in the COM struct, widened to int32 on the
+       * wire). Despite the name it is NOT a boolean — it is the raw numeric
+       * indicator the worker reads off the COM struct without reinterpretation.
+       * It is carried verbatim for diagnostics; the authoritative success/
+       * failure of the operation is `category` (MX_STATUS_CATEGORY_OK marks
+       * success), with `detail`, `diagnostic_text`, `raw_category`, and
+       * `raw_detected_by` describing any non-OK outcome. Clients should branch
+       * on `category`, not on a specific `success` value.
+       * 
+ * * int32 success = 1; * @return This builder for chaining. */ @@ -61628,6 +94836,11 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { } + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mxaccess_gateway_v1_OpenSessionRequest_descriptor; private static final @@ -61778,11 +94991,81 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_mxaccess_gateway_v1_SubscribeBulkCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mxaccess_gateway_v1_UnsubscribeBulkCommand_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_mxaccess_gateway_v1_UnsubscribeBulkCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_WriteBulkCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_WriteBulkCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_WriteBulkEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_WriteBulkEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_Write2BulkCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_Write2BulkCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_Write2BulkEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_Write2BulkEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_ReadBulkCommand_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_ReadBulkCommand_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mxaccess_gateway_v1_PingCommand_descriptor; private static final @@ -61863,6 +95146,26 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_mxaccess_gateway_v1_BulkSubscribeReply_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_BulkWriteResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_BulkWriteResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_BulkWriteReply_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_BulkWriteReply_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_BulkReadResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_BulkReadResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_BulkReadReply_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_BulkReadReply_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mxaccess_gateway_v1_SessionStateReply_descriptor; private static final @@ -61878,6 +95181,16 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_mxaccess_gateway_v1_DrainEventsReply_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mxaccess_gateway_v1_MxEvent_descriptor; private static final @@ -61903,6 +95216,36 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_mxaccess_gateway_v1_OnBufferedDataChangeEvent_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_mxaccess_gateway_v1_AlarmFeedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_mxaccess_gateway_v1_AlarmFeedMessage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mxaccess_gateway_v1_MxStatusProxy_descriptor; private static final @@ -61974,358 +95317,525 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { java.lang.String[] descriptorData = { "\n\026mxaccess_gateway.proto\022\023mxaccess_gatew" + "ay.v1\032\036google/protobuf/duration.proto\032\037g" + - "oogle/protobuf/timestamp.proto\"\237\001\n\022OpenS" + - "essionRequest\022\031\n\021requested_backend\030\001 \001(\t" + - "\022\033\n\023client_session_name\030\002 \001(\t\022\035\n\025client_" + - "correlation_id\030\003 \001(\t\0222\n\017command_timeout\030" + - "\004 \001(\0132\031.google.protobuf.Duration\"\252\002\n\020Ope" + - "nSessionReply\022\022\n\nsession_id\030\001 \001(\t\022\024\n\014bac" + - "kend_name\030\002 \001(\t\022\031\n\021worker_process_id\030\003 \001" + - "(\005\022\037\n\027worker_protocol_version\030\004 \001(\r\022\024\n\014c" + - "apabilities\030\005 \003(\t\022:\n\027default_command_tim" + - "eout\030\006 \001(\0132\031.google.protobuf.Duration\022<\n" + - "\017protocol_status\030\007 \001(\0132#.mxaccess_gatewa" + - "y.v1.ProtocolStatus\022 \n\030gateway_protocol_" + - "version\030\010 \001(\r\"H\n\023CloseSessionRequest\022\022\n\n" + - "session_id\030\001 \001(\t\022\035\n\025client_correlation_i" + - "d\030\002 \001(\t\"\235\001\n\021CloseSessionReply\022\022\n\nsession" + - "_id\030\001 \001(\t\0226\n\013final_state\030\002 \001(\0162!.mxacces" + - "s_gateway.v1.SessionState\022<\n\017protocol_st" + - "atus\030\003 \001(\0132#.mxaccess_gateway.v1.Protoco" + - "lStatus\"H\n\023StreamEventsRequest\022\022\n\nsessio" + - "n_id\030\001 \001(\t\022\035\n\025after_worker_sequence\030\002 \001(" + - "\004\"v\n\020MxCommandRequest\022\022\n\nsession_id\030\001 \001(" + - "\t\022\035\n\025client_correlation_id\030\002 \001(\t\022/\n\007comm" + - "and\030\003 \001(\0132\036.mxaccess_gateway.v1.MxComman" + - "d\"\317\017\n\tMxCommand\0220\n\004kind\030\001 \001(\0162\".mxaccess" + - "_gateway.v1.MxCommandKind\0228\n\010register\030\n " + - "\001(\0132$.mxaccess_gateway.v1.RegisterComman" + - "dH\000\022<\n\nunregister\030\013 \001(\0132&.mxaccess_gatew" + - "ay.v1.UnregisterCommandH\000\0227\n\010add_item\030\014 " + - "\001(\0132#.mxaccess_gateway.v1.AddItemCommand" + - "H\000\0229\n\tadd_item2\030\r \001(\0132$.mxaccess_gateway" + - ".v1.AddItem2CommandH\000\022=\n\013remove_item\030\016 \001" + - "(\0132&.mxaccess_gateway.v1.RemoveItemComma" + - "ndH\000\0224\n\006advise\030\017 \001(\0132\".mxaccess_gateway." + - "v1.AdviseCommandH\000\0229\n\tun_advise\030\020 \001(\0132$." + - "mxaccess_gateway.v1.UnAdviseCommandH\000\022K\n" + - "\022advise_supervisory\030\021 \001(\0132-.mxaccess_gat" + - "eway.v1.AdviseSupervisoryCommandH\000\022H\n\021ad" + - "d_buffered_item\030\022 \001(\0132+.mxaccess_gateway" + - ".v1.AddBufferedItemCommandH\000\022]\n\034set_buff" + - "ered_update_interval\030\023 \001(\01325.mxaccess_ga" + - "teway.v1.SetBufferedUpdateIntervalComman" + - "dH\000\0226\n\007suspend\030\024 \001(\0132#.mxaccess_gateway." + - "v1.SuspendCommandH\000\0228\n\010activate\030\025 \001(\0132$." + - "mxaccess_gateway.v1.ActivateCommandH\000\0222\n" + - "\005write\030\026 \001(\0132!.mxaccess_gateway.v1.Write" + - "CommandH\000\0224\n\006write2\030\027 \001(\0132\".mxaccess_gat" + - "eway.v1.Write2CommandH\000\022A\n\rwrite_secured" + - "\030\030 \001(\0132(.mxaccess_gateway.v1.WriteSecure" + - "dCommandH\000\022C\n\016write_secured2\030\031 \001(\0132).mxa" + - "ccess_gateway.v1.WriteSecured2CommandH\000\022" + - "I\n\021authenticate_user\030\032 \001(\0132,.mxaccess_ga" + - "teway.v1.AuthenticateUserCommandH\000\022M\n\024ar" + - "chestra_user_to_id\030\033 \001(\0132-.mxaccess_gate" + - "way.v1.ArchestrAUserToIdCommandH\000\022@\n\radd" + - "_item_bulk\030\034 \001(\0132\'.mxaccess_gateway.v1.A" + - "ddItemBulkCommandH\000\022F\n\020advise_item_bulk\030" + - "\035 \001(\0132*.mxaccess_gateway.v1.AdviseItemBu" + - "lkCommandH\000\022F\n\020remove_item_bulk\030\036 \001(\0132*." + - "mxaccess_gateway.v1.RemoveItemBulkComman" + - "dH\000\022K\n\023un_advise_item_bulk\030\037 \001(\0132,.mxacc" + - "ess_gateway.v1.UnAdviseItemBulkCommandH\000" + - "\022C\n\016subscribe_bulk\030 \001(\0132).mxaccess_gate" + - "way.v1.SubscribeBulkCommandH\000\022G\n\020unsubsc" + - "ribe_bulk\030! \001(\0132+.mxaccess_gateway.v1.Un" + - "subscribeBulkCommandH\000\0220\n\004ping\030d \001(\0132 .m" + - "xaccess_gateway.v1.PingCommandH\000\022H\n\021get_" + - "session_state\030e \001(\0132+.mxaccess_gateway.v" + - "1.GetSessionStateCommandH\000\022D\n\017get_worker" + - "_info\030f \001(\0132).mxaccess_gateway.v1.GetWor" + - "kerInfoCommandH\000\022?\n\014drain_events\030g \001(\0132\'" + - ".mxaccess_gateway.v1.DrainEventsCommandH" + - "\000\022E\n\017shutdown_worker\030h \001(\0132*.mxaccess_ga" + - "teway.v1.ShutdownWorkerCommandH\000B\t\n\007payl" + - "oad\"&\n\017RegisterCommand\022\023\n\013client_name\030\001 " + - "\001(\t\"*\n\021UnregisterCommand\022\025\n\rserver_handl" + - "e\030\001 \001(\005\"@\n\016AddItemCommand\022\025\n\rserver_hand" + - "le\030\001 \001(\005\022\027\n\017item_definition\030\002 \001(\t\"W\n\017Add" + - "Item2Command\022\025\n\rserver_handle\030\001 \001(\005\022\027\n\017i" + - "tem_definition\030\002 \001(\t\022\024\n\014item_context\030\003 \001" + - "(\t\"?\n\021RemoveItemCommand\022\025\n\rserver_handle" + - "\030\001 \001(\005\022\023\n\013item_handle\030\002 \001(\005\";\n\rAdviseCom" + + "oogle/protobuf/timestamp.proto\"j\n\030QueryA" + + "ctiveAlarmsRequest\022\022\n\nsession_id\030\001 \001(\t\022\035" + + "\n\025client_correlation_id\030\002 \001(\t\022\033\n\023alarm_f" + + "ilter_prefix\030\003 \001(\t\"\237\001\n\022OpenSessionReques" + + "t\022\031\n\021requested_backend\030\001 \001(\t\022\033\n\023client_s" + + "ession_name\030\002 \001(\t\022\035\n\025client_correlation_" + + "id\030\003 \001(\t\0222\n\017command_timeout\030\004 \001(\0132\031.goog" + + "le.protobuf.Duration\"\252\002\n\020OpenSessionRepl" + + "y\022\022\n\nsession_id\030\001 \001(\t\022\024\n\014backend_name\030\002 " + + "\001(\t\022\031\n\021worker_process_id\030\003 \001(\005\022\037\n\027worker" + + "_protocol_version\030\004 \001(\r\022\024\n\014capabilities\030" + + "\005 \003(\t\022:\n\027default_command_timeout\030\006 \001(\0132\031" + + ".google.protobuf.Duration\022<\n\017protocol_st" + + "atus\030\007 \001(\0132#.mxaccess_gateway.v1.Protoco" + + "lStatus\022 \n\030gateway_protocol_version\030\010 \001(" + + "\r\"H\n\023CloseSessionRequest\022\022\n\nsession_id\030\001" + + " \001(\t\022\035\n\025client_correlation_id\030\002 \001(\t\"\235\001\n\021" + + "CloseSessionReply\022\022\n\nsession_id\030\001 \001(\t\0226\n" + + "\013final_state\030\002 \001(\0162!.mxaccess_gateway.v1" + + ".SessionState\022<\n\017protocol_status\030\003 \001(\0132#" + + ".mxaccess_gateway.v1.ProtocolStatus\"H\n\023S" + + "treamEventsRequest\022\022\n\nsession_id\030\001 \001(\t\022\035" + + "\n\025after_worker_sequence\030\002 \001(\004\"v\n\020MxComma" + + "ndRequest\022\022\n\nsession_id\030\001 \001(\t\022\035\n\025client_" + + "correlation_id\030\002 \001(\t\022/\n\007command\030\003 \001(\0132\036." + + "mxaccess_gateway.v1.MxCommand\"\300\025\n\tMxComm" + + "and\0220\n\004kind\030\001 \001(\0162\".mxaccess_gateway.v1." + + "MxCommandKind\0228\n\010register\030\n \001(\0132$.mxacce" + + "ss_gateway.v1.RegisterCommandH\000\022<\n\nunreg" + + "ister\030\013 \001(\0132&.mxaccess_gateway.v1.Unregi" + + "sterCommandH\000\0227\n\010add_item\030\014 \001(\0132#.mxacce" + + "ss_gateway.v1.AddItemCommandH\000\0229\n\tadd_it" + + "em2\030\r \001(\0132$.mxaccess_gateway.v1.AddItem2" + + "CommandH\000\022=\n\013remove_item\030\016 \001(\0132&.mxacces" + + "s_gateway.v1.RemoveItemCommandH\000\0224\n\006advi" + + "se\030\017 \001(\0132\".mxaccess_gateway.v1.AdviseCom" + + "mandH\000\0229\n\tun_advise\030\020 \001(\0132$.mxaccess_gat" + + "eway.v1.UnAdviseCommandH\000\022K\n\022advise_supe" + + "rvisory\030\021 \001(\0132-.mxaccess_gateway.v1.Advi" + + "seSupervisoryCommandH\000\022H\n\021add_buffered_i" + + "tem\030\022 \001(\0132+.mxaccess_gateway.v1.AddBuffe" + + "redItemCommandH\000\022]\n\034set_buffered_update_" + + "interval\030\023 \001(\01325.mxaccess_gateway.v1.Set" + + "BufferedUpdateIntervalCommandH\000\0226\n\007suspe" + + "nd\030\024 \001(\0132#.mxaccess_gateway.v1.SuspendCo" + + "mmandH\000\0228\n\010activate\030\025 \001(\0132$.mxaccess_gat" + + "eway.v1.ActivateCommandH\000\0222\n\005write\030\026 \001(\013" + + "2!.mxaccess_gateway.v1.WriteCommandH\000\0224\n" + + "\006write2\030\027 \001(\0132\".mxaccess_gateway.v1.Writ" + + "e2CommandH\000\022A\n\rwrite_secured\030\030 \001(\0132(.mxa" + + "ccess_gateway.v1.WriteSecuredCommandH\000\022C" + + "\n\016write_secured2\030\031 \001(\0132).mxaccess_gatewa" + + "y.v1.WriteSecured2CommandH\000\022I\n\021authentic" + + "ate_user\030\032 \001(\0132,.mxaccess_gateway.v1.Aut" + + "henticateUserCommandH\000\022M\n\024archestra_user" + + "_to_id\030\033 \001(\0132-.mxaccess_gateway.v1.Arche" + + "strAUserToIdCommandH\000\022@\n\radd_item_bulk\030\034" + + " \001(\0132\'.mxaccess_gateway.v1.AddItemBulkCo" + + "mmandH\000\022F\n\020advise_item_bulk\030\035 \001(\0132*.mxac" + + "cess_gateway.v1.AdviseItemBulkCommandH\000\022" + + "F\n\020remove_item_bulk\030\036 \001(\0132*.mxaccess_gat" + + "eway.v1.RemoveItemBulkCommandH\000\022K\n\023un_ad" + + "vise_item_bulk\030\037 \001(\0132,.mxaccess_gateway." + + "v1.UnAdviseItemBulkCommandH\000\022C\n\016subscrib" + + "e_bulk\030 \001(\0132).mxaccess_gateway.v1.Subsc" + + "ribeBulkCommandH\000\022G\n\020unsubscribe_bulk\030! " + + "\001(\0132+.mxaccess_gateway.v1.UnsubscribeBul" + + "kCommandH\000\022G\n\020subscribe_alarms\030\" \001(\0132+.m" + + "xaccess_gateway.v1.SubscribeAlarmsComman" + + "dH\000\022K\n\022unsubscribe_alarms\030# \001(\0132-.mxacce" + + "ss_gateway.v1.UnsubscribeAlarmsCommandH\000" + + "\022Q\n\031acknowledge_alarm_command\030$ \001(\0132,.mx" + + "access_gateway.v1.AcknowledgeAlarmComman" + + "dH\000\022T\n\033query_active_alarms_command\030% \001(\013" + + "2-.mxaccess_gateway.v1.QueryActiveAlarms" + + "CommandH\000\022_\n!acknowledge_alarm_by_name_c" + + "ommand\030& \001(\01322.mxaccess_gateway.v1.Ackno" + + "wledgeAlarmByNameCommandH\000\022;\n\nwrite_bulk" + + "\030\' \001(\0132%.mxaccess_gateway.v1.WriteBulkCo" + + "mmandH\000\022=\n\013write2_bulk\030( \001(\0132&.mxaccess_" + + "gateway.v1.Write2BulkCommandH\000\022J\n\022write_" + + "secured_bulk\030) \001(\0132,.mxaccess_gateway.v1" + + ".WriteSecuredBulkCommandH\000\022L\n\023write_secu" + + "red2_bulk\030* \001(\0132-.mxaccess_gateway.v1.Wr" + + "iteSecured2BulkCommandH\000\0229\n\tread_bulk\030+ " + + "\001(\0132$.mxaccess_gateway.v1.ReadBulkComman" + + "dH\000\0220\n\004ping\030d \001(\0132 .mxaccess_gateway.v1." + + "PingCommandH\000\022H\n\021get_session_state\030e \001(\013" + + "2+.mxaccess_gateway.v1.GetSessionStateCo" + + "mmandH\000\022D\n\017get_worker_info\030f \001(\0132).mxacc" + + "ess_gateway.v1.GetWorkerInfoCommandH\000\022?\n" + + "\014drain_events\030g \001(\0132\'.mxaccess_gateway.v" + + "1.DrainEventsCommandH\000\022E\n\017shutdown_worke" + + "r\030h \001(\0132*.mxaccess_gateway.v1.ShutdownWo" + + "rkerCommandH\000B\t\n\007payload\"&\n\017RegisterComm" + + "and\022\023\n\013client_name\030\001 \001(\t\"*\n\021UnregisterCo" + + "mmand\022\025\n\rserver_handle\030\001 \001(\005\"@\n\016AddItemC" + + "ommand\022\025\n\rserver_handle\030\001 \001(\005\022\027\n\017item_de" + + "finition\030\002 \001(\t\"W\n\017AddItem2Command\022\025\n\rser" + + "ver_handle\030\001 \001(\005\022\027\n\017item_definition\030\002 \001(" + + "\t\022\024\n\014item_context\030\003 \001(\t\"?\n\021RemoveItemCom" + "mand\022\025\n\rserver_handle\030\001 \001(\005\022\023\n\013item_hand" + - "le\030\002 \001(\005\"=\n\017UnAdviseCommand\022\025\n\rserver_ha" + - "ndle\030\001 \001(\005\022\023\n\013item_handle\030\002 \001(\005\"F\n\030Advis" + - "eSupervisoryCommand\022\025\n\rserver_handle\030\001 \001" + - "(\005\022\023\n\013item_handle\030\002 \001(\005\"^\n\026AddBufferedIt" + - "emCommand\022\025\n\rserver_handle\030\001 \001(\005\022\027\n\017item" + - "_definition\030\002 \001(\t\022\024\n\014item_context\030\003 \001(\t\"" + - "_\n SetBufferedUpdateIntervalCommand\022\025\n\rs" + - "erver_handle\030\001 \001(\005\022$\n\034update_interval_mi" + - "lliseconds\030\002 \001(\005\"<\n\016SuspendCommand\022\025\n\rse" + - "rver_handle\030\001 \001(\005\022\023\n\013item_handle\030\002 \001(\005\"=" + - "\n\017ActivateCommand\022\025\n\rserver_handle\030\001 \001(\005" + - "\022\023\n\013item_handle\030\002 \001(\005\"x\n\014WriteCommand\022\025\n" + - "\rserver_handle\030\001 \001(\005\022\023\n\013item_handle\030\002 \001(" + - "\005\022+\n\005value\030\003 \001(\0132\034.mxaccess_gateway.v1.M" + - "xValue\022\017\n\007user_id\030\004 \001(\005\"\260\001\n\rWrite2Comman" + - "d\022\025\n\rserver_handle\030\001 \001(\005\022\023\n\013item_handle\030" + - "\002 \001(\005\022+\n\005value\030\003 \001(\0132\034.mxaccess_gateway." + - "v1.MxValue\0225\n\017timestamp_value\030\004 \001(\0132\034.mx" + - "access_gateway.v1.MxValue\022\017\n\007user_id\030\005 \001" + - "(\005\"\241\001\n\023WriteSecuredCommand\022\025\n\rserver_han" + - "dle\030\001 \001(\005\022\023\n\013item_handle\030\002 \001(\005\022\027\n\017curren" + - "t_user_id\030\003 \001(\005\022\030\n\020verifier_user_id\030\004 \001(" + - "\005\022+\n\005value\030\005 \001(\0132\034.mxaccess_gateway.v1.M" + - "xValue\"\331\001\n\024WriteSecured2Command\022\025\n\rserve" + - "r_handle\030\001 \001(\005\022\023\n\013item_handle\030\002 \001(\005\022\027\n\017c" + - "urrent_user_id\030\003 \001(\005\022\030\n\020verifier_user_id" + - "\030\004 \001(\005\022+\n\005value\030\005 \001(\0132\034.mxaccess_gateway" + - ".v1.MxValue\0225\n\017timestamp_value\030\006 \001(\0132\034.m" + - "xaccess_gateway.v1.MxValue\"c\n\027Authentica" + - "teUserCommand\022\025\n\rserver_handle\030\001 \001(\005\022\023\n\013" + - "verify_user\030\002 \001(\t\022\034\n\024verify_user_passwor" + - "d\030\003 \001(\t\"G\n\030ArchestrAUserToIdCommand\022\025\n\rs" + - "erver_handle\030\001 \001(\005\022\024\n\014user_id_guid\030\002 \001(\t" + - "\"B\n\022AddItemBulkCommand\022\025\n\rserver_handle\030" + - "\001 \001(\005\022\025\n\rtag_addresses\030\002 \003(\t\"D\n\025AdviseIt" + - "emBulkCommand\022\025\n\rserver_handle\030\001 \001(\005\022\024\n\014" + - "item_handles\030\002 \003(\005\"D\n\025RemoveItemBulkComm" + - "and\022\025\n\rserver_handle\030\001 \001(\005\022\024\n\014item_handl" + - "es\030\002 \003(\005\"F\n\027UnAdviseItemBulkCommand\022\025\n\rs" + - "erver_handle\030\001 \001(\005\022\024\n\014item_handles\030\002 \003(\005" + - "\"D\n\024SubscribeBulkCommand\022\025\n\rserver_handl" + - "e\030\001 \001(\005\022\025\n\rtag_addresses\030\002 \003(\t\"E\n\026Unsubs" + - "cribeBulkCommand\022\025\n\rserver_handle\030\001 \001(\005\022" + - "\024\n\014item_handles\030\002 \003(\005\"\036\n\013PingCommand\022\017\n\007" + - "message\030\001 \001(\t\"\030\n\026GetSessionStateCommand\"" + - "\026\n\024GetWorkerInfoCommand\"(\n\022DrainEventsCo" + - "mmand\022\022\n\nmax_events\030\001 \001(\r\"H\n\025ShutdownWor" + - "kerCommand\022/\n\014grace_period\030\001 \001(\0132\031.googl" + - "e.protobuf.Duration\"\254\013\n\016MxCommandReply\022\022" + - "\n\nsession_id\030\001 \001(\t\022\026\n\016correlation_id\030\002 \001" + - "(\t\0220\n\004kind\030\003 \001(\0162\".mxaccess_gateway.v1.M" + - "xCommandKind\022<\n\017protocol_status\030\004 \001(\0132#." + - "mxaccess_gateway.v1.ProtocolStatus\022\024\n\007hr" + - "esult\030\005 \001(\005H\001\210\001\001\0222\n\014return_value\030\006 \001(\0132\034" + - ".mxaccess_gateway.v1.MxValue\0224\n\010statuses" + - "\030\007 \003(\0132\".mxaccess_gateway.v1.MxStatusPro" + - "xy\022\032\n\022diagnostic_message\030\010 \001(\t\0226\n\010regist" + - "er\030\024 \001(\0132\".mxaccess_gateway.v1.RegisterR" + - "eplyH\000\0225\n\010add_item\030\025 \001(\0132!.mxaccess_gate" + - "way.v1.AddItemReplyH\000\0227\n\tadd_item2\030\026 \001(\013" + - "2\".mxaccess_gateway.v1.AddItem2ReplyH\000\022F" + - "\n\021add_buffered_item\030\027 \001(\0132).mxaccess_gat" + - "eway.v1.AddBufferedItemReplyH\000\0224\n\007suspen" + - "d\030\030 \001(\0132!.mxaccess_gateway.v1.SuspendRep" + - "lyH\000\0226\n\010activate\030\031 \001(\0132\".mxaccess_gatewa" + - "y.v1.ActivateReplyH\000\022G\n\021authenticate_use" + - "r\030\032 \001(\0132*.mxaccess_gateway.v1.Authentica" + - "teUserReplyH\000\022K\n\024archestra_user_to_id\030\033 " + - "\001(\0132+.mxaccess_gateway.v1.ArchestrAUserT" + - "oIdReplyH\000\022@\n\radd_item_bulk\030\034 \001(\0132\'.mxac" + - "cess_gateway.v1.BulkSubscribeReplyH\000\022C\n\020" + - "advise_item_bulk\030\035 \001(\0132\'.mxaccess_gatewa" + - "y.v1.BulkSubscribeReplyH\000\022C\n\020remove_item" + - "_bulk\030\036 \001(\0132\'.mxaccess_gateway.v1.BulkSu" + - "bscribeReplyH\000\022F\n\023un_advise_item_bulk\030\037 " + - "\001(\0132\'.mxaccess_gateway.v1.BulkSubscribeR" + - "eplyH\000\022A\n\016subscribe_bulk\030 \001(\0132\'.mxacces" + - "s_gateway.v1.BulkSubscribeReplyH\000\022C\n\020uns" + - "ubscribe_bulk\030! \001(\0132\'.mxaccess_gateway.v" + - "1.BulkSubscribeReplyH\000\022?\n\rsession_state\030" + - "d \001(\0132&.mxaccess_gateway.v1.SessionState" + - "ReplyH\000\022;\n\013worker_info\030e \001(\0132$.mxaccess_" + - "gateway.v1.WorkerInfoReplyH\000\022=\n\014drain_ev" + - "ents\030f \001(\0132%.mxaccess_gateway.v1.DrainEv" + - "entsReplyH\000B\t\n\007payloadB\n\n\010_hresult\"&\n\rRe" + - "gisterReply\022\025\n\rserver_handle\030\001 \001(\005\"#\n\014Ad" + - "dItemReply\022\023\n\013item_handle\030\001 \001(\005\"$\n\rAddIt" + - "em2Reply\022\023\n\013item_handle\030\001 \001(\005\"+\n\024AddBuff" + - "eredItemReply\022\023\n\013item_handle\030\001 \001(\005\"B\n\014Su" + - "spendReply\0222\n\006status\030\001 \001(\0132\".mxaccess_ga" + - "teway.v1.MxStatusProxy\"C\n\rActivateReply\022" + - "2\n\006status\030\001 \001(\0132\".mxaccess_gateway.v1.Mx" + - "StatusProxy\"(\n\025AuthenticateUserReply\022\017\n\007" + - "user_id\030\001 \001(\005\")\n\026ArchestrAUserToIdReply\022" + - "\017\n\007user_id\030\001 \001(\005\"\201\001\n\017SubscribeResult\022\025\n\r" + - "server_handle\030\001 \001(\005\022\023\n\013tag_address\030\002 \001(\t" + - "\022\023\n\013item_handle\030\003 \001(\005\022\026\n\016was_successful\030" + - "\004 \001(\010\022\025\n\rerror_message\030\005 \001(\t\"K\n\022BulkSubs" + - "cribeReply\0225\n\007results\030\001 \003(\0132$.mxaccess_g" + - "ateway.v1.SubscribeResult\"E\n\021SessionStat" + - "eReply\0220\n\005state\030\001 \001(\0162!.mxaccess_gateway" + - ".v1.SessionState\"u\n\017WorkerInfoReply\022\031\n\021w" + - "orker_process_id\030\001 \001(\005\022\026\n\016worker_version" + - "\030\002 \001(\t\022\027\n\017mxaccess_progid\030\003 \001(\t\022\026\n\016mxacc" + - "ess_clsid\030\004 \001(\t\"@\n\020DrainEventsReply\022,\n\006e" + - "vents\030\001 \003(\0132\034.mxaccess_gateway.v1.MxEven" + - "t\"\233\006\n\007MxEvent\0222\n\006family\030\001 \001(\0162\".mxaccess" + - "_gateway.v1.MxEventFamily\022\022\n\nsession_id\030" + - "\002 \001(\t\022\025\n\rserver_handle\030\003 \001(\005\022\023\n\013item_han" + - "dle\030\004 \001(\005\022+\n\005value\030\005 \001(\0132\034.mxaccess_gate" + - "way.v1.MxValue\022\017\n\007quality\030\006 \001(\005\0224\n\020sourc" + - "e_timestamp\030\007 \001(\0132\032.google.protobuf.Time" + - "stamp\0224\n\010statuses\030\010 \003(\0132\".mxaccess_gatew" + - "ay.v1.MxStatusProxy\022\027\n\017worker_sequence\030\t" + - " \001(\004\0224\n\020worker_timestamp\030\n \001(\0132\032.google." + - "protobuf.Timestamp\022=\n\031gateway_receive_ti" + - "mestamp\030\013 \001(\0132\032.google.protobuf.Timestam" + - "p\022\024\n\007hresult\030\014 \001(\005H\001\210\001\001\022\022\n\nraw_status\030\r " + - "\001(\t\022@\n\016on_data_change\030\024 \001(\0132&.mxaccess_g" + - "ateway.v1.OnDataChangeEventH\000\022F\n\021on_writ" + - "e_complete\030\025 \001(\0132).mxaccess_gateway.v1.O" + - "nWriteCompleteEventH\000\022I\n\022operation_compl" + - "ete\030\026 \001(\0132+.mxaccess_gateway.v1.Operatio" + - "nCompleteEventH\000\022Q\n\027on_buffered_data_cha" + - "nge\030\027 \001(\0132..mxaccess_gateway.v1.OnBuffer" + - "edDataChangeEventH\000B\006\n\004bodyB\n\n\010_hresult\"" + - "\023\n\021OnDataChangeEvent\"\026\n\024OnWriteCompleteE" + - "vent\"\030\n\026OperationCompleteEvent\"\324\001\n\031OnBuf" + - "feredDataChangeEvent\0222\n\tdata_type\030\001 \001(\0162" + - "\037.mxaccess_gateway.v1.MxDataType\0224\n\016qual" + - "ity_values\030\002 \001(\0132\034.mxaccess_gateway.v1.M" + - "xArray\0226\n\020timestamp_values\030\003 \001(\0132\034.mxacc" + - "ess_gateway.v1.MxArray\022\025\n\rraw_data_type\030" + - "\004 \001(\005\"\353\001\n\rMxStatusProxy\022\017\n\007success\030\001 \001(\005" + - "\0227\n\010category\030\002 \001(\0162%.mxaccess_gateway.v1" + - ".MxStatusCategory\0228\n\013detected_by\030\003 \001(\0162#" + - ".mxaccess_gateway.v1.MxStatusSource\022\016\n\006d" + - "etail\030\004 \001(\005\022\024\n\014raw_category\030\005 \001(\005\022\027\n\017raw" + - "_detected_by\030\006 \001(\005\022\027\n\017diagnostic_text\030\007 " + - "\001(\t\"\247\003\n\007MxValue\0222\n\tdata_type\030\001 \001(\0162\037.mxa" + - "ccess_gateway.v1.MxDataType\022\024\n\014variant_t" + - "ype\030\002 \001(\t\022\017\n\007is_null\030\003 \001(\010\022\026\n\016raw_diagno" + - "stic\030\004 \001(\t\022\025\n\rraw_data_type\030\005 \001(\005\022\024\n\nboo" + - "l_value\030\n \001(\010H\000\022\025\n\013int32_value\030\013 \001(\005H\000\022\025" + - "\n\013int64_value\030\014 \001(\003H\000\022\025\n\013float_value\030\r \001" + - "(\002H\000\022\026\n\014double_value\030\016 \001(\001H\000\022\026\n\014string_v" + - "alue\030\017 \001(\tH\000\0225\n\017timestamp_value\030\020 \001(\0132\032." + - "google.protobuf.TimestampH\000\0223\n\013array_val" + - "ue\030\021 \001(\0132\034.mxaccess_gateway.v1.MxArrayH\000" + - "\022\023\n\traw_value\030\022 \001(\014H\000B\006\n\004kind\"\376\004\n\007MxArra" + - "y\022:\n\021element_data_type\030\001 \001(\0162\037.mxaccess_" + - "gateway.v1.MxDataType\022\024\n\014variant_type\030\002 " + - "\001(\t\022\022\n\ndimensions\030\003 \003(\r\022\026\n\016raw_diagnosti" + - "c\030\004 \001(\t\022\035\n\025raw_element_data_type\030\005 \001(\005\0225" + - "\n\013bool_values\030\n \001(\0132\036.mxaccess_gateway.v" + - "1.BoolArrayH\000\0227\n\014int32_values\030\013 \001(\0132\037.mx" + - "access_gateway.v1.Int32ArrayH\000\0227\n\014int64_" + - "values\030\014 \001(\0132\037.mxaccess_gateway.v1.Int64" + - "ArrayH\000\0227\n\014float_values\030\r \001(\0132\037.mxaccess" + - "_gateway.v1.FloatArrayH\000\0229\n\rdouble_value" + - "s\030\016 \001(\0132 .mxaccess_gateway.v1.DoubleArra" + - "yH\000\0229\n\rstring_values\030\017 \001(\0132 .mxaccess_ga" + - "teway.v1.StringArrayH\000\022?\n\020timestamp_valu" + - "es\030\020 \001(\0132#.mxaccess_gateway.v1.Timestamp" + - "ArrayH\000\0223\n\nraw_values\030\021 \001(\0132\035.mxaccess_g" + - "ateway.v1.RawArrayH\000B\010\n\006values\"\033\n\tBoolAr" + - "ray\022\016\n\006values\030\001 \003(\010\"\034\n\nInt32Array\022\016\n\006val" + - "ues\030\001 \003(\005\"\034\n\nInt64Array\022\016\n\006values\030\001 \003(\003\"" + - "\034\n\nFloatArray\022\016\n\006values\030\001 \003(\002\"\035\n\013DoubleA" + - "rray\022\016\n\006values\030\001 \003(\001\"\035\n\013StringArray\022\016\n\006v" + - "alues\030\001 \003(\t\"<\n\016TimestampArray\022*\n\006values\030" + - "\001 \003(\0132\032.google.protobuf.Timestamp\"\032\n\010Raw" + - "Array\022\016\n\006values\030\001 \003(\014\"X\n\016ProtocolStatus\022" + - "5\n\004code\030\001 \001(\0162\'.mxaccess_gateway.v1.Prot" + - "ocolStatusCode\022\017\n\007message\030\002 \001(\t*\241\010\n\rMxCo" + - "mmandKind\022\037\n\033MX_COMMAND_KIND_UNSPECIFIED" + - "\020\000\022\034\n\030MX_COMMAND_KIND_REGISTER\020\001\022\036\n\032MX_C" + - "OMMAND_KIND_UNREGISTER\020\002\022\034\n\030MX_COMMAND_K" + - "IND_ADD_ITEM\020\003\022\035\n\031MX_COMMAND_KIND_ADD_IT" + - "EM2\020\004\022\037\n\033MX_COMMAND_KIND_REMOVE_ITEM\020\005\022\032" + - "\n\026MX_COMMAND_KIND_ADVISE\020\006\022\035\n\031MX_COMMAND" + - "_KIND_UN_ADVISE\020\007\022&\n\"MX_COMMAND_KIND_ADV" + - "ISE_SUPERVISORY\020\010\022%\n!MX_COMMAND_KIND_ADD" + - "_BUFFERED_ITEM\020\t\0220\n,MX_COMMAND_KIND_SET_" + - "BUFFERED_UPDATE_INTERVAL\020\n\022\033\n\027MX_COMMAND" + - "_KIND_SUSPEND\020\013\022\034\n\030MX_COMMAND_KIND_ACTIV" + - "ATE\020\014\022\031\n\025MX_COMMAND_KIND_WRITE\020\r\022\032\n\026MX_C" + - "OMMAND_KIND_WRITE2\020\016\022!\n\035MX_COMMAND_KIND_" + - "WRITE_SECURED\020\017\022\"\n\036MX_COMMAND_KIND_WRITE" + - "_SECURED2\020\020\022%\n!MX_COMMAND_KIND_AUTHENTIC" + - "ATE_USER\020\021\022(\n$MX_COMMAND_KIND_ARCHESTRA_" + - "USER_TO_ID\020\022\022!\n\035MX_COMMAND_KIND_ADD_ITEM" + - "_BULK\020\023\022$\n MX_COMMAND_KIND_ADVISE_ITEM_B" + - "ULK\020\024\022$\n MX_COMMAND_KIND_REMOVE_ITEM_BUL" + - "K\020\025\022\'\n#MX_COMMAND_KIND_UN_ADVISE_ITEM_BU" + - "LK\020\026\022\"\n\036MX_COMMAND_KIND_SUBSCRIBE_BULK\020\027" + - "\022$\n MX_COMMAND_KIND_UNSUBSCRIBE_BULK\020\030\022\030" + - "\n\024MX_COMMAND_KIND_PING\020d\022%\n!MX_COMMAND_K" + - "IND_GET_SESSION_STATE\020e\022#\n\037MX_COMMAND_KI" + - "ND_GET_WORKER_INFO\020f\022 \n\034MX_COMMAND_KIND_" + - "DRAIN_EVENTS\020g\022#\n\037MX_COMMAND_KIND_SHUTDO" + - "WN_WORKER\020h*\320\001\n\rMxEventFamily\022\037\n\033MX_EVEN" + - "T_FAMILY_UNSPECIFIED\020\000\022\"\n\036MX_EVENT_FAMIL" + - "Y_ON_DATA_CHANGE\020\001\022%\n!MX_EVENT_FAMILY_ON" + - "_WRITE_COMPLETE\020\002\022&\n\"MX_EVENT_FAMILY_OPE" + - "RATION_COMPLETE\020\003\022+\n\'MX_EVENT_FAMILY_ON_" + - "BUFFERED_DATA_CHANGE\020\004*\245\003\n\020MxStatusCateg" + - "ory\022\"\n\036MX_STATUS_CATEGORY_UNSPECIFIED\020\000\022" + - "\036\n\032MX_STATUS_CATEGORY_UNKNOWN\020\001\022\031\n\025MX_ST" + - "ATUS_CATEGORY_OK\020\002\022\036\n\032MX_STATUS_CATEGORY" + - "_PENDING\020\003\022\036\n\032MX_STATUS_CATEGORY_WARNING" + - "\020\004\022*\n&MX_STATUS_CATEGORY_COMMUNICATION_E" + - "RROR\020\005\022*\n&MX_STATUS_CATEGORY_CONFIGURATI" + - "ON_ERROR\020\006\022(\n$MX_STATUS_CATEGORY_OPERATI" + - "ONAL_ERROR\020\007\022%\n!MX_STATUS_CATEGORY_SECUR" + - "ITY_ERROR\020\010\022%\n!MX_STATUS_CATEGORY_SOFTWA" + - "RE_ERROR\020\t\022\"\n\036MX_STATUS_CATEGORY_OTHER_E" + - "RROR\020\n*\312\002\n\016MxStatusSource\022 \n\034MX_STATUS_S" + - "OURCE_UNSPECIFIED\020\000\022\034\n\030MX_STATUS_SOURCE_" + - "UNKNOWN\020\001\022#\n\037MX_STATUS_SOURCE_REQUESTING" + - "_LMX\020\002\022#\n\037MX_STATUS_SOURCE_RESPONDING_LM" + - "X\020\003\022#\n\037MX_STATUS_SOURCE_REQUESTING_NMX\020\004" + - "\022#\n\037MX_STATUS_SOURCE_RESPONDING_NMX\020\005\0221\n" + - "-MX_STATUS_SOURCE_REQUESTING_AUTOMATION_" + - "OBJECT\020\006\0221\n-MX_STATUS_SOURCE_RESPONDING_" + - "AUTOMATION_OBJECT\020\007*\335\004\n\nMxDataType\022\034\n\030MX" + - "_DATA_TYPE_UNSPECIFIED\020\000\022\030\n\024MX_DATA_TYPE" + - "_UNKNOWN\020\001\022\030\n\024MX_DATA_TYPE_NO_DATA\020\002\022\030\n\024" + - "MX_DATA_TYPE_BOOLEAN\020\003\022\030\n\024MX_DATA_TYPE_I" + - "NTEGER\020\004\022\026\n\022MX_DATA_TYPE_FLOAT\020\005\022\027\n\023MX_D" + - "ATA_TYPE_DOUBLE\020\006\022\027\n\023MX_DATA_TYPE_STRING" + - "\020\007\022\025\n\021MX_DATA_TYPE_TIME\020\010\022\035\n\031MX_DATA_TYP" + - "E_ELAPSED_TIME\020\t\022\037\n\033MX_DATA_TYPE_REFEREN" + - "CE_TYPE\020\n\022\034\n\030MX_DATA_TYPE_STATUS_TYPE\020\013\022" + - "\025\n\021MX_DATA_TYPE_ENUM\020\014\022-\n)MX_DATA_TYPE_S" + - "ECURITY_CLASSIFICATION_ENUM\020\r\022\"\n\036MX_DATA" + - "_TYPE_DATA_QUALITY_TYPE\020\016\022\037\n\033MX_DATA_TYP" + - "E_QUALIFIED_ENUM\020\017\022!\n\035MX_DATA_TYPE_QUALI" + - "FIED_STRUCT\020\020\022)\n%MX_DATA_TYPE_INTERNATIO" + - "NALIZED_STRING\020\021\022\033\n\027MX_DATA_TYPE_BIG_STR" + - "ING\020\022\022\024\n\020MX_DATA_TYPE_END\020\023*\243\003\n\022Protocol" + - "StatusCode\022$\n PROTOCOL_STATUS_CODE_UNSPE" + - "CIFIED\020\000\022\033\n\027PROTOCOL_STATUS_CODE_OK\020\001\022(\n" + - "$PROTOCOL_STATUS_CODE_INVALID_REQUEST\020\002\022" + - "*\n&PROTOCOL_STATUS_CODE_SESSION_NOT_FOUN" + - "D\020\003\022*\n&PROTOCOL_STATUS_CODE_SESSION_NOT_" + - "READY\020\004\022+\n\'PROTOCOL_STATUS_CODE_WORKER_U" + - "NAVAILABLE\020\005\022 \n\034PROTOCOL_STATUS_CODE_TIM" + - "EOUT\020\006\022!\n\035PROTOCOL_STATUS_CODE_CANCELED\020" + - "\007\022+\n\'PROTOCOL_STATUS_CODE_PROTOCOL_VIOLA" + - "TION\020\010\022)\n%PROTOCOL_STATUS_CODE_MXACCESS_" + - "FAILURE\020\t*\277\002\n\014SessionState\022\035\n\031SESSION_ST" + - "ATE_UNSPECIFIED\020\000\022\032\n\026SESSION_STATE_CREAT" + - "ING\020\001\022!\n\035SESSION_STATE_STARTING_WORKER\020\002" + - "\022\"\n\036SESSION_STATE_WAITING_FOR_PIPE\020\003\022\035\n\031" + - "SESSION_STATE_HANDSHAKING\020\004\022%\n!SESSION_S" + - "TATE_INITIALIZING_WORKER\020\005\022\027\n\023SESSION_ST" + - "ATE_READY\020\006\022\031\n\025SESSION_STATE_CLOSING\020\007\022\030" + - "\n\024SESSION_STATE_CLOSED\020\010\022\031\n\025SESSION_STAT" + - "E_FAULTED\020\t2\202\003\n\017MxAccessGateway\022]\n\013OpenS" + - "ession\022\'.mxaccess_gateway.v1.OpenSession" + - "Request\032%.mxaccess_gateway.v1.OpenSessio" + - "nReply\022`\n\014CloseSession\022(.mxaccess_gatewa" + - "y.v1.CloseSessionRequest\032&.mxaccess_gate" + - "way.v1.CloseSessionReply\022T\n\006Invoke\022%.mxa" + - "ccess_gateway.v1.MxCommandRequest\032#.mxac" + - "cess_gateway.v1.MxCommandReply\022X\n\014Stream" + - "Events\022(.mxaccess_gateway.v1.StreamEvent" + - "sRequest\032\034.mxaccess_gateway.v1.MxEvent0\001" + - "B\034\252\002\031MxGateway.Contracts.Protob\006proto3" + "le\030\002 \001(\005\";\n\rAdviseCommand\022\025\n\rserver_hand" + + "le\030\001 \001(\005\022\023\n\013item_handle\030\002 \001(\005\"=\n\017UnAdvis" + + "eCommand\022\025\n\rserver_handle\030\001 \001(\005\022\023\n\013item_" + + "handle\030\002 \001(\005\"F\n\030AdviseSupervisoryCommand" + + "\022\025\n\rserver_handle\030\001 \001(\005\022\023\n\013item_handle\030\002" + + " \001(\005\"^\n\026AddBufferedItemCommand\022\025\n\rserver" + + "_handle\030\001 \001(\005\022\027\n\017item_definition\030\002 \001(\t\022\024" + + "\n\014item_context\030\003 \001(\t\"_\n SetBufferedUpdat" + + "eIntervalCommand\022\025\n\rserver_handle\030\001 \001(\005\022" + + "$\n\034update_interval_milliseconds\030\002 \001(\005\"<\n" + + "\016SuspendCommand\022\025\n\rserver_handle\030\001 \001(\005\022\023" + + "\n\013item_handle\030\002 \001(\005\"=\n\017ActivateCommand\022\025" + + "\n\rserver_handle\030\001 \001(\005\022\023\n\013item_handle\030\002 \001" + + "(\005\"x\n\014WriteCommand\022\025\n\rserver_handle\030\001 \001(" + + "\005\022\023\n\013item_handle\030\002 \001(\005\022+\n\005value\030\003 \001(\0132\034." + + "mxaccess_gateway.v1.MxValue\022\017\n\007user_id\030\004" + + " \001(\005\"\260\001\n\rWrite2Command\022\025\n\rserver_handle\030" + + "\001 \001(\005\022\023\n\013item_handle\030\002 \001(\005\022+\n\005value\030\003 \001(" + + "\0132\034.mxaccess_gateway.v1.MxValue\0225\n\017times" + + "tamp_value\030\004 \001(\0132\034.mxaccess_gateway.v1.M" + + "xValue\022\017\n\007user_id\030\005 \001(\005\"\241\001\n\023WriteSecured" + + "Command\022\025\n\rserver_handle\030\001 \001(\005\022\023\n\013item_h" + + "andle\030\002 \001(\005\022\027\n\017current_user_id\030\003 \001(\005\022\030\n\020" + + "verifier_user_id\030\004 \001(\005\022+\n\005value\030\005 \001(\0132\034." + + "mxaccess_gateway.v1.MxValue\"\331\001\n\024WriteSec" + + "ured2Command\022\025\n\rserver_handle\030\001 \001(\005\022\023\n\013i" + + "tem_handle\030\002 \001(\005\022\027\n\017current_user_id\030\003 \001(" + + "\005\022\030\n\020verifier_user_id\030\004 \001(\005\022+\n\005value\030\005 \001" + + "(\0132\034.mxaccess_gateway.v1.MxValue\0225\n\017time" + + "stamp_value\030\006 \001(\0132\034.mxaccess_gateway.v1." + + "MxValue\"c\n\027AuthenticateUserCommand\022\025\n\rse" + + "rver_handle\030\001 \001(\005\022\023\n\013verify_user\030\002 \001(\t\022\034" + + "\n\024verify_user_password\030\003 \001(\t\"G\n\030Archestr" + + "AUserToIdCommand\022\025\n\rserver_handle\030\001 \001(\005\022" + + "\024\n\014user_id_guid\030\002 \001(\t\"B\n\022AddItemBulkComm" + + "and\022\025\n\rserver_handle\030\001 \001(\005\022\025\n\rtag_addres" + + "ses\030\002 \003(\t\"D\n\025AdviseItemBulkCommand\022\025\n\rse" + + "rver_handle\030\001 \001(\005\022\024\n\014item_handles\030\002 \003(\005\"" + + "D\n\025RemoveItemBulkCommand\022\025\n\rserver_handl" + + "e\030\001 \001(\005\022\024\n\014item_handles\030\002 \003(\005\"F\n\027UnAdvis" + + "eItemBulkCommand\022\025\n\rserver_handle\030\001 \001(\005\022" + + "\024\n\014item_handles\030\002 \003(\005\"D\n\024SubscribeBulkCo" + + "mmand\022\025\n\rserver_handle\030\001 \001(\005\022\025\n\rtag_addr" + + "esses\030\002 \003(\t\"9\n\026SubscribeAlarmsCommand\022\037\n" + + "\027subscription_expression\030\001 \001(\t\"\032\n\030Unsubs" + + "cribeAlarmsCommand\"\241\001\n\027AcknowledgeAlarmC" + + "ommand\022\022\n\nalarm_guid\030\001 \001(\t\022\017\n\007comment\030\002 " + + "\001(\t\022\025\n\roperator_user\030\003 \001(\t\022\025\n\roperator_n" + + "ode\030\004 \001(\t\022\027\n\017operator_domain\030\005 \001(\t\022\032\n\022op" + + "erator_full_name\030\006 \001(\t\"7\n\030QueryActiveAla" + + "rmsCommand\022\033\n\023alarm_filter_prefix\030\001 \001(\t\"" + + "\322\001\n\035AcknowledgeAlarmByNameCommand\022\022\n\nala" + + "rm_name\030\001 \001(\t\022\025\n\rprovider_name\030\002 \001(\t\022\022\n\n" + + "group_name\030\003 \001(\t\022\017\n\007comment\030\004 \001(\t\022\025\n\rope" + + "rator_user\030\005 \001(\t\022\025\n\roperator_node\030\006 \001(\t\022" + + "\027\n\017operator_domain\030\007 \001(\t\022\032\n\022operator_ful" + + "l_name\030\010 \001(\t\"E\n\026UnsubscribeBulkCommand\022\025" + + "\n\rserver_handle\030\001 \001(\005\022\024\n\014item_handles\030\002 " + + "\003(\005\"_\n\020WriteBulkCommand\022\025\n\rserver_handle" + + "\030\001 \001(\005\0224\n\007entries\030\002 \003(\0132#.mxaccess_gatew" + + "ay.v1.WriteBulkEntry\"c\n\016WriteBulkEntry\022\023" + + "\n\013item_handle\030\001 \001(\005\022+\n\005value\030\002 \001(\0132\034.mxa" + + "ccess_gateway.v1.MxValue\022\017\n\007user_id\030\003 \001(" + + "\005\"a\n\021Write2BulkCommand\022\025\n\rserver_handle\030" + + "\001 \001(\005\0225\n\007entries\030\002 \003(\0132$.mxaccess_gatewa" + + "y.v1.Write2BulkEntry\"\233\001\n\017Write2BulkEntry" + + "\022\023\n\013item_handle\030\001 \001(\005\022+\n\005value\030\002 \001(\0132\034.m" + + "xaccess_gateway.v1.MxValue\0225\n\017timestamp_" + + "value\030\003 \001(\0132\034.mxaccess_gateway.v1.MxValu" + + "e\022\017\n\007user_id\030\004 \001(\005\"m\n\027WriteSecuredBulkCo" + + "mmand\022\025\n\rserver_handle\030\001 \001(\005\022;\n\007entries\030" + + "\002 \003(\0132*.mxaccess_gateway.v1.WriteSecured" + + "BulkEntry\"\214\001\n\025WriteSecuredBulkEntry\022\023\n\013i" + + "tem_handle\030\001 \001(\005\022\027\n\017current_user_id\030\002 \001(" + + "\005\022\030\n\020verifier_user_id\030\003 \001(\005\022+\n\005value\030\004 \001" + + "(\0132\034.mxaccess_gateway.v1.MxValue\"o\n\030Writ" + + "eSecured2BulkCommand\022\025\n\rserver_handle\030\001 " + + "\001(\005\022<\n\007entries\030\002 \003(\0132+.mxaccess_gateway." + + "v1.WriteSecured2BulkEntry\"\304\001\n\026WriteSecur" + + "ed2BulkEntry\022\023\n\013item_handle\030\001 \001(\005\022\027\n\017cur" + + "rent_user_id\030\002 \001(\005\022\030\n\020verifier_user_id\030\003" + + " \001(\005\022+\n\005value\030\004 \001(\0132\034.mxaccess_gateway.v" + + "1.MxValue\0225\n\017timestamp_value\030\005 \001(\0132\034.mxa" + + "ccess_gateway.v1.MxValue\"S\n\017ReadBulkComm" + + "and\022\025\n\rserver_handle\030\001 \001(\005\022\025\n\rtag_addres" + + "ses\030\002 \003(\t\022\022\n\ntimeout_ms\030\003 \001(\r\"\036\n\013PingCom" + + "mand\022\017\n\007message\030\001 \001(\t\"\030\n\026GetSessionState" + + "Command\"\026\n\024GetWorkerInfoCommand\"(\n\022Drain" + + "EventsCommand\022\022\n\nmax_events\030\001 \001(\r\"H\n\025Shu" + + "tdownWorkerCommand\022/\n\014grace_period\030\001 \001(\013" + + "2\031.google.protobuf.Duration\"\206\017\n\016MxComman" + + "dReply\022\022\n\nsession_id\030\001 \001(\t\022\026\n\016correlatio" + + "n_id\030\002 \001(\t\0220\n\004kind\030\003 \001(\0162\".mxaccess_gate" + + "way.v1.MxCommandKind\022<\n\017protocol_status\030" + + "\004 \001(\0132#.mxaccess_gateway.v1.ProtocolStat" + + "us\022\024\n\007hresult\030\005 \001(\005H\001\210\001\001\0222\n\014return_value" + + "\030\006 \001(\0132\034.mxaccess_gateway.v1.MxValue\0224\n\010" + + "statuses\030\007 \003(\0132\".mxaccess_gateway.v1.MxS" + + "tatusProxy\022\032\n\022diagnostic_message\030\010 \001(\t\0226" + + "\n\010register\030\024 \001(\0132\".mxaccess_gateway.v1.R" + + "egisterReplyH\000\0225\n\010add_item\030\025 \001(\0132!.mxacc" + + "ess_gateway.v1.AddItemReplyH\000\0227\n\tadd_ite" + + "m2\030\026 \001(\0132\".mxaccess_gateway.v1.AddItem2R" + + "eplyH\000\022F\n\021add_buffered_item\030\027 \001(\0132).mxac" + + "cess_gateway.v1.AddBufferedItemReplyH\000\0224" + + "\n\007suspend\030\030 \001(\0132!.mxaccess_gateway.v1.Su" + + "spendReplyH\000\0226\n\010activate\030\031 \001(\0132\".mxacces" + + "s_gateway.v1.ActivateReplyH\000\022G\n\021authenti" + + "cate_user\030\032 \001(\0132*.mxaccess_gateway.v1.Au" + + "thenticateUserReplyH\000\022K\n\024archestra_user_" + + "to_id\030\033 \001(\0132+.mxaccess_gateway.v1.Arches" + + "trAUserToIdReplyH\000\022@\n\radd_item_bulk\030\034 \001(" + + "\0132\'.mxaccess_gateway.v1.BulkSubscribeRep" + + "lyH\000\022C\n\020advise_item_bulk\030\035 \001(\0132\'.mxacces" + + "s_gateway.v1.BulkSubscribeReplyH\000\022C\n\020rem" + + "ove_item_bulk\030\036 \001(\0132\'.mxaccess_gateway.v" + + "1.BulkSubscribeReplyH\000\022F\n\023un_advise_item" + + "_bulk\030\037 \001(\0132\'.mxaccess_gateway.v1.BulkSu" + + "bscribeReplyH\000\022A\n\016subscribe_bulk\030 \001(\0132\'" + + ".mxaccess_gateway.v1.BulkSubscribeReplyH" + + "\000\022C\n\020unsubscribe_bulk\030! \001(\0132\'.mxaccess_g" + + "ateway.v1.BulkSubscribeReplyH\000\022N\n\021acknow" + + "ledge_alarm\030\" \001(\01321.mxaccess_gateway.v1." + + "AcknowledgeAlarmReplyPayloadH\000\022Q\n\023query_" + + "active_alarms\030# \001(\01322.mxaccess_gateway.v" + + "1.QueryActiveAlarmsReplyPayloadH\000\0229\n\nwri" + + "te_bulk\030$ \001(\0132#.mxaccess_gateway.v1.Bulk" + + "WriteReplyH\000\022:\n\013write2_bulk\030% \001(\0132#.mxac" + + "cess_gateway.v1.BulkWriteReplyH\000\022A\n\022writ" + + "e_secured_bulk\030& \001(\0132#.mxaccess_gateway." + + "v1.BulkWriteReplyH\000\022B\n\023write_secured2_bu" + + "lk\030\' \001(\0132#.mxaccess_gateway.v1.BulkWrite" + + "ReplyH\000\0227\n\tread_bulk\030( \001(\0132\".mxaccess_ga" + + "teway.v1.BulkReadReplyH\000\022?\n\rsession_stat" + + "e\030d \001(\0132&.mxaccess_gateway.v1.SessionSta" + + "teReplyH\000\022;\n\013worker_info\030e \001(\0132$.mxacces" + + "s_gateway.v1.WorkerInfoReplyH\000\022=\n\014drain_" + + "events\030f \001(\0132%.mxaccess_gateway.v1.Drain" + + "EventsReplyH\000B\t\n\007payloadB\n\n\010_hresult\"&\n\r" + + "RegisterReply\022\025\n\rserver_handle\030\001 \001(\005\"#\n\014" + + "AddItemReply\022\023\n\013item_handle\030\001 \001(\005\"$\n\rAdd" + + "Item2Reply\022\023\n\013item_handle\030\001 \001(\005\"+\n\024AddBu" + + "fferedItemReply\022\023\n\013item_handle\030\001 \001(\005\"B\n\014" + + "SuspendReply\0222\n\006status\030\001 \001(\0132\".mxaccess_" + + "gateway.v1.MxStatusProxy\"C\n\rActivateRepl" + + "y\0222\n\006status\030\001 \001(\0132\".mxaccess_gateway.v1." + + "MxStatusProxy\"(\n\025AuthenticateUserReply\022\017" + + "\n\007user_id\030\001 \001(\005\")\n\026ArchestrAUserToIdRepl" + + "y\022\017\n\007user_id\030\001 \001(\005\"\201\001\n\017SubscribeResult\022\025" + + "\n\rserver_handle\030\001 \001(\005\022\023\n\013tag_address\030\002 \001" + + "(\t\022\023\n\013item_handle\030\003 \001(\005\022\026\n\016was_successfu" + + "l\030\004 \001(\010\022\025\n\rerror_message\030\005 \001(\t\"K\n\022BulkSu" + + "bscribeReply\0225\n\007results\030\001 \003(\0132$.mxaccess" + + "_gateway.v1.SubscribeResult\"\304\001\n\017BulkWrit" + + "eResult\022\025\n\rserver_handle\030\001 \001(\005\022\023\n\013item_h" + + "andle\030\002 \001(\005\022\026\n\016was_successful\030\003 \001(\010\022\024\n\007h" + + "result\030\004 \001(\005H\000\210\001\001\0224\n\010statuses\030\005 \003(\0132\".mx" + + "access_gateway.v1.MxStatusProxy\022\025\n\rerror" + + "_message\030\006 \001(\tB\n\n\010_hresult\"G\n\016BulkWriteR" + + "eply\0225\n\007results\030\001 \003(\0132$.mxaccess_gateway" + + ".v1.BulkWriteResult\"\276\002\n\016BulkReadResult\022\025" + + "\n\rserver_handle\030\001 \001(\005\022\023\n\013tag_address\030\002 \001" + + "(\t\022\023\n\013item_handle\030\003 \001(\005\022\026\n\016was_successfu" + + "l\030\004 \001(\010\022\022\n\nwas_cached\030\005 \001(\010\022+\n\005value\030\006 \001" + + "(\0132\034.mxaccess_gateway.v1.MxValue\022\017\n\007qual" + + "ity\030\007 \001(\005\0224\n\020source_timestamp\030\010 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0224\n\010statuses\030\t \003(" + + "\0132\".mxaccess_gateway.v1.MxStatusProxy\022\025\n" + + "\rerror_message\030\n \001(\t\"E\n\rBulkReadReply\0224\n" + + "\007results\030\001 \003(\0132#.mxaccess_gateway.v1.Bul" + + "kReadResult\"E\n\021SessionStateReply\0220\n\005stat" + + "e\030\001 \001(\0162!.mxaccess_gateway.v1.SessionSta" + + "te\"u\n\017WorkerInfoReply\022\031\n\021worker_process_" + + "id\030\001 \001(\005\022\026\n\016worker_version\030\002 \001(\t\022\027\n\017mxac" + + "cess_progid\030\003 \001(\t\022\026\n\016mxaccess_clsid\030\004 \001(" + + "\t\"@\n\020DrainEventsReply\022,\n\006events\030\001 \003(\0132\034." + + "mxaccess_gateway.v1.MxEvent\"5\n\034Acknowled" + + "geAlarmReplyPayload\022\025\n\rnative_status\030\001 \001" + + "(\005\"\\\n\035QueryActiveAlarmsReplyPayload\022;\n\ts" + + "napshots\030\001 \003(\0132(.mxaccess_gateway.v1.Act" + + "iveAlarmSnapshot\"\347\006\n\007MxEvent\0222\n\006family\030\001" + + " \001(\0162\".mxaccess_gateway.v1.MxEventFamily" + + "\022\022\n\nsession_id\030\002 \001(\t\022\025\n\rserver_handle\030\003 " + + "\001(\005\022\023\n\013item_handle\030\004 \001(\005\022+\n\005value\030\005 \001(\0132" + + "\034.mxaccess_gateway.v1.MxValue\022\017\n\007quality" + + "\030\006 \001(\005\0224\n\020source_timestamp\030\007 \001(\0132\032.googl" + + "e.protobuf.Timestamp\0224\n\010statuses\030\010 \003(\0132\"" + + ".mxaccess_gateway.v1.MxStatusProxy\022\027\n\017wo" + + "rker_sequence\030\t \001(\004\0224\n\020worker_timestamp\030" + + "\n \001(\0132\032.google.protobuf.Timestamp\022=\n\031gat" + + "eway_receive_timestamp\030\013 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022\024\n\007hresult\030\014 \001(\005H\001\210\001\001\022\022" + + "\n\nraw_status\030\r \001(\t\022@\n\016on_data_change\030\024 \001" + + "(\0132&.mxaccess_gateway.v1.OnDataChangeEve" + + "ntH\000\022F\n\021on_write_complete\030\025 \001(\0132).mxacce" + + "ss_gateway.v1.OnWriteCompleteEventH\000\022I\n\022" + + "operation_complete\030\026 \001(\0132+.mxaccess_gate" + + "way.v1.OperationCompleteEventH\000\022Q\n\027on_bu" + + "ffered_data_change\030\027 \001(\0132..mxaccess_gate" + + "way.v1.OnBufferedDataChangeEventH\000\022J\n\023on" + + "_alarm_transition\030\030 \001(\0132+.mxaccess_gatew" + + "ay.v1.OnAlarmTransitionEventH\000B\006\n\004bodyB\n" + + "\n\010_hresult\"\023\n\021OnDataChangeEvent\"\026\n\024OnWri" + + "teCompleteEvent\"\030\n\026OperationCompleteEven" + + "t\"\324\001\n\031OnBufferedDataChangeEvent\0222\n\tdata_" + + "type\030\001 \001(\0162\037.mxaccess_gateway.v1.MxDataT" + + "ype\0224\n\016quality_values\030\002 \001(\0132\034.mxaccess_g" + + "ateway.v1.MxArray\0226\n\020timestamp_values\030\003 " + + "\001(\0132\034.mxaccess_gateway.v1.MxArray\022\025\n\rraw" + + "_data_type\030\004 \001(\005\"\375\003\n\026OnAlarmTransitionEv" + + "ent\022\034\n\024alarm_full_reference\030\001 \001(\t\022\037\n\027sou" + + "rce_object_reference\030\002 \001(\t\022\027\n\017alarm_type" + + "_name\030\003 \001(\t\022A\n\017transition_kind\030\004 \001(\0162(.m" + + "xaccess_gateway.v1.AlarmTransitionKind\022\020" + + "\n\010severity\030\005 \001(\005\022<\n\030original_raise_times" + + "tamp\030\006 \001(\0132\032.google.protobuf.Timestamp\0228" + + "\n\024transition_timestamp\030\007 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022\025\n\roperator_user\030\010 \001(\t\022" + + "\030\n\020operator_comment\030\t \001(\t\022\020\n\010category\030\n " + + "\001(\t\022\023\n\013description\030\013 \001(\t\0223\n\rcurrent_valu" + + "e\030\014 \001(\0132\034.mxaccess_gateway.v1.MxValue\0221\n" + + "\013limit_value\030\r \001(\0132\034.mxaccess_gateway.v1" + + ".MxValue\"\375\003\n\023ActiveAlarmSnapshot\022\034\n\024alar" + + "m_full_reference\030\001 \001(\t\022\037\n\027source_object_" + + "reference\030\002 \001(\t\022\027\n\017alarm_type_name\030\003 \001(\t" + + "\022\020\n\010severity\030\004 \001(\005\022<\n\030original_raise_tim" + + "estamp\030\005 \001(\0132\032.google.protobuf.Timestamp" + + "\022?\n\rcurrent_state\030\006 \001(\0162(.mxaccess_gatew" + + "ay.v1.AlarmConditionState\022\020\n\010category\030\007 " + + "\001(\t\022\023\n\013description\030\010 \001(\t\022=\n\031last_transit" + + "ion_timestamp\030\t \001(\0132\032.google.protobuf.Ti" + + "mestamp\022\025\n\roperator_user\030\n \001(\t\022\030\n\020operat" + + "or_comment\030\013 \001(\t\0223\n\rcurrent_value\030\014 \001(\0132" + + "\034.mxaccess_gateway.v1.MxValue\0221\n\013limit_v" + + "alue\030\r \001(\0132\034.mxaccess_gateway.v1.MxValue" + + "\"\220\001\n\027AcknowledgeAlarmRequest\022\035\n\025client_c" + + "orrelation_id\030\002 \001(\t\022\034\n\024alarm_full_refere" + + "nce\030\003 \001(\t\022\017\n\007comment\030\004 \001(\t\022\025\n\roperator_u" + + "ser\030\005 \001(\tJ\004\010\001\020\002R\nsession_id\"\361\001\n\025Acknowle" + + "dgeAlarmReply\022\026\n\016correlation_id\030\002 \001(\t\022<\n" + + "\017protocol_status\030\003 \001(\0132#.mxaccess_gatewa" + + "y.v1.ProtocolStatus\022\024\n\007hresult\030\004 \001(\005H\000\210\001" + + "\001\0222\n\006status\030\005 \001(\0132\".mxaccess_gateway.v1." + + "MxStatusProxy\022\032\n\022diagnostic_message\030\006 \001(" + + "\tB\n\n\010_hresultJ\004\010\001\020\002R\nsession_id\"Q\n\023Strea" + + "mAlarmsRequest\022\035\n\025client_correlation_id\030" + + "\001 \001(\t\022\033\n\023alarm_filter_prefix\030\002 \001(\t\"\277\001\n\020A" + + "larmFeedMessage\022@\n\014active_alarm\030\001 \001(\0132(." + + "mxaccess_gateway.v1.ActiveAlarmSnapshotH" + + "\000\022\033\n\021snapshot_complete\030\002 \001(\010H\000\022A\n\ntransi" + + "tion\030\003 \001(\0132+.mxaccess_gateway.v1.OnAlarm" + + "TransitionEventH\000B\t\n\007payload\"\353\001\n\rMxStatu" + + "sProxy\022\017\n\007success\030\001 \001(\005\0227\n\010category\030\002 \001(" + + "\0162%.mxaccess_gateway.v1.MxStatusCategory" + + "\0228\n\013detected_by\030\003 \001(\0162#.mxaccess_gateway" + + ".v1.MxStatusSource\022\016\n\006detail\030\004 \001(\005\022\024\n\014ra" + + "w_category\030\005 \001(\005\022\027\n\017raw_detected_by\030\006 \001(" + + "\005\022\027\n\017diagnostic_text\030\007 \001(\t\"\247\003\n\007MxValue\0222" + + "\n\tdata_type\030\001 \001(\0162\037.mxaccess_gateway.v1." + + "MxDataType\022\024\n\014variant_type\030\002 \001(\t\022\017\n\007is_n" + + "ull\030\003 \001(\010\022\026\n\016raw_diagnostic\030\004 \001(\t\022\025\n\rraw" + + "_data_type\030\005 \001(\005\022\024\n\nbool_value\030\n \001(\010H\000\022\025" + + "\n\013int32_value\030\013 \001(\005H\000\022\025\n\013int64_value\030\014 \001" + + "(\003H\000\022\025\n\013float_value\030\r \001(\002H\000\022\026\n\014double_va" + + "lue\030\016 \001(\001H\000\022\026\n\014string_value\030\017 \001(\tH\000\0225\n\017t" + + "imestamp_value\030\020 \001(\0132\032.google.protobuf.T" + + "imestampH\000\0223\n\013array_value\030\021 \001(\0132\034.mxacce" + + "ss_gateway.v1.MxArrayH\000\022\023\n\traw_value\030\022 \001" + + "(\014H\000B\006\n\004kind\"\376\004\n\007MxArray\022:\n\021element_data" + + "_type\030\001 \001(\0162\037.mxaccess_gateway.v1.MxData" + + "Type\022\024\n\014variant_type\030\002 \001(\t\022\022\n\ndimensions" + + "\030\003 \003(\r\022\026\n\016raw_diagnostic\030\004 \001(\t\022\035\n\025raw_el" + + "ement_data_type\030\005 \001(\005\0225\n\013bool_values\030\n \001" + + "(\0132\036.mxaccess_gateway.v1.BoolArrayH\000\0227\n\014" + + "int32_values\030\013 \001(\0132\037.mxaccess_gateway.v1" + + ".Int32ArrayH\000\0227\n\014int64_values\030\014 \001(\0132\037.mx" + + "access_gateway.v1.Int64ArrayH\000\0227\n\014float_" + + "values\030\r \001(\0132\037.mxaccess_gateway.v1.Float" + + "ArrayH\000\0229\n\rdouble_values\030\016 \001(\0132 .mxacces" + + "s_gateway.v1.DoubleArrayH\000\0229\n\rstring_val" + + "ues\030\017 \001(\0132 .mxaccess_gateway.v1.StringAr" + + "rayH\000\022?\n\020timestamp_values\030\020 \001(\0132#.mxacce" + + "ss_gateway.v1.TimestampArrayH\000\0223\n\nraw_va" + + "lues\030\021 \001(\0132\035.mxaccess_gateway.v1.RawArra" + + "yH\000B\010\n\006values\"\033\n\tBoolArray\022\016\n\006values\030\001 \003" + + "(\010\"\034\n\nInt32Array\022\016\n\006values\030\001 \003(\005\"\034\n\nInt6" + + "4Array\022\016\n\006values\030\001 \003(\003\"\034\n\nFloatArray\022\016\n\006" + + "values\030\001 \003(\002\"\035\n\013DoubleArray\022\016\n\006values\030\001 " + + "\003(\001\"\035\n\013StringArray\022\016\n\006values\030\001 \003(\t\"<\n\016Ti" + + "mestampArray\022*\n\006values\030\001 \003(\0132\032.google.pr" + + "otobuf.Timestamp\"\032\n\010RawArray\022\016\n\006values\030\001" + + " \003(\014\"X\n\016ProtocolStatus\0225\n\004code\030\001 \001(\0162\'.m" + + "xaccess_gateway.v1.ProtocolStatusCode\022\017\n" + + "\007message\030\002 \001(\t*\237\013\n\rMxCommandKind\022\037\n\033MX_C" + + "OMMAND_KIND_UNSPECIFIED\020\000\022\034\n\030MX_COMMAND_" + + "KIND_REGISTER\020\001\022\036\n\032MX_COMMAND_KIND_UNREG", + "ISTER\020\002\022\034\n\030MX_COMMAND_KIND_ADD_ITEM\020\003\022\035\n" + + "\031MX_COMMAND_KIND_ADD_ITEM2\020\004\022\037\n\033MX_COMMA" + + "ND_KIND_REMOVE_ITEM\020\005\022\032\n\026MX_COMMAND_KIND" + + "_ADVISE\020\006\022\035\n\031MX_COMMAND_KIND_UN_ADVISE\020\007" + + "\022&\n\"MX_COMMAND_KIND_ADVISE_SUPERVISORY\020\010" + + "\022%\n!MX_COMMAND_KIND_ADD_BUFFERED_ITEM\020\t\022" + + "0\n,MX_COMMAND_KIND_SET_BUFFERED_UPDATE_I" + + "NTERVAL\020\n\022\033\n\027MX_COMMAND_KIND_SUSPEND\020\013\022\034" + + "\n\030MX_COMMAND_KIND_ACTIVATE\020\014\022\031\n\025MX_COMMA" + + "ND_KIND_WRITE\020\r\022\032\n\026MX_COMMAND_KIND_WRITE" + + "2\020\016\022!\n\035MX_COMMAND_KIND_WRITE_SECURED\020\017\022\"" + + "\n\036MX_COMMAND_KIND_WRITE_SECURED2\020\020\022%\n!MX" + + "_COMMAND_KIND_AUTHENTICATE_USER\020\021\022(\n$MX_" + + "COMMAND_KIND_ARCHESTRA_USER_TO_ID\020\022\022!\n\035M" + + "X_COMMAND_KIND_ADD_ITEM_BULK\020\023\022$\n MX_COM" + + "MAND_KIND_ADVISE_ITEM_BULK\020\024\022$\n MX_COMMA" + + "ND_KIND_REMOVE_ITEM_BULK\020\025\022\'\n#MX_COMMAND" + + "_KIND_UN_ADVISE_ITEM_BULK\020\026\022\"\n\036MX_COMMAN" + + "D_KIND_SUBSCRIBE_BULK\020\027\022$\n MX_COMMAND_KI" + + "ND_UNSUBSCRIBE_BULK\020\030\022$\n MX_COMMAND_KIND" + + "_SUBSCRIBE_ALARMS\020\031\022&\n\"MX_COMMAND_KIND_U" + + "NSUBSCRIBE_ALARMS\020\032\022%\n!MX_COMMAND_KIND_A" + + "CKNOWLEDGE_ALARM\020\033\022\'\n#MX_COMMAND_KIND_QU" + + "ERY_ACTIVE_ALARMS\020\034\022-\n)MX_COMMAND_KIND_A" + + "CKNOWLEDGE_ALARM_BY_NAME\020\035\022\036\n\032MX_COMMAND" + + "_KIND_WRITE_BULK\020\036\022\037\n\033MX_COMMAND_KIND_WR" + + "ITE2_BULK\020\037\022&\n\"MX_COMMAND_KIND_WRITE_SEC" + + "URED_BULK\020 \022\'\n#MX_COMMAND_KIND_WRITE_SEC" + + "URED2_BULK\020!\022\035\n\031MX_COMMAND_KIND_READ_BUL" + + "K\020\"\022\030\n\024MX_COMMAND_KIND_PING\020d\022%\n!MX_COMM" + + "AND_KIND_GET_SESSION_STATE\020e\022#\n\037MX_COMMA" + + "ND_KIND_GET_WORKER_INFO\020f\022 \n\034MX_COMMAND_" + + "KIND_DRAIN_EVENTS\020g\022#\n\037MX_COMMAND_KIND_S" + + "HUTDOWN_WORKER\020h*\371\001\n\rMxEventFamily\022\037\n\033MX" + + "_EVENT_FAMILY_UNSPECIFIED\020\000\022\"\n\036MX_EVENT_" + + "FAMILY_ON_DATA_CHANGE\020\001\022%\n!MX_EVENT_FAMI" + + "LY_ON_WRITE_COMPLETE\020\002\022&\n\"MX_EVENT_FAMIL" + + "Y_OPERATION_COMPLETE\020\003\022+\n\'MX_EVENT_FAMIL" + + "Y_ON_BUFFERED_DATA_CHANGE\020\004\022\'\n#MX_EVENT_" + + "FAMILY_ON_ALARM_TRANSITION\020\005*\312\001\n\023AlarmTr" + + "ansitionKind\022%\n!ALARM_TRANSITION_KIND_UN" + + "SPECIFIED\020\000\022\037\n\033ALARM_TRANSITION_KIND_RAI" + + "SE\020\001\022%\n!ALARM_TRANSITION_KIND_ACKNOWLEDG" + + "E\020\002\022\037\n\033ALARM_TRANSITION_KIND_CLEAR\020\003\022#\n\037" + + "ALARM_TRANSITION_KIND_RETRIGGER\020\004*\252\001\n\023Al" + + "armConditionState\022%\n!ALARM_CONDITION_STA" + + "TE_UNSPECIFIED\020\000\022 \n\034ALARM_CONDITION_STAT" + + "E_ACTIVE\020\001\022&\n\"ALARM_CONDITION_STATE_ACTI" + + "VE_ACKED\020\002\022\"\n\036ALARM_CONDITION_STATE_INAC" + + "TIVE\020\003*\245\003\n\020MxStatusCategory\022\"\n\036MX_STATUS" + + "_CATEGORY_UNSPECIFIED\020\000\022\036\n\032MX_STATUS_CAT" + + "EGORY_UNKNOWN\020\001\022\031\n\025MX_STATUS_CATEGORY_OK" + + "\020\002\022\036\n\032MX_STATUS_CATEGORY_PENDING\020\003\022\036\n\032MX" + + "_STATUS_CATEGORY_WARNING\020\004\022*\n&MX_STATUS_" + + "CATEGORY_COMMUNICATION_ERROR\020\005\022*\n&MX_STA" + + "TUS_CATEGORY_CONFIGURATION_ERROR\020\006\022(\n$MX" + + "_STATUS_CATEGORY_OPERATIONAL_ERROR\020\007\022%\n!" + + "MX_STATUS_CATEGORY_SECURITY_ERROR\020\010\022%\n!M" + + "X_STATUS_CATEGORY_SOFTWARE_ERROR\020\t\022\"\n\036MX" + + "_STATUS_CATEGORY_OTHER_ERROR\020\n*\312\002\n\016MxSta" + + "tusSource\022 \n\034MX_STATUS_SOURCE_UNSPECIFIE" + + "D\020\000\022\034\n\030MX_STATUS_SOURCE_UNKNOWN\020\001\022#\n\037MX_" + + "STATUS_SOURCE_REQUESTING_LMX\020\002\022#\n\037MX_STA" + + "TUS_SOURCE_RESPONDING_LMX\020\003\022#\n\037MX_STATUS" + + "_SOURCE_REQUESTING_NMX\020\004\022#\n\037MX_STATUS_SO" + + "URCE_RESPONDING_NMX\020\005\0221\n-MX_STATUS_SOURC" + + "E_REQUESTING_AUTOMATION_OBJECT\020\006\0221\n-MX_S" + + "TATUS_SOURCE_RESPONDING_AUTOMATION_OBJEC" + + "T\020\007*\335\004\n\nMxDataType\022\034\n\030MX_DATA_TYPE_UNSPE" + + "CIFIED\020\000\022\030\n\024MX_DATA_TYPE_UNKNOWN\020\001\022\030\n\024MX" + + "_DATA_TYPE_NO_DATA\020\002\022\030\n\024MX_DATA_TYPE_BOO" + + "LEAN\020\003\022\030\n\024MX_DATA_TYPE_INTEGER\020\004\022\026\n\022MX_D" + + "ATA_TYPE_FLOAT\020\005\022\027\n\023MX_DATA_TYPE_DOUBLE\020" + + "\006\022\027\n\023MX_DATA_TYPE_STRING\020\007\022\025\n\021MX_DATA_TY" + + "PE_TIME\020\010\022\035\n\031MX_DATA_TYPE_ELAPSED_TIME\020\t" + + "\022\037\n\033MX_DATA_TYPE_REFERENCE_TYPE\020\n\022\034\n\030MX_" + + "DATA_TYPE_STATUS_TYPE\020\013\022\025\n\021MX_DATA_TYPE_" + + "ENUM\020\014\022-\n)MX_DATA_TYPE_SECURITY_CLASSIFI" + + "CATION_ENUM\020\r\022\"\n\036MX_DATA_TYPE_DATA_QUALI" + + "TY_TYPE\020\016\022\037\n\033MX_DATA_TYPE_QUALIFIED_ENUM" + + "\020\017\022!\n\035MX_DATA_TYPE_QUALIFIED_STRUCT\020\020\022)\n" + + "%MX_DATA_TYPE_INTERNATIONALIZED_STRING\020\021" + + "\022\033\n\027MX_DATA_TYPE_BIG_STRING\020\022\022\024\n\020MX_DATA" + + "_TYPE_END\020\023*\243\003\n\022ProtocolStatusCode\022$\n PR" + + "OTOCOL_STATUS_CODE_UNSPECIFIED\020\000\022\033\n\027PROT" + + "OCOL_STATUS_CODE_OK\020\001\022(\n$PROTOCOL_STATUS" + + "_CODE_INVALID_REQUEST\020\002\022*\n&PROTOCOL_STAT" + + "US_CODE_SESSION_NOT_FOUND\020\003\022*\n&PROTOCOL_" + + "STATUS_CODE_SESSION_NOT_READY\020\004\022+\n\'PROTO" + + "COL_STATUS_CODE_WORKER_UNAVAILABLE\020\005\022 \n\034" + + "PROTOCOL_STATUS_CODE_TIMEOUT\020\006\022!\n\035PROTOC" + + "OL_STATUS_CODE_CANCELED\020\007\022+\n\'PROTOCOL_ST" + + "ATUS_CODE_PROTOCOL_VIOLATION\020\010\022)\n%PROTOC" + + "OL_STATUS_CODE_MXACCESS_FAILURE\020\t*\277\002\n\014Se" + + "ssionState\022\035\n\031SESSION_STATE_UNSPECIFIED\020" + + "\000\022\032\n\026SESSION_STATE_CREATING\020\001\022!\n\035SESSION" + + "_STATE_STARTING_WORKER\020\002\022\"\n\036SESSION_STAT" + + "E_WAITING_FOR_PIPE\020\003\022\035\n\031SESSION_STATE_HA" + + "NDSHAKING\020\004\022%\n!SESSION_STATE_INITIALIZIN" + + "G_WORKER\020\005\022\027\n\023SESSION_STATE_READY\020\006\022\031\n\025S" + + "ESSION_STATE_CLOSING\020\007\022\030\n\024SESSION_STATE_" + + "CLOSED\020\010\022\031\n\025SESSION_STATE_FAULTED\020\t2\303\005\n\017" + + "MxAccessGateway\022]\n\013OpenSession\022\'.mxacces" + + "s_gateway.v1.OpenSessionRequest\032%.mxacce" + + "ss_gateway.v1.OpenSessionReply\022`\n\014CloseS" + + "ession\022(.mxaccess_gateway.v1.CloseSessio" + + "nRequest\032&.mxaccess_gateway.v1.CloseSess" + + "ionReply\022T\n\006Invoke\022%.mxaccess_gateway.v1" + + ".MxCommandRequest\032#.mxaccess_gateway.v1." + + "MxCommandReply\022X\n\014StreamEvents\022(.mxacces" + + "s_gateway.v1.StreamEventsRequest\032\034.mxacc" + + "ess_gateway.v1.MxEvent0\001\022l\n\020AcknowledgeA" + + "larm\022,.mxaccess_gateway.v1.AcknowledgeAl" + + "armRequest\032*.mxaccess_gateway.v1.Acknowl" + + "edgeAlarmReply\022a\n\014StreamAlarms\022(.mxacces" + + "s_gateway.v1.StreamAlarmsRequest\032%.mxacc" + + "ess_gateway.v1.AlarmFeedMessage0\001\022n\n\021Que" + + "ryActiveAlarms\022-.mxaccess_gateway.v1.Que" + + "ryActiveAlarmsRequest\032(.mxaccess_gateway" + + ".v1.ActiveAlarmSnapshot0\001B&\252\002#ZB.MOM.WW." + + "MxGateway.Contracts.Protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -62333,404 +95843,566 @@ public final class MxaccessGateway extends com.google.protobuf.GeneratedFile { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_mxaccess_gateway_v1_OpenSessionRequest_descriptor = + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_descriptor = getDescriptor().getMessageType(0); + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsRequest_descriptor, + new java.lang.String[] { "SessionId", "ClientCorrelationId", "AlarmFilterPrefix", }); + internal_static_mxaccess_gateway_v1_OpenSessionRequest_descriptor = + getDescriptor().getMessageType(1); internal_static_mxaccess_gateway_v1_OpenSessionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_OpenSessionRequest_descriptor, new java.lang.String[] { "RequestedBackend", "ClientSessionName", "ClientCorrelationId", "CommandTimeout", }); internal_static_mxaccess_gateway_v1_OpenSessionReply_descriptor = - getDescriptor().getMessageType(1); + getDescriptor().getMessageType(2); internal_static_mxaccess_gateway_v1_OpenSessionReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_OpenSessionReply_descriptor, new java.lang.String[] { "SessionId", "BackendName", "WorkerProcessId", "WorkerProtocolVersion", "Capabilities", "DefaultCommandTimeout", "ProtocolStatus", "GatewayProtocolVersion", }); internal_static_mxaccess_gateway_v1_CloseSessionRequest_descriptor = - getDescriptor().getMessageType(2); + getDescriptor().getMessageType(3); internal_static_mxaccess_gateway_v1_CloseSessionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_CloseSessionRequest_descriptor, new java.lang.String[] { "SessionId", "ClientCorrelationId", }); internal_static_mxaccess_gateway_v1_CloseSessionReply_descriptor = - getDescriptor().getMessageType(3); + getDescriptor().getMessageType(4); internal_static_mxaccess_gateway_v1_CloseSessionReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_CloseSessionReply_descriptor, new java.lang.String[] { "SessionId", "FinalState", "ProtocolStatus", }); internal_static_mxaccess_gateway_v1_StreamEventsRequest_descriptor = - getDescriptor().getMessageType(4); + getDescriptor().getMessageType(5); internal_static_mxaccess_gateway_v1_StreamEventsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_StreamEventsRequest_descriptor, new java.lang.String[] { "SessionId", "AfterWorkerSequence", }); internal_static_mxaccess_gateway_v1_MxCommandRequest_descriptor = - getDescriptor().getMessageType(5); + getDescriptor().getMessageType(6); internal_static_mxaccess_gateway_v1_MxCommandRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_MxCommandRequest_descriptor, new java.lang.String[] { "SessionId", "ClientCorrelationId", "Command", }); internal_static_mxaccess_gateway_v1_MxCommand_descriptor = - getDescriptor().getMessageType(6); + getDescriptor().getMessageType(7); internal_static_mxaccess_gateway_v1_MxCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_MxCommand_descriptor, - new java.lang.String[] { "Kind", "Register", "Unregister", "AddItem", "AddItem2", "RemoveItem", "Advise", "UnAdvise", "AdviseSupervisory", "AddBufferedItem", "SetBufferedUpdateInterval", "Suspend", "Activate", "Write", "Write2", "WriteSecured", "WriteSecured2", "AuthenticateUser", "ArchestraUserToId", "AddItemBulk", "AdviseItemBulk", "RemoveItemBulk", "UnAdviseItemBulk", "SubscribeBulk", "UnsubscribeBulk", "Ping", "GetSessionState", "GetWorkerInfo", "DrainEvents", "ShutdownWorker", "Payload", }); + new java.lang.String[] { "Kind", "Register", "Unregister", "AddItem", "AddItem2", "RemoveItem", "Advise", "UnAdvise", "AdviseSupervisory", "AddBufferedItem", "SetBufferedUpdateInterval", "Suspend", "Activate", "Write", "Write2", "WriteSecured", "WriteSecured2", "AuthenticateUser", "ArchestraUserToId", "AddItemBulk", "AdviseItemBulk", "RemoveItemBulk", "UnAdviseItemBulk", "SubscribeBulk", "UnsubscribeBulk", "SubscribeAlarms", "UnsubscribeAlarms", "AcknowledgeAlarmCommand", "QueryActiveAlarmsCommand", "AcknowledgeAlarmByNameCommand", "WriteBulk", "Write2Bulk", "WriteSecuredBulk", "WriteSecured2Bulk", "ReadBulk", "Ping", "GetSessionState", "GetWorkerInfo", "DrainEvents", "ShutdownWorker", "Payload", }); internal_static_mxaccess_gateway_v1_RegisterCommand_descriptor = - getDescriptor().getMessageType(7); + getDescriptor().getMessageType(8); internal_static_mxaccess_gateway_v1_RegisterCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_RegisterCommand_descriptor, new java.lang.String[] { "ClientName", }); internal_static_mxaccess_gateway_v1_UnregisterCommand_descriptor = - getDescriptor().getMessageType(8); + getDescriptor().getMessageType(9); internal_static_mxaccess_gateway_v1_UnregisterCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_UnregisterCommand_descriptor, new java.lang.String[] { "ServerHandle", }); internal_static_mxaccess_gateway_v1_AddItemCommand_descriptor = - getDescriptor().getMessageType(9); + getDescriptor().getMessageType(10); internal_static_mxaccess_gateway_v1_AddItemCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AddItemCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemDefinition", }); internal_static_mxaccess_gateway_v1_AddItem2Command_descriptor = - getDescriptor().getMessageType(10); + getDescriptor().getMessageType(11); internal_static_mxaccess_gateway_v1_AddItem2Command_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AddItem2Command_descriptor, new java.lang.String[] { "ServerHandle", "ItemDefinition", "ItemContext", }); internal_static_mxaccess_gateway_v1_RemoveItemCommand_descriptor = - getDescriptor().getMessageType(11); + getDescriptor().getMessageType(12); internal_static_mxaccess_gateway_v1_RemoveItemCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_RemoveItemCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", }); internal_static_mxaccess_gateway_v1_AdviseCommand_descriptor = - getDescriptor().getMessageType(12); + getDescriptor().getMessageType(13); internal_static_mxaccess_gateway_v1_AdviseCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AdviseCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", }); internal_static_mxaccess_gateway_v1_UnAdviseCommand_descriptor = - getDescriptor().getMessageType(13); + getDescriptor().getMessageType(14); internal_static_mxaccess_gateway_v1_UnAdviseCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_UnAdviseCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", }); internal_static_mxaccess_gateway_v1_AdviseSupervisoryCommand_descriptor = - getDescriptor().getMessageType(14); + getDescriptor().getMessageType(15); internal_static_mxaccess_gateway_v1_AdviseSupervisoryCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AdviseSupervisoryCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", }); internal_static_mxaccess_gateway_v1_AddBufferedItemCommand_descriptor = - getDescriptor().getMessageType(15); + getDescriptor().getMessageType(16); internal_static_mxaccess_gateway_v1_AddBufferedItemCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AddBufferedItemCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemDefinition", "ItemContext", }); internal_static_mxaccess_gateway_v1_SetBufferedUpdateIntervalCommand_descriptor = - getDescriptor().getMessageType(16); + getDescriptor().getMessageType(17); internal_static_mxaccess_gateway_v1_SetBufferedUpdateIntervalCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_SetBufferedUpdateIntervalCommand_descriptor, new java.lang.String[] { "ServerHandle", "UpdateIntervalMilliseconds", }); internal_static_mxaccess_gateway_v1_SuspendCommand_descriptor = - getDescriptor().getMessageType(17); + getDescriptor().getMessageType(18); internal_static_mxaccess_gateway_v1_SuspendCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_SuspendCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", }); internal_static_mxaccess_gateway_v1_ActivateCommand_descriptor = - getDescriptor().getMessageType(18); + getDescriptor().getMessageType(19); internal_static_mxaccess_gateway_v1_ActivateCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_ActivateCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", }); internal_static_mxaccess_gateway_v1_WriteCommand_descriptor = - getDescriptor().getMessageType(19); + getDescriptor().getMessageType(20); internal_static_mxaccess_gateway_v1_WriteCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_WriteCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", "Value", "UserId", }); internal_static_mxaccess_gateway_v1_Write2Command_descriptor = - getDescriptor().getMessageType(20); + getDescriptor().getMessageType(21); internal_static_mxaccess_gateway_v1_Write2Command_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_Write2Command_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", "Value", "TimestampValue", "UserId", }); internal_static_mxaccess_gateway_v1_WriteSecuredCommand_descriptor = - getDescriptor().getMessageType(21); + getDescriptor().getMessageType(22); internal_static_mxaccess_gateway_v1_WriteSecuredCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_WriteSecuredCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", "CurrentUserId", "VerifierUserId", "Value", }); internal_static_mxaccess_gateway_v1_WriteSecured2Command_descriptor = - getDescriptor().getMessageType(22); + getDescriptor().getMessageType(23); internal_static_mxaccess_gateway_v1_WriteSecured2Command_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_WriteSecured2Command_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandle", "CurrentUserId", "VerifierUserId", "Value", "TimestampValue", }); internal_static_mxaccess_gateway_v1_AuthenticateUserCommand_descriptor = - getDescriptor().getMessageType(23); + getDescriptor().getMessageType(24); internal_static_mxaccess_gateway_v1_AuthenticateUserCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AuthenticateUserCommand_descriptor, new java.lang.String[] { "ServerHandle", "VerifyUser", "VerifyUserPassword", }); internal_static_mxaccess_gateway_v1_ArchestrAUserToIdCommand_descriptor = - getDescriptor().getMessageType(24); + getDescriptor().getMessageType(25); internal_static_mxaccess_gateway_v1_ArchestrAUserToIdCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_ArchestrAUserToIdCommand_descriptor, new java.lang.String[] { "ServerHandle", "UserIdGuid", }); internal_static_mxaccess_gateway_v1_AddItemBulkCommand_descriptor = - getDescriptor().getMessageType(25); + getDescriptor().getMessageType(26); internal_static_mxaccess_gateway_v1_AddItemBulkCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AddItemBulkCommand_descriptor, new java.lang.String[] { "ServerHandle", "TagAddresses", }); internal_static_mxaccess_gateway_v1_AdviseItemBulkCommand_descriptor = - getDescriptor().getMessageType(26); + getDescriptor().getMessageType(27); internal_static_mxaccess_gateway_v1_AdviseItemBulkCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AdviseItemBulkCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandles", }); internal_static_mxaccess_gateway_v1_RemoveItemBulkCommand_descriptor = - getDescriptor().getMessageType(27); + getDescriptor().getMessageType(28); internal_static_mxaccess_gateway_v1_RemoveItemBulkCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_RemoveItemBulkCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandles", }); internal_static_mxaccess_gateway_v1_UnAdviseItemBulkCommand_descriptor = - getDescriptor().getMessageType(28); + getDescriptor().getMessageType(29); internal_static_mxaccess_gateway_v1_UnAdviseItemBulkCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_UnAdviseItemBulkCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandles", }); internal_static_mxaccess_gateway_v1_SubscribeBulkCommand_descriptor = - getDescriptor().getMessageType(29); + getDescriptor().getMessageType(30); internal_static_mxaccess_gateway_v1_SubscribeBulkCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_SubscribeBulkCommand_descriptor, new java.lang.String[] { "ServerHandle", "TagAddresses", }); + internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_descriptor = + getDescriptor().getMessageType(31); + internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_SubscribeAlarmsCommand_descriptor, + new java.lang.String[] { "SubscriptionExpression", }); + internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_descriptor = + getDescriptor().getMessageType(32); + internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_UnsubscribeAlarmsCommand_descriptor, + new java.lang.String[] { }); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_descriptor = + getDescriptor().getMessageType(33); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmCommand_descriptor, + new java.lang.String[] { "AlarmGuid", "Comment", "OperatorUser", "OperatorNode", "OperatorDomain", "OperatorFullName", }); + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_descriptor = + getDescriptor().getMessageType(34); + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsCommand_descriptor, + new java.lang.String[] { "AlarmFilterPrefix", }); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_descriptor = + getDescriptor().getMessageType(35); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmByNameCommand_descriptor, + new java.lang.String[] { "AlarmName", "ProviderName", "GroupName", "Comment", "OperatorUser", "OperatorNode", "OperatorDomain", "OperatorFullName", }); internal_static_mxaccess_gateway_v1_UnsubscribeBulkCommand_descriptor = - getDescriptor().getMessageType(30); + getDescriptor().getMessageType(36); internal_static_mxaccess_gateway_v1_UnsubscribeBulkCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_UnsubscribeBulkCommand_descriptor, new java.lang.String[] { "ServerHandle", "ItemHandles", }); + internal_static_mxaccess_gateway_v1_WriteBulkCommand_descriptor = + getDescriptor().getMessageType(37); + internal_static_mxaccess_gateway_v1_WriteBulkCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_WriteBulkCommand_descriptor, + new java.lang.String[] { "ServerHandle", "Entries", }); + internal_static_mxaccess_gateway_v1_WriteBulkEntry_descriptor = + getDescriptor().getMessageType(38); + internal_static_mxaccess_gateway_v1_WriteBulkEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_WriteBulkEntry_descriptor, + new java.lang.String[] { "ItemHandle", "Value", "UserId", }); + internal_static_mxaccess_gateway_v1_Write2BulkCommand_descriptor = + getDescriptor().getMessageType(39); + internal_static_mxaccess_gateway_v1_Write2BulkCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_Write2BulkCommand_descriptor, + new java.lang.String[] { "ServerHandle", "Entries", }); + internal_static_mxaccess_gateway_v1_Write2BulkEntry_descriptor = + getDescriptor().getMessageType(40); + internal_static_mxaccess_gateway_v1_Write2BulkEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_Write2BulkEntry_descriptor, + new java.lang.String[] { "ItemHandle", "Value", "TimestampValue", "UserId", }); + internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_descriptor = + getDescriptor().getMessageType(41); + internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_WriteSecuredBulkCommand_descriptor, + new java.lang.String[] { "ServerHandle", "Entries", }); + internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_descriptor = + getDescriptor().getMessageType(42); + internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_WriteSecuredBulkEntry_descriptor, + new java.lang.String[] { "ItemHandle", "CurrentUserId", "VerifierUserId", "Value", }); + internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_descriptor = + getDescriptor().getMessageType(43); + internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_WriteSecured2BulkCommand_descriptor, + new java.lang.String[] { "ServerHandle", "Entries", }); + internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_descriptor = + getDescriptor().getMessageType(44); + internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_WriteSecured2BulkEntry_descriptor, + new java.lang.String[] { "ItemHandle", "CurrentUserId", "VerifierUserId", "Value", "TimestampValue", }); + internal_static_mxaccess_gateway_v1_ReadBulkCommand_descriptor = + getDescriptor().getMessageType(45); + internal_static_mxaccess_gateway_v1_ReadBulkCommand_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_ReadBulkCommand_descriptor, + new java.lang.String[] { "ServerHandle", "TagAddresses", "TimeoutMs", }); internal_static_mxaccess_gateway_v1_PingCommand_descriptor = - getDescriptor().getMessageType(31); + getDescriptor().getMessageType(46); internal_static_mxaccess_gateway_v1_PingCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_PingCommand_descriptor, new java.lang.String[] { "Message", }); internal_static_mxaccess_gateway_v1_GetSessionStateCommand_descriptor = - getDescriptor().getMessageType(32); + getDescriptor().getMessageType(47); internal_static_mxaccess_gateway_v1_GetSessionStateCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_GetSessionStateCommand_descriptor, new java.lang.String[] { }); internal_static_mxaccess_gateway_v1_GetWorkerInfoCommand_descriptor = - getDescriptor().getMessageType(33); + getDescriptor().getMessageType(48); internal_static_mxaccess_gateway_v1_GetWorkerInfoCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_GetWorkerInfoCommand_descriptor, new java.lang.String[] { }); internal_static_mxaccess_gateway_v1_DrainEventsCommand_descriptor = - getDescriptor().getMessageType(34); + getDescriptor().getMessageType(49); internal_static_mxaccess_gateway_v1_DrainEventsCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_DrainEventsCommand_descriptor, new java.lang.String[] { "MaxEvents", }); internal_static_mxaccess_gateway_v1_ShutdownWorkerCommand_descriptor = - getDescriptor().getMessageType(35); + getDescriptor().getMessageType(50); internal_static_mxaccess_gateway_v1_ShutdownWorkerCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_ShutdownWorkerCommand_descriptor, new java.lang.String[] { "GracePeriod", }); internal_static_mxaccess_gateway_v1_MxCommandReply_descriptor = - getDescriptor().getMessageType(36); + getDescriptor().getMessageType(51); internal_static_mxaccess_gateway_v1_MxCommandReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_MxCommandReply_descriptor, - new java.lang.String[] { "SessionId", "CorrelationId", "Kind", "ProtocolStatus", "Hresult", "ReturnValue", "Statuses", "DiagnosticMessage", "Register", "AddItem", "AddItem2", "AddBufferedItem", "Suspend", "Activate", "AuthenticateUser", "ArchestraUserToId", "AddItemBulk", "AdviseItemBulk", "RemoveItemBulk", "UnAdviseItemBulk", "SubscribeBulk", "UnsubscribeBulk", "SessionState", "WorkerInfo", "DrainEvents", "Payload", }); + new java.lang.String[] { "SessionId", "CorrelationId", "Kind", "ProtocolStatus", "Hresult", "ReturnValue", "Statuses", "DiagnosticMessage", "Register", "AddItem", "AddItem2", "AddBufferedItem", "Suspend", "Activate", "AuthenticateUser", "ArchestraUserToId", "AddItemBulk", "AdviseItemBulk", "RemoveItemBulk", "UnAdviseItemBulk", "SubscribeBulk", "UnsubscribeBulk", "AcknowledgeAlarm", "QueryActiveAlarms", "WriteBulk", "Write2Bulk", "WriteSecuredBulk", "WriteSecured2Bulk", "ReadBulk", "SessionState", "WorkerInfo", "DrainEvents", "Payload", }); internal_static_mxaccess_gateway_v1_RegisterReply_descriptor = - getDescriptor().getMessageType(37); + getDescriptor().getMessageType(52); internal_static_mxaccess_gateway_v1_RegisterReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_RegisterReply_descriptor, new java.lang.String[] { "ServerHandle", }); internal_static_mxaccess_gateway_v1_AddItemReply_descriptor = - getDescriptor().getMessageType(38); + getDescriptor().getMessageType(53); internal_static_mxaccess_gateway_v1_AddItemReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AddItemReply_descriptor, new java.lang.String[] { "ItemHandle", }); internal_static_mxaccess_gateway_v1_AddItem2Reply_descriptor = - getDescriptor().getMessageType(39); + getDescriptor().getMessageType(54); internal_static_mxaccess_gateway_v1_AddItem2Reply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AddItem2Reply_descriptor, new java.lang.String[] { "ItemHandle", }); internal_static_mxaccess_gateway_v1_AddBufferedItemReply_descriptor = - getDescriptor().getMessageType(40); + getDescriptor().getMessageType(55); internal_static_mxaccess_gateway_v1_AddBufferedItemReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AddBufferedItemReply_descriptor, new java.lang.String[] { "ItemHandle", }); internal_static_mxaccess_gateway_v1_SuspendReply_descriptor = - getDescriptor().getMessageType(41); + getDescriptor().getMessageType(56); internal_static_mxaccess_gateway_v1_SuspendReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_SuspendReply_descriptor, new java.lang.String[] { "Status", }); internal_static_mxaccess_gateway_v1_ActivateReply_descriptor = - getDescriptor().getMessageType(42); + getDescriptor().getMessageType(57); internal_static_mxaccess_gateway_v1_ActivateReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_ActivateReply_descriptor, new java.lang.String[] { "Status", }); internal_static_mxaccess_gateway_v1_AuthenticateUserReply_descriptor = - getDescriptor().getMessageType(43); + getDescriptor().getMessageType(58); internal_static_mxaccess_gateway_v1_AuthenticateUserReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_AuthenticateUserReply_descriptor, new java.lang.String[] { "UserId", }); internal_static_mxaccess_gateway_v1_ArchestrAUserToIdReply_descriptor = - getDescriptor().getMessageType(44); + getDescriptor().getMessageType(59); internal_static_mxaccess_gateway_v1_ArchestrAUserToIdReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_ArchestrAUserToIdReply_descriptor, new java.lang.String[] { "UserId", }); internal_static_mxaccess_gateway_v1_SubscribeResult_descriptor = - getDescriptor().getMessageType(45); + getDescriptor().getMessageType(60); internal_static_mxaccess_gateway_v1_SubscribeResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_SubscribeResult_descriptor, new java.lang.String[] { "ServerHandle", "TagAddress", "ItemHandle", "WasSuccessful", "ErrorMessage", }); internal_static_mxaccess_gateway_v1_BulkSubscribeReply_descriptor = - getDescriptor().getMessageType(46); + getDescriptor().getMessageType(61); internal_static_mxaccess_gateway_v1_BulkSubscribeReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_BulkSubscribeReply_descriptor, new java.lang.String[] { "Results", }); + internal_static_mxaccess_gateway_v1_BulkWriteResult_descriptor = + getDescriptor().getMessageType(62); + internal_static_mxaccess_gateway_v1_BulkWriteResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_BulkWriteResult_descriptor, + new java.lang.String[] { "ServerHandle", "ItemHandle", "WasSuccessful", "Hresult", "Statuses", "ErrorMessage", }); + internal_static_mxaccess_gateway_v1_BulkWriteReply_descriptor = + getDescriptor().getMessageType(63); + internal_static_mxaccess_gateway_v1_BulkWriteReply_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_BulkWriteReply_descriptor, + new java.lang.String[] { "Results", }); + internal_static_mxaccess_gateway_v1_BulkReadResult_descriptor = + getDescriptor().getMessageType(64); + internal_static_mxaccess_gateway_v1_BulkReadResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_BulkReadResult_descriptor, + new java.lang.String[] { "ServerHandle", "TagAddress", "ItemHandle", "WasSuccessful", "WasCached", "Value", "Quality", "SourceTimestamp", "Statuses", "ErrorMessage", }); + internal_static_mxaccess_gateway_v1_BulkReadReply_descriptor = + getDescriptor().getMessageType(65); + internal_static_mxaccess_gateway_v1_BulkReadReply_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_BulkReadReply_descriptor, + new java.lang.String[] { "Results", }); internal_static_mxaccess_gateway_v1_SessionStateReply_descriptor = - getDescriptor().getMessageType(47); + getDescriptor().getMessageType(66); internal_static_mxaccess_gateway_v1_SessionStateReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_SessionStateReply_descriptor, new java.lang.String[] { "State", }); internal_static_mxaccess_gateway_v1_WorkerInfoReply_descriptor = - getDescriptor().getMessageType(48); + getDescriptor().getMessageType(67); internal_static_mxaccess_gateway_v1_WorkerInfoReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_WorkerInfoReply_descriptor, new java.lang.String[] { "WorkerProcessId", "WorkerVersion", "MxaccessProgid", "MxaccessClsid", }); internal_static_mxaccess_gateway_v1_DrainEventsReply_descriptor = - getDescriptor().getMessageType(49); + getDescriptor().getMessageType(68); internal_static_mxaccess_gateway_v1_DrainEventsReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_DrainEventsReply_descriptor, new java.lang.String[] { "Events", }); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_descriptor = + getDescriptor().getMessageType(69); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReplyPayload_descriptor, + new java.lang.String[] { "NativeStatus", }); + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_descriptor = + getDescriptor().getMessageType(70); + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_QueryActiveAlarmsReplyPayload_descriptor, + new java.lang.String[] { "Snapshots", }); internal_static_mxaccess_gateway_v1_MxEvent_descriptor = - getDescriptor().getMessageType(50); + getDescriptor().getMessageType(71); internal_static_mxaccess_gateway_v1_MxEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_MxEvent_descriptor, - new java.lang.String[] { "Family", "SessionId", "ServerHandle", "ItemHandle", "Value", "Quality", "SourceTimestamp", "Statuses", "WorkerSequence", "WorkerTimestamp", "GatewayReceiveTimestamp", "Hresult", "RawStatus", "OnDataChange", "OnWriteComplete", "OperationComplete", "OnBufferedDataChange", "Body", }); + new java.lang.String[] { "Family", "SessionId", "ServerHandle", "ItemHandle", "Value", "Quality", "SourceTimestamp", "Statuses", "WorkerSequence", "WorkerTimestamp", "GatewayReceiveTimestamp", "Hresult", "RawStatus", "OnDataChange", "OnWriteComplete", "OperationComplete", "OnBufferedDataChange", "OnAlarmTransition", "Body", }); internal_static_mxaccess_gateway_v1_OnDataChangeEvent_descriptor = - getDescriptor().getMessageType(51); + getDescriptor().getMessageType(72); internal_static_mxaccess_gateway_v1_OnDataChangeEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_OnDataChangeEvent_descriptor, new java.lang.String[] { }); internal_static_mxaccess_gateway_v1_OnWriteCompleteEvent_descriptor = - getDescriptor().getMessageType(52); + getDescriptor().getMessageType(73); internal_static_mxaccess_gateway_v1_OnWriteCompleteEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_OnWriteCompleteEvent_descriptor, new java.lang.String[] { }); internal_static_mxaccess_gateway_v1_OperationCompleteEvent_descriptor = - getDescriptor().getMessageType(53); + getDescriptor().getMessageType(74); internal_static_mxaccess_gateway_v1_OperationCompleteEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_OperationCompleteEvent_descriptor, new java.lang.String[] { }); internal_static_mxaccess_gateway_v1_OnBufferedDataChangeEvent_descriptor = - getDescriptor().getMessageType(54); + getDescriptor().getMessageType(75); internal_static_mxaccess_gateway_v1_OnBufferedDataChangeEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_OnBufferedDataChangeEvent_descriptor, new java.lang.String[] { "DataType", "QualityValues", "TimestampValues", "RawDataType", }); + internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_descriptor = + getDescriptor().getMessageType(76); + internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_OnAlarmTransitionEvent_descriptor, + new java.lang.String[] { "AlarmFullReference", "SourceObjectReference", "AlarmTypeName", "TransitionKind", "Severity", "OriginalRaiseTimestamp", "TransitionTimestamp", "OperatorUser", "OperatorComment", "Category", "Description", "CurrentValue", "LimitValue", }); + internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_descriptor = + getDescriptor().getMessageType(77); + internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_ActiveAlarmSnapshot_descriptor, + new java.lang.String[] { "AlarmFullReference", "SourceObjectReference", "AlarmTypeName", "Severity", "OriginalRaiseTimestamp", "CurrentState", "Category", "Description", "LastTransitionTimestamp", "OperatorUser", "OperatorComment", "CurrentValue", "LimitValue", }); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_descriptor = + getDescriptor().getMessageType(78); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmRequest_descriptor, + new java.lang.String[] { "ClientCorrelationId", "AlarmFullReference", "Comment", "OperatorUser", }); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_descriptor = + getDescriptor().getMessageType(79); + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_AcknowledgeAlarmReply_descriptor, + new java.lang.String[] { "CorrelationId", "ProtocolStatus", "Hresult", "Status", "DiagnosticMessage", }); + internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_descriptor = + getDescriptor().getMessageType(80); + internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_StreamAlarmsRequest_descriptor, + new java.lang.String[] { "ClientCorrelationId", "AlarmFilterPrefix", }); + internal_static_mxaccess_gateway_v1_AlarmFeedMessage_descriptor = + getDescriptor().getMessageType(81); + internal_static_mxaccess_gateway_v1_AlarmFeedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_mxaccess_gateway_v1_AlarmFeedMessage_descriptor, + new java.lang.String[] { "ActiveAlarm", "SnapshotComplete", "Transition", "Payload", }); internal_static_mxaccess_gateway_v1_MxStatusProxy_descriptor = - getDescriptor().getMessageType(55); + getDescriptor().getMessageType(82); internal_static_mxaccess_gateway_v1_MxStatusProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_MxStatusProxy_descriptor, new java.lang.String[] { "Success", "Category", "DetectedBy", "Detail", "RawCategory", "RawDetectedBy", "DiagnosticText", }); internal_static_mxaccess_gateway_v1_MxValue_descriptor = - getDescriptor().getMessageType(56); + getDescriptor().getMessageType(83); internal_static_mxaccess_gateway_v1_MxValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_MxValue_descriptor, new java.lang.String[] { "DataType", "VariantType", "IsNull", "RawDiagnostic", "RawDataType", "BoolValue", "Int32Value", "Int64Value", "FloatValue", "DoubleValue", "StringValue", "TimestampValue", "ArrayValue", "RawValue", "Kind", }); internal_static_mxaccess_gateway_v1_MxArray_descriptor = - getDescriptor().getMessageType(57); + getDescriptor().getMessageType(84); internal_static_mxaccess_gateway_v1_MxArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_MxArray_descriptor, new java.lang.String[] { "ElementDataType", "VariantType", "Dimensions", "RawDiagnostic", "RawElementDataType", "BoolValues", "Int32Values", "Int64Values", "FloatValues", "DoubleValues", "StringValues", "TimestampValues", "RawValues", "Values", }); internal_static_mxaccess_gateway_v1_BoolArray_descriptor = - getDescriptor().getMessageType(58); + getDescriptor().getMessageType(85); internal_static_mxaccess_gateway_v1_BoolArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_BoolArray_descriptor, new java.lang.String[] { "Values", }); internal_static_mxaccess_gateway_v1_Int32Array_descriptor = - getDescriptor().getMessageType(59); + getDescriptor().getMessageType(86); internal_static_mxaccess_gateway_v1_Int32Array_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_Int32Array_descriptor, new java.lang.String[] { "Values", }); internal_static_mxaccess_gateway_v1_Int64Array_descriptor = - getDescriptor().getMessageType(60); + getDescriptor().getMessageType(87); internal_static_mxaccess_gateway_v1_Int64Array_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_Int64Array_descriptor, new java.lang.String[] { "Values", }); internal_static_mxaccess_gateway_v1_FloatArray_descriptor = - getDescriptor().getMessageType(61); + getDescriptor().getMessageType(88); internal_static_mxaccess_gateway_v1_FloatArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_FloatArray_descriptor, new java.lang.String[] { "Values", }); internal_static_mxaccess_gateway_v1_DoubleArray_descriptor = - getDescriptor().getMessageType(62); + getDescriptor().getMessageType(89); internal_static_mxaccess_gateway_v1_DoubleArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_DoubleArray_descriptor, new java.lang.String[] { "Values", }); internal_static_mxaccess_gateway_v1_StringArray_descriptor = - getDescriptor().getMessageType(63); + getDescriptor().getMessageType(90); internal_static_mxaccess_gateway_v1_StringArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_StringArray_descriptor, new java.lang.String[] { "Values", }); internal_static_mxaccess_gateway_v1_TimestampArray_descriptor = - getDescriptor().getMessageType(64); + getDescriptor().getMessageType(91); internal_static_mxaccess_gateway_v1_TimestampArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_TimestampArray_descriptor, new java.lang.String[] { "Values", }); internal_static_mxaccess_gateway_v1_RawArray_descriptor = - getDescriptor().getMessageType(65); + getDescriptor().getMessageType(92); internal_static_mxaccess_gateway_v1_RawArray_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_RawArray_descriptor, new java.lang.String[] { "Values", }); internal_static_mxaccess_gateway_v1_ProtocolStatus_descriptor = - getDescriptor().getMessageType(66); + getDescriptor().getMessageType(93); internal_static_mxaccess_gateway_v1_ProtocolStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_mxaccess_gateway_v1_ProtocolStatus_descriptor, diff --git a/clients/java/src/main/generated/main/java/mxaccess_worker/v1/MxaccessWorker.java b/clients/java/src/main/generated/main/java/mxaccess_worker/v1/MxaccessWorker.java index 5f4b4ad..36ee81c 100644 --- a/clients/java/src/main/generated/main/java/mxaccess_worker/v1/MxaccessWorker.java +++ b/clients/java/src/main/generated/main/java/mxaccess_worker/v1/MxaccessWorker.java @@ -12608,8 +12608,8 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile { "CONVERSION_FAILED\020\010\022\"\n\036WORKER_FAULT_CATE" + "GORY_STA_HUNG\020\t\022(\n$WORKER_FAULT_CATEGORY" + "_QUEUE_OVERFLOW\020\n\022*\n&WORKER_FAULT_CATEGO" + - "RY_SHUTDOWN_TIMEOUT\020\013B\034\252\002\031MxGateway.Cont" + - "racts.Protob\006proto3" + "RY_SHUTDOWN_TIMEOUT\020\013B&\252\002#ZB.MOM.WW.MxGa" + + "teway.Contracts.Protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/clients/java/mxgateway-cli/build.gradle b/clients/java/zb-mom-ww-mxgateway-cli/build.gradle similarity index 63% rename from clients/java/mxgateway-cli/build.gradle rename to clients/java/zb-mom-ww-mxgateway-cli/build.gradle index 56c5814..b1730f3 100644 --- a/clients/java/mxgateway-cli/build.gradle +++ b/clients/java/zb-mom-ww-mxgateway-cli/build.gradle @@ -3,11 +3,11 @@ plugins { } dependencies { - implementation project(':mxgateway-client') + implementation project(':zb-mom-ww-mxgateway-client') implementation "com.google.protobuf:protobuf-java-util:${protobufVersion}" implementation "info.picocli:picocli:${picocliVersion}" } application { - mainClass = 'com.dohertylan.mxgateway.cli.MxGatewayCli' + mainClass = 'com.zb.mom.ww.mxgateway.cli.MxGatewayCli' } diff --git a/clients/java/mxgateway-cli/src/main/java/com/dohertylan/mxgateway/cli/MxGatewayCli.java b/clients/java/zb-mom-ww-mxgateway-cli/src/main/java/com/zb/mom/ww/mxgateway/cli/MxGatewayCli.java similarity index 98% rename from clients/java/mxgateway-cli/src/main/java/com/dohertylan/mxgateway/cli/MxGatewayCli.java rename to clients/java/zb-mom-ww-mxgateway-cli/src/main/java/com/zb/mom/ww/mxgateway/cli/MxGatewayCli.java index f9da2a4..703d314 100644 --- a/clients/java/mxgateway-cli/src/main/java/com/dohertylan/mxgateway/cli/MxGatewayCli.java +++ b/clients/java/zb-mom-ww-mxgateway-cli/src/main/java/com/zb/mom/ww/mxgateway/cli/MxGatewayCli.java @@ -1,14 +1,14 @@ -package com.dohertylan.mxgateway.cli; +package com.zb.mom.ww.mxgateway.cli; -import com.dohertylan.mxgateway.client.DeployEventStream; -import com.dohertylan.mxgateway.client.GalaxyRepositoryClient; -import com.dohertylan.mxgateway.client.MxEventStream; -import com.dohertylan.mxgateway.client.MxGatewayClient; -import com.dohertylan.mxgateway.client.MxGatewayClientOptions; -import com.dohertylan.mxgateway.client.MxGatewayClientVersion; -import com.dohertylan.mxgateway.client.MxGatewaySecrets; -import com.dohertylan.mxgateway.client.MxGatewaySession; -import com.dohertylan.mxgateway.client.MxValues; +import com.zb.mom.ww.mxgateway.client.DeployEventStream; +import com.zb.mom.ww.mxgateway.client.GalaxyRepositoryClient; +import com.zb.mom.ww.mxgateway.client.MxEventStream; +import com.zb.mom.ww.mxgateway.client.MxGatewayClient; +import com.zb.mom.ww.mxgateway.client.MxGatewayClientOptions; +import com.zb.mom.ww.mxgateway.client.MxGatewayClientVersion; +import com.zb.mom.ww.mxgateway.client.MxGatewaySecrets; +import com.zb.mom.ww.mxgateway.client.MxGatewaySession; +import com.zb.mom.ww.mxgateway.client.MxValues; import galaxy_repository.v1.GalaxyRepositoryOuterClass.DeployEvent; import galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyAttribute; import galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject; diff --git a/clients/java/mxgateway-cli/src/test/java/com/dohertylan/mxgateway/cli/MxGatewayCliTests.java b/clients/java/zb-mom-ww-mxgateway-cli/src/test/java/com/zb/mom/ww/mxgateway/cli/MxGatewayCliTests.java similarity index 98% rename from clients/java/mxgateway-cli/src/test/java/com/dohertylan/mxgateway/cli/MxGatewayCliTests.java rename to clients/java/zb-mom-ww-mxgateway-cli/src/test/java/com/zb/mom/ww/mxgateway/cli/MxGatewayCliTests.java index 481bea7..f74e5a7 100644 --- a/clients/java/mxgateway-cli/src/test/java/com/dohertylan/mxgateway/cli/MxGatewayCliTests.java +++ b/clients/java/zb-mom-ww-mxgateway-cli/src/test/java/com/zb/mom/ww/mxgateway/cli/MxGatewayCliTests.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.cli; +package com.zb.mom.ww.mxgateway.cli; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -296,7 +296,7 @@ final class MxGatewayCliTests { } @Override - public com.dohertylan.mxgateway.client.MxEventStream streamEventsAfter(long afterWorkerSequence) { + public com.zb.mom.ww.mxgateway.client.MxEventStream streamEventsAfter(long afterWorkerSequence) { throw new UnsupportedOperationException("stream-events is covered by client tests"); } } diff --git a/clients/java/mxgateway-client/build.gradle b/clients/java/zb-mom-ww-mxgateway-client/build.gradle similarity index 93% rename from clients/java/mxgateway-client/build.gradle rename to clients/java/zb-mom-ww-mxgateway-client/build.gradle index f88376d..57789c6 100644 --- a/clients/java/mxgateway-client/build.gradle +++ b/clients/java/zb-mom-ww-mxgateway-client/build.gradle @@ -22,7 +22,7 @@ dependencies { sourceSets { main { proto { - srcDir rootProject.file('../../src/MxGateway.Contracts/Protos') + srcDir rootProject.file('../../src/ZB.MOM.WW.MxGateway.Contracts/Protos') include 'mxaccess_gateway.proto' include 'mxaccess_worker.proto' include 'galaxy_repository.proto' diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/DeployEventStream.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/DeployEventStream.java similarity index 99% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/DeployEventStream.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/DeployEventStream.java index 41d41b6..b0e3894 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/DeployEventStream.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/DeployEventStream.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import galaxy_repository.v1.GalaxyRepositoryOuterClass.DeployEvent; import galaxy_repository.v1.GalaxyRepositoryOuterClass.WatchDeployEventsRequest; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/DeployEventSubscription.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/DeployEventSubscription.java similarity index 98% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/DeployEventSubscription.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/DeployEventSubscription.java index da610af..5f4df47 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/DeployEventSubscription.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/DeployEventSubscription.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import galaxy_repository.v1.GalaxyRepositoryOuterClass.DeployEvent; import galaxy_repository.v1.GalaxyRepositoryOuterClass.WatchDeployEventsRequest; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/GalaxyRepositoryClient.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/GalaxyRepositoryClient.java similarity index 99% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/GalaxyRepositoryClient.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/GalaxyRepositoryClient.java index 9200dda..8ef38c8 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/GalaxyRepositoryClient.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/GalaxyRepositoryClient.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import com.google.common.util.concurrent.FutureCallback; import com.google.common.util.concurrent.Futures; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxAccessException.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxAccessException.java similarity index 96% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxAccessException.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxAccessException.java index 8b89674..3622939 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxAccessException.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxAccessException.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import mxaccess_gateway.v1.MxaccessGateway.MxCommandReply; import mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxEventStream.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxEventStream.java similarity index 99% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxEventStream.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxEventStream.java index 0f669cd..0fa27e4 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxEventStream.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxEventStream.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import io.grpc.Status; import io.grpc.StatusRuntimeException; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayActiveAlarmsSubscription.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayActiveAlarmsSubscription.java similarity index 98% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayActiveAlarmsSubscription.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayActiveAlarmsSubscription.java index 7a2c832..258212e 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayActiveAlarmsSubscription.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayActiveAlarmsSubscription.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import io.grpc.stub.ClientCallStreamObserver; import io.grpc.stub.ClientResponseObserver; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayAuthInterceptor.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayAuthInterceptor.java similarity index 97% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayAuthInterceptor.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayAuthInterceptor.java index 94f229b..613f06b 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayAuthInterceptor.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayAuthInterceptor.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import io.grpc.CallOptions; import io.grpc.Channel; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayAuthenticationException.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayAuthenticationException.java similarity index 93% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayAuthenticationException.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayAuthenticationException.java index d89c50a..ffd86f9 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayAuthenticationException.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayAuthenticationException.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; /** * Thrown when the gateway rejects a call because the supplied API key is diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayAuthorizationException.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayAuthorizationException.java similarity index 93% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayAuthorizationException.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayAuthorizationException.java index 3761491..7c08eee 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayAuthorizationException.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayAuthorizationException.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; /** * Thrown when the gateway accepts an API key but rejects a call because the diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayClient.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayClient.java similarity index 99% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayClient.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayClient.java index e3599fe..6a256ac 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayClient.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayClient.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import com.google.common.util.concurrent.FutureCallback; import com.google.common.util.concurrent.Futures; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayClientOptions.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayClientOptions.java similarity index 99% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayClientOptions.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayClientOptions.java index 47b95d0..2beac84 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayClientOptions.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayClientOptions.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import java.nio.file.Path; import java.time.Duration; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayClientVersion.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayClientVersion.java similarity index 96% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayClientVersion.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayClientVersion.java index 01c67dd..108c432 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayClientVersion.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayClientVersion.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; /** * Reports the client and protocol version numbers compiled into this build. diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayCommandException.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayCommandException.java similarity index 97% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayCommandException.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayCommandException.java index 0dfd577..1dee974 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayCommandException.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayCommandException.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import mxaccess_gateway.v1.MxaccessGateway.MxCommandReply; import mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayErrors.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayErrors.java similarity index 98% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayErrors.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayErrors.java index b4aa11a..065e3af 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayErrors.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayErrors.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import io.grpc.Status; import io.grpc.StatusRuntimeException; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayEventSubscription.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayEventSubscription.java similarity index 98% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayEventSubscription.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayEventSubscription.java index a7bd55f..f1ab2af 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayEventSubscription.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayEventSubscription.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import io.grpc.stub.ClientCallStreamObserver; import io.grpc.stub.ClientResponseObserver; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayException.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayException.java similarity index 95% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayException.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayException.java index e93b13d..1cb08b4 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayException.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayException.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; /** * Base unchecked exception thrown by the MXAccess Gateway Java client. diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewaySecrets.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewaySecrets.java similarity index 98% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewaySecrets.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewaySecrets.java index be5deed..943b0b5 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewaySecrets.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewaySecrets.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; /** * Helpers for redacting secrets such as gateway API keys from log output. diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewaySession.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewaySession.java similarity index 99% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewaySession.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewaySession.java index 51b686a..0abbd22 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewaySession.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewaySession.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import java.security.SecureRandom; import java.util.HexFormat; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewaySessionException.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewaySessionException.java similarity index 96% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewaySessionException.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewaySessionException.java index 07c9447..e4080dd 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewaySessionException.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewaySessionException.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayWorkerException.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayWorkerException.java similarity index 96% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayWorkerException.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayWorkerException.java index bf39852..932ea62 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxGatewayWorkerException.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxGatewayWorkerException.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import mxaccess_gateway.v1.MxaccessGateway.ProtocolStatus; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxStatuses.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxStatuses.java similarity index 98% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxStatuses.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxStatuses.java index 8980778..3ff45e2 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxStatuses.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxStatuses.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import mxaccess_gateway.v1.MxaccessGateway.MxStatusCategory; import mxaccess_gateway.v1.MxaccessGateway.MxStatusProxy; diff --git a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxValues.java b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxValues.java similarity index 99% rename from clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxValues.java rename to clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxValues.java index 1c99571..2840ec4 100644 --- a/clients/java/mxgateway-client/src/main/java/com/dohertylan/mxgateway/client/MxValues.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/main/java/com/zb/mom/ww/mxgateway/client/MxValues.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import com.google.protobuf.ByteString; import com.google.protobuf.Timestamp; diff --git a/clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/GalaxyRepositoryClientTests.java b/clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/GalaxyRepositoryClientTests.java similarity index 99% rename from clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/GalaxyRepositoryClientTests.java rename to clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/GalaxyRepositoryClientTests.java index 034e43d..3b4cfbf 100644 --- a/clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/GalaxyRepositoryClientTests.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/GalaxyRepositoryClientTests.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; diff --git a/clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/GeneratedContractSmokeTests.java b/clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/GeneratedContractSmokeTests.java similarity index 96% rename from clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/GeneratedContractSmokeTests.java rename to clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/GeneratedContractSmokeTests.java index 74947f9..dee8855 100644 --- a/clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/GeneratedContractSmokeTests.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/GeneratedContractSmokeTests.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/MxGatewayClientSessionTests.java b/clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/MxGatewayClientSessionTests.java similarity index 99% rename from clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/MxGatewayClientSessionTests.java rename to clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/MxGatewayClientSessionTests.java index 219fbca..a80426a 100644 --- a/clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/MxGatewayClientSessionTests.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/MxGatewayClientSessionTests.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; diff --git a/clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/MxGatewayFixtureTests.java b/clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/MxGatewayFixtureTests.java similarity index 99% rename from clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/MxGatewayFixtureTests.java rename to clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/MxGatewayFixtureTests.java index 8cf37f5..fbe093b 100644 --- a/clients/java/mxgateway-client/src/test/java/com/dohertylan/mxgateway/client/MxGatewayFixtureTests.java +++ b/clients/java/zb-mom-ww-mxgateway-client/src/test/java/com/zb/mom/ww/mxgateway/client/MxGatewayFixtureTests.java @@ -1,4 +1,4 @@ -package com.dohertylan.mxgateway.client; +package com.zb.mom.ww.mxgateway.client; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/clients/proto/proto-inputs.json b/clients/proto/proto-inputs.json index d9d8fc9..0d41f55 100644 --- a/clients/proto/proto-inputs.json +++ b/clients/proto/proto-inputs.json @@ -25,7 +25,7 @@ "dotnet": "clients/dotnet/generated", "go": "clients/go/internal/generated", "rust": "clients/rust/src/generated", - "python": "clients/python/src/mxgateway/generated", + "python": "clients/python/src/zb_mom_ww_mxgateway/generated", "java": "clients/java/src/main/generated" } } diff --git a/clients/python/PythonClientDesign.md b/clients/python/PythonClientDesign.md index f323f25..5865e8c 100644 --- a/clients/python/PythonClientDesign.md +++ b/clients/python/PythonClientDesign.md @@ -17,7 +17,7 @@ Recommended layout: ```text clients/python/ pyproject.toml - src/mxgateway/ + src/zb_mom_ww_mxgateway/ __init__.py client.py session.py @@ -26,7 +26,7 @@ clients/python/ values.py errors.py generated/ - src/mxgateway_cli/ + src/zb_mom_ww_mxgateway_cli/ __main__.py commands.py tests/ diff --git a/clients/python/README.md b/clients/python/README.md index 69ea1eb..10994f7 100644 --- a/clients/python/README.md +++ b/clients/python/README.md @@ -1,7 +1,7 @@ # Python Client The Python client package contains generated MXAccess Gateway protobuf -bindings, the async `mxgateway` package, and the `mxgw-py` test CLI. The +bindings, the async `zb_mom_ww_mxgateway` package, and the `mxgw-py` test CLI. The package uses the shared proto inputs documented in `../../docs/ClientProtoGeneration.md` so gateway and client contracts stay in sync. @@ -12,13 +12,13 @@ sync. clients/python/ pyproject.toml generate-proto.ps1 - src/mxgateway/ - src/mxgateway/generated/ - src/mxgateway_cli/ + src/zb_mom_ww_mxgateway/ + src/zb_mom_ww_mxgateway/generated/ + src/zb_mom_ww_mxgateway_cli/ tests/ ``` -`src/mxgateway/generated` contains code produced by `grpc_tools.protoc`. Do not +`src/zb_mom_ww_mxgateway/generated` contains code produced by `grpc_tools.protoc`. Do not edit generated files by hand. ## Regenerating Protobuf Bindings @@ -74,7 +74,7 @@ The wheel exposes the `mxgw-py` console script. The library is async-first: ```python -from mxgateway import GatewayClient +from zb_mom_ww_mxgateway import GatewayClient async with await GatewayClient.connect( endpoint="localhost:5000", @@ -107,7 +107,7 @@ enumerate the deployed object hierarchy plus each object's dynamic attributes: ```python -from mxgateway import GalaxyRepositoryClient +from zb_mom_ww_mxgateway import GalaxyRepositoryClient async with await GalaxyRepositoryClient.connect( endpoint="localhost:5000", @@ -142,7 +142,7 @@ the caller already has the current state cached: ```python from datetime import datetime, timezone -from mxgateway import DeployEvent, GalaxyRepositoryClient +from zb_mom_ww_mxgateway import DeployEvent, GalaxyRepositoryClient async with await GalaxyRepositoryClient.connect( endpoint="localhost:5000", diff --git a/clients/python/generate-proto.ps1 b/clients/python/generate-proto.ps1 index ffce22e..b336eee 100644 --- a/clients/python/generate-proto.ps1 +++ b/clients/python/generate-proto.ps1 @@ -2,8 +2,8 @@ Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' $repoRoot = Resolve-Path (Join-Path $PSScriptRoot '..\..') -$protoRoot = Join-Path $repoRoot 'src\MxGateway.Contracts\Protos' -$outputRoot = Join-Path $PSScriptRoot 'src\mxgateway\generated' +$protoRoot = Join-Path $repoRoot 'src\ZB.MOM.WW.MxGateway.Contracts\Protos' +$outputRoot = Join-Path $PSScriptRoot 'src\zb_mom_ww_mxgateway\generated' $python = 'C:\Users\dohertj2\AppData\Local\Programs\Python\Python312\python.exe' if (-not (Test-Path $python)) { diff --git a/clients/python/pyproject.toml b/clients/python/pyproject.toml index 3bc0d8d..58ffd37 100644 --- a/clients/python/pyproject.toml +++ b/clients/python/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=69", "wheel"] build-backend = "setuptools.build_meta" [project] -name = "mxaccess-gateway-client" +name = "zb-mom-ww-mxaccess-gateway-client" version = "0.1.0" description = "Async Python client scaffold for MXAccess Gateway." readme = "README.md" @@ -22,7 +22,7 @@ dev = [ ] [project.scripts] -mxgw-py = "mxgateway_cli.commands:main" +mxgw-py = "zb_mom_ww_mxgateway_cli.commands:main" [tool.setuptools.packages.find] where = ["src"] diff --git a/clients/python/src/mxgateway/generated/mxaccess_gateway_pb2.py b/clients/python/src/mxgateway/generated/mxaccess_gateway_pb2.py deleted file mode 100644 index ef6516d..0000000 --- a/clients/python/src/mxgateway/generated/mxaccess_gateway_pb2.py +++ /dev/null @@ -1,201 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE -# source: mxaccess_gateway.proto -# Protobuf Python Version: 6.31.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 31, - 1, - '', - 'mxaccess_gateway.proto' -) -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16mxaccess_gateway.proto\x12\x13mxaccess_gateway.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9f\x01\n\x12OpenSessionRequest\x12\x19\n\x11requested_backend\x18\x01 \x01(\t\x12\x1b\n\x13\x63lient_session_name\x18\x02 \x01(\t\x12\x1d\n\x15\x63lient_correlation_id\x18\x03 \x01(\t\x12\x32\n\x0f\x63ommand_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xaa\x02\n\x10OpenSessionReply\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x14\n\x0c\x62\x61\x63kend_name\x18\x02 \x01(\t\x12\x19\n\x11worker_process_id\x18\x03 \x01(\x05\x12\x1f\n\x17worker_protocol_version\x18\x04 \x01(\r\x12\x14\n\x0c\x63\x61pabilities\x18\x05 \x03(\t\x12:\n\x17\x64\x65\x66\x61ult_command_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0fprotocol_status\x18\x07 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\x12 \n\x18gateway_protocol_version\x18\x08 \x01(\r\"H\n\x13\x43loseSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1d\n\x15\x63lient_correlation_id\x18\x02 \x01(\t\"\x9d\x01\n\x11\x43loseSessionReply\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x36\n\x0b\x66inal_state\x18\x02 \x01(\x0e\x32!.mxaccess_gateway.v1.SessionState\x12<\n\x0fprotocol_status\x18\x03 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\"H\n\x13StreamEventsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1d\n\x15\x61\x66ter_worker_sequence\x18\x02 \x01(\x04\"v\n\x10MxCommandRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1d\n\x15\x63lient_correlation_id\x18\x02 \x01(\t\x12/\n\x07\x63ommand\x18\x03 \x01(\x0b\x32\x1e.mxaccess_gateway.v1.MxCommand\"\xcf\x0f\n\tMxCommand\x12\x30\n\x04kind\x18\x01 \x01(\x0e\x32\".mxaccess_gateway.v1.MxCommandKind\x12\x38\n\x08register\x18\n \x01(\x0b\x32$.mxaccess_gateway.v1.RegisterCommandH\x00\x12<\n\nunregister\x18\x0b \x01(\x0b\x32&.mxaccess_gateway.v1.UnregisterCommandH\x00\x12\x37\n\x08\x61\x64\x64_item\x18\x0c \x01(\x0b\x32#.mxaccess_gateway.v1.AddItemCommandH\x00\x12\x39\n\tadd_item2\x18\r \x01(\x0b\x32$.mxaccess_gateway.v1.AddItem2CommandH\x00\x12=\n\x0bremove_item\x18\x0e \x01(\x0b\x32&.mxaccess_gateway.v1.RemoveItemCommandH\x00\x12\x34\n\x06\x61\x64vise\x18\x0f \x01(\x0b\x32\".mxaccess_gateway.v1.AdviseCommandH\x00\x12\x39\n\tun_advise\x18\x10 \x01(\x0b\x32$.mxaccess_gateway.v1.UnAdviseCommandH\x00\x12K\n\x12\x61\x64vise_supervisory\x18\x11 \x01(\x0b\x32-.mxaccess_gateway.v1.AdviseSupervisoryCommandH\x00\x12H\n\x11\x61\x64\x64_buffered_item\x18\x12 \x01(\x0b\x32+.mxaccess_gateway.v1.AddBufferedItemCommandH\x00\x12]\n\x1cset_buffered_update_interval\x18\x13 \x01(\x0b\x32\x35.mxaccess_gateway.v1.SetBufferedUpdateIntervalCommandH\x00\x12\x36\n\x07suspend\x18\x14 \x01(\x0b\x32#.mxaccess_gateway.v1.SuspendCommandH\x00\x12\x38\n\x08\x61\x63tivate\x18\x15 \x01(\x0b\x32$.mxaccess_gateway.v1.ActivateCommandH\x00\x12\x32\n\x05write\x18\x16 \x01(\x0b\x32!.mxaccess_gateway.v1.WriteCommandH\x00\x12\x34\n\x06write2\x18\x17 \x01(\x0b\x32\".mxaccess_gateway.v1.Write2CommandH\x00\x12\x41\n\rwrite_secured\x18\x18 \x01(\x0b\x32(.mxaccess_gateway.v1.WriteSecuredCommandH\x00\x12\x43\n\x0ewrite_secured2\x18\x19 \x01(\x0b\x32).mxaccess_gateway.v1.WriteSecured2CommandH\x00\x12I\n\x11\x61uthenticate_user\x18\x1a \x01(\x0b\x32,.mxaccess_gateway.v1.AuthenticateUserCommandH\x00\x12M\n\x14\x61rchestra_user_to_id\x18\x1b \x01(\x0b\x32-.mxaccess_gateway.v1.ArchestrAUserToIdCommandH\x00\x12@\n\radd_item_bulk\x18\x1c \x01(\x0b\x32\'.mxaccess_gateway.v1.AddItemBulkCommandH\x00\x12\x46\n\x10\x61\x64vise_item_bulk\x18\x1d \x01(\x0b\x32*.mxaccess_gateway.v1.AdviseItemBulkCommandH\x00\x12\x46\n\x10remove_item_bulk\x18\x1e \x01(\x0b\x32*.mxaccess_gateway.v1.RemoveItemBulkCommandH\x00\x12K\n\x13un_advise_item_bulk\x18\x1f \x01(\x0b\x32,.mxaccess_gateway.v1.UnAdviseItemBulkCommandH\x00\x12\x43\n\x0esubscribe_bulk\x18 \x01(\x0b\x32).mxaccess_gateway.v1.SubscribeBulkCommandH\x00\x12G\n\x10unsubscribe_bulk\x18! \x01(\x0b\x32+.mxaccess_gateway.v1.UnsubscribeBulkCommandH\x00\x12\x30\n\x04ping\x18\x64 \x01(\x0b\x32 .mxaccess_gateway.v1.PingCommandH\x00\x12H\n\x11get_session_state\x18\x65 \x01(\x0b\x32+.mxaccess_gateway.v1.GetSessionStateCommandH\x00\x12\x44\n\x0fget_worker_info\x18\x66 \x01(\x0b\x32).mxaccess_gateway.v1.GetWorkerInfoCommandH\x00\x12?\n\x0c\x64rain_events\x18g \x01(\x0b\x32\'.mxaccess_gateway.v1.DrainEventsCommandH\x00\x12\x45\n\x0fshutdown_worker\x18h \x01(\x0b\x32*.mxaccess_gateway.v1.ShutdownWorkerCommandH\x00\x42\t\n\x07payload\"&\n\x0fRegisterCommand\x12\x13\n\x0b\x63lient_name\x18\x01 \x01(\t\"*\n\x11UnregisterCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\"@\n\x0e\x41\x64\x64ItemCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x17\n\x0fitem_definition\x18\x02 \x01(\t\"W\n\x0f\x41\x64\x64Item2Command\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x17\n\x0fitem_definition\x18\x02 \x01(\t\x12\x14\n\x0citem_context\x18\x03 \x01(\t\"?\n\x11RemoveItemCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\";\n\rAdviseCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"=\n\x0fUnAdviseCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"F\n\x18\x41\x64viseSupervisoryCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"^\n\x16\x41\x64\x64\x42ufferedItemCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x17\n\x0fitem_definition\x18\x02 \x01(\t\x12\x14\n\x0citem_context\x18\x03 \x01(\t\"_\n SetBufferedUpdateIntervalCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12$\n\x1cupdate_interval_milliseconds\x18\x02 \x01(\x05\"<\n\x0eSuspendCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"=\n\x0f\x41\x63tivateCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"x\n\x0cWriteCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\x12+\n\x05value\x18\x03 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x0f\n\x07user_id\x18\x04 \x01(\x05\"\xb0\x01\n\rWrite2Command\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\x12+\n\x05value\x18\x03 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x35\n\x0ftimestamp_value\x18\x04 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x0f\n\x07user_id\x18\x05 \x01(\x05\"\xa1\x01\n\x13WriteSecuredCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\x12\x17\n\x0f\x63urrent_user_id\x18\x03 \x01(\x05\x12\x18\n\x10verifier_user_id\x18\x04 \x01(\x05\x12+\n\x05value\x18\x05 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"\xd9\x01\n\x14WriteSecured2Command\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\x12\x17\n\x0f\x63urrent_user_id\x18\x03 \x01(\x05\x12\x18\n\x10verifier_user_id\x18\x04 \x01(\x05\x12+\n\x05value\x18\x05 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x35\n\x0ftimestamp_value\x18\x06 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"c\n\x17\x41uthenticateUserCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bverify_user\x18\x02 \x01(\t\x12\x1c\n\x14verify_user_password\x18\x03 \x01(\t\"G\n\x18\x41rchestrAUserToIdCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0cuser_id_guid\x18\x02 \x01(\t\"B\n\x12\x41\x64\x64ItemBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x15\n\rtag_addresses\x18\x02 \x03(\t\"D\n\x15\x41\x64viseItemBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0citem_handles\x18\x02 \x03(\x05\"D\n\x15RemoveItemBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0citem_handles\x18\x02 \x03(\x05\"F\n\x17UnAdviseItemBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0citem_handles\x18\x02 \x03(\x05\"D\n\x14SubscribeBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x15\n\rtag_addresses\x18\x02 \x03(\t\"E\n\x16UnsubscribeBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0citem_handles\x18\x02 \x03(\x05\"\x1e\n\x0bPingCommand\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x18\n\x16GetSessionStateCommand\"\x16\n\x14GetWorkerInfoCommand\"(\n\x12\x44rainEventsCommand\x12\x12\n\nmax_events\x18\x01 \x01(\r\"H\n\x15ShutdownWorkerCommand\x12/\n\x0cgrace_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xac\x0b\n\x0eMxCommandReply\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x16\n\x0e\x63orrelation_id\x18\x02 \x01(\t\x12\x30\n\x04kind\x18\x03 \x01(\x0e\x32\".mxaccess_gateway.v1.MxCommandKind\x12<\n\x0fprotocol_status\x18\x04 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\x12\x14\n\x07hresult\x18\x05 \x01(\x05H\x01\x88\x01\x01\x12\x32\n\x0creturn_value\x18\x06 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x34\n\x08statuses\x18\x07 \x03(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\x12\x1a\n\x12\x64iagnostic_message\x18\x08 \x01(\t\x12\x36\n\x08register\x18\x14 \x01(\x0b\x32\".mxaccess_gateway.v1.RegisterReplyH\x00\x12\x35\n\x08\x61\x64\x64_item\x18\x15 \x01(\x0b\x32!.mxaccess_gateway.v1.AddItemReplyH\x00\x12\x37\n\tadd_item2\x18\x16 \x01(\x0b\x32\".mxaccess_gateway.v1.AddItem2ReplyH\x00\x12\x46\n\x11\x61\x64\x64_buffered_item\x18\x17 \x01(\x0b\x32).mxaccess_gateway.v1.AddBufferedItemReplyH\x00\x12\x34\n\x07suspend\x18\x18 \x01(\x0b\x32!.mxaccess_gateway.v1.SuspendReplyH\x00\x12\x36\n\x08\x61\x63tivate\x18\x19 \x01(\x0b\x32\".mxaccess_gateway.v1.ActivateReplyH\x00\x12G\n\x11\x61uthenticate_user\x18\x1a \x01(\x0b\x32*.mxaccess_gateway.v1.AuthenticateUserReplyH\x00\x12K\n\x14\x61rchestra_user_to_id\x18\x1b \x01(\x0b\x32+.mxaccess_gateway.v1.ArchestrAUserToIdReplyH\x00\x12@\n\radd_item_bulk\x18\x1c \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x43\n\x10\x61\x64vise_item_bulk\x18\x1d \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x43\n\x10remove_item_bulk\x18\x1e \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x46\n\x13un_advise_item_bulk\x18\x1f \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x41\n\x0esubscribe_bulk\x18 \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x43\n\x10unsubscribe_bulk\x18! \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12?\n\rsession_state\x18\x64 \x01(\x0b\x32&.mxaccess_gateway.v1.SessionStateReplyH\x00\x12;\n\x0bworker_info\x18\x65 \x01(\x0b\x32$.mxaccess_gateway.v1.WorkerInfoReplyH\x00\x12=\n\x0c\x64rain_events\x18\x66 \x01(\x0b\x32%.mxaccess_gateway.v1.DrainEventsReplyH\x00\x42\t\n\x07payloadB\n\n\x08_hresult\"&\n\rRegisterReply\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\"#\n\x0c\x41\x64\x64ItemReply\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\"$\n\rAddItem2Reply\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\"+\n\x14\x41\x64\x64\x42ufferedItemReply\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\"B\n\x0cSuspendReply\x12\x32\n\x06status\x18\x01 \x01(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\"C\n\rActivateReply\x12\x32\n\x06status\x18\x01 \x01(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\"(\n\x15\x41uthenticateUserReply\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\")\n\x16\x41rchestrAUserToIdReply\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\"\x81\x01\n\x0fSubscribeResult\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0btag_address\x18\x02 \x01(\t\x12\x13\n\x0bitem_handle\x18\x03 \x01(\x05\x12\x16\n\x0ewas_successful\x18\x04 \x01(\x08\x12\x15\n\rerror_message\x18\x05 \x01(\t\"K\n\x12\x42ulkSubscribeReply\x12\x35\n\x07results\x18\x01 \x03(\x0b\x32$.mxaccess_gateway.v1.SubscribeResult\"E\n\x11SessionStateReply\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32!.mxaccess_gateway.v1.SessionState\"u\n\x0fWorkerInfoReply\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12\x16\n\x0eworker_version\x18\x02 \x01(\t\x12\x17\n\x0fmxaccess_progid\x18\x03 \x01(\t\x12\x16\n\x0emxaccess_clsid\x18\x04 \x01(\t\"@\n\x10\x44rainEventsReply\x12,\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x1c.mxaccess_gateway.v1.MxEvent\"\xe7\x06\n\x07MxEvent\x12\x32\n\x06\x66\x61mily\x18\x01 \x01(\x0e\x32\".mxaccess_gateway.v1.MxEventFamily\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x15\n\rserver_handle\x18\x03 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x04 \x01(\x05\x12+\n\x05value\x18\x05 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x0f\n\x07quality\x18\x06 \x01(\x05\x12\x34\n\x10source_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x08statuses\x18\x08 \x03(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\x12\x17\n\x0fworker_sequence\x18\t \x01(\x04\x12\x34\n\x10worker_timestamp\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x19gateway_receive_timestamp\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x07hresult\x18\x0c \x01(\x05H\x01\x88\x01\x01\x12\x12\n\nraw_status\x18\r \x01(\t\x12@\n\x0eon_data_change\x18\x14 \x01(\x0b\x32&.mxaccess_gateway.v1.OnDataChangeEventH\x00\x12\x46\n\x11on_write_complete\x18\x15 \x01(\x0b\x32).mxaccess_gateway.v1.OnWriteCompleteEventH\x00\x12I\n\x12operation_complete\x18\x16 \x01(\x0b\x32+.mxaccess_gateway.v1.OperationCompleteEventH\x00\x12Q\n\x17on_buffered_data_change\x18\x17 \x01(\x0b\x32..mxaccess_gateway.v1.OnBufferedDataChangeEventH\x00\x12J\n\x13on_alarm_transition\x18\x18 \x01(\x0b\x32+.mxaccess_gateway.v1.OnAlarmTransitionEventH\x00\x42\x06\n\x04\x62odyB\n\n\x08_hresult\"\x13\n\x11OnDataChangeEvent\"\x16\n\x14OnWriteCompleteEvent\"\x18\n\x16OperationCompleteEvent\"\xd4\x01\n\x19OnBufferedDataChangeEvent\x12\x32\n\tdata_type\x18\x01 \x01(\x0e\x32\x1f.mxaccess_gateway.v1.MxDataType\x12\x34\n\x0equality_values\x18\x02 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxArray\x12\x36\n\x10timestamp_values\x18\x03 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxArray\x12\x15\n\rraw_data_type\x18\x04 \x01(\x05\"\xfd\x03\n\x16OnAlarmTransitionEvent\x12\x1c\n\x14\x61larm_full_reference\x18\x01 \x01(\t\x12\x1f\n\x17source_object_reference\x18\x02 \x01(\t\x12\x17\n\x0f\x61larm_type_name\x18\x03 \x01(\t\x12\x41\n\x0ftransition_kind\x18\x04 \x01(\x0e\x32(.mxaccess_gateway.v1.AlarmTransitionKind\x12\x10\n\x08severity\x18\x05 \x01(\x05\x12<\n\x18original_raise_timestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14transition_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\roperator_user\x18\x08 \x01(\t\x12\x18\n\x10operator_comment\x18\t \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\n \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0b \x01(\t\x12\x33\n\rcurrent_value\x18\x0c \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x31\n\x0blimit_value\x18\r \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"\xfd\x03\n\x13\x41\x63tiveAlarmSnapshot\x12\x1c\n\x14\x61larm_full_reference\x18\x01 \x01(\t\x12\x1f\n\x17source_object_reference\x18\x02 \x01(\t\x12\x17\n\x0f\x61larm_type_name\x18\x03 \x01(\t\x12\x10\n\x08severity\x18\x04 \x01(\x05\x12<\n\x18original_raise_timestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\rcurrent_state\x18\x06 \x01(\x0e\x32(.mxaccess_gateway.v1.AlarmConditionState\x12\x10\n\x08\x63\x61tegory\x18\x07 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12=\n\x19last_transition_timestamp\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\roperator_user\x18\n \x01(\t\x12\x18\n\x10operator_comment\x18\x0b \x01(\t\x12\x33\n\rcurrent_value\x18\x0c \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x31\n\x0blimit_value\x18\r \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"\x92\x01\n\x17\x41\x63knowledgeAlarmRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1d\n\x15\x63lient_correlation_id\x18\x02 \x01(\t\x12\x1c\n\x14\x61larm_full_reference\x18\x03 \x01(\t\x12\x0f\n\x07\x63omment\x18\x04 \x01(\t\x12\x15\n\roperator_user\x18\x05 \x01(\t\"\xf3\x01\n\x15\x41\x63knowledgeAlarmReply\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x16\n\x0e\x63orrelation_id\x18\x02 \x01(\t\x12<\n\x0fprotocol_status\x18\x03 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\x12\x14\n\x07hresult\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x32\n\x06status\x18\x05 \x01(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\x12\x1a\n\x12\x64iagnostic_message\x18\x06 \x01(\tB\n\n\x08_hresult\"j\n\x18QueryActiveAlarmsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1d\n\x15\x63lient_correlation_id\x18\x02 \x01(\t\x12\x1b\n\x13\x61larm_filter_prefix\x18\x03 \x01(\t\"\xeb\x01\n\rMxStatusProxy\x12\x0f\n\x07success\x18\x01 \x01(\x05\x12\x37\n\x08\x63\x61tegory\x18\x02 \x01(\x0e\x32%.mxaccess_gateway.v1.MxStatusCategory\x12\x38\n\x0b\x64\x65tected_by\x18\x03 \x01(\x0e\x32#.mxaccess_gateway.v1.MxStatusSource\x12\x0e\n\x06\x64\x65tail\x18\x04 \x01(\x05\x12\x14\n\x0craw_category\x18\x05 \x01(\x05\x12\x17\n\x0fraw_detected_by\x18\x06 \x01(\x05\x12\x17\n\x0f\x64iagnostic_text\x18\x07 \x01(\t\"\xa7\x03\n\x07MxValue\x12\x32\n\tdata_type\x18\x01 \x01(\x0e\x32\x1f.mxaccess_gateway.v1.MxDataType\x12\x14\n\x0cvariant_type\x18\x02 \x01(\t\x12\x0f\n\x07is_null\x18\x03 \x01(\x08\x12\x16\n\x0eraw_diagnostic\x18\x04 \x01(\t\x12\x15\n\rraw_data_type\x18\x05 \x01(\x05\x12\x14\n\nbool_value\x18\n \x01(\x08H\x00\x12\x15\n\x0bint32_value\x18\x0b \x01(\x05H\x00\x12\x15\n\x0bint64_value\x18\x0c \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\r \x01(\x02H\x00\x12\x16\n\x0c\x64ouble_value\x18\x0e \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x0f \x01(\tH\x00\x12\x35\n\x0ftimestamp_value\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x33\n\x0b\x61rray_value\x18\x11 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxArrayH\x00\x12\x13\n\traw_value\x18\x12 \x01(\x0cH\x00\x42\x06\n\x04kind\"\xfe\x04\n\x07MxArray\x12:\n\x11\x65lement_data_type\x18\x01 \x01(\x0e\x32\x1f.mxaccess_gateway.v1.MxDataType\x12\x14\n\x0cvariant_type\x18\x02 \x01(\t\x12\x12\n\ndimensions\x18\x03 \x03(\r\x12\x16\n\x0eraw_diagnostic\x18\x04 \x01(\t\x12\x1d\n\x15raw_element_data_type\x18\x05 \x01(\x05\x12\x35\n\x0b\x62ool_values\x18\n \x01(\x0b\x32\x1e.mxaccess_gateway.v1.BoolArrayH\x00\x12\x37\n\x0cint32_values\x18\x0b \x01(\x0b\x32\x1f.mxaccess_gateway.v1.Int32ArrayH\x00\x12\x37\n\x0cint64_values\x18\x0c \x01(\x0b\x32\x1f.mxaccess_gateway.v1.Int64ArrayH\x00\x12\x37\n\x0c\x66loat_values\x18\r \x01(\x0b\x32\x1f.mxaccess_gateway.v1.FloatArrayH\x00\x12\x39\n\rdouble_values\x18\x0e \x01(\x0b\x32 .mxaccess_gateway.v1.DoubleArrayH\x00\x12\x39\n\rstring_values\x18\x0f \x01(\x0b\x32 .mxaccess_gateway.v1.StringArrayH\x00\x12?\n\x10timestamp_values\x18\x10 \x01(\x0b\x32#.mxaccess_gateway.v1.TimestampArrayH\x00\x12\x33\n\nraw_values\x18\x11 \x01(\x0b\x32\x1d.mxaccess_gateway.v1.RawArrayH\x00\x42\x08\n\x06values\"\x1b\n\tBoolArray\x12\x0e\n\x06values\x18\x01 \x03(\x08\"\x1c\n\nInt32Array\x12\x0e\n\x06values\x18\x01 \x03(\x05\"\x1c\n\nInt64Array\x12\x0e\n\x06values\x18\x01 \x03(\x03\"\x1c\n\nFloatArray\x12\x0e\n\x06values\x18\x01 \x03(\x02\"\x1d\n\x0b\x44oubleArray\x12\x0e\n\x06values\x18\x01 \x03(\x01\"\x1d\n\x0bStringArray\x12\x0e\n\x06values\x18\x01 \x03(\t\"<\n\x0eTimestampArray\x12*\n\x06values\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1a\n\x08RawArray\x12\x0e\n\x06values\x18\x01 \x03(\x0c\"X\n\x0eProtocolStatus\x12\x35\n\x04\x63ode\x18\x01 \x01(\x0e\x32\'.mxaccess_gateway.v1.ProtocolStatusCode\x12\x0f\n\x07message\x18\x02 \x01(\t*\xa1\x08\n\rMxCommandKind\x12\x1f\n\x1bMX_COMMAND_KIND_UNSPECIFIED\x10\x00\x12\x1c\n\x18MX_COMMAND_KIND_REGISTER\x10\x01\x12\x1e\n\x1aMX_COMMAND_KIND_UNREGISTER\x10\x02\x12\x1c\n\x18MX_COMMAND_KIND_ADD_ITEM\x10\x03\x12\x1d\n\x19MX_COMMAND_KIND_ADD_ITEM2\x10\x04\x12\x1f\n\x1bMX_COMMAND_KIND_REMOVE_ITEM\x10\x05\x12\x1a\n\x16MX_COMMAND_KIND_ADVISE\x10\x06\x12\x1d\n\x19MX_COMMAND_KIND_UN_ADVISE\x10\x07\x12&\n\"MX_COMMAND_KIND_ADVISE_SUPERVISORY\x10\x08\x12%\n!MX_COMMAND_KIND_ADD_BUFFERED_ITEM\x10\t\x12\x30\n,MX_COMMAND_KIND_SET_BUFFERED_UPDATE_INTERVAL\x10\n\x12\x1b\n\x17MX_COMMAND_KIND_SUSPEND\x10\x0b\x12\x1c\n\x18MX_COMMAND_KIND_ACTIVATE\x10\x0c\x12\x19\n\x15MX_COMMAND_KIND_WRITE\x10\r\x12\x1a\n\x16MX_COMMAND_KIND_WRITE2\x10\x0e\x12!\n\x1dMX_COMMAND_KIND_WRITE_SECURED\x10\x0f\x12\"\n\x1eMX_COMMAND_KIND_WRITE_SECURED2\x10\x10\x12%\n!MX_COMMAND_KIND_AUTHENTICATE_USER\x10\x11\x12(\n$MX_COMMAND_KIND_ARCHESTRA_USER_TO_ID\x10\x12\x12!\n\x1dMX_COMMAND_KIND_ADD_ITEM_BULK\x10\x13\x12$\n MX_COMMAND_KIND_ADVISE_ITEM_BULK\x10\x14\x12$\n MX_COMMAND_KIND_REMOVE_ITEM_BULK\x10\x15\x12\'\n#MX_COMMAND_KIND_UN_ADVISE_ITEM_BULK\x10\x16\x12\"\n\x1eMX_COMMAND_KIND_SUBSCRIBE_BULK\x10\x17\x12$\n MX_COMMAND_KIND_UNSUBSCRIBE_BULK\x10\x18\x12\x18\n\x14MX_COMMAND_KIND_PING\x10\x64\x12%\n!MX_COMMAND_KIND_GET_SESSION_STATE\x10\x65\x12#\n\x1fMX_COMMAND_KIND_GET_WORKER_INFO\x10\x66\x12 \n\x1cMX_COMMAND_KIND_DRAIN_EVENTS\x10g\x12#\n\x1fMX_COMMAND_KIND_SHUTDOWN_WORKER\x10h*\xf9\x01\n\rMxEventFamily\x12\x1f\n\x1bMX_EVENT_FAMILY_UNSPECIFIED\x10\x00\x12\"\n\x1eMX_EVENT_FAMILY_ON_DATA_CHANGE\x10\x01\x12%\n!MX_EVENT_FAMILY_ON_WRITE_COMPLETE\x10\x02\x12&\n\"MX_EVENT_FAMILY_OPERATION_COMPLETE\x10\x03\x12+\n\'MX_EVENT_FAMILY_ON_BUFFERED_DATA_CHANGE\x10\x04\x12\'\n#MX_EVENT_FAMILY_ON_ALARM_TRANSITION\x10\x05*\xca\x01\n\x13\x41larmTransitionKind\x12%\n!ALARM_TRANSITION_KIND_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41LARM_TRANSITION_KIND_RAISE\x10\x01\x12%\n!ALARM_TRANSITION_KIND_ACKNOWLEDGE\x10\x02\x12\x1f\n\x1b\x41LARM_TRANSITION_KIND_CLEAR\x10\x03\x12#\n\x1f\x41LARM_TRANSITION_KIND_RETRIGGER\x10\x04*\xaa\x01\n\x13\x41larmConditionState\x12%\n!ALARM_CONDITION_STATE_UNSPECIFIED\x10\x00\x12 \n\x1c\x41LARM_CONDITION_STATE_ACTIVE\x10\x01\x12&\n\"ALARM_CONDITION_STATE_ACTIVE_ACKED\x10\x02\x12\"\n\x1e\x41LARM_CONDITION_STATE_INACTIVE\x10\x03*\xa5\x03\n\x10MxStatusCategory\x12\"\n\x1eMX_STATUS_CATEGORY_UNSPECIFIED\x10\x00\x12\x1e\n\x1aMX_STATUS_CATEGORY_UNKNOWN\x10\x01\x12\x19\n\x15MX_STATUS_CATEGORY_OK\x10\x02\x12\x1e\n\x1aMX_STATUS_CATEGORY_PENDING\x10\x03\x12\x1e\n\x1aMX_STATUS_CATEGORY_WARNING\x10\x04\x12*\n&MX_STATUS_CATEGORY_COMMUNICATION_ERROR\x10\x05\x12*\n&MX_STATUS_CATEGORY_CONFIGURATION_ERROR\x10\x06\x12(\n$MX_STATUS_CATEGORY_OPERATIONAL_ERROR\x10\x07\x12%\n!MX_STATUS_CATEGORY_SECURITY_ERROR\x10\x08\x12%\n!MX_STATUS_CATEGORY_SOFTWARE_ERROR\x10\t\x12\"\n\x1eMX_STATUS_CATEGORY_OTHER_ERROR\x10\n*\xca\x02\n\x0eMxStatusSource\x12 \n\x1cMX_STATUS_SOURCE_UNSPECIFIED\x10\x00\x12\x1c\n\x18MX_STATUS_SOURCE_UNKNOWN\x10\x01\x12#\n\x1fMX_STATUS_SOURCE_REQUESTING_LMX\x10\x02\x12#\n\x1fMX_STATUS_SOURCE_RESPONDING_LMX\x10\x03\x12#\n\x1fMX_STATUS_SOURCE_REQUESTING_NMX\x10\x04\x12#\n\x1fMX_STATUS_SOURCE_RESPONDING_NMX\x10\x05\x12\x31\n-MX_STATUS_SOURCE_REQUESTING_AUTOMATION_OBJECT\x10\x06\x12\x31\n-MX_STATUS_SOURCE_RESPONDING_AUTOMATION_OBJECT\x10\x07*\xdd\x04\n\nMxDataType\x12\x1c\n\x18MX_DATA_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14MX_DATA_TYPE_UNKNOWN\x10\x01\x12\x18\n\x14MX_DATA_TYPE_NO_DATA\x10\x02\x12\x18\n\x14MX_DATA_TYPE_BOOLEAN\x10\x03\x12\x18\n\x14MX_DATA_TYPE_INTEGER\x10\x04\x12\x16\n\x12MX_DATA_TYPE_FLOAT\x10\x05\x12\x17\n\x13MX_DATA_TYPE_DOUBLE\x10\x06\x12\x17\n\x13MX_DATA_TYPE_STRING\x10\x07\x12\x15\n\x11MX_DATA_TYPE_TIME\x10\x08\x12\x1d\n\x19MX_DATA_TYPE_ELAPSED_TIME\x10\t\x12\x1f\n\x1bMX_DATA_TYPE_REFERENCE_TYPE\x10\n\x12\x1c\n\x18MX_DATA_TYPE_STATUS_TYPE\x10\x0b\x12\x15\n\x11MX_DATA_TYPE_ENUM\x10\x0c\x12-\n)MX_DATA_TYPE_SECURITY_CLASSIFICATION_ENUM\x10\r\x12\"\n\x1eMX_DATA_TYPE_DATA_QUALITY_TYPE\x10\x0e\x12\x1f\n\x1bMX_DATA_TYPE_QUALIFIED_ENUM\x10\x0f\x12!\n\x1dMX_DATA_TYPE_QUALIFIED_STRUCT\x10\x10\x12)\n%MX_DATA_TYPE_INTERNATIONALIZED_STRING\x10\x11\x12\x1b\n\x17MX_DATA_TYPE_BIG_STRING\x10\x12\x12\x14\n\x10MX_DATA_TYPE_END\x10\x13*\xa3\x03\n\x12ProtocolStatusCode\x12$\n PROTOCOL_STATUS_CODE_UNSPECIFIED\x10\x00\x12\x1b\n\x17PROTOCOL_STATUS_CODE_OK\x10\x01\x12(\n$PROTOCOL_STATUS_CODE_INVALID_REQUEST\x10\x02\x12*\n&PROTOCOL_STATUS_CODE_SESSION_NOT_FOUND\x10\x03\x12*\n&PROTOCOL_STATUS_CODE_SESSION_NOT_READY\x10\x04\x12+\n\'PROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE\x10\x05\x12 \n\x1cPROTOCOL_STATUS_CODE_TIMEOUT\x10\x06\x12!\n\x1dPROTOCOL_STATUS_CODE_CANCELED\x10\x07\x12+\n\'PROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION\x10\x08\x12)\n%PROTOCOL_STATUS_CODE_MXACCESS_FAILURE\x10\t*\xbf\x02\n\x0cSessionState\x12\x1d\n\x19SESSION_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16SESSION_STATE_CREATING\x10\x01\x12!\n\x1dSESSION_STATE_STARTING_WORKER\x10\x02\x12\"\n\x1eSESSION_STATE_WAITING_FOR_PIPE\x10\x03\x12\x1d\n\x19SESSION_STATE_HANDSHAKING\x10\x04\x12%\n!SESSION_STATE_INITIALIZING_WORKER\x10\x05\x12\x17\n\x13SESSION_STATE_READY\x10\x06\x12\x19\n\x15SESSION_STATE_CLOSING\x10\x07\x12\x18\n\x14SESSION_STATE_CLOSED\x10\x08\x12\x19\n\x15SESSION_STATE_FAULTED\x10\t2\xe0\x04\n\x0fMxAccessGateway\x12]\n\x0bOpenSession\x12\'.mxaccess_gateway.v1.OpenSessionRequest\x1a%.mxaccess_gateway.v1.OpenSessionReply\x12`\n\x0c\x43loseSession\x12(.mxaccess_gateway.v1.CloseSessionRequest\x1a&.mxaccess_gateway.v1.CloseSessionReply\x12T\n\x06Invoke\x12%.mxaccess_gateway.v1.MxCommandRequest\x1a#.mxaccess_gateway.v1.MxCommandReply\x12X\n\x0cStreamEvents\x12(.mxaccess_gateway.v1.StreamEventsRequest\x1a\x1c.mxaccess_gateway.v1.MxEvent0\x01\x12l\n\x10\x41\x63knowledgeAlarm\x12,.mxaccess_gateway.v1.AcknowledgeAlarmRequest\x1a*.mxaccess_gateway.v1.AcknowledgeAlarmReply\x12n\n\x11QueryActiveAlarms\x12-.mxaccess_gateway.v1.QueryActiveAlarmsRequest\x1a(.mxaccess_gateway.v1.ActiveAlarmSnapshot0\x01\x42\x1c\xaa\x02\x19MxGateway.Contracts.Protob\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mxaccess_gateway_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\252\002\031MxGateway.Contracts.Proto' - _globals['_MXCOMMANDKIND']._serialized_start=11957 - _globals['_MXCOMMANDKIND']._serialized_end=13014 - _globals['_MXEVENTFAMILY']._serialized_start=13017 - _globals['_MXEVENTFAMILY']._serialized_end=13266 - _globals['_ALARMTRANSITIONKIND']._serialized_start=13269 - _globals['_ALARMTRANSITIONKIND']._serialized_end=13471 - _globals['_ALARMCONDITIONSTATE']._serialized_start=13474 - _globals['_ALARMCONDITIONSTATE']._serialized_end=13644 - _globals['_MXSTATUSCATEGORY']._serialized_start=13647 - _globals['_MXSTATUSCATEGORY']._serialized_end=14068 - _globals['_MXSTATUSSOURCE']._serialized_start=14071 - _globals['_MXSTATUSSOURCE']._serialized_end=14401 - _globals['_MXDATATYPE']._serialized_start=14404 - _globals['_MXDATATYPE']._serialized_end=15009 - _globals['_PROTOCOLSTATUSCODE']._serialized_start=15012 - _globals['_PROTOCOLSTATUSCODE']._serialized_end=15431 - _globals['_SESSIONSTATE']._serialized_start=15434 - _globals['_SESSIONSTATE']._serialized_end=15753 - _globals['_OPENSESSIONREQUEST']._serialized_start=113 - _globals['_OPENSESSIONREQUEST']._serialized_end=272 - _globals['_OPENSESSIONREPLY']._serialized_start=275 - _globals['_OPENSESSIONREPLY']._serialized_end=573 - _globals['_CLOSESESSIONREQUEST']._serialized_start=575 - _globals['_CLOSESESSIONREQUEST']._serialized_end=647 - _globals['_CLOSESESSIONREPLY']._serialized_start=650 - _globals['_CLOSESESSIONREPLY']._serialized_end=807 - _globals['_STREAMEVENTSREQUEST']._serialized_start=809 - _globals['_STREAMEVENTSREQUEST']._serialized_end=881 - _globals['_MXCOMMANDREQUEST']._serialized_start=883 - _globals['_MXCOMMANDREQUEST']._serialized_end=1001 - _globals['_MXCOMMAND']._serialized_start=1004 - _globals['_MXCOMMAND']._serialized_end=3003 - _globals['_REGISTERCOMMAND']._serialized_start=3005 - _globals['_REGISTERCOMMAND']._serialized_end=3043 - _globals['_UNREGISTERCOMMAND']._serialized_start=3045 - _globals['_UNREGISTERCOMMAND']._serialized_end=3087 - _globals['_ADDITEMCOMMAND']._serialized_start=3089 - _globals['_ADDITEMCOMMAND']._serialized_end=3153 - _globals['_ADDITEM2COMMAND']._serialized_start=3155 - _globals['_ADDITEM2COMMAND']._serialized_end=3242 - _globals['_REMOVEITEMCOMMAND']._serialized_start=3244 - _globals['_REMOVEITEMCOMMAND']._serialized_end=3307 - _globals['_ADVISECOMMAND']._serialized_start=3309 - _globals['_ADVISECOMMAND']._serialized_end=3368 - _globals['_UNADVISECOMMAND']._serialized_start=3370 - _globals['_UNADVISECOMMAND']._serialized_end=3431 - _globals['_ADVISESUPERVISORYCOMMAND']._serialized_start=3433 - _globals['_ADVISESUPERVISORYCOMMAND']._serialized_end=3503 - _globals['_ADDBUFFEREDITEMCOMMAND']._serialized_start=3505 - _globals['_ADDBUFFEREDITEMCOMMAND']._serialized_end=3599 - _globals['_SETBUFFEREDUPDATEINTERVALCOMMAND']._serialized_start=3601 - _globals['_SETBUFFEREDUPDATEINTERVALCOMMAND']._serialized_end=3696 - _globals['_SUSPENDCOMMAND']._serialized_start=3698 - _globals['_SUSPENDCOMMAND']._serialized_end=3758 - _globals['_ACTIVATECOMMAND']._serialized_start=3760 - _globals['_ACTIVATECOMMAND']._serialized_end=3821 - _globals['_WRITECOMMAND']._serialized_start=3823 - _globals['_WRITECOMMAND']._serialized_end=3943 - _globals['_WRITE2COMMAND']._serialized_start=3946 - _globals['_WRITE2COMMAND']._serialized_end=4122 - _globals['_WRITESECUREDCOMMAND']._serialized_start=4125 - _globals['_WRITESECUREDCOMMAND']._serialized_end=4286 - _globals['_WRITESECURED2COMMAND']._serialized_start=4289 - _globals['_WRITESECURED2COMMAND']._serialized_end=4506 - _globals['_AUTHENTICATEUSERCOMMAND']._serialized_start=4508 - _globals['_AUTHENTICATEUSERCOMMAND']._serialized_end=4607 - _globals['_ARCHESTRAUSERTOIDCOMMAND']._serialized_start=4609 - _globals['_ARCHESTRAUSERTOIDCOMMAND']._serialized_end=4680 - _globals['_ADDITEMBULKCOMMAND']._serialized_start=4682 - _globals['_ADDITEMBULKCOMMAND']._serialized_end=4748 - _globals['_ADVISEITEMBULKCOMMAND']._serialized_start=4750 - _globals['_ADVISEITEMBULKCOMMAND']._serialized_end=4818 - _globals['_REMOVEITEMBULKCOMMAND']._serialized_start=4820 - _globals['_REMOVEITEMBULKCOMMAND']._serialized_end=4888 - _globals['_UNADVISEITEMBULKCOMMAND']._serialized_start=4890 - _globals['_UNADVISEITEMBULKCOMMAND']._serialized_end=4960 - _globals['_SUBSCRIBEBULKCOMMAND']._serialized_start=4962 - _globals['_SUBSCRIBEBULKCOMMAND']._serialized_end=5030 - _globals['_UNSUBSCRIBEBULKCOMMAND']._serialized_start=5032 - _globals['_UNSUBSCRIBEBULKCOMMAND']._serialized_end=5101 - _globals['_PINGCOMMAND']._serialized_start=5103 - _globals['_PINGCOMMAND']._serialized_end=5133 - _globals['_GETSESSIONSTATECOMMAND']._serialized_start=5135 - _globals['_GETSESSIONSTATECOMMAND']._serialized_end=5159 - _globals['_GETWORKERINFOCOMMAND']._serialized_start=5161 - _globals['_GETWORKERINFOCOMMAND']._serialized_end=5183 - _globals['_DRAINEVENTSCOMMAND']._serialized_start=5185 - _globals['_DRAINEVENTSCOMMAND']._serialized_end=5225 - _globals['_SHUTDOWNWORKERCOMMAND']._serialized_start=5227 - _globals['_SHUTDOWNWORKERCOMMAND']._serialized_end=5299 - _globals['_MXCOMMANDREPLY']._serialized_start=5302 - _globals['_MXCOMMANDREPLY']._serialized_end=6754 - _globals['_REGISTERREPLY']._serialized_start=6756 - _globals['_REGISTERREPLY']._serialized_end=6794 - _globals['_ADDITEMREPLY']._serialized_start=6796 - _globals['_ADDITEMREPLY']._serialized_end=6831 - _globals['_ADDITEM2REPLY']._serialized_start=6833 - _globals['_ADDITEM2REPLY']._serialized_end=6869 - _globals['_ADDBUFFEREDITEMREPLY']._serialized_start=6871 - _globals['_ADDBUFFEREDITEMREPLY']._serialized_end=6914 - _globals['_SUSPENDREPLY']._serialized_start=6916 - _globals['_SUSPENDREPLY']._serialized_end=6982 - _globals['_ACTIVATEREPLY']._serialized_start=6984 - _globals['_ACTIVATEREPLY']._serialized_end=7051 - _globals['_AUTHENTICATEUSERREPLY']._serialized_start=7053 - _globals['_AUTHENTICATEUSERREPLY']._serialized_end=7093 - _globals['_ARCHESTRAUSERTOIDREPLY']._serialized_start=7095 - _globals['_ARCHESTRAUSERTOIDREPLY']._serialized_end=7136 - _globals['_SUBSCRIBERESULT']._serialized_start=7139 - _globals['_SUBSCRIBERESULT']._serialized_end=7268 - _globals['_BULKSUBSCRIBEREPLY']._serialized_start=7270 - _globals['_BULKSUBSCRIBEREPLY']._serialized_end=7345 - _globals['_SESSIONSTATEREPLY']._serialized_start=7347 - _globals['_SESSIONSTATEREPLY']._serialized_end=7416 - _globals['_WORKERINFOREPLY']._serialized_start=7418 - _globals['_WORKERINFOREPLY']._serialized_end=7535 - _globals['_DRAINEVENTSREPLY']._serialized_start=7537 - _globals['_DRAINEVENTSREPLY']._serialized_end=7601 - _globals['_MXEVENT']._serialized_start=7604 - _globals['_MXEVENT']._serialized_end=8475 - _globals['_ONDATACHANGEEVENT']._serialized_start=8477 - _globals['_ONDATACHANGEEVENT']._serialized_end=8496 - _globals['_ONWRITECOMPLETEEVENT']._serialized_start=8498 - _globals['_ONWRITECOMPLETEEVENT']._serialized_end=8520 - _globals['_OPERATIONCOMPLETEEVENT']._serialized_start=8522 - _globals['_OPERATIONCOMPLETEEVENT']._serialized_end=8546 - _globals['_ONBUFFEREDDATACHANGEEVENT']._serialized_start=8549 - _globals['_ONBUFFEREDDATACHANGEEVENT']._serialized_end=8761 - _globals['_ONALARMTRANSITIONEVENT']._serialized_start=8764 - _globals['_ONALARMTRANSITIONEVENT']._serialized_end=9273 - _globals['_ACTIVEALARMSNAPSHOT']._serialized_start=9276 - _globals['_ACTIVEALARMSNAPSHOT']._serialized_end=9785 - _globals['_ACKNOWLEDGEALARMREQUEST']._serialized_start=9788 - _globals['_ACKNOWLEDGEALARMREQUEST']._serialized_end=9934 - _globals['_ACKNOWLEDGEALARMREPLY']._serialized_start=9937 - _globals['_ACKNOWLEDGEALARMREPLY']._serialized_end=10180 - _globals['_QUERYACTIVEALARMSREQUEST']._serialized_start=10182 - _globals['_QUERYACTIVEALARMSREQUEST']._serialized_end=10288 - _globals['_MXSTATUSPROXY']._serialized_start=10291 - _globals['_MXSTATUSPROXY']._serialized_end=10526 - _globals['_MXVALUE']._serialized_start=10529 - _globals['_MXVALUE']._serialized_end=10952 - _globals['_MXARRAY']._serialized_start=10955 - _globals['_MXARRAY']._serialized_end=11593 - _globals['_BOOLARRAY']._serialized_start=11595 - _globals['_BOOLARRAY']._serialized_end=11622 - _globals['_INT32ARRAY']._serialized_start=11624 - _globals['_INT32ARRAY']._serialized_end=11652 - _globals['_INT64ARRAY']._serialized_start=11654 - _globals['_INT64ARRAY']._serialized_end=11682 - _globals['_FLOATARRAY']._serialized_start=11684 - _globals['_FLOATARRAY']._serialized_end=11712 - _globals['_DOUBLEARRAY']._serialized_start=11714 - _globals['_DOUBLEARRAY']._serialized_end=11743 - _globals['_STRINGARRAY']._serialized_start=11745 - _globals['_STRINGARRAY']._serialized_end=11774 - _globals['_TIMESTAMPARRAY']._serialized_start=11776 - _globals['_TIMESTAMPARRAY']._serialized_end=11836 - _globals['_RAWARRAY']._serialized_start=11838 - _globals['_RAWARRAY']._serialized_end=11864 - _globals['_PROTOCOLSTATUS']._serialized_start=11866 - _globals['_PROTOCOLSTATUS']._serialized_end=11954 - _globals['_MXACCESSGATEWAY']._serialized_start=15756 - _globals['_MXACCESSGATEWAY']._serialized_end=16364 -# @@protoc_insertion_point(module_scope) diff --git a/clients/python/src/mxgateway_cli/__main__.py b/clients/python/src/mxgateway_cli/__main__.py deleted file mode 100644 index ed4aa9f..0000000 --- a/clients/python/src/mxgateway_cli/__main__.py +++ /dev/null @@ -1,6 +0,0 @@ -"""Module execution entry point for `python -m mxgateway_cli`.""" - -from .commands import main - -if __name__ == "__main__": - main() diff --git a/clients/python/src/mxgateway/__init__.py b/clients/python/src/zb_mom_ww_mxgateway/__init__.py similarity index 100% rename from clients/python/src/mxgateway/__init__.py rename to clients/python/src/zb_mom_ww_mxgateway/__init__.py diff --git a/clients/python/src/mxgateway/auth.py b/clients/python/src/zb_mom_ww_mxgateway/auth.py similarity index 100% rename from clients/python/src/mxgateway/auth.py rename to clients/python/src/zb_mom_ww_mxgateway/auth.py diff --git a/clients/python/src/mxgateway/client.py b/clients/python/src/zb_mom_ww_mxgateway/client.py similarity index 100% rename from clients/python/src/mxgateway/client.py rename to clients/python/src/zb_mom_ww_mxgateway/client.py diff --git a/clients/python/src/mxgateway/errors.py b/clients/python/src/zb_mom_ww_mxgateway/errors.py similarity index 100% rename from clients/python/src/mxgateway/errors.py rename to clients/python/src/zb_mom_ww_mxgateway/errors.py diff --git a/clients/python/src/mxgateway/galaxy.py b/clients/python/src/zb_mom_ww_mxgateway/galaxy.py similarity index 100% rename from clients/python/src/mxgateway/galaxy.py rename to clients/python/src/zb_mom_ww_mxgateway/galaxy.py diff --git a/clients/python/src/mxgateway/generated/.gitkeep b/clients/python/src/zb_mom_ww_mxgateway/generated/.gitkeep similarity index 100% rename from clients/python/src/mxgateway/generated/.gitkeep rename to clients/python/src/zb_mom_ww_mxgateway/generated/.gitkeep diff --git a/clients/python/src/mxgateway/generated/__init__.py b/clients/python/src/zb_mom_ww_mxgateway/generated/__init__.py similarity index 94% rename from clients/python/src/mxgateway/generated/__init__.py rename to clients/python/src/zb_mom_ww_mxgateway/generated/__init__.py index b2730bb..aba91d3 100644 --- a/clients/python/src/mxgateway/generated/__init__.py +++ b/clients/python/src/zb_mom_ww_mxgateway/generated/__init__.py @@ -2,7 +2,7 @@ The Python protobuf generator emits absolute imports between generated modules. This package initializer registers package-local aliases so callers can import -the generated stubs through `mxgateway.generated` without moving the modules to +the generated stubs through `zb_mom_ww_mxgateway.generated` without moving the modules to the top-level import namespace. """ diff --git a/clients/python/src/mxgateway/generated/galaxy_repository_pb2.py b/clients/python/src/zb_mom_ww_mxgateway/generated/galaxy_repository_pb2.py similarity index 96% rename from clients/python/src/mxgateway/generated/galaxy_repository_pb2.py rename to clients/python/src/zb_mom_ww_mxgateway/generated/galaxy_repository_pb2.py index a15dfdf..e87794d 100644 --- a/clients/python/src/mxgateway/generated/galaxy_repository_pb2.py +++ b/clients/python/src/zb_mom_ww_mxgateway/generated/galaxy_repository_pb2.py @@ -26,14 +26,14 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17galaxy_repository.proto\x12\x14galaxy_repository.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x17\n\x15TestConnectionRequest\"!\n\x13TestConnectionReply\x12\n\n\x02ok\x18\x01 \x01(\x08\"\x1a\n\x18GetLastDeployTimeRequest\"b\n\x16GetLastDeployTimeReply\x12\x0f\n\x07present\x18\x01 \x01(\x08\x12\x37\n\x13time_of_last_deploy\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x87\x03\n\x18\x44iscoverHierarchyRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x19\n\x0froot_gobject_id\x18\x03 \x01(\x05H\x00\x12\x17\n\rroot_tag_name\x18\x04 \x01(\tH\x00\x12\x1d\n\x13root_contained_path\x18\x05 \x01(\tH\x00\x12.\n\tmax_depth\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x14\n\x0c\x63\x61tegory_ids\x18\x07 \x03(\x05\x12\x1f\n\x17template_chain_contains\x18\x08 \x03(\t\x12\x15\n\rtag_name_glob\x18\t \x01(\t\x12\x1f\n\x12include_attributes\x18\n \x01(\x08H\x01\x88\x01\x01\x12\x1a\n\x12\x61larm_bearing_only\x18\x0b \x01(\x08\x12\x17\n\x0fhistorized_only\x18\x0c \x01(\x08\x42\x06\n\x04rootB\x15\n\x13_include_attributes\"\x82\x01\n\x16\x44iscoverHierarchyReply\x12\x33\n\x07objects\x18\x01 \x03(\x0b\x32\".galaxy_repository.v1.GalaxyObject\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1a\n\x12total_object_count\x18\x03 \x01(\x05\"U\n\x18WatchDeployEventsRequest\x12\x39\n\x15last_seen_deploy_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdd\x01\n\x0b\x44\x65ployEvent\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12/\n\x0bobserved_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13time_of_last_deploy\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x1btime_of_last_deploy_present\x18\x04 \x01(\x08\x12\x14\n\x0cobject_count\x18\x05 \x01(\x05\x12\x17\n\x0f\x61ttribute_count\x18\x06 \x01(\x05\"\x93\x02\n\x0cGalaxyObject\x12\x12\n\ngobject_id\x18\x01 \x01(\x05\x12\x10\n\x08tag_name\x18\x02 \x01(\t\x12\x16\n\x0e\x63ontained_name\x18\x03 \x01(\t\x12\x13\n\x0b\x62rowse_name\x18\x04 \x01(\t\x12\x19\n\x11parent_gobject_id\x18\x05 \x01(\x05\x12\x0f\n\x07is_area\x18\x06 \x01(\x08\x12\x13\n\x0b\x63\x61tegory_id\x18\x07 \x01(\x05\x12\x1c\n\x14hosted_by_gobject_id\x18\x08 \x01(\x05\x12\x16\n\x0etemplate_chain\x18\t \x03(\t\x12\x39\n\nattributes\x18\n \x03(\x0b\x32%.galaxy_repository.v1.GalaxyAttribute\"\xa8\x02\n\x0fGalaxyAttribute\x12\x16\n\x0e\x61ttribute_name\x18\x01 \x01(\t\x12\x1a\n\x12\x66ull_tag_reference\x18\x02 \x01(\t\x12\x14\n\x0cmx_data_type\x18\x03 \x01(\x05\x12\x16\n\x0e\x64\x61ta_type_name\x18\x04 \x01(\t\x12\x10\n\x08is_array\x18\x05 \x01(\x08\x12\x17\n\x0f\x61rray_dimension\x18\x06 \x01(\x05\x12\x1f\n\x17\x61rray_dimension_present\x18\x07 \x01(\x08\x12\x1d\n\x15mx_attribute_category\x18\x08 \x01(\x05\x12\x1f\n\x17security_classification\x18\t \x01(\x05\x12\x15\n\ris_historized\x18\n \x01(\x08\x12\x10\n\x08is_alarm\x18\x0b \x01(\x08\x32\xcc\x03\n\x10GalaxyRepository\x12h\n\x0eTestConnection\x12+.galaxy_repository.v1.TestConnectionRequest\x1a).galaxy_repository.v1.TestConnectionReply\x12q\n\x11GetLastDeployTime\x12..galaxy_repository.v1.GetLastDeployTimeRequest\x1a,.galaxy_repository.v1.GetLastDeployTimeReply\x12q\n\x11\x44iscoverHierarchy\x12..galaxy_repository.v1.DiscoverHierarchyRequest\x1a,.galaxy_repository.v1.DiscoverHierarchyReply\x12h\n\x11WatchDeployEvents\x12..galaxy_repository.v1.WatchDeployEventsRequest\x1a!.galaxy_repository.v1.DeployEvent0\x01\x42#\xaa\x02 MxGateway.Contracts.Proto.Galaxyb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17galaxy_repository.proto\x12\x14galaxy_repository.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x17\n\x15TestConnectionRequest\"!\n\x13TestConnectionReply\x12\n\n\x02ok\x18\x01 \x01(\x08\"\x1a\n\x18GetLastDeployTimeRequest\"b\n\x16GetLastDeployTimeReply\x12\x0f\n\x07present\x18\x01 \x01(\x08\x12\x37\n\x13time_of_last_deploy\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x87\x03\n\x18\x44iscoverHierarchyRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x19\n\x0froot_gobject_id\x18\x03 \x01(\x05H\x00\x12\x17\n\rroot_tag_name\x18\x04 \x01(\tH\x00\x12\x1d\n\x13root_contained_path\x18\x05 \x01(\tH\x00\x12.\n\tmax_depth\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x14\n\x0c\x63\x61tegory_ids\x18\x07 \x03(\x05\x12\x1f\n\x17template_chain_contains\x18\x08 \x03(\t\x12\x15\n\rtag_name_glob\x18\t \x01(\t\x12\x1f\n\x12include_attributes\x18\n \x01(\x08H\x01\x88\x01\x01\x12\x1a\n\x12\x61larm_bearing_only\x18\x0b \x01(\x08\x12\x17\n\x0fhistorized_only\x18\x0c \x01(\x08\x42\x06\n\x04rootB\x15\n\x13_include_attributes\"\x82\x01\n\x16\x44iscoverHierarchyReply\x12\x33\n\x07objects\x18\x01 \x03(\x0b\x32\".galaxy_repository.v1.GalaxyObject\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1a\n\x12total_object_count\x18\x03 \x01(\x05\"U\n\x18WatchDeployEventsRequest\x12\x39\n\x15last_seen_deploy_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdd\x01\n\x0b\x44\x65ployEvent\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12/\n\x0bobserved_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13time_of_last_deploy\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x1btime_of_last_deploy_present\x18\x04 \x01(\x08\x12\x14\n\x0cobject_count\x18\x05 \x01(\x05\x12\x17\n\x0f\x61ttribute_count\x18\x06 \x01(\x05\"\x93\x02\n\x0cGalaxyObject\x12\x12\n\ngobject_id\x18\x01 \x01(\x05\x12\x10\n\x08tag_name\x18\x02 \x01(\t\x12\x16\n\x0e\x63ontained_name\x18\x03 \x01(\t\x12\x13\n\x0b\x62rowse_name\x18\x04 \x01(\t\x12\x19\n\x11parent_gobject_id\x18\x05 \x01(\x05\x12\x0f\n\x07is_area\x18\x06 \x01(\x08\x12\x13\n\x0b\x63\x61tegory_id\x18\x07 \x01(\x05\x12\x1c\n\x14hosted_by_gobject_id\x18\x08 \x01(\x05\x12\x16\n\x0etemplate_chain\x18\t \x03(\t\x12\x39\n\nattributes\x18\n \x03(\x0b\x32%.galaxy_repository.v1.GalaxyAttribute\"\xa8\x02\n\x0fGalaxyAttribute\x12\x16\n\x0e\x61ttribute_name\x18\x01 \x01(\t\x12\x1a\n\x12\x66ull_tag_reference\x18\x02 \x01(\t\x12\x14\n\x0cmx_data_type\x18\x03 \x01(\x05\x12\x16\n\x0e\x64\x61ta_type_name\x18\x04 \x01(\t\x12\x10\n\x08is_array\x18\x05 \x01(\x08\x12\x17\n\x0f\x61rray_dimension\x18\x06 \x01(\x05\x12\x1f\n\x17\x61rray_dimension_present\x18\x07 \x01(\x08\x12\x1d\n\x15mx_attribute_category\x18\x08 \x01(\x05\x12\x1f\n\x17security_classification\x18\t \x01(\x05\x12\x15\n\ris_historized\x18\n \x01(\x08\x12\x10\n\x08is_alarm\x18\x0b \x01(\x08\x32\xcc\x03\n\x10GalaxyRepository\x12h\n\x0eTestConnection\x12+.galaxy_repository.v1.TestConnectionRequest\x1a).galaxy_repository.v1.TestConnectionReply\x12q\n\x11GetLastDeployTime\x12..galaxy_repository.v1.GetLastDeployTimeRequest\x1a,.galaxy_repository.v1.GetLastDeployTimeReply\x12q\n\x11\x44iscoverHierarchy\x12..galaxy_repository.v1.DiscoverHierarchyRequest\x1a,.galaxy_repository.v1.DiscoverHierarchyReply\x12h\n\x11WatchDeployEvents\x12..galaxy_repository.v1.WatchDeployEventsRequest\x1a!.galaxy_repository.v1.DeployEvent0\x01\x42-\xaa\x02*ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxyb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'galaxy_repository_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\252\002 MxGateway.Contracts.Proto.Galaxy' + _globals['DESCRIPTOR']._serialized_options = b'\252\002*ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxy' _globals['_TESTCONNECTIONREQUEST']._serialized_start=114 _globals['_TESTCONNECTIONREQUEST']._serialized_end=137 _globals['_TESTCONNECTIONREPLY']._serialized_start=139 diff --git a/clients/python/src/mxgateway/generated/galaxy_repository_pb2_grpc.py b/clients/python/src/zb_mom_ww_mxgateway/generated/galaxy_repository_pb2_grpc.py similarity index 86% rename from clients/python/src/mxgateway/generated/galaxy_repository_pb2_grpc.py rename to clients/python/src/zb_mom_ww_mxgateway/generated/galaxy_repository_pb2_grpc.py index 815002b..ac350f5 100644 --- a/clients/python/src/mxgateway/generated/galaxy_repository_pb2_grpc.py +++ b/clients/python/src/zb_mom_ww_mxgateway/generated/galaxy_repository_pb2_grpc.py @@ -26,7 +26,14 @@ if _version_not_supported: class GalaxyRepositoryStub(object): - """Read-only browse over the AVEVA System Platform Galaxy Repository (ZB SQL + """Wire-compatibility policy (ProtobufStyleGuide): this contract evolves + additively only. Never renumber or repurpose an existing field number or + enum value. When a field or enum value is removed, add a `reserved` range + (and `reserved` name) covering it in the same change so a future editor + cannot accidentally reuse the retired tag. There are no `reserved` + declarations today because no field or enum value has ever been removed. + + Read-only browse over the AVEVA System Platform Galaxy Repository (ZB SQL database). Lets clients enumerate the deployed object hierarchy and each object's dynamic attributes so they know what tag references to subscribe to via the MxAccessGateway service. @@ -61,7 +68,14 @@ class GalaxyRepositoryStub(object): class GalaxyRepositoryServicer(object): - """Read-only browse over the AVEVA System Platform Galaxy Repository (ZB SQL + """Wire-compatibility policy (ProtobufStyleGuide): this contract evolves + additively only. Never renumber or repurpose an existing field number or + enum value. When a field or enum value is removed, add a `reserved` range + (and `reserved` name) covering it in the same change so a future editor + cannot accidentally reuse the retired tag. There are no `reserved` + declarations today because no field or enum value has ever been removed. + + Read-only browse over the AVEVA System Platform Galaxy Repository (ZB SQL database). Lets clients enumerate the deployed object hierarchy and each object's dynamic attributes so they know what tag references to subscribe to via the MxAccessGateway service. @@ -129,7 +143,14 @@ def add_GalaxyRepositoryServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class GalaxyRepository(object): - """Read-only browse over the AVEVA System Platform Galaxy Repository (ZB SQL + """Wire-compatibility policy (ProtobufStyleGuide): this contract evolves + additively only. Never renumber or repurpose an existing field number or + enum value. When a field or enum value is removed, add a `reserved` range + (and `reserved` name) covering it in the same change so a future editor + cannot accidentally reuse the retired tag. There are no `reserved` + declarations today because no field or enum value has ever been removed. + + Read-only browse over the AVEVA System Platform Galaxy Repository (ZB SQL database). Lets clients enumerate the deployed object hierarchy and each object's dynamic attributes so they know what tag references to subscribe to via the MxAccessGateway service. diff --git a/clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_gateway_pb2.py b/clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_gateway_pb2.py new file mode 100644 index 0000000..fd4f598 --- /dev/null +++ b/clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_gateway_pb2.py @@ -0,0 +1,245 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: mxaccess_gateway.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'mxaccess_gateway.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16mxaccess_gateway.proto\x12\x13mxaccess_gateway.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"j\n\x18QueryActiveAlarmsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1d\n\x15\x63lient_correlation_id\x18\x02 \x01(\t\x12\x1b\n\x13\x61larm_filter_prefix\x18\x03 \x01(\t\"\x9f\x01\n\x12OpenSessionRequest\x12\x19\n\x11requested_backend\x18\x01 \x01(\t\x12\x1b\n\x13\x63lient_session_name\x18\x02 \x01(\t\x12\x1d\n\x15\x63lient_correlation_id\x18\x03 \x01(\t\x12\x32\n\x0f\x63ommand_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xaa\x02\n\x10OpenSessionReply\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x14\n\x0c\x62\x61\x63kend_name\x18\x02 \x01(\t\x12\x19\n\x11worker_process_id\x18\x03 \x01(\x05\x12\x1f\n\x17worker_protocol_version\x18\x04 \x01(\r\x12\x14\n\x0c\x63\x61pabilities\x18\x05 \x03(\t\x12:\n\x17\x64\x65\x66\x61ult_command_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0fprotocol_status\x18\x07 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\x12 \n\x18gateway_protocol_version\x18\x08 \x01(\r\"H\n\x13\x43loseSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1d\n\x15\x63lient_correlation_id\x18\x02 \x01(\t\"\x9d\x01\n\x11\x43loseSessionReply\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x36\n\x0b\x66inal_state\x18\x02 \x01(\x0e\x32!.mxaccess_gateway.v1.SessionState\x12<\n\x0fprotocol_status\x18\x03 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\"H\n\x13StreamEventsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1d\n\x15\x61\x66ter_worker_sequence\x18\x02 \x01(\x04\"v\n\x10MxCommandRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1d\n\x15\x63lient_correlation_id\x18\x02 \x01(\t\x12/\n\x07\x63ommand\x18\x03 \x01(\x0b\x32\x1e.mxaccess_gateway.v1.MxCommand\"\xc0\x15\n\tMxCommand\x12\x30\n\x04kind\x18\x01 \x01(\x0e\x32\".mxaccess_gateway.v1.MxCommandKind\x12\x38\n\x08register\x18\n \x01(\x0b\x32$.mxaccess_gateway.v1.RegisterCommandH\x00\x12<\n\nunregister\x18\x0b \x01(\x0b\x32&.mxaccess_gateway.v1.UnregisterCommandH\x00\x12\x37\n\x08\x61\x64\x64_item\x18\x0c \x01(\x0b\x32#.mxaccess_gateway.v1.AddItemCommandH\x00\x12\x39\n\tadd_item2\x18\r \x01(\x0b\x32$.mxaccess_gateway.v1.AddItem2CommandH\x00\x12=\n\x0bremove_item\x18\x0e \x01(\x0b\x32&.mxaccess_gateway.v1.RemoveItemCommandH\x00\x12\x34\n\x06\x61\x64vise\x18\x0f \x01(\x0b\x32\".mxaccess_gateway.v1.AdviseCommandH\x00\x12\x39\n\tun_advise\x18\x10 \x01(\x0b\x32$.mxaccess_gateway.v1.UnAdviseCommandH\x00\x12K\n\x12\x61\x64vise_supervisory\x18\x11 \x01(\x0b\x32-.mxaccess_gateway.v1.AdviseSupervisoryCommandH\x00\x12H\n\x11\x61\x64\x64_buffered_item\x18\x12 \x01(\x0b\x32+.mxaccess_gateway.v1.AddBufferedItemCommandH\x00\x12]\n\x1cset_buffered_update_interval\x18\x13 \x01(\x0b\x32\x35.mxaccess_gateway.v1.SetBufferedUpdateIntervalCommandH\x00\x12\x36\n\x07suspend\x18\x14 \x01(\x0b\x32#.mxaccess_gateway.v1.SuspendCommandH\x00\x12\x38\n\x08\x61\x63tivate\x18\x15 \x01(\x0b\x32$.mxaccess_gateway.v1.ActivateCommandH\x00\x12\x32\n\x05write\x18\x16 \x01(\x0b\x32!.mxaccess_gateway.v1.WriteCommandH\x00\x12\x34\n\x06write2\x18\x17 \x01(\x0b\x32\".mxaccess_gateway.v1.Write2CommandH\x00\x12\x41\n\rwrite_secured\x18\x18 \x01(\x0b\x32(.mxaccess_gateway.v1.WriteSecuredCommandH\x00\x12\x43\n\x0ewrite_secured2\x18\x19 \x01(\x0b\x32).mxaccess_gateway.v1.WriteSecured2CommandH\x00\x12I\n\x11\x61uthenticate_user\x18\x1a \x01(\x0b\x32,.mxaccess_gateway.v1.AuthenticateUserCommandH\x00\x12M\n\x14\x61rchestra_user_to_id\x18\x1b \x01(\x0b\x32-.mxaccess_gateway.v1.ArchestrAUserToIdCommandH\x00\x12@\n\radd_item_bulk\x18\x1c \x01(\x0b\x32\'.mxaccess_gateway.v1.AddItemBulkCommandH\x00\x12\x46\n\x10\x61\x64vise_item_bulk\x18\x1d \x01(\x0b\x32*.mxaccess_gateway.v1.AdviseItemBulkCommandH\x00\x12\x46\n\x10remove_item_bulk\x18\x1e \x01(\x0b\x32*.mxaccess_gateway.v1.RemoveItemBulkCommandH\x00\x12K\n\x13un_advise_item_bulk\x18\x1f \x01(\x0b\x32,.mxaccess_gateway.v1.UnAdviseItemBulkCommandH\x00\x12\x43\n\x0esubscribe_bulk\x18 \x01(\x0b\x32).mxaccess_gateway.v1.SubscribeBulkCommandH\x00\x12G\n\x10unsubscribe_bulk\x18! \x01(\x0b\x32+.mxaccess_gateway.v1.UnsubscribeBulkCommandH\x00\x12G\n\x10subscribe_alarms\x18\" \x01(\x0b\x32+.mxaccess_gateway.v1.SubscribeAlarmsCommandH\x00\x12K\n\x12unsubscribe_alarms\x18# \x01(\x0b\x32-.mxaccess_gateway.v1.UnsubscribeAlarmsCommandH\x00\x12Q\n\x19\x61\x63knowledge_alarm_command\x18$ \x01(\x0b\x32,.mxaccess_gateway.v1.AcknowledgeAlarmCommandH\x00\x12T\n\x1bquery_active_alarms_command\x18% \x01(\x0b\x32-.mxaccess_gateway.v1.QueryActiveAlarmsCommandH\x00\x12_\n!acknowledge_alarm_by_name_command\x18& \x01(\x0b\x32\x32.mxaccess_gateway.v1.AcknowledgeAlarmByNameCommandH\x00\x12;\n\nwrite_bulk\x18\' \x01(\x0b\x32%.mxaccess_gateway.v1.WriteBulkCommandH\x00\x12=\n\x0bwrite2_bulk\x18( \x01(\x0b\x32&.mxaccess_gateway.v1.Write2BulkCommandH\x00\x12J\n\x12write_secured_bulk\x18) \x01(\x0b\x32,.mxaccess_gateway.v1.WriteSecuredBulkCommandH\x00\x12L\n\x13write_secured2_bulk\x18* \x01(\x0b\x32-.mxaccess_gateway.v1.WriteSecured2BulkCommandH\x00\x12\x39\n\tread_bulk\x18+ \x01(\x0b\x32$.mxaccess_gateway.v1.ReadBulkCommandH\x00\x12\x30\n\x04ping\x18\x64 \x01(\x0b\x32 .mxaccess_gateway.v1.PingCommandH\x00\x12H\n\x11get_session_state\x18\x65 \x01(\x0b\x32+.mxaccess_gateway.v1.GetSessionStateCommandH\x00\x12\x44\n\x0fget_worker_info\x18\x66 \x01(\x0b\x32).mxaccess_gateway.v1.GetWorkerInfoCommandH\x00\x12?\n\x0c\x64rain_events\x18g \x01(\x0b\x32\'.mxaccess_gateway.v1.DrainEventsCommandH\x00\x12\x45\n\x0fshutdown_worker\x18h \x01(\x0b\x32*.mxaccess_gateway.v1.ShutdownWorkerCommandH\x00\x42\t\n\x07payload\"&\n\x0fRegisterCommand\x12\x13\n\x0b\x63lient_name\x18\x01 \x01(\t\"*\n\x11UnregisterCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\"@\n\x0e\x41\x64\x64ItemCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x17\n\x0fitem_definition\x18\x02 \x01(\t\"W\n\x0f\x41\x64\x64Item2Command\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x17\n\x0fitem_definition\x18\x02 \x01(\t\x12\x14\n\x0citem_context\x18\x03 \x01(\t\"?\n\x11RemoveItemCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\";\n\rAdviseCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"=\n\x0fUnAdviseCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"F\n\x18\x41\x64viseSupervisoryCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"^\n\x16\x41\x64\x64\x42ufferedItemCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x17\n\x0fitem_definition\x18\x02 \x01(\t\x12\x14\n\x0citem_context\x18\x03 \x01(\t\"_\n SetBufferedUpdateIntervalCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12$\n\x1cupdate_interval_milliseconds\x18\x02 \x01(\x05\"<\n\x0eSuspendCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"=\n\x0f\x41\x63tivateCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\"x\n\x0cWriteCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\x12+\n\x05value\x18\x03 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x0f\n\x07user_id\x18\x04 \x01(\x05\"\xb0\x01\n\rWrite2Command\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\x12+\n\x05value\x18\x03 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x35\n\x0ftimestamp_value\x18\x04 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x0f\n\x07user_id\x18\x05 \x01(\x05\"\xa1\x01\n\x13WriteSecuredCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\x12\x17\n\x0f\x63urrent_user_id\x18\x03 \x01(\x05\x12\x18\n\x10verifier_user_id\x18\x04 \x01(\x05\x12+\n\x05value\x18\x05 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"\xd9\x01\n\x14WriteSecured2Command\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\x12\x17\n\x0f\x63urrent_user_id\x18\x03 \x01(\x05\x12\x18\n\x10verifier_user_id\x18\x04 \x01(\x05\x12+\n\x05value\x18\x05 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x35\n\x0ftimestamp_value\x18\x06 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"c\n\x17\x41uthenticateUserCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bverify_user\x18\x02 \x01(\t\x12\x1c\n\x14verify_user_password\x18\x03 \x01(\t\"G\n\x18\x41rchestrAUserToIdCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0cuser_id_guid\x18\x02 \x01(\t\"B\n\x12\x41\x64\x64ItemBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x15\n\rtag_addresses\x18\x02 \x03(\t\"D\n\x15\x41\x64viseItemBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0citem_handles\x18\x02 \x03(\x05\"D\n\x15RemoveItemBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0citem_handles\x18\x02 \x03(\x05\"F\n\x17UnAdviseItemBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0citem_handles\x18\x02 \x03(\x05\"D\n\x14SubscribeBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x15\n\rtag_addresses\x18\x02 \x03(\t\"9\n\x16SubscribeAlarmsCommand\x12\x1f\n\x17subscription_expression\x18\x01 \x01(\t\"\x1a\n\x18UnsubscribeAlarmsCommand\"\xa1\x01\n\x17\x41\x63knowledgeAlarmCommand\x12\x12\n\nalarm_guid\x18\x01 \x01(\t\x12\x0f\n\x07\x63omment\x18\x02 \x01(\t\x12\x15\n\roperator_user\x18\x03 \x01(\t\x12\x15\n\roperator_node\x18\x04 \x01(\t\x12\x17\n\x0foperator_domain\x18\x05 \x01(\t\x12\x1a\n\x12operator_full_name\x18\x06 \x01(\t\"7\n\x18QueryActiveAlarmsCommand\x12\x1b\n\x13\x61larm_filter_prefix\x18\x01 \x01(\t\"\xd2\x01\n\x1d\x41\x63knowledgeAlarmByNameCommand\x12\x12\n\nalarm_name\x18\x01 \x01(\t\x12\x15\n\rprovider_name\x18\x02 \x01(\t\x12\x12\n\ngroup_name\x18\x03 \x01(\t\x12\x0f\n\x07\x63omment\x18\x04 \x01(\t\x12\x15\n\roperator_user\x18\x05 \x01(\t\x12\x15\n\roperator_node\x18\x06 \x01(\t\x12\x17\n\x0foperator_domain\x18\x07 \x01(\t\x12\x1a\n\x12operator_full_name\x18\x08 \x01(\t\"E\n\x16UnsubscribeBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x14\n\x0citem_handles\x18\x02 \x03(\x05\"_\n\x10WriteBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x34\n\x07\x65ntries\x18\x02 \x03(\x0b\x32#.mxaccess_gateway.v1.WriteBulkEntry\"c\n\x0eWriteBulkEntry\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x0f\n\x07user_id\x18\x03 \x01(\x05\"a\n\x11Write2BulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x35\n\x07\x65ntries\x18\x02 \x03(\x0b\x32$.mxaccess_gateway.v1.Write2BulkEntry\"\x9b\x01\n\x0fWrite2BulkEntry\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x35\n\x0ftimestamp_value\x18\x03 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x0f\n\x07user_id\x18\x04 \x01(\x05\"m\n\x17WriteSecuredBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12;\n\x07\x65ntries\x18\x02 \x03(\x0b\x32*.mxaccess_gateway.v1.WriteSecuredBulkEntry\"\x8c\x01\n\x15WriteSecuredBulkEntry\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\x12\x17\n\x0f\x63urrent_user_id\x18\x02 \x01(\x05\x12\x18\n\x10verifier_user_id\x18\x03 \x01(\x05\x12+\n\x05value\x18\x04 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"o\n\x18WriteSecured2BulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12<\n\x07\x65ntries\x18\x02 \x03(\x0b\x32+.mxaccess_gateway.v1.WriteSecured2BulkEntry\"\xc4\x01\n\x16WriteSecured2BulkEntry\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\x12\x17\n\x0f\x63urrent_user_id\x18\x02 \x01(\x05\x12\x18\n\x10verifier_user_id\x18\x03 \x01(\x05\x12+\n\x05value\x18\x04 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x35\n\x0ftimestamp_value\x18\x05 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"S\n\x0fReadBulkCommand\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x15\n\rtag_addresses\x18\x02 \x03(\t\x12\x12\n\ntimeout_ms\x18\x03 \x01(\r\"\x1e\n\x0bPingCommand\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x18\n\x16GetSessionStateCommand\"\x16\n\x14GetWorkerInfoCommand\"(\n\x12\x44rainEventsCommand\x12\x12\n\nmax_events\x18\x01 \x01(\r\"H\n\x15ShutdownWorkerCommand\x12/\n\x0cgrace_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x86\x0f\n\x0eMxCommandReply\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x16\n\x0e\x63orrelation_id\x18\x02 \x01(\t\x12\x30\n\x04kind\x18\x03 \x01(\x0e\x32\".mxaccess_gateway.v1.MxCommandKind\x12<\n\x0fprotocol_status\x18\x04 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\x12\x14\n\x07hresult\x18\x05 \x01(\x05H\x01\x88\x01\x01\x12\x32\n\x0creturn_value\x18\x06 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x34\n\x08statuses\x18\x07 \x03(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\x12\x1a\n\x12\x64iagnostic_message\x18\x08 \x01(\t\x12\x36\n\x08register\x18\x14 \x01(\x0b\x32\".mxaccess_gateway.v1.RegisterReplyH\x00\x12\x35\n\x08\x61\x64\x64_item\x18\x15 \x01(\x0b\x32!.mxaccess_gateway.v1.AddItemReplyH\x00\x12\x37\n\tadd_item2\x18\x16 \x01(\x0b\x32\".mxaccess_gateway.v1.AddItem2ReplyH\x00\x12\x46\n\x11\x61\x64\x64_buffered_item\x18\x17 \x01(\x0b\x32).mxaccess_gateway.v1.AddBufferedItemReplyH\x00\x12\x34\n\x07suspend\x18\x18 \x01(\x0b\x32!.mxaccess_gateway.v1.SuspendReplyH\x00\x12\x36\n\x08\x61\x63tivate\x18\x19 \x01(\x0b\x32\".mxaccess_gateway.v1.ActivateReplyH\x00\x12G\n\x11\x61uthenticate_user\x18\x1a \x01(\x0b\x32*.mxaccess_gateway.v1.AuthenticateUserReplyH\x00\x12K\n\x14\x61rchestra_user_to_id\x18\x1b \x01(\x0b\x32+.mxaccess_gateway.v1.ArchestrAUserToIdReplyH\x00\x12@\n\radd_item_bulk\x18\x1c \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x43\n\x10\x61\x64vise_item_bulk\x18\x1d \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x43\n\x10remove_item_bulk\x18\x1e \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x46\n\x13un_advise_item_bulk\x18\x1f \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x41\n\x0esubscribe_bulk\x18 \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12\x43\n\x10unsubscribe_bulk\x18! \x01(\x0b\x32\'.mxaccess_gateway.v1.BulkSubscribeReplyH\x00\x12N\n\x11\x61\x63knowledge_alarm\x18\" \x01(\x0b\x32\x31.mxaccess_gateway.v1.AcknowledgeAlarmReplyPayloadH\x00\x12Q\n\x13query_active_alarms\x18# \x01(\x0b\x32\x32.mxaccess_gateway.v1.QueryActiveAlarmsReplyPayloadH\x00\x12\x39\n\nwrite_bulk\x18$ \x01(\x0b\x32#.mxaccess_gateway.v1.BulkWriteReplyH\x00\x12:\n\x0bwrite2_bulk\x18% \x01(\x0b\x32#.mxaccess_gateway.v1.BulkWriteReplyH\x00\x12\x41\n\x12write_secured_bulk\x18& \x01(\x0b\x32#.mxaccess_gateway.v1.BulkWriteReplyH\x00\x12\x42\n\x13write_secured2_bulk\x18\' \x01(\x0b\x32#.mxaccess_gateway.v1.BulkWriteReplyH\x00\x12\x37\n\tread_bulk\x18( \x01(\x0b\x32\".mxaccess_gateway.v1.BulkReadReplyH\x00\x12?\n\rsession_state\x18\x64 \x01(\x0b\x32&.mxaccess_gateway.v1.SessionStateReplyH\x00\x12;\n\x0bworker_info\x18\x65 \x01(\x0b\x32$.mxaccess_gateway.v1.WorkerInfoReplyH\x00\x12=\n\x0c\x64rain_events\x18\x66 \x01(\x0b\x32%.mxaccess_gateway.v1.DrainEventsReplyH\x00\x42\t\n\x07payloadB\n\n\x08_hresult\"&\n\rRegisterReply\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\"#\n\x0c\x41\x64\x64ItemReply\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\"$\n\rAddItem2Reply\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\"+\n\x14\x41\x64\x64\x42ufferedItemReply\x12\x13\n\x0bitem_handle\x18\x01 \x01(\x05\"B\n\x0cSuspendReply\x12\x32\n\x06status\x18\x01 \x01(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\"C\n\rActivateReply\x12\x32\n\x06status\x18\x01 \x01(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\"(\n\x15\x41uthenticateUserReply\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\")\n\x16\x41rchestrAUserToIdReply\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\"\x81\x01\n\x0fSubscribeResult\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0btag_address\x18\x02 \x01(\t\x12\x13\n\x0bitem_handle\x18\x03 \x01(\x05\x12\x16\n\x0ewas_successful\x18\x04 \x01(\x08\x12\x15\n\rerror_message\x18\x05 \x01(\t\"K\n\x12\x42ulkSubscribeReply\x12\x35\n\x07results\x18\x01 \x03(\x0b\x32$.mxaccess_gateway.v1.SubscribeResult\"\xc4\x01\n\x0f\x42ulkWriteResult\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x02 \x01(\x05\x12\x16\n\x0ewas_successful\x18\x03 \x01(\x08\x12\x14\n\x07hresult\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x34\n\x08statuses\x18\x05 \x03(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\x12\x15\n\rerror_message\x18\x06 \x01(\tB\n\n\x08_hresult\"G\n\x0e\x42ulkWriteReply\x12\x35\n\x07results\x18\x01 \x03(\x0b\x32$.mxaccess_gateway.v1.BulkWriteResult\"\xbe\x02\n\x0e\x42ulkReadResult\x12\x15\n\rserver_handle\x18\x01 \x01(\x05\x12\x13\n\x0btag_address\x18\x02 \x01(\t\x12\x13\n\x0bitem_handle\x18\x03 \x01(\x05\x12\x16\n\x0ewas_successful\x18\x04 \x01(\x08\x12\x12\n\nwas_cached\x18\x05 \x01(\x08\x12+\n\x05value\x18\x06 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x0f\n\x07quality\x18\x07 \x01(\x05\x12\x34\n\x10source_timestamp\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x08statuses\x18\t \x03(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\x12\x15\n\rerror_message\x18\n \x01(\t\"E\n\rBulkReadReply\x12\x34\n\x07results\x18\x01 \x03(\x0b\x32#.mxaccess_gateway.v1.BulkReadResult\"E\n\x11SessionStateReply\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32!.mxaccess_gateway.v1.SessionState\"u\n\x0fWorkerInfoReply\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12\x16\n\x0eworker_version\x18\x02 \x01(\t\x12\x17\n\x0fmxaccess_progid\x18\x03 \x01(\t\x12\x16\n\x0emxaccess_clsid\x18\x04 \x01(\t\"@\n\x10\x44rainEventsReply\x12,\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x1c.mxaccess_gateway.v1.MxEvent\"5\n\x1c\x41\x63knowledgeAlarmReplyPayload\x12\x15\n\rnative_status\x18\x01 \x01(\x05\"\\\n\x1dQueryActiveAlarmsReplyPayload\x12;\n\tsnapshots\x18\x01 \x03(\x0b\x32(.mxaccess_gateway.v1.ActiveAlarmSnapshot\"\xe7\x06\n\x07MxEvent\x12\x32\n\x06\x66\x61mily\x18\x01 \x01(\x0e\x32\".mxaccess_gateway.v1.MxEventFamily\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x15\n\rserver_handle\x18\x03 \x01(\x05\x12\x13\n\x0bitem_handle\x18\x04 \x01(\x05\x12+\n\x05value\x18\x05 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x0f\n\x07quality\x18\x06 \x01(\x05\x12\x34\n\x10source_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x08statuses\x18\x08 \x03(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\x12\x17\n\x0fworker_sequence\x18\t \x01(\x04\x12\x34\n\x10worker_timestamp\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x19gateway_receive_timestamp\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x07hresult\x18\x0c \x01(\x05H\x01\x88\x01\x01\x12\x12\n\nraw_status\x18\r \x01(\t\x12@\n\x0eon_data_change\x18\x14 \x01(\x0b\x32&.mxaccess_gateway.v1.OnDataChangeEventH\x00\x12\x46\n\x11on_write_complete\x18\x15 \x01(\x0b\x32).mxaccess_gateway.v1.OnWriteCompleteEventH\x00\x12I\n\x12operation_complete\x18\x16 \x01(\x0b\x32+.mxaccess_gateway.v1.OperationCompleteEventH\x00\x12Q\n\x17on_buffered_data_change\x18\x17 \x01(\x0b\x32..mxaccess_gateway.v1.OnBufferedDataChangeEventH\x00\x12J\n\x13on_alarm_transition\x18\x18 \x01(\x0b\x32+.mxaccess_gateway.v1.OnAlarmTransitionEventH\x00\x42\x06\n\x04\x62odyB\n\n\x08_hresult\"\x13\n\x11OnDataChangeEvent\"\x16\n\x14OnWriteCompleteEvent\"\x18\n\x16OperationCompleteEvent\"\xd4\x01\n\x19OnBufferedDataChangeEvent\x12\x32\n\tdata_type\x18\x01 \x01(\x0e\x32\x1f.mxaccess_gateway.v1.MxDataType\x12\x34\n\x0equality_values\x18\x02 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxArray\x12\x36\n\x10timestamp_values\x18\x03 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxArray\x12\x15\n\rraw_data_type\x18\x04 \x01(\x05\"\xfd\x03\n\x16OnAlarmTransitionEvent\x12\x1c\n\x14\x61larm_full_reference\x18\x01 \x01(\t\x12\x1f\n\x17source_object_reference\x18\x02 \x01(\t\x12\x17\n\x0f\x61larm_type_name\x18\x03 \x01(\t\x12\x41\n\x0ftransition_kind\x18\x04 \x01(\x0e\x32(.mxaccess_gateway.v1.AlarmTransitionKind\x12\x10\n\x08severity\x18\x05 \x01(\x05\x12<\n\x18original_raise_timestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14transition_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\roperator_user\x18\x08 \x01(\t\x12\x18\n\x10operator_comment\x18\t \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\n \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0b \x01(\t\x12\x33\n\rcurrent_value\x18\x0c \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x31\n\x0blimit_value\x18\r \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"\xfd\x03\n\x13\x41\x63tiveAlarmSnapshot\x12\x1c\n\x14\x61larm_full_reference\x18\x01 \x01(\t\x12\x1f\n\x17source_object_reference\x18\x02 \x01(\t\x12\x17\n\x0f\x61larm_type_name\x18\x03 \x01(\t\x12\x10\n\x08severity\x18\x04 \x01(\x05\x12<\n\x18original_raise_timestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\rcurrent_state\x18\x06 \x01(\x0e\x32(.mxaccess_gateway.v1.AlarmConditionState\x12\x10\n\x08\x63\x61tegory\x18\x07 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12=\n\x19last_transition_timestamp\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\roperator_user\x18\n \x01(\t\x12\x18\n\x10operator_comment\x18\x0b \x01(\t\x12\x33\n\rcurrent_value\x18\x0c \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\x12\x31\n\x0blimit_value\x18\r \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxValue\"\x90\x01\n\x17\x41\x63knowledgeAlarmRequest\x12\x1d\n\x15\x63lient_correlation_id\x18\x02 \x01(\t\x12\x1c\n\x14\x61larm_full_reference\x18\x03 \x01(\t\x12\x0f\n\x07\x63omment\x18\x04 \x01(\t\x12\x15\n\roperator_user\x18\x05 \x01(\tJ\x04\x08\x01\x10\x02R\nsession_id\"\xf1\x01\n\x15\x41\x63knowledgeAlarmReply\x12\x16\n\x0e\x63orrelation_id\x18\x02 \x01(\t\x12<\n\x0fprotocol_status\x18\x03 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\x12\x14\n\x07hresult\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x32\n\x06status\x18\x05 \x01(\x0b\x32\".mxaccess_gateway.v1.MxStatusProxy\x12\x1a\n\x12\x64iagnostic_message\x18\x06 \x01(\tB\n\n\x08_hresultJ\x04\x08\x01\x10\x02R\nsession_id\"Q\n\x13StreamAlarmsRequest\x12\x1d\n\x15\x63lient_correlation_id\x18\x01 \x01(\t\x12\x1b\n\x13\x61larm_filter_prefix\x18\x02 \x01(\t\"\xbf\x01\n\x10\x41larmFeedMessage\x12@\n\x0c\x61\x63tive_alarm\x18\x01 \x01(\x0b\x32(.mxaccess_gateway.v1.ActiveAlarmSnapshotH\x00\x12\x1b\n\x11snapshot_complete\x18\x02 \x01(\x08H\x00\x12\x41\n\ntransition\x18\x03 \x01(\x0b\x32+.mxaccess_gateway.v1.OnAlarmTransitionEventH\x00\x42\t\n\x07payload\"\xeb\x01\n\rMxStatusProxy\x12\x0f\n\x07success\x18\x01 \x01(\x05\x12\x37\n\x08\x63\x61tegory\x18\x02 \x01(\x0e\x32%.mxaccess_gateway.v1.MxStatusCategory\x12\x38\n\x0b\x64\x65tected_by\x18\x03 \x01(\x0e\x32#.mxaccess_gateway.v1.MxStatusSource\x12\x0e\n\x06\x64\x65tail\x18\x04 \x01(\x05\x12\x14\n\x0craw_category\x18\x05 \x01(\x05\x12\x17\n\x0fraw_detected_by\x18\x06 \x01(\x05\x12\x17\n\x0f\x64iagnostic_text\x18\x07 \x01(\t\"\xa7\x03\n\x07MxValue\x12\x32\n\tdata_type\x18\x01 \x01(\x0e\x32\x1f.mxaccess_gateway.v1.MxDataType\x12\x14\n\x0cvariant_type\x18\x02 \x01(\t\x12\x0f\n\x07is_null\x18\x03 \x01(\x08\x12\x16\n\x0eraw_diagnostic\x18\x04 \x01(\t\x12\x15\n\rraw_data_type\x18\x05 \x01(\x05\x12\x14\n\nbool_value\x18\n \x01(\x08H\x00\x12\x15\n\x0bint32_value\x18\x0b \x01(\x05H\x00\x12\x15\n\x0bint64_value\x18\x0c \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\r \x01(\x02H\x00\x12\x16\n\x0c\x64ouble_value\x18\x0e \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x0f \x01(\tH\x00\x12\x35\n\x0ftimestamp_value\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x33\n\x0b\x61rray_value\x18\x11 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxArrayH\x00\x12\x13\n\traw_value\x18\x12 \x01(\x0cH\x00\x42\x06\n\x04kind\"\xfe\x04\n\x07MxArray\x12:\n\x11\x65lement_data_type\x18\x01 \x01(\x0e\x32\x1f.mxaccess_gateway.v1.MxDataType\x12\x14\n\x0cvariant_type\x18\x02 \x01(\t\x12\x12\n\ndimensions\x18\x03 \x03(\r\x12\x16\n\x0eraw_diagnostic\x18\x04 \x01(\t\x12\x1d\n\x15raw_element_data_type\x18\x05 \x01(\x05\x12\x35\n\x0b\x62ool_values\x18\n \x01(\x0b\x32\x1e.mxaccess_gateway.v1.BoolArrayH\x00\x12\x37\n\x0cint32_values\x18\x0b \x01(\x0b\x32\x1f.mxaccess_gateway.v1.Int32ArrayH\x00\x12\x37\n\x0cint64_values\x18\x0c \x01(\x0b\x32\x1f.mxaccess_gateway.v1.Int64ArrayH\x00\x12\x37\n\x0c\x66loat_values\x18\r \x01(\x0b\x32\x1f.mxaccess_gateway.v1.FloatArrayH\x00\x12\x39\n\rdouble_values\x18\x0e \x01(\x0b\x32 .mxaccess_gateway.v1.DoubleArrayH\x00\x12\x39\n\rstring_values\x18\x0f \x01(\x0b\x32 .mxaccess_gateway.v1.StringArrayH\x00\x12?\n\x10timestamp_values\x18\x10 \x01(\x0b\x32#.mxaccess_gateway.v1.TimestampArrayH\x00\x12\x33\n\nraw_values\x18\x11 \x01(\x0b\x32\x1d.mxaccess_gateway.v1.RawArrayH\x00\x42\x08\n\x06values\"\x1b\n\tBoolArray\x12\x0e\n\x06values\x18\x01 \x03(\x08\"\x1c\n\nInt32Array\x12\x0e\n\x06values\x18\x01 \x03(\x05\"\x1c\n\nInt64Array\x12\x0e\n\x06values\x18\x01 \x03(\x03\"\x1c\n\nFloatArray\x12\x0e\n\x06values\x18\x01 \x03(\x02\"\x1d\n\x0b\x44oubleArray\x12\x0e\n\x06values\x18\x01 \x03(\x01\"\x1d\n\x0bStringArray\x12\x0e\n\x06values\x18\x01 \x03(\t\"<\n\x0eTimestampArray\x12*\n\x06values\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1a\n\x08RawArray\x12\x0e\n\x06values\x18\x01 \x03(\x0c\"X\n\x0eProtocolStatus\x12\x35\n\x04\x63ode\x18\x01 \x01(\x0e\x32\'.mxaccess_gateway.v1.ProtocolStatusCode\x12\x0f\n\x07message\x18\x02 \x01(\t*\x9f\x0b\n\rMxCommandKind\x12\x1f\n\x1bMX_COMMAND_KIND_UNSPECIFIED\x10\x00\x12\x1c\n\x18MX_COMMAND_KIND_REGISTER\x10\x01\x12\x1e\n\x1aMX_COMMAND_KIND_UNREGISTER\x10\x02\x12\x1c\n\x18MX_COMMAND_KIND_ADD_ITEM\x10\x03\x12\x1d\n\x19MX_COMMAND_KIND_ADD_ITEM2\x10\x04\x12\x1f\n\x1bMX_COMMAND_KIND_REMOVE_ITEM\x10\x05\x12\x1a\n\x16MX_COMMAND_KIND_ADVISE\x10\x06\x12\x1d\n\x19MX_COMMAND_KIND_UN_ADVISE\x10\x07\x12&\n\"MX_COMMAND_KIND_ADVISE_SUPERVISORY\x10\x08\x12%\n!MX_COMMAND_KIND_ADD_BUFFERED_ITEM\x10\t\x12\x30\n,MX_COMMAND_KIND_SET_BUFFERED_UPDATE_INTERVAL\x10\n\x12\x1b\n\x17MX_COMMAND_KIND_SUSPEND\x10\x0b\x12\x1c\n\x18MX_COMMAND_KIND_ACTIVATE\x10\x0c\x12\x19\n\x15MX_COMMAND_KIND_WRITE\x10\r\x12\x1a\n\x16MX_COMMAND_KIND_WRITE2\x10\x0e\x12!\n\x1dMX_COMMAND_KIND_WRITE_SECURED\x10\x0f\x12\"\n\x1eMX_COMMAND_KIND_WRITE_SECURED2\x10\x10\x12%\n!MX_COMMAND_KIND_AUTHENTICATE_USER\x10\x11\x12(\n$MX_COMMAND_KIND_ARCHESTRA_USER_TO_ID\x10\x12\x12!\n\x1dMX_COMMAND_KIND_ADD_ITEM_BULK\x10\x13\x12$\n MX_COMMAND_KIND_ADVISE_ITEM_BULK\x10\x14\x12$\n MX_COMMAND_KIND_REMOVE_ITEM_BULK\x10\x15\x12\'\n#MX_COMMAND_KIND_UN_ADVISE_ITEM_BULK\x10\x16\x12\"\n\x1eMX_COMMAND_KIND_SUBSCRIBE_BULK\x10\x17\x12$\n MX_COMMAND_KIND_UNSUBSCRIBE_BULK\x10\x18\x12$\n MX_COMMAND_KIND_SUBSCRIBE_ALARMS\x10\x19\x12&\n\"MX_COMMAND_KIND_UNSUBSCRIBE_ALARMS\x10\x1a\x12%\n!MX_COMMAND_KIND_ACKNOWLEDGE_ALARM\x10\x1b\x12\'\n#MX_COMMAND_KIND_QUERY_ACTIVE_ALARMS\x10\x1c\x12-\n)MX_COMMAND_KIND_ACKNOWLEDGE_ALARM_BY_NAME\x10\x1d\x12\x1e\n\x1aMX_COMMAND_KIND_WRITE_BULK\x10\x1e\x12\x1f\n\x1bMX_COMMAND_KIND_WRITE2_BULK\x10\x1f\x12&\n\"MX_COMMAND_KIND_WRITE_SECURED_BULK\x10 \x12\'\n#MX_COMMAND_KIND_WRITE_SECURED2_BULK\x10!\x12\x1d\n\x19MX_COMMAND_KIND_READ_BULK\x10\"\x12\x18\n\x14MX_COMMAND_KIND_PING\x10\x64\x12%\n!MX_COMMAND_KIND_GET_SESSION_STATE\x10\x65\x12#\n\x1fMX_COMMAND_KIND_GET_WORKER_INFO\x10\x66\x12 \n\x1cMX_COMMAND_KIND_DRAIN_EVENTS\x10g\x12#\n\x1fMX_COMMAND_KIND_SHUTDOWN_WORKER\x10h*\xf9\x01\n\rMxEventFamily\x12\x1f\n\x1bMX_EVENT_FAMILY_UNSPECIFIED\x10\x00\x12\"\n\x1eMX_EVENT_FAMILY_ON_DATA_CHANGE\x10\x01\x12%\n!MX_EVENT_FAMILY_ON_WRITE_COMPLETE\x10\x02\x12&\n\"MX_EVENT_FAMILY_OPERATION_COMPLETE\x10\x03\x12+\n\'MX_EVENT_FAMILY_ON_BUFFERED_DATA_CHANGE\x10\x04\x12\'\n#MX_EVENT_FAMILY_ON_ALARM_TRANSITION\x10\x05*\xca\x01\n\x13\x41larmTransitionKind\x12%\n!ALARM_TRANSITION_KIND_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41LARM_TRANSITION_KIND_RAISE\x10\x01\x12%\n!ALARM_TRANSITION_KIND_ACKNOWLEDGE\x10\x02\x12\x1f\n\x1b\x41LARM_TRANSITION_KIND_CLEAR\x10\x03\x12#\n\x1f\x41LARM_TRANSITION_KIND_RETRIGGER\x10\x04*\xaa\x01\n\x13\x41larmConditionState\x12%\n!ALARM_CONDITION_STATE_UNSPECIFIED\x10\x00\x12 \n\x1c\x41LARM_CONDITION_STATE_ACTIVE\x10\x01\x12&\n\"ALARM_CONDITION_STATE_ACTIVE_ACKED\x10\x02\x12\"\n\x1e\x41LARM_CONDITION_STATE_INACTIVE\x10\x03*\xa5\x03\n\x10MxStatusCategory\x12\"\n\x1eMX_STATUS_CATEGORY_UNSPECIFIED\x10\x00\x12\x1e\n\x1aMX_STATUS_CATEGORY_UNKNOWN\x10\x01\x12\x19\n\x15MX_STATUS_CATEGORY_OK\x10\x02\x12\x1e\n\x1aMX_STATUS_CATEGORY_PENDING\x10\x03\x12\x1e\n\x1aMX_STATUS_CATEGORY_WARNING\x10\x04\x12*\n&MX_STATUS_CATEGORY_COMMUNICATION_ERROR\x10\x05\x12*\n&MX_STATUS_CATEGORY_CONFIGURATION_ERROR\x10\x06\x12(\n$MX_STATUS_CATEGORY_OPERATIONAL_ERROR\x10\x07\x12%\n!MX_STATUS_CATEGORY_SECURITY_ERROR\x10\x08\x12%\n!MX_STATUS_CATEGORY_SOFTWARE_ERROR\x10\t\x12\"\n\x1eMX_STATUS_CATEGORY_OTHER_ERROR\x10\n*\xca\x02\n\x0eMxStatusSource\x12 \n\x1cMX_STATUS_SOURCE_UNSPECIFIED\x10\x00\x12\x1c\n\x18MX_STATUS_SOURCE_UNKNOWN\x10\x01\x12#\n\x1fMX_STATUS_SOURCE_REQUESTING_LMX\x10\x02\x12#\n\x1fMX_STATUS_SOURCE_RESPONDING_LMX\x10\x03\x12#\n\x1fMX_STATUS_SOURCE_REQUESTING_NMX\x10\x04\x12#\n\x1fMX_STATUS_SOURCE_RESPONDING_NMX\x10\x05\x12\x31\n-MX_STATUS_SOURCE_REQUESTING_AUTOMATION_OBJECT\x10\x06\x12\x31\n-MX_STATUS_SOURCE_RESPONDING_AUTOMATION_OBJECT\x10\x07*\xdd\x04\n\nMxDataType\x12\x1c\n\x18MX_DATA_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14MX_DATA_TYPE_UNKNOWN\x10\x01\x12\x18\n\x14MX_DATA_TYPE_NO_DATA\x10\x02\x12\x18\n\x14MX_DATA_TYPE_BOOLEAN\x10\x03\x12\x18\n\x14MX_DATA_TYPE_INTEGER\x10\x04\x12\x16\n\x12MX_DATA_TYPE_FLOAT\x10\x05\x12\x17\n\x13MX_DATA_TYPE_DOUBLE\x10\x06\x12\x17\n\x13MX_DATA_TYPE_STRING\x10\x07\x12\x15\n\x11MX_DATA_TYPE_TIME\x10\x08\x12\x1d\n\x19MX_DATA_TYPE_ELAPSED_TIME\x10\t\x12\x1f\n\x1bMX_DATA_TYPE_REFERENCE_TYPE\x10\n\x12\x1c\n\x18MX_DATA_TYPE_STATUS_TYPE\x10\x0b\x12\x15\n\x11MX_DATA_TYPE_ENUM\x10\x0c\x12-\n)MX_DATA_TYPE_SECURITY_CLASSIFICATION_ENUM\x10\r\x12\"\n\x1eMX_DATA_TYPE_DATA_QUALITY_TYPE\x10\x0e\x12\x1f\n\x1bMX_DATA_TYPE_QUALIFIED_ENUM\x10\x0f\x12!\n\x1dMX_DATA_TYPE_QUALIFIED_STRUCT\x10\x10\x12)\n%MX_DATA_TYPE_INTERNATIONALIZED_STRING\x10\x11\x12\x1b\n\x17MX_DATA_TYPE_BIG_STRING\x10\x12\x12\x14\n\x10MX_DATA_TYPE_END\x10\x13*\xa3\x03\n\x12ProtocolStatusCode\x12$\n PROTOCOL_STATUS_CODE_UNSPECIFIED\x10\x00\x12\x1b\n\x17PROTOCOL_STATUS_CODE_OK\x10\x01\x12(\n$PROTOCOL_STATUS_CODE_INVALID_REQUEST\x10\x02\x12*\n&PROTOCOL_STATUS_CODE_SESSION_NOT_FOUND\x10\x03\x12*\n&PROTOCOL_STATUS_CODE_SESSION_NOT_READY\x10\x04\x12+\n\'PROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE\x10\x05\x12 \n\x1cPROTOCOL_STATUS_CODE_TIMEOUT\x10\x06\x12!\n\x1dPROTOCOL_STATUS_CODE_CANCELED\x10\x07\x12+\n\'PROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION\x10\x08\x12)\n%PROTOCOL_STATUS_CODE_MXACCESS_FAILURE\x10\t*\xbf\x02\n\x0cSessionState\x12\x1d\n\x19SESSION_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16SESSION_STATE_CREATING\x10\x01\x12!\n\x1dSESSION_STATE_STARTING_WORKER\x10\x02\x12\"\n\x1eSESSION_STATE_WAITING_FOR_PIPE\x10\x03\x12\x1d\n\x19SESSION_STATE_HANDSHAKING\x10\x04\x12%\n!SESSION_STATE_INITIALIZING_WORKER\x10\x05\x12\x17\n\x13SESSION_STATE_READY\x10\x06\x12\x19\n\x15SESSION_STATE_CLOSING\x10\x07\x12\x18\n\x14SESSION_STATE_CLOSED\x10\x08\x12\x19\n\x15SESSION_STATE_FAULTED\x10\t2\xc3\x05\n\x0fMxAccessGateway\x12]\n\x0bOpenSession\x12\'.mxaccess_gateway.v1.OpenSessionRequest\x1a%.mxaccess_gateway.v1.OpenSessionReply\x12`\n\x0c\x43loseSession\x12(.mxaccess_gateway.v1.CloseSessionRequest\x1a&.mxaccess_gateway.v1.CloseSessionReply\x12T\n\x06Invoke\x12%.mxaccess_gateway.v1.MxCommandRequest\x1a#.mxaccess_gateway.v1.MxCommandReply\x12X\n\x0cStreamEvents\x12(.mxaccess_gateway.v1.StreamEventsRequest\x1a\x1c.mxaccess_gateway.v1.MxEvent0\x01\x12l\n\x10\x41\x63knowledgeAlarm\x12,.mxaccess_gateway.v1.AcknowledgeAlarmRequest\x1a*.mxaccess_gateway.v1.AcknowledgeAlarmReply\x12\x61\n\x0cStreamAlarms\x12(.mxaccess_gateway.v1.StreamAlarmsRequest\x1a%.mxaccess_gateway.v1.AlarmFeedMessage0\x01\x12n\n\x11QueryActiveAlarms\x12-.mxaccess_gateway.v1.QueryActiveAlarmsRequest\x1a(.mxaccess_gateway.v1.ActiveAlarmSnapshot0\x01\x42&\xaa\x02#ZB.MOM.WW.MxGateway.Contracts.Protob\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mxaccess_gateway_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\252\002#ZB.MOM.WW.MxGateway.Contracts.Proto' + _globals['_MXCOMMANDKIND']._serialized_start=15897 + _globals['_MXCOMMANDKIND']._serialized_end=17336 + _globals['_MXEVENTFAMILY']._serialized_start=17339 + _globals['_MXEVENTFAMILY']._serialized_end=17588 + _globals['_ALARMTRANSITIONKIND']._serialized_start=17591 + _globals['_ALARMTRANSITIONKIND']._serialized_end=17793 + _globals['_ALARMCONDITIONSTATE']._serialized_start=17796 + _globals['_ALARMCONDITIONSTATE']._serialized_end=17966 + _globals['_MXSTATUSCATEGORY']._serialized_start=17969 + _globals['_MXSTATUSCATEGORY']._serialized_end=18390 + _globals['_MXSTATUSSOURCE']._serialized_start=18393 + _globals['_MXSTATUSSOURCE']._serialized_end=18723 + _globals['_MXDATATYPE']._serialized_start=18726 + _globals['_MXDATATYPE']._serialized_end=19331 + _globals['_PROTOCOLSTATUSCODE']._serialized_start=19334 + _globals['_PROTOCOLSTATUSCODE']._serialized_end=19753 + _globals['_SESSIONSTATE']._serialized_start=19756 + _globals['_SESSIONSTATE']._serialized_end=20075 + _globals['_QUERYACTIVEALARMSREQUEST']._serialized_start=112 + _globals['_QUERYACTIVEALARMSREQUEST']._serialized_end=218 + _globals['_OPENSESSIONREQUEST']._serialized_start=221 + _globals['_OPENSESSIONREQUEST']._serialized_end=380 + _globals['_OPENSESSIONREPLY']._serialized_start=383 + _globals['_OPENSESSIONREPLY']._serialized_end=681 + _globals['_CLOSESESSIONREQUEST']._serialized_start=683 + _globals['_CLOSESESSIONREQUEST']._serialized_end=755 + _globals['_CLOSESESSIONREPLY']._serialized_start=758 + _globals['_CLOSESESSIONREPLY']._serialized_end=915 + _globals['_STREAMEVENTSREQUEST']._serialized_start=917 + _globals['_STREAMEVENTSREQUEST']._serialized_end=989 + _globals['_MXCOMMANDREQUEST']._serialized_start=991 + _globals['_MXCOMMANDREQUEST']._serialized_end=1109 + _globals['_MXCOMMAND']._serialized_start=1112 + _globals['_MXCOMMAND']._serialized_end=3864 + _globals['_REGISTERCOMMAND']._serialized_start=3866 + _globals['_REGISTERCOMMAND']._serialized_end=3904 + _globals['_UNREGISTERCOMMAND']._serialized_start=3906 + _globals['_UNREGISTERCOMMAND']._serialized_end=3948 + _globals['_ADDITEMCOMMAND']._serialized_start=3950 + _globals['_ADDITEMCOMMAND']._serialized_end=4014 + _globals['_ADDITEM2COMMAND']._serialized_start=4016 + _globals['_ADDITEM2COMMAND']._serialized_end=4103 + _globals['_REMOVEITEMCOMMAND']._serialized_start=4105 + _globals['_REMOVEITEMCOMMAND']._serialized_end=4168 + _globals['_ADVISECOMMAND']._serialized_start=4170 + _globals['_ADVISECOMMAND']._serialized_end=4229 + _globals['_UNADVISECOMMAND']._serialized_start=4231 + _globals['_UNADVISECOMMAND']._serialized_end=4292 + _globals['_ADVISESUPERVISORYCOMMAND']._serialized_start=4294 + _globals['_ADVISESUPERVISORYCOMMAND']._serialized_end=4364 + _globals['_ADDBUFFEREDITEMCOMMAND']._serialized_start=4366 + _globals['_ADDBUFFEREDITEMCOMMAND']._serialized_end=4460 + _globals['_SETBUFFEREDUPDATEINTERVALCOMMAND']._serialized_start=4462 + _globals['_SETBUFFEREDUPDATEINTERVALCOMMAND']._serialized_end=4557 + _globals['_SUSPENDCOMMAND']._serialized_start=4559 + _globals['_SUSPENDCOMMAND']._serialized_end=4619 + _globals['_ACTIVATECOMMAND']._serialized_start=4621 + _globals['_ACTIVATECOMMAND']._serialized_end=4682 + _globals['_WRITECOMMAND']._serialized_start=4684 + _globals['_WRITECOMMAND']._serialized_end=4804 + _globals['_WRITE2COMMAND']._serialized_start=4807 + _globals['_WRITE2COMMAND']._serialized_end=4983 + _globals['_WRITESECUREDCOMMAND']._serialized_start=4986 + _globals['_WRITESECUREDCOMMAND']._serialized_end=5147 + _globals['_WRITESECURED2COMMAND']._serialized_start=5150 + _globals['_WRITESECURED2COMMAND']._serialized_end=5367 + _globals['_AUTHENTICATEUSERCOMMAND']._serialized_start=5369 + _globals['_AUTHENTICATEUSERCOMMAND']._serialized_end=5468 + _globals['_ARCHESTRAUSERTOIDCOMMAND']._serialized_start=5470 + _globals['_ARCHESTRAUSERTOIDCOMMAND']._serialized_end=5541 + _globals['_ADDITEMBULKCOMMAND']._serialized_start=5543 + _globals['_ADDITEMBULKCOMMAND']._serialized_end=5609 + _globals['_ADVISEITEMBULKCOMMAND']._serialized_start=5611 + _globals['_ADVISEITEMBULKCOMMAND']._serialized_end=5679 + _globals['_REMOVEITEMBULKCOMMAND']._serialized_start=5681 + _globals['_REMOVEITEMBULKCOMMAND']._serialized_end=5749 + _globals['_UNADVISEITEMBULKCOMMAND']._serialized_start=5751 + _globals['_UNADVISEITEMBULKCOMMAND']._serialized_end=5821 + _globals['_SUBSCRIBEBULKCOMMAND']._serialized_start=5823 + _globals['_SUBSCRIBEBULKCOMMAND']._serialized_end=5891 + _globals['_SUBSCRIBEALARMSCOMMAND']._serialized_start=5893 + _globals['_SUBSCRIBEALARMSCOMMAND']._serialized_end=5950 + _globals['_UNSUBSCRIBEALARMSCOMMAND']._serialized_start=5952 + _globals['_UNSUBSCRIBEALARMSCOMMAND']._serialized_end=5978 + _globals['_ACKNOWLEDGEALARMCOMMAND']._serialized_start=5981 + _globals['_ACKNOWLEDGEALARMCOMMAND']._serialized_end=6142 + _globals['_QUERYACTIVEALARMSCOMMAND']._serialized_start=6144 + _globals['_QUERYACTIVEALARMSCOMMAND']._serialized_end=6199 + _globals['_ACKNOWLEDGEALARMBYNAMECOMMAND']._serialized_start=6202 + _globals['_ACKNOWLEDGEALARMBYNAMECOMMAND']._serialized_end=6412 + _globals['_UNSUBSCRIBEBULKCOMMAND']._serialized_start=6414 + _globals['_UNSUBSCRIBEBULKCOMMAND']._serialized_end=6483 + _globals['_WRITEBULKCOMMAND']._serialized_start=6485 + _globals['_WRITEBULKCOMMAND']._serialized_end=6580 + _globals['_WRITEBULKENTRY']._serialized_start=6582 + _globals['_WRITEBULKENTRY']._serialized_end=6681 + _globals['_WRITE2BULKCOMMAND']._serialized_start=6683 + _globals['_WRITE2BULKCOMMAND']._serialized_end=6780 + _globals['_WRITE2BULKENTRY']._serialized_start=6783 + _globals['_WRITE2BULKENTRY']._serialized_end=6938 + _globals['_WRITESECUREDBULKCOMMAND']._serialized_start=6940 + _globals['_WRITESECUREDBULKCOMMAND']._serialized_end=7049 + _globals['_WRITESECUREDBULKENTRY']._serialized_start=7052 + _globals['_WRITESECUREDBULKENTRY']._serialized_end=7192 + _globals['_WRITESECURED2BULKCOMMAND']._serialized_start=7194 + _globals['_WRITESECURED2BULKCOMMAND']._serialized_end=7305 + _globals['_WRITESECURED2BULKENTRY']._serialized_start=7308 + _globals['_WRITESECURED2BULKENTRY']._serialized_end=7504 + _globals['_READBULKCOMMAND']._serialized_start=7506 + _globals['_READBULKCOMMAND']._serialized_end=7589 + _globals['_PINGCOMMAND']._serialized_start=7591 + _globals['_PINGCOMMAND']._serialized_end=7621 + _globals['_GETSESSIONSTATECOMMAND']._serialized_start=7623 + _globals['_GETSESSIONSTATECOMMAND']._serialized_end=7647 + _globals['_GETWORKERINFOCOMMAND']._serialized_start=7649 + _globals['_GETWORKERINFOCOMMAND']._serialized_end=7671 + _globals['_DRAINEVENTSCOMMAND']._serialized_start=7673 + _globals['_DRAINEVENTSCOMMAND']._serialized_end=7713 + _globals['_SHUTDOWNWORKERCOMMAND']._serialized_start=7715 + _globals['_SHUTDOWNWORKERCOMMAND']._serialized_end=7787 + _globals['_MXCOMMANDREPLY']._serialized_start=7790 + _globals['_MXCOMMANDREPLY']._serialized_end=9716 + _globals['_REGISTERREPLY']._serialized_start=9718 + _globals['_REGISTERREPLY']._serialized_end=9756 + _globals['_ADDITEMREPLY']._serialized_start=9758 + _globals['_ADDITEMREPLY']._serialized_end=9793 + _globals['_ADDITEM2REPLY']._serialized_start=9795 + _globals['_ADDITEM2REPLY']._serialized_end=9831 + _globals['_ADDBUFFEREDITEMREPLY']._serialized_start=9833 + _globals['_ADDBUFFEREDITEMREPLY']._serialized_end=9876 + _globals['_SUSPENDREPLY']._serialized_start=9878 + _globals['_SUSPENDREPLY']._serialized_end=9944 + _globals['_ACTIVATEREPLY']._serialized_start=9946 + _globals['_ACTIVATEREPLY']._serialized_end=10013 + _globals['_AUTHENTICATEUSERREPLY']._serialized_start=10015 + _globals['_AUTHENTICATEUSERREPLY']._serialized_end=10055 + _globals['_ARCHESTRAUSERTOIDREPLY']._serialized_start=10057 + _globals['_ARCHESTRAUSERTOIDREPLY']._serialized_end=10098 + _globals['_SUBSCRIBERESULT']._serialized_start=10101 + _globals['_SUBSCRIBERESULT']._serialized_end=10230 + _globals['_BULKSUBSCRIBEREPLY']._serialized_start=10232 + _globals['_BULKSUBSCRIBEREPLY']._serialized_end=10307 + _globals['_BULKWRITERESULT']._serialized_start=10310 + _globals['_BULKWRITERESULT']._serialized_end=10506 + _globals['_BULKWRITEREPLY']._serialized_start=10508 + _globals['_BULKWRITEREPLY']._serialized_end=10579 + _globals['_BULKREADRESULT']._serialized_start=10582 + _globals['_BULKREADRESULT']._serialized_end=10900 + _globals['_BULKREADREPLY']._serialized_start=10902 + _globals['_BULKREADREPLY']._serialized_end=10971 + _globals['_SESSIONSTATEREPLY']._serialized_start=10973 + _globals['_SESSIONSTATEREPLY']._serialized_end=11042 + _globals['_WORKERINFOREPLY']._serialized_start=11044 + _globals['_WORKERINFOREPLY']._serialized_end=11161 + _globals['_DRAINEVENTSREPLY']._serialized_start=11163 + _globals['_DRAINEVENTSREPLY']._serialized_end=11227 + _globals['_ACKNOWLEDGEALARMREPLYPAYLOAD']._serialized_start=11229 + _globals['_ACKNOWLEDGEALARMREPLYPAYLOAD']._serialized_end=11282 + _globals['_QUERYACTIVEALARMSREPLYPAYLOAD']._serialized_start=11284 + _globals['_QUERYACTIVEALARMSREPLYPAYLOAD']._serialized_end=11376 + _globals['_MXEVENT']._serialized_start=11379 + _globals['_MXEVENT']._serialized_end=12250 + _globals['_ONDATACHANGEEVENT']._serialized_start=12252 + _globals['_ONDATACHANGEEVENT']._serialized_end=12271 + _globals['_ONWRITECOMPLETEEVENT']._serialized_start=12273 + _globals['_ONWRITECOMPLETEEVENT']._serialized_end=12295 + _globals['_OPERATIONCOMPLETEEVENT']._serialized_start=12297 + _globals['_OPERATIONCOMPLETEEVENT']._serialized_end=12321 + _globals['_ONBUFFEREDDATACHANGEEVENT']._serialized_start=12324 + _globals['_ONBUFFEREDDATACHANGEEVENT']._serialized_end=12536 + _globals['_ONALARMTRANSITIONEVENT']._serialized_start=12539 + _globals['_ONALARMTRANSITIONEVENT']._serialized_end=13048 + _globals['_ACTIVEALARMSNAPSHOT']._serialized_start=13051 + _globals['_ACTIVEALARMSNAPSHOT']._serialized_end=13560 + _globals['_ACKNOWLEDGEALARMREQUEST']._serialized_start=13563 + _globals['_ACKNOWLEDGEALARMREQUEST']._serialized_end=13707 + _globals['_ACKNOWLEDGEALARMREPLY']._serialized_start=13710 + _globals['_ACKNOWLEDGEALARMREPLY']._serialized_end=13951 + _globals['_STREAMALARMSREQUEST']._serialized_start=13953 + _globals['_STREAMALARMSREQUEST']._serialized_end=14034 + _globals['_ALARMFEEDMESSAGE']._serialized_start=14037 + _globals['_ALARMFEEDMESSAGE']._serialized_end=14228 + _globals['_MXSTATUSPROXY']._serialized_start=14231 + _globals['_MXSTATUSPROXY']._serialized_end=14466 + _globals['_MXVALUE']._serialized_start=14469 + _globals['_MXVALUE']._serialized_end=14892 + _globals['_MXARRAY']._serialized_start=14895 + _globals['_MXARRAY']._serialized_end=15533 + _globals['_BOOLARRAY']._serialized_start=15535 + _globals['_BOOLARRAY']._serialized_end=15562 + _globals['_INT32ARRAY']._serialized_start=15564 + _globals['_INT32ARRAY']._serialized_end=15592 + _globals['_INT64ARRAY']._serialized_start=15594 + _globals['_INT64ARRAY']._serialized_end=15622 + _globals['_FLOATARRAY']._serialized_start=15624 + _globals['_FLOATARRAY']._serialized_end=15652 + _globals['_DOUBLEARRAY']._serialized_start=15654 + _globals['_DOUBLEARRAY']._serialized_end=15683 + _globals['_STRINGARRAY']._serialized_start=15685 + _globals['_STRINGARRAY']._serialized_end=15714 + _globals['_TIMESTAMPARRAY']._serialized_start=15716 + _globals['_TIMESTAMPARRAY']._serialized_end=15776 + _globals['_RAWARRAY']._serialized_start=15778 + _globals['_RAWARRAY']._serialized_end=15804 + _globals['_PROTOCOLSTATUS']._serialized_start=15806 + _globals['_PROTOCOLSTATUS']._serialized_end=15894 + _globals['_MXACCESSGATEWAY']._serialized_start=20078 + _globals['_MXACCESSGATEWAY']._serialized_end=20785 +# @@protoc_insertion_point(module_scope) diff --git a/clients/python/src/mxgateway/generated/mxaccess_gateway_pb2_grpc.py b/clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_gateway_pb2_grpc.py similarity index 76% rename from clients/python/src/mxgateway/generated/mxaccess_gateway_pb2_grpc.py rename to clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_gateway_pb2_grpc.py index f6bea10..782dd8a 100644 --- a/clients/python/src/mxgateway/generated/mxaccess_gateway_pb2_grpc.py +++ b/clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_gateway_pb2_grpc.py @@ -26,7 +26,13 @@ if _version_not_supported: class MxAccessGatewayStub(object): - """Public client API for MXAccess sessions hosted by the gateway. + """Wire-compatibility policy (ProtobufStyleGuide): this contract evolves + additively only. Never renumber or repurpose an existing field number or + enum value. When a field or enum value is removed, add a `reserved` range + (and `reserved` name) covering it in the same change so a future editor + cannot accidentally reuse the retired tag. + + Public client API for MXAccess sessions hosted by the gateway. """ def __init__(self, channel): @@ -60,6 +66,11 @@ class MxAccessGatewayStub(object): request_serializer=mxaccess__gateway__pb2.AcknowledgeAlarmRequest.SerializeToString, response_deserializer=mxaccess__gateway__pb2.AcknowledgeAlarmReply.FromString, _registered_method=True) + self.StreamAlarms = channel.unary_stream( + '/mxaccess_gateway.v1.MxAccessGateway/StreamAlarms', + request_serializer=mxaccess__gateway__pb2.StreamAlarmsRequest.SerializeToString, + response_deserializer=mxaccess__gateway__pb2.AlarmFeedMessage.FromString, + _registered_method=True) self.QueryActiveAlarms = channel.unary_stream( '/mxaccess_gateway.v1.MxAccessGateway/QueryActiveAlarms', request_serializer=mxaccess__gateway__pb2.QueryActiveAlarmsRequest.SerializeToString, @@ -68,7 +79,13 @@ class MxAccessGatewayStub(object): class MxAccessGatewayServicer(object): - """Public client API for MXAccess sessions hosted by the gateway. + """Wire-compatibility policy (ProtobufStyleGuide): this contract evolves + additively only. Never renumber or repurpose an existing field number or + enum value. When a field or enum value is removed, add a `reserved` range + (and `reserved` name) covering it in the same change so a future editor + cannot accidentally reuse the retired tag. + + Public client API for MXAccess sessions hosted by the gateway. """ def OpenSession(self, request, context): @@ -101,8 +118,24 @@ class MxAccessGatewayServicer(object): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def StreamAlarms(self, request, context): + """Session-less central alarm feed. The stream opens with the current + active-alarm snapshot (one `active_alarm` per alarm), then a single + `snapshot_complete`, then a `transition` for every subsequent change. + Served by the gateway's always-on alarm monitor; any number of clients + fan out from the single monitor without opening a worker session. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def QueryActiveAlarms(self, request, context): - """Missing associated documentation comment in .proto file.""" + """Point-in-time snapshot of the currently-active alarm set served from the + gateway's always-on alarm monitor cache (session-less). Used after a + reconnect to seed Part 9 client state, or to reconcile alarms that may + have been missed during a transport blip. Streamed so callers can + begin processing without buffering the full set. + """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -135,6 +168,11 @@ def add_MxAccessGatewayServicer_to_server(servicer, server): request_deserializer=mxaccess__gateway__pb2.AcknowledgeAlarmRequest.FromString, response_serializer=mxaccess__gateway__pb2.AcknowledgeAlarmReply.SerializeToString, ), + 'StreamAlarms': grpc.unary_stream_rpc_method_handler( + servicer.StreamAlarms, + request_deserializer=mxaccess__gateway__pb2.StreamAlarmsRequest.FromString, + response_serializer=mxaccess__gateway__pb2.AlarmFeedMessage.SerializeToString, + ), 'QueryActiveAlarms': grpc.unary_stream_rpc_method_handler( servicer.QueryActiveAlarms, request_deserializer=mxaccess__gateway__pb2.QueryActiveAlarmsRequest.FromString, @@ -149,7 +187,13 @@ def add_MxAccessGatewayServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class MxAccessGateway(object): - """Public client API for MXAccess sessions hosted by the gateway. + """Wire-compatibility policy (ProtobufStyleGuide): this contract evolves + additively only. Never renumber or repurpose an existing field number or + enum value. When a field or enum value is removed, add a `reserved` range + (and `reserved` name) covering it in the same change so a future editor + cannot accidentally reuse the retired tag. + + Public client API for MXAccess sessions hosted by the gateway. """ @staticmethod @@ -287,6 +331,33 @@ class MxAccessGateway(object): metadata, _registered_method=True) + @staticmethod + def StreamAlarms(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/mxaccess_gateway.v1.MxAccessGateway/StreamAlarms', + mxaccess__gateway__pb2.StreamAlarmsRequest.SerializeToString, + mxaccess__gateway__pb2.AlarmFeedMessage.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + @staticmethod def QueryActiveAlarms(request, target, diff --git a/clients/python/src/mxgateway/generated/mxaccess_worker_pb2.py b/clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_worker_pb2.py similarity index 97% rename from clients/python/src/mxgateway/generated/mxaccess_worker_pb2.py rename to clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_worker_pb2.py index a9c9f70..9344395 100644 --- a/clients/python/src/mxgateway/generated/mxaccess_worker_pb2.py +++ b/clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_worker_pb2.py @@ -27,14 +27,14 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__ import mxaccess_gateway_pb2 as mxaccess__gateway__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15mxaccess_worker.proto\x12\x12mxaccess_worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16mxaccess_gateway.proto\"\x95\x06\n\x0eWorkerEnvelope\x12\x18\n\x10protocol_version\x18\x01 \x01(\r\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x16\n\x0e\x63orrelation_id\x18\x04 \x01(\t\x12\x39\n\rgateway_hello\x18\n \x01(\x0b\x32 .mxaccess_worker.v1.GatewayHelloH\x00\x12\x37\n\x0cworker_hello\x18\x0b \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerHelloH\x00\x12\x37\n\x0cworker_ready\x18\x0c \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerReadyH\x00\x12;\n\x0eworker_command\x18\r \x01(\x0b\x32!.mxaccess_worker.v1.WorkerCommandH\x00\x12\x46\n\x14worker_command_reply\x18\x0e \x01(\x0b\x32&.mxaccess_worker.v1.WorkerCommandReplyH\x00\x12\x39\n\rworker_cancel\x18\x0f \x01(\x0b\x32 .mxaccess_worker.v1.WorkerCancelH\x00\x12=\n\x0fworker_shutdown\x18\x10 \x01(\x0b\x32\".mxaccess_worker.v1.WorkerShutdownH\x00\x12\x44\n\x13worker_shutdown_ack\x18\x11 \x01(\x0b\x32%.mxaccess_worker.v1.WorkerShutdownAckH\x00\x12\x37\n\x0cworker_event\x18\x12 \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerEventH\x00\x12?\n\x10worker_heartbeat\x18\x13 \x01(\x0b\x32#.mxaccess_worker.v1.WorkerHeartbeatH\x00\x12\x37\n\x0cworker_fault\x18\x14 \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerFaultH\x00\x42\x06\n\x04\x62ody\"Z\n\x0cGatewayHello\x12\"\n\x1asupported_protocol_version\x18\x01 \x01(\r\x12\r\n\x05nonce\x18\x02 \x01(\t\x12\x17\n\x0fgateway_version\x18\x03 \x01(\t\"i\n\x0bWorkerHello\x12\x18\n\x10protocol_version\x18\x01 \x01(\r\x12\r\n\x05nonce\x18\x02 \x01(\t\x12\x19\n\x11worker_process_id\x18\x03 \x01(\x05\x12\x16\n\x0eworker_version\x18\x04 \x01(\t\"\x8e\x01\n\x0bWorkerReady\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12\x17\n\x0fmxaccess_progid\x18\x02 \x01(\t\x12\x16\n\x0emxaccess_clsid\x18\x03 \x01(\t\x12\x33\n\x0fready_timestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"w\n\rWorkerCommand\x12/\n\x07\x63ommand\x18\x01 \x01(\x0b\x32\x1e.mxaccess_gateway.v1.MxCommand\x12\x35\n\x11\x65nqueue_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x81\x01\n\x12WorkerCommandReply\x12\x32\n\x05reply\x18\x01 \x01(\x0b\x32#.mxaccess_gateway.v1.MxCommandReply\x12\x37\n\x13\x63ompleted_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1e\n\x0cWorkerCancel\x12\x0e\n\x06reason\x18\x01 \x01(\t\"Q\n\x0eWorkerShutdown\x12/\n\x0cgrace_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06reason\x18\x02 \x01(\t\"H\n\x11WorkerShutdownAck\x12\x33\n\x06status\x18\x01 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\":\n\x0bWorkerEvent\x12+\n\x05\x65vent\x18\x01 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxEvent\"\xa5\x02\n\x0fWorkerHeartbeat\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12.\n\x05state\x18\x02 \x01(\x0e\x32\x1f.mxaccess_worker.v1.WorkerState\x12?\n\x1blast_sta_activity_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15pending_command_count\x18\x04 \x01(\r\x12\"\n\x1aoutbound_event_queue_depth\x18\x05 \x01(\r\x12\x1b\n\x13last_event_sequence\x18\x06 \x01(\x04\x12&\n\x1e\x63urrent_command_correlation_id\x18\x07 \x01(\t\"\xf4\x01\n\x0bWorkerFault\x12\x39\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32\'.mxaccess_worker.v1.WorkerFaultCategory\x12\x16\n\x0e\x63ommand_method\x18\x02 \x01(\t\x12\x14\n\x07hresult\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\x0e\x65xception_type\x18\x04 \x01(\t\x12\x1a\n\x12\x64iagnostic_message\x18\x05 \x01(\t\x12<\n\x0fprotocol_status\x18\x06 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatusB\n\n\x08_hresult*\x97\x02\n\x0bWorkerState\x12\x1c\n\x18WORKER_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATE_STARTING\x10\x01\x12\x1c\n\x18WORKER_STATE_HANDSHAKING\x10\x02\x12!\n\x1dWORKER_STATE_INITIALIZING_STA\x10\x03\x12\x16\n\x12WORKER_STATE_READY\x10\x04\x12\"\n\x1eWORKER_STATE_EXECUTING_COMMAND\x10\x05\x12\x1e\n\x1aWORKER_STATE_SHUTTING_DOWN\x10\x06\x12\x18\n\x14WORKER_STATE_STOPPED\x10\x07\x12\x18\n\x14WORKER_STATE_FAULTED\x10\x08*\xc7\x04\n\x13WorkerFaultCategory\x12%\n!WORKER_FAULT_CATEGORY_UNSPECIFIED\x10\x00\x12+\n\'WORKER_FAULT_CATEGORY_INVALID_ARGUMENTS\x10\x01\x12\x37\n3WORKER_FAULT_CATEGORY_GATEWAY_AUTHENTICATION_FAILED\x10\x02\x12+\n\'WORKER_FAULT_CATEGORY_PROTOCOL_MISMATCH\x10\x03\x12,\n(WORKER_FAULT_CATEGORY_PROTOCOL_VIOLATION\x10\x04\x12+\n\'WORKER_FAULT_CATEGORY_PIPE_DISCONNECTED\x10\x05\x12\x32\n.WORKER_FAULT_CATEGORY_MXACCESS_CREATION_FAILED\x10\x06\x12\x31\n-WORKER_FAULT_CATEGORY_MXACCESS_COMMAND_FAILED\x10\x07\x12:\n6WORKER_FAULT_CATEGORY_MXACCESS_EVENT_CONVERSION_FAILED\x10\x08\x12\"\n\x1eWORKER_FAULT_CATEGORY_STA_HUNG\x10\t\x12(\n$WORKER_FAULT_CATEGORY_QUEUE_OVERFLOW\x10\n\x12*\n&WORKER_FAULT_CATEGORY_SHUTDOWN_TIMEOUT\x10\x0b\x42\x1c\xaa\x02\x19MxGateway.Contracts.Protob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15mxaccess_worker.proto\x12\x12mxaccess_worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16mxaccess_gateway.proto\"\x95\x06\n\x0eWorkerEnvelope\x12\x18\n\x10protocol_version\x18\x01 \x01(\r\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x16\n\x0e\x63orrelation_id\x18\x04 \x01(\t\x12\x39\n\rgateway_hello\x18\n \x01(\x0b\x32 .mxaccess_worker.v1.GatewayHelloH\x00\x12\x37\n\x0cworker_hello\x18\x0b \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerHelloH\x00\x12\x37\n\x0cworker_ready\x18\x0c \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerReadyH\x00\x12;\n\x0eworker_command\x18\r \x01(\x0b\x32!.mxaccess_worker.v1.WorkerCommandH\x00\x12\x46\n\x14worker_command_reply\x18\x0e \x01(\x0b\x32&.mxaccess_worker.v1.WorkerCommandReplyH\x00\x12\x39\n\rworker_cancel\x18\x0f \x01(\x0b\x32 .mxaccess_worker.v1.WorkerCancelH\x00\x12=\n\x0fworker_shutdown\x18\x10 \x01(\x0b\x32\".mxaccess_worker.v1.WorkerShutdownH\x00\x12\x44\n\x13worker_shutdown_ack\x18\x11 \x01(\x0b\x32%.mxaccess_worker.v1.WorkerShutdownAckH\x00\x12\x37\n\x0cworker_event\x18\x12 \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerEventH\x00\x12?\n\x10worker_heartbeat\x18\x13 \x01(\x0b\x32#.mxaccess_worker.v1.WorkerHeartbeatH\x00\x12\x37\n\x0cworker_fault\x18\x14 \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerFaultH\x00\x42\x06\n\x04\x62ody\"Z\n\x0cGatewayHello\x12\"\n\x1asupported_protocol_version\x18\x01 \x01(\r\x12\r\n\x05nonce\x18\x02 \x01(\t\x12\x17\n\x0fgateway_version\x18\x03 \x01(\t\"i\n\x0bWorkerHello\x12\x18\n\x10protocol_version\x18\x01 \x01(\r\x12\r\n\x05nonce\x18\x02 \x01(\t\x12\x19\n\x11worker_process_id\x18\x03 \x01(\x05\x12\x16\n\x0eworker_version\x18\x04 \x01(\t\"\x8e\x01\n\x0bWorkerReady\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12\x17\n\x0fmxaccess_progid\x18\x02 \x01(\t\x12\x16\n\x0emxaccess_clsid\x18\x03 \x01(\t\x12\x33\n\x0fready_timestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"w\n\rWorkerCommand\x12/\n\x07\x63ommand\x18\x01 \x01(\x0b\x32\x1e.mxaccess_gateway.v1.MxCommand\x12\x35\n\x11\x65nqueue_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x81\x01\n\x12WorkerCommandReply\x12\x32\n\x05reply\x18\x01 \x01(\x0b\x32#.mxaccess_gateway.v1.MxCommandReply\x12\x37\n\x13\x63ompleted_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1e\n\x0cWorkerCancel\x12\x0e\n\x06reason\x18\x01 \x01(\t\"Q\n\x0eWorkerShutdown\x12/\n\x0cgrace_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06reason\x18\x02 \x01(\t\"H\n\x11WorkerShutdownAck\x12\x33\n\x06status\x18\x01 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\":\n\x0bWorkerEvent\x12+\n\x05\x65vent\x18\x01 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxEvent\"\xa5\x02\n\x0fWorkerHeartbeat\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12.\n\x05state\x18\x02 \x01(\x0e\x32\x1f.mxaccess_worker.v1.WorkerState\x12?\n\x1blast_sta_activity_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15pending_command_count\x18\x04 \x01(\r\x12\"\n\x1aoutbound_event_queue_depth\x18\x05 \x01(\r\x12\x1b\n\x13last_event_sequence\x18\x06 \x01(\x04\x12&\n\x1e\x63urrent_command_correlation_id\x18\x07 \x01(\t\"\xf4\x01\n\x0bWorkerFault\x12\x39\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32\'.mxaccess_worker.v1.WorkerFaultCategory\x12\x16\n\x0e\x63ommand_method\x18\x02 \x01(\t\x12\x14\n\x07hresult\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\x0e\x65xception_type\x18\x04 \x01(\t\x12\x1a\n\x12\x64iagnostic_message\x18\x05 \x01(\t\x12<\n\x0fprotocol_status\x18\x06 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatusB\n\n\x08_hresult*\x97\x02\n\x0bWorkerState\x12\x1c\n\x18WORKER_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATE_STARTING\x10\x01\x12\x1c\n\x18WORKER_STATE_HANDSHAKING\x10\x02\x12!\n\x1dWORKER_STATE_INITIALIZING_STA\x10\x03\x12\x16\n\x12WORKER_STATE_READY\x10\x04\x12\"\n\x1eWORKER_STATE_EXECUTING_COMMAND\x10\x05\x12\x1e\n\x1aWORKER_STATE_SHUTTING_DOWN\x10\x06\x12\x18\n\x14WORKER_STATE_STOPPED\x10\x07\x12\x18\n\x14WORKER_STATE_FAULTED\x10\x08*\xc7\x04\n\x13WorkerFaultCategory\x12%\n!WORKER_FAULT_CATEGORY_UNSPECIFIED\x10\x00\x12+\n\'WORKER_FAULT_CATEGORY_INVALID_ARGUMENTS\x10\x01\x12\x37\n3WORKER_FAULT_CATEGORY_GATEWAY_AUTHENTICATION_FAILED\x10\x02\x12+\n\'WORKER_FAULT_CATEGORY_PROTOCOL_MISMATCH\x10\x03\x12,\n(WORKER_FAULT_CATEGORY_PROTOCOL_VIOLATION\x10\x04\x12+\n\'WORKER_FAULT_CATEGORY_PIPE_DISCONNECTED\x10\x05\x12\x32\n.WORKER_FAULT_CATEGORY_MXACCESS_CREATION_FAILED\x10\x06\x12\x31\n-WORKER_FAULT_CATEGORY_MXACCESS_COMMAND_FAILED\x10\x07\x12:\n6WORKER_FAULT_CATEGORY_MXACCESS_EVENT_CONVERSION_FAILED\x10\x08\x12\"\n\x1eWORKER_FAULT_CATEGORY_STA_HUNG\x10\t\x12(\n$WORKER_FAULT_CATEGORY_QUEUE_OVERFLOW\x10\n\x12*\n&WORKER_FAULT_CATEGORY_SHUTDOWN_TIMEOUT\x10\x0b\x42&\xaa\x02#ZB.MOM.WW.MxGateway.Contracts.Protob\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mxaccess_worker_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\252\002\031MxGateway.Contracts.Proto' + _globals['DESCRIPTOR']._serialized_options = b'\252\002#ZB.MOM.WW.MxGateway.Contracts.Proto' _globals['_WORKERSTATE']._serialized_start=2316 _globals['_WORKERSTATE']._serialized_end=2595 _globals['_WORKERFAULTCATEGORY']._serialized_start=2598 diff --git a/clients/python/src/mxgateway/generated/mxaccess_worker_pb2_grpc.py b/clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_worker_pb2_grpc.py similarity index 100% rename from clients/python/src/mxgateway/generated/mxaccess_worker_pb2_grpc.py rename to clients/python/src/zb_mom_ww_mxgateway/generated/mxaccess_worker_pb2_grpc.py diff --git a/clients/python/src/mxgateway/options.py b/clients/python/src/zb_mom_ww_mxgateway/options.py similarity index 100% rename from clients/python/src/mxgateway/options.py rename to clients/python/src/zb_mom_ww_mxgateway/options.py diff --git a/clients/python/src/mxgateway/session.py b/clients/python/src/zb_mom_ww_mxgateway/session.py similarity index 100% rename from clients/python/src/mxgateway/session.py rename to clients/python/src/zb_mom_ww_mxgateway/session.py diff --git a/clients/python/src/mxgateway/values.py b/clients/python/src/zb_mom_ww_mxgateway/values.py similarity index 100% rename from clients/python/src/mxgateway/values.py rename to clients/python/src/zb_mom_ww_mxgateway/values.py diff --git a/clients/python/src/mxgateway/version.py b/clients/python/src/zb_mom_ww_mxgateway/version.py similarity index 100% rename from clients/python/src/mxgateway/version.py rename to clients/python/src/zb_mom_ww_mxgateway/version.py diff --git a/clients/python/src/mxgateway_cli/__init__.py b/clients/python/src/zb_mom_ww_mxgateway_cli/__init__.py similarity index 100% rename from clients/python/src/mxgateway_cli/__init__.py rename to clients/python/src/zb_mom_ww_mxgateway_cli/__init__.py diff --git a/clients/python/src/zb_mom_ww_mxgateway_cli/__main__.py b/clients/python/src/zb_mom_ww_mxgateway_cli/__main__.py new file mode 100644 index 0000000..4103c72 --- /dev/null +++ b/clients/python/src/zb_mom_ww_mxgateway_cli/__main__.py @@ -0,0 +1,6 @@ +"""Module execution entry point for `python -m zb_mom_ww_mxgateway_cli`.""" + +from .commands import main + +if __name__ == "__main__": + main() diff --git a/clients/python/src/mxgateway_cli/commands.py b/clients/python/src/zb_mom_ww_mxgateway_cli/commands.py similarity index 97% rename from clients/python/src/mxgateway_cli/commands.py rename to clients/python/src/zb_mom_ww_mxgateway_cli/commands.py index 93f3ba8..dbe8407 100644 --- a/clients/python/src/mxgateway_cli/commands.py +++ b/clients/python/src/zb_mom_ww_mxgateway_cli/commands.py @@ -12,13 +12,13 @@ from typing import Any import click from google.protobuf.json_format import MessageToDict -from mxgateway import __version__ -from mxgateway.auth import redact_secret -from mxgateway.client import GatewayClient -from mxgateway.errors import MxGatewayError -from mxgateway.generated import mxaccess_gateway_pb2 as pb -from mxgateway.options import ClientOptions -from mxgateway.values import MxValueInput +from zb_mom_ww_mxgateway import __version__ +from zb_mom_ww_mxgateway.auth import redact_secret +from zb_mom_ww_mxgateway.client import GatewayClient +from zb_mom_ww_mxgateway.errors import MxGatewayError +from zb_mom_ww_mxgateway.generated import mxaccess_gateway_pb2 as pb +from zb_mom_ww_mxgateway.options import ClientOptions +from zb_mom_ww_mxgateway.values import MxValueInput MAX_AGGREGATE_EVENTS = 10_000 @@ -420,7 +420,7 @@ async def _connect(kwargs: dict[str, Any]) -> GatewayClient: def _session(client: GatewayClient, session_id: str): - from mxgateway.session import Session + from zb_mom_ww_mxgateway.session import Session return Session(client=client, session_id=session_id) diff --git a/clients/python/tests/test_alarms.py b/clients/python/tests/test_alarms.py index 190ab7b..07b51f4 100644 --- a/clients/python/tests/test_alarms.py +++ b/clients/python/tests/test_alarms.py @@ -8,9 +8,9 @@ from typing import Any import grpc import pytest -from mxgateway import ClientOptions, GatewayClient -from mxgateway.errors import MxGatewayAuthenticationError, MxGatewayAuthorizationError -from mxgateway.generated import mxaccess_gateway_pb2 as pb +from zb_mom_ww_mxgateway import ClientOptions, GatewayClient +from zb_mom_ww_mxgateway.errors import MxGatewayAuthenticationError, MxGatewayAuthorizationError +from zb_mom_ww_mxgateway.generated import mxaccess_gateway_pb2 as pb @pytest.mark.asyncio @@ -18,7 +18,6 @@ async def test_acknowledge_alarm_sends_request_and_returns_reply() -> None: stub = FakeGatewayStub() stub.acknowledge_alarm.replies = [ pb.AcknowledgeAlarmReply( - session_id="session-1", correlation_id="corr-7", protocol_status=pb.ProtocolStatus(code=pb.PROTOCOL_STATUS_CODE_OK), status=pb.MxStatusProxy(success=1, category=pb.MX_STATUS_CATEGORY_OK), @@ -31,7 +30,6 @@ async def test_acknowledge_alarm_sends_request_and_returns_reply() -> None: reply = await client.acknowledge_alarm( pb.AcknowledgeAlarmRequest( - session_id="session-1", client_correlation_id="corr-7", alarm_full_reference="Tank01.Level.HiHi", comment="investigating", @@ -61,7 +59,6 @@ async def test_acknowledge_alarm_unauthenticated_raises_typed_error() -> None: with pytest.raises(MxGatewayAuthenticationError): await client.acknowledge_alarm( pb.AcknowledgeAlarmRequest( - session_id="session-1", alarm_full_reference="Tank01.Level.HiHi", comment="", operator_user="alice", @@ -81,7 +78,6 @@ async def test_acknowledge_alarm_permission_denied_raises_typed_error() -> None: with pytest.raises(MxGatewayAuthorizationError): await client.acknowledge_alarm( pb.AcknowledgeAlarmRequest( - session_id="session-1", alarm_full_reference="Tank01.Level.HiHi", comment="", operator_user="alice", diff --git a/clients/python/tests/test_auth_options.py b/clients/python/tests/test_auth_options.py index 34bd2bf..d8242ce 100644 --- a/clients/python/tests/test_auth_options.py +++ b/clients/python/tests/test_auth_options.py @@ -2,9 +2,9 @@ import pytest -from mxgateway.auth import REDACTED, ApiKey, auth_metadata, redact_secret -from mxgateway import options as options_module -from mxgateway.options import ClientOptions, create_channel +from zb_mom_ww_mxgateway.auth import REDACTED, ApiKey, auth_metadata, redact_secret +from zb_mom_ww_mxgateway import options as options_module +from zb_mom_ww_mxgateway.options import ClientOptions, create_channel def test_auth_metadata_adds_bearer_api_key() -> None: diff --git a/clients/python/tests/test_cli.py b/clients/python/tests/test_cli.py index a2ff19e..729cb10 100644 --- a/clients/python/tests/test_cli.py +++ b/clients/python/tests/test_cli.py @@ -4,8 +4,8 @@ import json from click.testing import CliRunner -from mxgateway import __version__ -from mxgateway_cli.commands import main +from zb_mom_ww_mxgateway import __version__ +from zb_mom_ww_mxgateway_cli.commands import main def test_version_json_is_deterministic() -> None: diff --git a/clients/python/tests/test_client_session.py b/clients/python/tests/test_client_session.py index 818e272..6a2af0e 100644 --- a/clients/python/tests/test_client_session.py +++ b/clients/python/tests/test_client_session.py @@ -7,8 +7,8 @@ from typing import Any import pytest -from mxgateway import ClientOptions, GatewayClient, MxAccessError -from mxgateway.generated import mxaccess_gateway_pb2 as pb +from zb_mom_ww_mxgateway import ClientOptions, GatewayClient, MxAccessError +from zb_mom_ww_mxgateway.generated import mxaccess_gateway_pb2 as pb @pytest.mark.asyncio diff --git a/clients/python/tests/test_errors.py b/clients/python/tests/test_errors.py index 7720ed2..f054c4d 100644 --- a/clients/python/tests/test_errors.py +++ b/clients/python/tests/test_errors.py @@ -6,9 +6,9 @@ from pathlib import Path import pytest from google.protobuf.json_format import ParseDict -from mxgateway.errors import ensure_mxaccess_success, ensure_protocol_success -from mxgateway import MxAccessError, MxGatewaySessionError -from mxgateway.generated import mxaccess_gateway_pb2 as pb +from zb_mom_ww_mxgateway.errors import ensure_mxaccess_success, ensure_protocol_success +from zb_mom_ww_mxgateway import MxAccessError, MxGatewaySessionError +from zb_mom_ww_mxgateway.generated import mxaccess_gateway_pb2 as pb FIXTURE_ROOT = Path(__file__).resolve().parents[2] / "proto" / "fixtures" / "behavior" diff --git a/clients/python/tests/test_galaxy.py b/clients/python/tests/test_galaxy.py index ee58f55..6dcf194 100644 --- a/clients/python/tests/test_galaxy.py +++ b/clients/python/tests/test_galaxy.py @@ -9,9 +9,9 @@ from typing import Any import pytest from google.protobuf.timestamp_pb2 import Timestamp -from mxgateway import ClientOptions, DeployEvent, GalaxyRepositoryClient, WatchDeployEventsRequest -from mxgateway.generated import galaxy_repository_pb2 as galaxy_pb -from mxgateway.generated import galaxy_repository_pb2_grpc as galaxy_pb_grpc +from zb_mom_ww_mxgateway import ClientOptions, DeployEvent, GalaxyRepositoryClient, WatchDeployEventsRequest +from zb_mom_ww_mxgateway.generated import galaxy_repository_pb2 as galaxy_pb +from zb_mom_ww_mxgateway.generated import galaxy_repository_pb2_grpc as galaxy_pb_grpc def test_galaxy_messages_import() -> None: diff --git a/clients/python/tests/test_generated_imports.py b/clients/python/tests/test_generated_imports.py index 476efe7..9d74f4d 100644 --- a/clients/python/tests/test_generated_imports.py +++ b/clients/python/tests/test_generated_imports.py @@ -1,8 +1,8 @@ """Tests for generated protobuf and gRPC module importability.""" -from mxgateway.generated import mxaccess_gateway_pb2 -from mxgateway.generated import mxaccess_gateway_pb2_grpc -from mxgateway.generated import mxaccess_worker_pb2 +from zb_mom_ww_mxgateway.generated import mxaccess_gateway_pb2 +from zb_mom_ww_mxgateway.generated import mxaccess_gateway_pb2_grpc +from zb_mom_ww_mxgateway.generated import mxaccess_worker_pb2 def test_gateway_messages_import() -> None: diff --git a/clients/python/tests/test_values.py b/clients/python/tests/test_values.py index c6d1c69..58576af 100644 --- a/clients/python/tests/test_values.py +++ b/clients/python/tests/test_values.py @@ -7,8 +7,8 @@ from pathlib import Path from google.protobuf.json_format import ParseDict -from mxgateway.generated import mxaccess_gateway_pb2 as pb -from mxgateway.values import from_mx_value, to_mx_value +from zb_mom_ww_mxgateway.generated import mxaccess_gateway_pb2 as pb +from zb_mom_ww_mxgateway.values import from_mx_value, to_mx_value FIXTURE_ROOT = Path(__file__).resolve().parents[2] / "proto" / "fixtures" / "behavior" diff --git a/clients/rust/Cargo.lock b/clients/rust/Cargo.lock index 04b1528..c6c633b 100644 --- a/clients/rust/Cargo.lock +++ b/clients/rust/Cargo.lock @@ -572,33 +572,17 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" -[[package]] -name = "mxgateway-client" -version = "0.1.0" -dependencies = [ - "futures-core", - "futures-util", - "prost", - "prost-types", - "serde_json", - "thiserror", - "tokio", - "tokio-stream", - "tonic", - "tonic-build", -] - [[package]] name = "mxgw-cli" version = "0.1.0" dependencies = [ "clap", "futures-util", - "mxgateway-client", "prost-types", "serde", "serde_json", "tokio", + "zb-mom-ww-mxgateway-client", ] [[package]] @@ -1437,6 +1421,22 @@ dependencies = [ "wasmparser", ] +[[package]] +name = "zb-mom-ww-mxgateway-client" +version = "0.1.0" +dependencies = [ + "futures-core", + "futures-util", + "prost", + "prost-types", + "serde_json", + "thiserror", + "tokio", + "tokio-stream", + "tonic", + "tonic-build", +] + [[package]] name = "zeroize" version = "1.8.2" diff --git a/clients/rust/Cargo.toml b/clients/rust/Cargo.toml index 695d366..1e5787a 100644 --- a/clients/rust/Cargo.toml +++ b/clients/rust/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "mxgateway-client" +name = "zb-mom-ww-mxgateway-client" version = "0.1.0" edition = "2021" publish = false diff --git a/clients/rust/README.md b/clients/rust/README.md index 0bcdbfb..561fdac 100644 --- a/clients/rust/README.md +++ b/clients/rust/README.md @@ -19,7 +19,7 @@ clients/rust/ ``` `build.rs` reads the `.proto` files from -`../../src/MxGateway.Contracts/Protos` and generates `tonic`/`prost` bindings +`../../src/ZB.MOM.WW.MxGateway.Contracts/Protos` and generates `tonic`/`prost` bindings into Cargo build output. `src/generated.rs` declares the Rust modules that include those generated files. `src/generated` remains reserved for checked-in generator output if the crate later changes to source-tree generation. @@ -122,7 +122,7 @@ let objects = galaxy.discover_hierarchy().await?; // Vec `get_last_deploy_time` returns `None` when the server reports `present = false`. `discover_hierarchy` returns the generated `GalaxyObject` proto type (re-exported via -`mxgateway_client::generated::galaxy_repository::v1`) with all attributes +`zb_mom_ww_mxgateway_client::generated::galaxy_repository::v1`) with all attributes attached. The CLI ships matching subcommands under `galaxy`: diff --git a/clients/rust/RustClientDesign.md b/clients/rust/RustClientDesign.md index 070ee11..7b54523 100644 --- a/clients/rust/RustClientDesign.md +++ b/clients/rust/RustClientDesign.md @@ -18,7 +18,7 @@ clients/rust/ Cargo.toml build.rs crates/ - mxgateway-client/ + zb-mom-ww-mxgateway-client/ src/lib.rs src/client.rs src/session.rs diff --git a/clients/rust/build.rs b/clients/rust/build.rs index 202b971..27843f1 100644 --- a/clients/rust/build.rs +++ b/clients/rust/build.rs @@ -10,7 +10,7 @@ fn main() -> Result<(), Box> { .parent() .and_then(Path::parent) .ok_or("clients/rust must live two levels below the repository root")?; - let proto_root = repo_root.join("src/MxGateway.Contracts/Protos"); + let proto_root = repo_root.join("src/ZB.MOM.WW.MxGateway.Contracts/Protos"); let gateway_proto = proto_root.join("mxaccess_gateway.proto"); let worker_proto = proto_root.join("mxaccess_worker.proto"); let galaxy_proto = proto_root.join("galaxy_repository.proto"); diff --git a/clients/rust/crates/mxgw-cli/Cargo.toml b/clients/rust/crates/mxgw-cli/Cargo.toml index cfd6e48..a4e136f 100644 --- a/clients/rust/crates/mxgw-cli/Cargo.toml +++ b/clients/rust/crates/mxgw-cli/Cargo.toml @@ -11,7 +11,7 @@ path = "src/main.rs" [dependencies] clap = { workspace = true } futures-util = { workspace = true } -mxgateway-client = { path = "../.." } +zb-mom-ww-mxgateway-client = { path = "../.." } prost-types = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/clients/rust/crates/mxgw-cli/src/main.rs b/clients/rust/crates/mxgw-cli/src/main.rs index 25815cf..1d8fa20 100644 --- a/clients/rust/crates/mxgw-cli/src/main.rs +++ b/clients/rust/crates/mxgw-cli/src/main.rs @@ -1,6 +1,6 @@ //! `mxgw` — the Rust test CLI for the MXAccess Gateway. //! -//! The binary wraps [`mxgateway_client`] in a `clap`-driven command surface +//! The binary wraps [`zb_mom_ww_mxgateway_client`] in a `clap`-driven command surface //! used by the cross-language smoke matrix and by developers exercising the //! gateway by hand. Every subcommand mirrors a single gateway/Galaxy RPC, //! prints either a terse line or a JSON document with `--json`, and exits @@ -15,12 +15,12 @@ use std::time::Duration; use clap::{Args, Parser, Subcommand, ValueEnum}; use futures_util::StreamExt; -use mxgateway_client::generated::galaxy_repository::v1::DeployEvent; -use mxgateway_client::generated::mxaccess_gateway::v1::{ +use zb_mom_ww_mxgateway_client::generated::galaxy_repository::v1::DeployEvent; +use zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::{ CloseSessionRequest, MxCommand, MxCommandKind, MxCommandRequest, OpenSessionRequest, PingCommand, StreamEventsRequest, }; -use mxgateway_client::{ +use zb_mom_ww_mxgateway_client::{ ApiKey, ClientOptions, Error, GalaxyClient, GatewayClient, MxValue, CLIENT_VERSION, GATEWAY_PROTOCOL_VERSION, WORKER_PROTOCOL_VERSION, }; @@ -320,7 +320,7 @@ async fn run(cli: Cli) -> Result<(), Error> { client_correlation_id: "rust-cli-ping".to_owned(), command: Some(MxCommand { kind: MxCommandKind::Ping as i32, - payload: Some(mxgateway_client::generated::mxaccess_gateway::v1::mx_command::Payload::Ping( + payload: Some(zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::mx_command::Payload::Ping( PingCommand { message }, )), }), @@ -701,7 +701,7 @@ async fn run_galaxy(command: GalaxyCommand) -> Result<(), Error> { async fn session_for( connection: ConnectionArgs, session_id: String, -) -> Result { +) -> Result { let client = connect(connection).await?; Ok(client.session(session_id)) } @@ -727,7 +727,7 @@ fn version_json() -> Value { fn print_command_reply( operation: &str, - reply: &mxgateway_client::generated::mxaccess_gateway::v1::MxCommandReply, + reply: &zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::MxCommandReply, use_json: bool, ) { if use_json { @@ -763,7 +763,7 @@ fn print_ok(operation: &str, use_json: bool) { fn print_bulk_results( operation: &str, - results: &[mxgateway_client::generated::mxaccess_gateway::v1::SubscribeResult], + results: &[zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::SubscribeResult], use_json: bool, ) { if use_json { @@ -1048,7 +1048,7 @@ mod tests { fn version_json_output_has_protocol_versions() { let value = super::version_json(); - assert_eq!(value["gatewayProtocolVersion"], 2); + assert_eq!(value["gatewayProtocolVersion"], 3); assert_eq!(value["workerProtocolVersion"], 1); } diff --git a/clients/rust/tests/client_behavior.rs b/clients/rust/tests/client_behavior.rs index 117d77b..cef4ac2 100644 --- a/clients/rust/tests/client_behavior.rs +++ b/clients/rust/tests/client_behavior.rs @@ -8,19 +8,20 @@ use std::time::Duration; use futures_core::Stream; use futures_util::StreamExt; -use mxgateway_client::generated::mxaccess_gateway::v1::mx_access_gateway_server::{ +use zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::mx_access_gateway_server::{ MxAccessGateway, MxAccessGatewayServer, }; -use mxgateway_client::generated::mxaccess_gateway::v1::mx_command_reply; -use mxgateway_client::generated::mxaccess_gateway::v1::mx_value::Kind; -use mxgateway_client::generated::mxaccess_gateway::v1::{ +use zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::mx_command_reply; +use zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::mx_value::Kind; +use zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::{ AcknowledgeAlarmReply, AcknowledgeAlarmRequest, ActiveAlarmSnapshot, AddItemReply, - BulkSubscribeReply, CloseSessionReply, CloseSessionRequest, MxCommandKind, MxCommandReply, - MxDataType, MxEvent, MxEventFamily, MxStatusCategory, MxStatusProxy, MxStatusSource, MxValue, - OpenSessionReply, OpenSessionRequest, ProtocolStatus, ProtocolStatusCode, - QueryActiveAlarmsRequest, SessionState, StreamEventsRequest, SubscribeResult, + AlarmFeedMessage, BulkSubscribeReply, CloseSessionReply, CloseSessionRequest, MxCommandKind, + MxCommandReply, MxDataType, MxEvent, MxEventFamily, MxStatusCategory, MxStatusProxy, + MxStatusSource, MxValue, OpenSessionReply, OpenSessionRequest, ProtocolStatus, + ProtocolStatusCode, QueryActiveAlarmsRequest, SessionState, StreamAlarmsRequest, + StreamEventsRequest, SubscribeResult, }; -use mxgateway_client::{ +use zb_mom_ww_mxgateway_client::{ ApiKey, ClientOptions, CommandError, Error, GatewayClient, MxStatus, MxValue as ClientMxValue, MxValueProjection, }; @@ -147,7 +148,6 @@ async fn acknowledge_alarm_returns_reply_with_native_status() { let reply = client .acknowledge_alarm(AcknowledgeAlarmRequest { - session_id: "session-fixture".to_owned(), client_correlation_id: "corr-1".to_owned(), alarm_full_reference: "Tank01.Level.HiHi".to_owned(), comment: "investigating".to_owned(), @@ -320,7 +320,7 @@ impl MxAccessGateway for FakeGateway { async fn invoke( &self, - request: Request, + request: Request, ) -> Result, Status> { let request = request.into_inner(); let kind = request @@ -388,7 +388,6 @@ impl MxAccessGateway for FakeGateway { _request: Request, ) -> Result, Status> { Ok(Response::new(AcknowledgeAlarmReply { - session_id: "session-fixture".to_owned(), correlation_id: "corr-1".to_owned(), protocol_status: Some(ok_status("ack ok")), status: Some(MxStatusProxy { @@ -401,6 +400,18 @@ impl MxAccessGateway for FakeGateway { })) } + type StreamAlarmsStream = + Pin> + Send + 'static>>; + + async fn stream_alarms( + &self, + _request: Request, + ) -> Result, Status> { + let (_sender, receiver) = mpsc::channel::>(1); + let stream = ReceiverStream::new(receiver); + Ok(Response::new(Box::pin(stream))) + } + type QueryActiveAlarmsStream = Pin> + Send + 'static>>; diff --git a/clients/rust/tests/proto_fixtures.rs b/clients/rust/tests/proto_fixtures.rs index 8b2a16c..0bd0c45 100644 --- a/clients/rust/tests/proto_fixtures.rs +++ b/clients/rust/tests/proto_fixtures.rs @@ -1,11 +1,11 @@ use std::fs; use std::path::PathBuf; -use mxgateway_client::generated::mxaccess_gateway::v1::{ +use zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::{ mx_command, mx_value, MxCommand, MxCommandKind, MxCommandRequest, MxDataType, MxEvent, MxEventFamily, MxValue, OpenSessionReply, ProtocolStatusCode, RegisterCommand, }; -use mxgateway_client::{GATEWAY_PROTOCOL_VERSION, WORKER_PROTOCOL_VERSION}; +use zb_mom_ww_mxgateway_client::{GATEWAY_PROTOCOL_VERSION, WORKER_PROTOCOL_VERSION}; use serde_json::Value; #[test] @@ -33,7 +33,7 @@ fn open_session_fixture_matches_protocol_versions() { worker_protocol_version: u32_field(&fixture, "workerProtocolVersion"), gateway_protocol_version: u32_field(&fixture, "gatewayProtocolVersion"), protocol_status: Some( - mxgateway_client::generated::mxaccess_gateway::v1::ProtocolStatus { + zb_mom_ww_mxgateway_client::generated::mxaccess_gateway::v1::ProtocolStatus { code: ProtocolStatusCode::Ok as i32, message: string_field(&fixture["protocolStatus"], "message"), }, diff --git a/scripts/run-client-e2e-tests.ps1 b/scripts/run-client-e2e-tests.ps1 index ed17a8f..71b8e19 100644 --- a/scripts/run-client-e2e-tests.ps1 +++ b/scripts/run-client-e2e-tests.ps1 @@ -532,16 +532,16 @@ function Initialize-ClientBuilds { if ($Clients -contains "java") { $script:javaCliBat = Join-Path $repoRoot ` - "clients/java/mxgateway-cli/build/install/mxgateway-cli/bin/mxgateway-cli.bat" + "clients/java/zb-mom-ww-mxgateway-cli/build/install/zb-mom-ww-mxgateway-cli/bin/zb-mom-ww-mxgateway-cli.bat" if (-not $DryRun) { $gradleCommand = Get-Command "gradle.bat", "gradle.cmd", "gradle.exe", "gradle" ` -ErrorAction SilentlyContinue | Select-Object -First 1 if ($null -eq $gradleCommand) { throw "The 'gradle' command was not found on PATH; the Java client e2e flow requires Gradle." } - Write-Host "Installing the Java client CLI once via :mxgateway-cli:installDist" + Write-Host "Installing the Java client CLI once via :zb-mom-ww-mxgateway-cli:installDist" Invoke-NativeCommand -FilePath "cmd.exe" ` - -Arguments @("/c", $gradleCommand.Source, "--quiet", ":mxgateway-cli:installDist") ` + -Arguments @("/c", $gradleCommand.Source, "--quiet", ":zb-mom-ww-mxgateway-cli:installDist") ` -WorkingDirectory (Join-Path $repoRoot "clients/java") | Out-Null if (-not (Test-Path $script:javaCliBat)) { throw "The Java client CLI install did not produce '$script:javaCliBat'." @@ -788,7 +788,7 @@ function Get-ClientCommand { $cliArgs += @("--session-id", $Values.sessionId) } # The Java CLI is installed once up front (gradle - # :mxgateway-cli:installDist) so each call runs the generated + # :zb-mom-ww-mxgateway-cli:installDist) so each call runs the generated # launcher script directly instead of paying Gradle configuration # plus a JVM cold-start per invocation. .NET's Process.Start # (UseShellExecute=false) cannot launch a .bat directly, so the diff --git a/src/ZB.MOM.WW.MxGateway.Contracts/Generated/MxaccessGateway.cs b/src/ZB.MOM.WW.MxGateway.Contracts/Generated/MxaccessGateway.cs index e7bb8d1..a337eda 100644 --- a/src/ZB.MOM.WW.MxGateway.Contracts/Generated/MxaccessGateway.cs +++ b/src/ZB.MOM.WW.MxGateway.Contracts/Generated/MxaccessGateway.cs @@ -26,466 +26,471 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { string.Concat( "ChZteGFjY2Vzc19nYXRld2F5LnByb3RvEhNteGFjY2Vzc19nYXRld2F5LnYx", "Gh5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8aH2dvb2dsZS9wcm90", - "b2J1Zi90aW1lc3RhbXAucHJvdG8inwEKEk9wZW5TZXNzaW9uUmVxdWVzdBIZ", - "ChFyZXF1ZXN0ZWRfYmFja2VuZBgBIAEoCRIbChNjbGllbnRfc2Vzc2lvbl9u", - "YW1lGAIgASgJEh0KFWNsaWVudF9jb3JyZWxhdGlvbl9pZBgDIAEoCRIyCg9j", - "b21tYW5kX3RpbWVvdXQYBCABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRp", - "b24iqgIKEE9wZW5TZXNzaW9uUmVwbHkSEgoKc2Vzc2lvbl9pZBgBIAEoCRIU", - "CgxiYWNrZW5kX25hbWUYAiABKAkSGQoRd29ya2VyX3Byb2Nlc3NfaWQYAyAB", - "KAUSHwoXd29ya2VyX3Byb3RvY29sX3ZlcnNpb24YBCABKA0SFAoMY2FwYWJp", - "bGl0aWVzGAUgAygJEjoKF2RlZmF1bHRfY29tbWFuZF90aW1lb3V0GAYgASgL", - "MhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEjwKD3Byb3RvY29sX3N0YXR1", - "cxgHIAEoCzIjLm14YWNjZXNzX2dhdGV3YXkudjEuUHJvdG9jb2xTdGF0dXMS", - "IAoYZ2F0ZXdheV9wcm90b2NvbF92ZXJzaW9uGAggASgNIkgKE0Nsb3NlU2Vz", - "c2lvblJlcXVlc3QSEgoKc2Vzc2lvbl9pZBgBIAEoCRIdChVjbGllbnRfY29y", - "cmVsYXRpb25faWQYAiABKAkinQEKEUNsb3NlU2Vzc2lvblJlcGx5EhIKCnNl", - "c3Npb25faWQYASABKAkSNgoLZmluYWxfc3RhdGUYAiABKA4yIS5teGFjY2Vz", - "c19nYXRld2F5LnYxLlNlc3Npb25TdGF0ZRI8Cg9wcm90b2NvbF9zdGF0dXMY", - "AyABKAsyIy5teGFjY2Vzc19nYXRld2F5LnYxLlByb3RvY29sU3RhdHVzIkgK", - "E1N0cmVhbUV2ZW50c1JlcXVlc3QSEgoKc2Vzc2lvbl9pZBgBIAEoCRIdChVh", - "ZnRlcl93b3JrZXJfc2VxdWVuY2UYAiABKAQidgoQTXhDb21tYW5kUmVxdWVz", - "dBISCgpzZXNzaW9uX2lkGAEgASgJEh0KFWNsaWVudF9jb3JyZWxhdGlvbl9p", - "ZBgCIAEoCRIvCgdjb21tYW5kGAMgASgLMh4ubXhhY2Nlc3NfZ2F0ZXdheS52", - "MS5NeENvbW1hbmQiwBUKCU14Q29tbWFuZBIwCgRraW5kGAEgASgOMiIubXhh", - "Y2Nlc3NfZ2F0ZXdheS52MS5NeENvbW1hbmRLaW5kEjgKCHJlZ2lzdGVyGAog", - "ASgLMiQubXhhY2Nlc3NfZ2F0ZXdheS52MS5SZWdpc3RlckNvbW1hbmRIABI8", - "Cgp1bnJlZ2lzdGVyGAsgASgLMiYubXhhY2Nlc3NfZ2F0ZXdheS52MS5VbnJl", - "Z2lzdGVyQ29tbWFuZEgAEjcKCGFkZF9pdGVtGAwgASgLMiMubXhhY2Nlc3Nf", - "Z2F0ZXdheS52MS5BZGRJdGVtQ29tbWFuZEgAEjkKCWFkZF9pdGVtMhgNIAEo", - "CzIkLm14YWNjZXNzX2dhdGV3YXkudjEuQWRkSXRlbTJDb21tYW5kSAASPQoL", - "cmVtb3ZlX2l0ZW0YDiABKAsyJi5teGFjY2Vzc19nYXRld2F5LnYxLlJlbW92", - "ZUl0ZW1Db21tYW5kSAASNAoGYWR2aXNlGA8gASgLMiIubXhhY2Nlc3NfZ2F0", - "ZXdheS52MS5BZHZpc2VDb21tYW5kSAASOQoJdW5fYWR2aXNlGBAgASgLMiQu", - "bXhhY2Nlc3NfZ2F0ZXdheS52MS5VbkFkdmlzZUNvbW1hbmRIABJLChJhZHZp", - "c2Vfc3VwZXJ2aXNvcnkYESABKAsyLS5teGFjY2Vzc19nYXRld2F5LnYxLkFk", - "dmlzZVN1cGVydmlzb3J5Q29tbWFuZEgAEkgKEWFkZF9idWZmZXJlZF9pdGVt", - "GBIgASgLMisubXhhY2Nlc3NfZ2F0ZXdheS52MS5BZGRCdWZmZXJlZEl0ZW1D", - "b21tYW5kSAASXQocc2V0X2J1ZmZlcmVkX3VwZGF0ZV9pbnRlcnZhbBgTIAEo", - "CzI1Lm14YWNjZXNzX2dhdGV3YXkudjEuU2V0QnVmZmVyZWRVcGRhdGVJbnRl", - "cnZhbENvbW1hbmRIABI2CgdzdXNwZW5kGBQgASgLMiMubXhhY2Nlc3NfZ2F0", - "ZXdheS52MS5TdXNwZW5kQ29tbWFuZEgAEjgKCGFjdGl2YXRlGBUgASgLMiQu", - "bXhhY2Nlc3NfZ2F0ZXdheS52MS5BY3RpdmF0ZUNvbW1hbmRIABIyCgV3cml0", - "ZRgWIAEoCzIhLm14YWNjZXNzX2dhdGV3YXkudjEuV3JpdGVDb21tYW5kSAAS", - "NAoGd3JpdGUyGBcgASgLMiIubXhhY2Nlc3NfZ2F0ZXdheS52MS5Xcml0ZTJD", - "b21tYW5kSAASQQoNd3JpdGVfc2VjdXJlZBgYIAEoCzIoLm14YWNjZXNzX2dh", - "dGV3YXkudjEuV3JpdGVTZWN1cmVkQ29tbWFuZEgAEkMKDndyaXRlX3NlY3Vy", - "ZWQyGBkgASgLMikubXhhY2Nlc3NfZ2F0ZXdheS52MS5Xcml0ZVNlY3VyZWQy", - "Q29tbWFuZEgAEkkKEWF1dGhlbnRpY2F0ZV91c2VyGBogASgLMiwubXhhY2Nl", - "c3NfZ2F0ZXdheS52MS5BdXRoZW50aWNhdGVVc2VyQ29tbWFuZEgAEk0KFGFy", - "Y2hlc3RyYV91c2VyX3RvX2lkGBsgASgLMi0ubXhhY2Nlc3NfZ2F0ZXdheS52", - "MS5BcmNoZXN0ckFVc2VyVG9JZENvbW1hbmRIABJACg1hZGRfaXRlbV9idWxr", - "GBwgASgLMicubXhhY2Nlc3NfZ2F0ZXdheS52MS5BZGRJdGVtQnVsa0NvbW1h", - "bmRIABJGChBhZHZpc2VfaXRlbV9idWxrGB0gASgLMioubXhhY2Nlc3NfZ2F0", - "ZXdheS52MS5BZHZpc2VJdGVtQnVsa0NvbW1hbmRIABJGChByZW1vdmVfaXRl", - "bV9idWxrGB4gASgLMioubXhhY2Nlc3NfZ2F0ZXdheS52MS5SZW1vdmVJdGVt", - "QnVsa0NvbW1hbmRIABJLChN1bl9hZHZpc2VfaXRlbV9idWxrGB8gASgLMiwu", - "bXhhY2Nlc3NfZ2F0ZXdheS52MS5VbkFkdmlzZUl0ZW1CdWxrQ29tbWFuZEgA", - "EkMKDnN1YnNjcmliZV9idWxrGCAgASgLMikubXhhY2Nlc3NfZ2F0ZXdheS52", - "MS5TdWJzY3JpYmVCdWxrQ29tbWFuZEgAEkcKEHVuc3Vic2NyaWJlX2J1bGsY", - "ISABKAsyKy5teGFjY2Vzc19nYXRld2F5LnYxLlVuc3Vic2NyaWJlQnVsa0Nv", - "bW1hbmRIABJHChBzdWJzY3JpYmVfYWxhcm1zGCIgASgLMisubXhhY2Nlc3Nf", - "Z2F0ZXdheS52MS5TdWJzY3JpYmVBbGFybXNDb21tYW5kSAASSwoSdW5zdWJz", - "Y3JpYmVfYWxhcm1zGCMgASgLMi0ubXhhY2Nlc3NfZ2F0ZXdheS52MS5VbnN1", - "YnNjcmliZUFsYXJtc0NvbW1hbmRIABJRChlhY2tub3dsZWRnZV9hbGFybV9j", - "b21tYW5kGCQgASgLMiwubXhhY2Nlc3NfZ2F0ZXdheS52MS5BY2tub3dsZWRn", - "ZUFsYXJtQ29tbWFuZEgAElQKG3F1ZXJ5X2FjdGl2ZV9hbGFybXNfY29tbWFu", - "ZBglIAEoCzItLm14YWNjZXNzX2dhdGV3YXkudjEuUXVlcnlBY3RpdmVBbGFy", - "bXNDb21tYW5kSAASXwohYWNrbm93bGVkZ2VfYWxhcm1fYnlfbmFtZV9jb21t", - "YW5kGCYgASgLMjIubXhhY2Nlc3NfZ2F0ZXdheS52MS5BY2tub3dsZWRnZUFs", - "YXJtQnlOYW1lQ29tbWFuZEgAEjsKCndyaXRlX2J1bGsYJyABKAsyJS5teGFj", - "Y2Vzc19nYXRld2F5LnYxLldyaXRlQnVsa0NvbW1hbmRIABI9Cgt3cml0ZTJf", - "YnVsaxgoIAEoCzImLm14YWNjZXNzX2dhdGV3YXkudjEuV3JpdGUyQnVsa0Nv", - "bW1hbmRIABJKChJ3cml0ZV9zZWN1cmVkX2J1bGsYKSABKAsyLC5teGFjY2Vz", - "c19nYXRld2F5LnYxLldyaXRlU2VjdXJlZEJ1bGtDb21tYW5kSAASTAoTd3Jp", - "dGVfc2VjdXJlZDJfYnVsaxgqIAEoCzItLm14YWNjZXNzX2dhdGV3YXkudjEu", - "V3JpdGVTZWN1cmVkMkJ1bGtDb21tYW5kSAASOQoJcmVhZF9idWxrGCsgASgL", - "MiQubXhhY2Nlc3NfZ2F0ZXdheS52MS5SZWFkQnVsa0NvbW1hbmRIABIwCgRw", - "aW5nGGQgASgLMiAubXhhY2Nlc3NfZ2F0ZXdheS52MS5QaW5nQ29tbWFuZEgA", - "EkgKEWdldF9zZXNzaW9uX3N0YXRlGGUgASgLMisubXhhY2Nlc3NfZ2F0ZXdh", - "eS52MS5HZXRTZXNzaW9uU3RhdGVDb21tYW5kSAASRAoPZ2V0X3dvcmtlcl9p", - "bmZvGGYgASgLMikubXhhY2Nlc3NfZ2F0ZXdheS52MS5HZXRXb3JrZXJJbmZv", - "Q29tbWFuZEgAEj8KDGRyYWluX2V2ZW50cxhnIAEoCzInLm14YWNjZXNzX2dh", - "dGV3YXkudjEuRHJhaW5FdmVudHNDb21tYW5kSAASRQoPc2h1dGRvd25fd29y", - "a2VyGGggASgLMioubXhhY2Nlc3NfZ2F0ZXdheS52MS5TaHV0ZG93bldvcmtl", - "ckNvbW1hbmRIAEIJCgdwYXlsb2FkIiYKD1JlZ2lzdGVyQ29tbWFuZBITCgtj", - "bGllbnRfbmFtZRgBIAEoCSIqChFVbnJlZ2lzdGVyQ29tbWFuZBIVCg1zZXJ2", - "ZXJfaGFuZGxlGAEgASgFIkAKDkFkZEl0ZW1Db21tYW5kEhUKDXNlcnZlcl9o", - "YW5kbGUYASABKAUSFwoPaXRlbV9kZWZpbml0aW9uGAIgASgJIlcKD0FkZEl0", - "ZW0yQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhcKD2l0ZW1fZGVm", - "aW5pdGlvbhgCIAEoCRIUCgxpdGVtX2NvbnRleHQYAyABKAkiPwoRUmVtb3Zl", - "SXRlbUNvbW1hbmQSFQoNc2VydmVyX2hhbmRsZRgBIAEoBRITCgtpdGVtX2hh", - "bmRsZRgCIAEoBSI7Cg1BZHZpc2VDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUY", - "ASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUiPQoPVW5BZHZpc2VDb21tYW5k", + "b2J1Zi90aW1lc3RhbXAucHJvdG8iagoYUXVlcnlBY3RpdmVBbGFybXNSZXF1", + "ZXN0EhIKCnNlc3Npb25faWQYASABKAkSHQoVY2xpZW50X2NvcnJlbGF0aW9u", + "X2lkGAIgASgJEhsKE2FsYXJtX2ZpbHRlcl9wcmVmaXgYAyABKAkinwEKEk9w", + "ZW5TZXNzaW9uUmVxdWVzdBIZChFyZXF1ZXN0ZWRfYmFja2VuZBgBIAEoCRIb", + "ChNjbGllbnRfc2Vzc2lvbl9uYW1lGAIgASgJEh0KFWNsaWVudF9jb3JyZWxh", + "dGlvbl9pZBgDIAEoCRIyCg9jb21tYW5kX3RpbWVvdXQYBCABKAsyGS5nb29n", + "bGUucHJvdG9idWYuRHVyYXRpb24iqgIKEE9wZW5TZXNzaW9uUmVwbHkSEgoK", + "c2Vzc2lvbl9pZBgBIAEoCRIUCgxiYWNrZW5kX25hbWUYAiABKAkSGQoRd29y", + "a2VyX3Byb2Nlc3NfaWQYAyABKAUSHwoXd29ya2VyX3Byb3RvY29sX3ZlcnNp", + "b24YBCABKA0SFAoMY2FwYWJpbGl0aWVzGAUgAygJEjoKF2RlZmF1bHRfY29t", + "bWFuZF90aW1lb3V0GAYgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9u", + "EjwKD3Byb3RvY29sX3N0YXR1cxgHIAEoCzIjLm14YWNjZXNzX2dhdGV3YXku", + "djEuUHJvdG9jb2xTdGF0dXMSIAoYZ2F0ZXdheV9wcm90b2NvbF92ZXJzaW9u", + "GAggASgNIkgKE0Nsb3NlU2Vzc2lvblJlcXVlc3QSEgoKc2Vzc2lvbl9pZBgB", + "IAEoCRIdChVjbGllbnRfY29ycmVsYXRpb25faWQYAiABKAkinQEKEUNsb3Nl", + "U2Vzc2lvblJlcGx5EhIKCnNlc3Npb25faWQYASABKAkSNgoLZmluYWxfc3Rh", + "dGUYAiABKA4yIS5teGFjY2Vzc19nYXRld2F5LnYxLlNlc3Npb25TdGF0ZRI8", + "Cg9wcm90b2NvbF9zdGF0dXMYAyABKAsyIy5teGFjY2Vzc19nYXRld2F5LnYx", + "LlByb3RvY29sU3RhdHVzIkgKE1N0cmVhbUV2ZW50c1JlcXVlc3QSEgoKc2Vz", + "c2lvbl9pZBgBIAEoCRIdChVhZnRlcl93b3JrZXJfc2VxdWVuY2UYAiABKAQi", + "dgoQTXhDb21tYW5kUmVxdWVzdBISCgpzZXNzaW9uX2lkGAEgASgJEh0KFWNs", + "aWVudF9jb3JyZWxhdGlvbl9pZBgCIAEoCRIvCgdjb21tYW5kGAMgASgLMh4u", + "bXhhY2Nlc3NfZ2F0ZXdheS52MS5NeENvbW1hbmQiwBUKCU14Q29tbWFuZBIw", + "CgRraW5kGAEgASgOMiIubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeENvbW1hbmRL", + "aW5kEjgKCHJlZ2lzdGVyGAogASgLMiQubXhhY2Nlc3NfZ2F0ZXdheS52MS5S", + "ZWdpc3RlckNvbW1hbmRIABI8Cgp1bnJlZ2lzdGVyGAsgASgLMiYubXhhY2Nl", + "c3NfZ2F0ZXdheS52MS5VbnJlZ2lzdGVyQ29tbWFuZEgAEjcKCGFkZF9pdGVt", + "GAwgASgLMiMubXhhY2Nlc3NfZ2F0ZXdheS52MS5BZGRJdGVtQ29tbWFuZEgA", + "EjkKCWFkZF9pdGVtMhgNIAEoCzIkLm14YWNjZXNzX2dhdGV3YXkudjEuQWRk", + "SXRlbTJDb21tYW5kSAASPQoLcmVtb3ZlX2l0ZW0YDiABKAsyJi5teGFjY2Vz", + "c19nYXRld2F5LnYxLlJlbW92ZUl0ZW1Db21tYW5kSAASNAoGYWR2aXNlGA8g", + "ASgLMiIubXhhY2Nlc3NfZ2F0ZXdheS52MS5BZHZpc2VDb21tYW5kSAASOQoJ", + "dW5fYWR2aXNlGBAgASgLMiQubXhhY2Nlc3NfZ2F0ZXdheS52MS5VbkFkdmlz", + "ZUNvbW1hbmRIABJLChJhZHZpc2Vfc3VwZXJ2aXNvcnkYESABKAsyLS5teGFj", + "Y2Vzc19nYXRld2F5LnYxLkFkdmlzZVN1cGVydmlzb3J5Q29tbWFuZEgAEkgK", + "EWFkZF9idWZmZXJlZF9pdGVtGBIgASgLMisubXhhY2Nlc3NfZ2F0ZXdheS52", + "MS5BZGRCdWZmZXJlZEl0ZW1Db21tYW5kSAASXQocc2V0X2J1ZmZlcmVkX3Vw", + "ZGF0ZV9pbnRlcnZhbBgTIAEoCzI1Lm14YWNjZXNzX2dhdGV3YXkudjEuU2V0", + "QnVmZmVyZWRVcGRhdGVJbnRlcnZhbENvbW1hbmRIABI2CgdzdXNwZW5kGBQg", + "ASgLMiMubXhhY2Nlc3NfZ2F0ZXdheS52MS5TdXNwZW5kQ29tbWFuZEgAEjgK", + "CGFjdGl2YXRlGBUgASgLMiQubXhhY2Nlc3NfZ2F0ZXdheS52MS5BY3RpdmF0", + "ZUNvbW1hbmRIABIyCgV3cml0ZRgWIAEoCzIhLm14YWNjZXNzX2dhdGV3YXku", + "djEuV3JpdGVDb21tYW5kSAASNAoGd3JpdGUyGBcgASgLMiIubXhhY2Nlc3Nf", + "Z2F0ZXdheS52MS5Xcml0ZTJDb21tYW5kSAASQQoNd3JpdGVfc2VjdXJlZBgY", + "IAEoCzIoLm14YWNjZXNzX2dhdGV3YXkudjEuV3JpdGVTZWN1cmVkQ29tbWFu", + "ZEgAEkMKDndyaXRlX3NlY3VyZWQyGBkgASgLMikubXhhY2Nlc3NfZ2F0ZXdh", + "eS52MS5Xcml0ZVNlY3VyZWQyQ29tbWFuZEgAEkkKEWF1dGhlbnRpY2F0ZV91", + "c2VyGBogASgLMiwubXhhY2Nlc3NfZ2F0ZXdheS52MS5BdXRoZW50aWNhdGVV", + "c2VyQ29tbWFuZEgAEk0KFGFyY2hlc3RyYV91c2VyX3RvX2lkGBsgASgLMi0u", + "bXhhY2Nlc3NfZ2F0ZXdheS52MS5BcmNoZXN0ckFVc2VyVG9JZENvbW1hbmRI", + "ABJACg1hZGRfaXRlbV9idWxrGBwgASgLMicubXhhY2Nlc3NfZ2F0ZXdheS52", + "MS5BZGRJdGVtQnVsa0NvbW1hbmRIABJGChBhZHZpc2VfaXRlbV9idWxrGB0g", + "ASgLMioubXhhY2Nlc3NfZ2F0ZXdheS52MS5BZHZpc2VJdGVtQnVsa0NvbW1h", + "bmRIABJGChByZW1vdmVfaXRlbV9idWxrGB4gASgLMioubXhhY2Nlc3NfZ2F0", + "ZXdheS52MS5SZW1vdmVJdGVtQnVsa0NvbW1hbmRIABJLChN1bl9hZHZpc2Vf", + "aXRlbV9idWxrGB8gASgLMiwubXhhY2Nlc3NfZ2F0ZXdheS52MS5VbkFkdmlz", + "ZUl0ZW1CdWxrQ29tbWFuZEgAEkMKDnN1YnNjcmliZV9idWxrGCAgASgLMiku", + "bXhhY2Nlc3NfZ2F0ZXdheS52MS5TdWJzY3JpYmVCdWxrQ29tbWFuZEgAEkcK", + "EHVuc3Vic2NyaWJlX2J1bGsYISABKAsyKy5teGFjY2Vzc19nYXRld2F5LnYx", + "LlVuc3Vic2NyaWJlQnVsa0NvbW1hbmRIABJHChBzdWJzY3JpYmVfYWxhcm1z", + "GCIgASgLMisubXhhY2Nlc3NfZ2F0ZXdheS52MS5TdWJzY3JpYmVBbGFybXND", + "b21tYW5kSAASSwoSdW5zdWJzY3JpYmVfYWxhcm1zGCMgASgLMi0ubXhhY2Nl", + "c3NfZ2F0ZXdheS52MS5VbnN1YnNjcmliZUFsYXJtc0NvbW1hbmRIABJRChlh", + "Y2tub3dsZWRnZV9hbGFybV9jb21tYW5kGCQgASgLMiwubXhhY2Nlc3NfZ2F0", + "ZXdheS52MS5BY2tub3dsZWRnZUFsYXJtQ29tbWFuZEgAElQKG3F1ZXJ5X2Fj", + "dGl2ZV9hbGFybXNfY29tbWFuZBglIAEoCzItLm14YWNjZXNzX2dhdGV3YXku", + "djEuUXVlcnlBY3RpdmVBbGFybXNDb21tYW5kSAASXwohYWNrbm93bGVkZ2Vf", + "YWxhcm1fYnlfbmFtZV9jb21tYW5kGCYgASgLMjIubXhhY2Nlc3NfZ2F0ZXdh", + "eS52MS5BY2tub3dsZWRnZUFsYXJtQnlOYW1lQ29tbWFuZEgAEjsKCndyaXRl", + "X2J1bGsYJyABKAsyJS5teGFjY2Vzc19nYXRld2F5LnYxLldyaXRlQnVsa0Nv", + "bW1hbmRIABI9Cgt3cml0ZTJfYnVsaxgoIAEoCzImLm14YWNjZXNzX2dhdGV3", + "YXkudjEuV3JpdGUyQnVsa0NvbW1hbmRIABJKChJ3cml0ZV9zZWN1cmVkX2J1", + "bGsYKSABKAsyLC5teGFjY2Vzc19nYXRld2F5LnYxLldyaXRlU2VjdXJlZEJ1", + "bGtDb21tYW5kSAASTAoTd3JpdGVfc2VjdXJlZDJfYnVsaxgqIAEoCzItLm14", + "YWNjZXNzX2dhdGV3YXkudjEuV3JpdGVTZWN1cmVkMkJ1bGtDb21tYW5kSAAS", + "OQoJcmVhZF9idWxrGCsgASgLMiQubXhhY2Nlc3NfZ2F0ZXdheS52MS5SZWFk", + "QnVsa0NvbW1hbmRIABIwCgRwaW5nGGQgASgLMiAubXhhY2Nlc3NfZ2F0ZXdh", + "eS52MS5QaW5nQ29tbWFuZEgAEkgKEWdldF9zZXNzaW9uX3N0YXRlGGUgASgL", + "MisubXhhY2Nlc3NfZ2F0ZXdheS52MS5HZXRTZXNzaW9uU3RhdGVDb21tYW5k", + "SAASRAoPZ2V0X3dvcmtlcl9pbmZvGGYgASgLMikubXhhY2Nlc3NfZ2F0ZXdh", + "eS52MS5HZXRXb3JrZXJJbmZvQ29tbWFuZEgAEj8KDGRyYWluX2V2ZW50cxhn", + "IAEoCzInLm14YWNjZXNzX2dhdGV3YXkudjEuRHJhaW5FdmVudHNDb21tYW5k", + "SAASRQoPc2h1dGRvd25fd29ya2VyGGggASgLMioubXhhY2Nlc3NfZ2F0ZXdh", + "eS52MS5TaHV0ZG93bldvcmtlckNvbW1hbmRIAEIJCgdwYXlsb2FkIiYKD1Jl", + "Z2lzdGVyQ29tbWFuZBITCgtjbGllbnRfbmFtZRgBIAEoCSIqChFVbnJlZ2lz", + "dGVyQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFIkAKDkFkZEl0ZW1D", + "b21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSFwoPaXRlbV9kZWZpbml0", + "aW9uGAIgASgJIlcKD0FkZEl0ZW0yQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxl", + "GAEgASgFEhcKD2l0ZW1fZGVmaW5pdGlvbhgCIAEoCRIUCgxpdGVtX2NvbnRl", + "eHQYAyABKAkiPwoRUmVtb3ZlSXRlbUNvbW1hbmQSFQoNc2VydmVyX2hhbmRs", + "ZRgBIAEoBRITCgtpdGVtX2hhbmRsZRgCIAEoBSI7Cg1BZHZpc2VDb21tYW5k", "EhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUi", - "RgoYQWR2aXNlU3VwZXJ2aXNvcnlDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUY", - "ASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUiXgoWQWRkQnVmZmVyZWRJdGVt", - "Q29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhcKD2l0ZW1fZGVmaW5p", - "dGlvbhgCIAEoCRIUCgxpdGVtX2NvbnRleHQYAyABKAkiXwogU2V0QnVmZmVy", - "ZWRVcGRhdGVJbnRlcnZhbENvbW1hbmQSFQoNc2VydmVyX2hhbmRsZRgBIAEo", - "BRIkChx1cGRhdGVfaW50ZXJ2YWxfbWlsbGlzZWNvbmRzGAIgASgFIjwKDlN1", - "c3BlbmRDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9o", - "YW5kbGUYAiABKAUiPQoPQWN0aXZhdGVDb21tYW5kEhUKDXNlcnZlcl9oYW5k", - "bGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUieAoMV3JpdGVDb21tYW5k", - "EhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUS", - "KwoFdmFsdWUYAyABKAsyHC5teGFjY2Vzc19nYXRld2F5LnYxLk14VmFsdWUS", - "DwoHdXNlcl9pZBgEIAEoBSKwAQoNV3JpdGUyQ29tbWFuZBIVCg1zZXJ2ZXJf", - "aGFuZGxlGAEgASgFEhMKC2l0ZW1faGFuZGxlGAIgASgFEisKBXZhbHVlGAMg", - "ASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVlEjUKD3RpbWVzdGFt", - "cF92YWx1ZRgEIAEoCzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhWYWx1ZRIP", - "Cgd1c2VyX2lkGAUgASgFIqEBChNXcml0ZVNlY3VyZWRDb21tYW5kEhUKDXNl", - "cnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUSFwoPY3Vy", - "cmVudF91c2VyX2lkGAMgASgFEhgKEHZlcmlmaWVyX3VzZXJfaWQYBCABKAUS", - "KwoFdmFsdWUYBSABKAsyHC5teGFjY2Vzc19nYXRld2F5LnYxLk14VmFsdWUi", - "2QEKFFdyaXRlU2VjdXJlZDJDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASAB", - "KAUSEwoLaXRlbV9oYW5kbGUYAiABKAUSFwoPY3VycmVudF91c2VyX2lkGAMg", - "ASgFEhgKEHZlcmlmaWVyX3VzZXJfaWQYBCABKAUSKwoFdmFsdWUYBSABKAsy", - "HC5teGFjY2Vzc19nYXRld2F5LnYxLk14VmFsdWUSNQoPdGltZXN0YW1wX3Zh", - "bHVlGAYgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVlImMKF0F1", - "dGhlbnRpY2F0ZVVzZXJDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUS", - "EwoLdmVyaWZ5X3VzZXIYAiABKAkSHAoUdmVyaWZ5X3VzZXJfcGFzc3dvcmQY", - "AyABKAkiRwoYQXJjaGVzdHJBVXNlclRvSWRDb21tYW5kEhUKDXNlcnZlcl9o", - "YW5kbGUYASABKAUSFAoMdXNlcl9pZF9ndWlkGAIgASgJIkIKEkFkZEl0ZW1C", - "dWxrQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhUKDXRhZ19hZGRy", - "ZXNzZXMYAiADKAkiRAoVQWR2aXNlSXRlbUJ1bGtDb21tYW5kEhUKDXNlcnZl", - "cl9oYW5kbGUYASABKAUSFAoMaXRlbV9oYW5kbGVzGAIgAygFIkQKFVJlbW92", + "PQoPVW5BZHZpc2VDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoL", + "aXRlbV9oYW5kbGUYAiABKAUiRgoYQWR2aXNlU3VwZXJ2aXNvcnlDb21tYW5k", + "EhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUi", + "XgoWQWRkQnVmZmVyZWRJdGVtQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEg", + "ASgFEhcKD2l0ZW1fZGVmaW5pdGlvbhgCIAEoCRIUCgxpdGVtX2NvbnRleHQY", + "AyABKAkiXwogU2V0QnVmZmVyZWRVcGRhdGVJbnRlcnZhbENvbW1hbmQSFQoN", + "c2VydmVyX2hhbmRsZRgBIAEoBRIkChx1cGRhdGVfaW50ZXJ2YWxfbWlsbGlz", + "ZWNvbmRzGAIgASgFIjwKDlN1c3BlbmRDb21tYW5kEhUKDXNlcnZlcl9oYW5k", + "bGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUiPQoPQWN0aXZhdGVDb21t", + "YW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiAB", + "KAUieAoMV3JpdGVDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoL", + "aXRlbV9oYW5kbGUYAiABKAUSKwoFdmFsdWUYAyABKAsyHC5teGFjY2Vzc19n", + "YXRld2F5LnYxLk14VmFsdWUSDwoHdXNlcl9pZBgEIAEoBSKwAQoNV3JpdGUy", + "Q29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhMKC2l0ZW1faGFuZGxl", + "GAIgASgFEisKBXZhbHVlGAMgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5N", + "eFZhbHVlEjUKD3RpbWVzdGFtcF92YWx1ZRgEIAEoCzIcLm14YWNjZXNzX2dh", + "dGV3YXkudjEuTXhWYWx1ZRIPCgd1c2VyX2lkGAUgASgFIqEBChNXcml0ZVNl", + "Y3VyZWRDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9o", + "YW5kbGUYAiABKAUSFwoPY3VycmVudF91c2VyX2lkGAMgASgFEhgKEHZlcmlm", + "aWVyX3VzZXJfaWQYBCABKAUSKwoFdmFsdWUYBSABKAsyHC5teGFjY2Vzc19n", + "YXRld2F5LnYxLk14VmFsdWUi2QEKFFdyaXRlU2VjdXJlZDJDb21tYW5kEhUK", + "DXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUSFwoP", + "Y3VycmVudF91c2VyX2lkGAMgASgFEhgKEHZlcmlmaWVyX3VzZXJfaWQYBCAB", + "KAUSKwoFdmFsdWUYBSABKAsyHC5teGFjY2Vzc19nYXRld2F5LnYxLk14VmFs", + "dWUSNQoPdGltZXN0YW1wX3ZhbHVlGAYgASgLMhwubXhhY2Nlc3NfZ2F0ZXdh", + "eS52MS5NeFZhbHVlImMKF0F1dGhlbnRpY2F0ZVVzZXJDb21tYW5kEhUKDXNl", + "cnZlcl9oYW5kbGUYASABKAUSEwoLdmVyaWZ5X3VzZXIYAiABKAkSHAoUdmVy", + "aWZ5X3VzZXJfcGFzc3dvcmQYAyABKAkiRwoYQXJjaGVzdHJBVXNlclRvSWRD", + "b21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSFAoMdXNlcl9pZF9ndWlk", + "GAIgASgJIkIKEkFkZEl0ZW1CdWxrQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxl", + "GAEgASgFEhUKDXRhZ19hZGRyZXNzZXMYAiADKAkiRAoVQWR2aXNlSXRlbUJ1", + "bGtDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSFAoMaXRlbV9oYW5k", + "bGVzGAIgAygFIkQKFVJlbW92ZUl0ZW1CdWxrQ29tbWFuZBIVCg1zZXJ2ZXJf", + "aGFuZGxlGAEgASgFEhQKDGl0ZW1faGFuZGxlcxgCIAMoBSJGChdVbkFkdmlz", "ZUl0ZW1CdWxrQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhQKDGl0", - "ZW1faGFuZGxlcxgCIAMoBSJGChdVbkFkdmlzZUl0ZW1CdWxrQ29tbWFuZBIV", - "Cg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhQKDGl0ZW1faGFuZGxlcxgCIAMoBSJE", - "ChRTdWJzY3JpYmVCdWxrQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgF", - "EhUKDXRhZ19hZGRyZXNzZXMYAiADKAkiOQoWU3Vic2NyaWJlQWxhcm1zQ29t", - "bWFuZBIfChdzdWJzY3JpcHRpb25fZXhwcmVzc2lvbhgBIAEoCSIaChhVbnN1", - "YnNjcmliZUFsYXJtc0NvbW1hbmQioQEKF0Fja25vd2xlZGdlQWxhcm1Db21t", - "YW5kEhIKCmFsYXJtX2d1aWQYASABKAkSDwoHY29tbWVudBgCIAEoCRIVCg1v", - "cGVyYXRvcl91c2VyGAMgASgJEhUKDW9wZXJhdG9yX25vZGUYBCABKAkSFwoP", - "b3BlcmF0b3JfZG9tYWluGAUgASgJEhoKEm9wZXJhdG9yX2Z1bGxfbmFtZRgG", - "IAEoCSI3ChhRdWVyeUFjdGl2ZUFsYXJtc0NvbW1hbmQSGwoTYWxhcm1fZmls", - "dGVyX3ByZWZpeBgBIAEoCSLSAQodQWNrbm93bGVkZ2VBbGFybUJ5TmFtZUNv", - "bW1hbmQSEgoKYWxhcm1fbmFtZRgBIAEoCRIVCg1wcm92aWRlcl9uYW1lGAIg", - "ASgJEhIKCmdyb3VwX25hbWUYAyABKAkSDwoHY29tbWVudBgEIAEoCRIVCg1v", - "cGVyYXRvcl91c2VyGAUgASgJEhUKDW9wZXJhdG9yX25vZGUYBiABKAkSFwoP", - "b3BlcmF0b3JfZG9tYWluGAcgASgJEhoKEm9wZXJhdG9yX2Z1bGxfbmFtZRgI", - "IAEoCSJFChZVbnN1YnNjcmliZUJ1bGtDb21tYW5kEhUKDXNlcnZlcl9oYW5k", - "bGUYASABKAUSFAoMaXRlbV9oYW5kbGVzGAIgAygFIl8KEFdyaXRlQnVsa0Nv", - "bW1hbmQSFQoNc2VydmVyX2hhbmRsZRgBIAEoBRI0CgdlbnRyaWVzGAIgAygL", - "MiMubXhhY2Nlc3NfZ2F0ZXdheS52MS5Xcml0ZUJ1bGtFbnRyeSJjCg5Xcml0", - "ZUJ1bGtFbnRyeRITCgtpdGVtX2hhbmRsZRgBIAEoBRIrCgV2YWx1ZRgCIAEo", - "CzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhWYWx1ZRIPCgd1c2VyX2lkGAMg", - "ASgFImEKEVdyaXRlMkJ1bGtDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASAB", - "KAUSNQoHZW50cmllcxgCIAMoCzIkLm14YWNjZXNzX2dhdGV3YXkudjEuV3Jp", - "dGUyQnVsa0VudHJ5IpsBCg9Xcml0ZTJCdWxrRW50cnkSEwoLaXRlbV9oYW5k", - "bGUYASABKAUSKwoFdmFsdWUYAiABKAsyHC5teGFjY2Vzc19nYXRld2F5LnYx", - "Lk14VmFsdWUSNQoPdGltZXN0YW1wX3ZhbHVlGAMgASgLMhwubXhhY2Nlc3Nf", - "Z2F0ZXdheS52MS5NeFZhbHVlEg8KB3VzZXJfaWQYBCABKAUibQoXV3JpdGVT", - "ZWN1cmVkQnVsa0NvbW1hbmQSFQoNc2VydmVyX2hhbmRsZRgBIAEoBRI7Cgdl", - "bnRyaWVzGAIgAygLMioubXhhY2Nlc3NfZ2F0ZXdheS52MS5Xcml0ZVNlY3Vy", - "ZWRCdWxrRW50cnkijAEKFVdyaXRlU2VjdXJlZEJ1bGtFbnRyeRITCgtpdGVt", - "X2hhbmRsZRgBIAEoBRIXCg9jdXJyZW50X3VzZXJfaWQYAiABKAUSGAoQdmVy", - "aWZpZXJfdXNlcl9pZBgDIAEoBRIrCgV2YWx1ZRgEIAEoCzIcLm14YWNjZXNz", - "X2dhdGV3YXkudjEuTXhWYWx1ZSJvChhXcml0ZVNlY3VyZWQyQnVsa0NvbW1h", - "bmQSFQoNc2VydmVyX2hhbmRsZRgBIAEoBRI8CgdlbnRyaWVzGAIgAygLMisu", - "bXhhY2Nlc3NfZ2F0ZXdheS52MS5Xcml0ZVNlY3VyZWQyQnVsa0VudHJ5IsQB", - "ChZXcml0ZVNlY3VyZWQyQnVsa0VudHJ5EhMKC2l0ZW1faGFuZGxlGAEgASgF", - "EhcKD2N1cnJlbnRfdXNlcl9pZBgCIAEoBRIYChB2ZXJpZmllcl91c2VyX2lk", - "GAMgASgFEisKBXZhbHVlGAQgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5N", - "eFZhbHVlEjUKD3RpbWVzdGFtcF92YWx1ZRgFIAEoCzIcLm14YWNjZXNzX2dh", - "dGV3YXkudjEuTXhWYWx1ZSJTCg9SZWFkQnVsa0NvbW1hbmQSFQoNc2VydmVy", - "X2hhbmRsZRgBIAEoBRIVCg10YWdfYWRkcmVzc2VzGAIgAygJEhIKCnRpbWVv", - "dXRfbXMYAyABKA0iHgoLUGluZ0NvbW1hbmQSDwoHbWVzc2FnZRgBIAEoCSIY", - "ChZHZXRTZXNzaW9uU3RhdGVDb21tYW5kIhYKFEdldFdvcmtlckluZm9Db21t", - "YW5kIigKEkRyYWluRXZlbnRzQ29tbWFuZBISCgptYXhfZXZlbnRzGAEgASgN", - "IkgKFVNodXRkb3duV29ya2VyQ29tbWFuZBIvCgxncmFjZV9wZXJpb2QYASAB", - "KAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24ihg8KDk14Q29tbWFuZFJl", - "cGx5EhIKCnNlc3Npb25faWQYASABKAkSFgoOY29ycmVsYXRpb25faWQYAiAB", - "KAkSMAoEa2luZBgDIAEoDjIiLm14YWNjZXNzX2dhdGV3YXkudjEuTXhDb21t", - "YW5kS2luZBI8Cg9wcm90b2NvbF9zdGF0dXMYBCABKAsyIy5teGFjY2Vzc19n", - "YXRld2F5LnYxLlByb3RvY29sU3RhdHVzEhQKB2hyZXN1bHQYBSABKAVIAYgB", - "ARIyCgxyZXR1cm5fdmFsdWUYBiABKAsyHC5teGFjY2Vzc19nYXRld2F5LnYx", - "Lk14VmFsdWUSNAoIc3RhdHVzZXMYByADKAsyIi5teGFjY2Vzc19nYXRld2F5", - "LnYxLk14U3RhdHVzUHJveHkSGgoSZGlhZ25vc3RpY19tZXNzYWdlGAggASgJ", - "EjYKCHJlZ2lzdGVyGBQgASgLMiIubXhhY2Nlc3NfZ2F0ZXdheS52MS5SZWdp", - "c3RlclJlcGx5SAASNQoIYWRkX2l0ZW0YFSABKAsyIS5teGFjY2Vzc19nYXRl", - "d2F5LnYxLkFkZEl0ZW1SZXBseUgAEjcKCWFkZF9pdGVtMhgWIAEoCzIiLm14", - "YWNjZXNzX2dhdGV3YXkudjEuQWRkSXRlbTJSZXBseUgAEkYKEWFkZF9idWZm", - "ZXJlZF9pdGVtGBcgASgLMikubXhhY2Nlc3NfZ2F0ZXdheS52MS5BZGRCdWZm", - "ZXJlZEl0ZW1SZXBseUgAEjQKB3N1c3BlbmQYGCABKAsyIS5teGFjY2Vzc19n", - "YXRld2F5LnYxLlN1c3BlbmRSZXBseUgAEjYKCGFjdGl2YXRlGBkgASgLMiIu", - "bXhhY2Nlc3NfZ2F0ZXdheS52MS5BY3RpdmF0ZVJlcGx5SAASRwoRYXV0aGVu", - "dGljYXRlX3VzZXIYGiABKAsyKi5teGFjY2Vzc19nYXRld2F5LnYxLkF1dGhl", - "bnRpY2F0ZVVzZXJSZXBseUgAEksKFGFyY2hlc3RyYV91c2VyX3RvX2lkGBsg", - "ASgLMisubXhhY2Nlc3NfZ2F0ZXdheS52MS5BcmNoZXN0ckFVc2VyVG9JZFJl", - "cGx5SAASQAoNYWRkX2l0ZW1fYnVsaxgcIAEoCzInLm14YWNjZXNzX2dhdGV3", - "YXkudjEuQnVsa1N1YnNjcmliZVJlcGx5SAASQwoQYWR2aXNlX2l0ZW1fYnVs", - "axgdIAEoCzInLm14YWNjZXNzX2dhdGV3YXkudjEuQnVsa1N1YnNjcmliZVJl", - "cGx5SAASQwoQcmVtb3ZlX2l0ZW1fYnVsaxgeIAEoCzInLm14YWNjZXNzX2dh", - "dGV3YXkudjEuQnVsa1N1YnNjcmliZVJlcGx5SAASRgoTdW5fYWR2aXNlX2l0", - "ZW1fYnVsaxgfIAEoCzInLm14YWNjZXNzX2dhdGV3YXkudjEuQnVsa1N1YnNj", - "cmliZVJlcGx5SAASQQoOc3Vic2NyaWJlX2J1bGsYICABKAsyJy5teGFjY2Vz", - "c19nYXRld2F5LnYxLkJ1bGtTdWJzY3JpYmVSZXBseUgAEkMKEHVuc3Vic2Ny", - "aWJlX2J1bGsYISABKAsyJy5teGFjY2Vzc19nYXRld2F5LnYxLkJ1bGtTdWJz", - "Y3JpYmVSZXBseUgAEk4KEWFja25vd2xlZGdlX2FsYXJtGCIgASgLMjEubXhh", - "Y2Nlc3NfZ2F0ZXdheS52MS5BY2tub3dsZWRnZUFsYXJtUmVwbHlQYXlsb2Fk", - "SAASUQoTcXVlcnlfYWN0aXZlX2FsYXJtcxgjIAEoCzIyLm14YWNjZXNzX2dh", - "dGV3YXkudjEuUXVlcnlBY3RpdmVBbGFybXNSZXBseVBheWxvYWRIABI5Cgp3", - "cml0ZV9idWxrGCQgASgLMiMubXhhY2Nlc3NfZ2F0ZXdheS52MS5CdWxrV3Jp", - "dGVSZXBseUgAEjoKC3dyaXRlMl9idWxrGCUgASgLMiMubXhhY2Nlc3NfZ2F0", - "ZXdheS52MS5CdWxrV3JpdGVSZXBseUgAEkEKEndyaXRlX3NlY3VyZWRfYnVs", - "axgmIAEoCzIjLm14YWNjZXNzX2dhdGV3YXkudjEuQnVsa1dyaXRlUmVwbHlI", - "ABJCChN3cml0ZV9zZWN1cmVkMl9idWxrGCcgASgLMiMubXhhY2Nlc3NfZ2F0", - "ZXdheS52MS5CdWxrV3JpdGVSZXBseUgAEjcKCXJlYWRfYnVsaxgoIAEoCzIi", - "Lm14YWNjZXNzX2dhdGV3YXkudjEuQnVsa1JlYWRSZXBseUgAEj8KDXNlc3Np", - "b25fc3RhdGUYZCABKAsyJi5teGFjY2Vzc19nYXRld2F5LnYxLlNlc3Npb25T", - "dGF0ZVJlcGx5SAASOwoLd29ya2VyX2luZm8YZSABKAsyJC5teGFjY2Vzc19n", - "YXRld2F5LnYxLldvcmtlckluZm9SZXBseUgAEj0KDGRyYWluX2V2ZW50cxhm", - "IAEoCzIlLm14YWNjZXNzX2dhdGV3YXkudjEuRHJhaW5FdmVudHNSZXBseUgA", - "QgkKB3BheWxvYWRCCgoIX2hyZXN1bHQiJgoNUmVnaXN0ZXJSZXBseRIVCg1z", - "ZXJ2ZXJfaGFuZGxlGAEgASgFIiMKDEFkZEl0ZW1SZXBseRITCgtpdGVtX2hh", - "bmRsZRgBIAEoBSIkCg1BZGRJdGVtMlJlcGx5EhMKC2l0ZW1faGFuZGxlGAEg", - "ASgFIisKFEFkZEJ1ZmZlcmVkSXRlbVJlcGx5EhMKC2l0ZW1faGFuZGxlGAEg", - "ASgFIkIKDFN1c3BlbmRSZXBseRIyCgZzdGF0dXMYASABKAsyIi5teGFjY2Vz", - "c19nYXRld2F5LnYxLk14U3RhdHVzUHJveHkiQwoNQWN0aXZhdGVSZXBseRIy", - "CgZzdGF0dXMYASABKAsyIi5teGFjY2Vzc19nYXRld2F5LnYxLk14U3RhdHVz", - "UHJveHkiKAoVQXV0aGVudGljYXRlVXNlclJlcGx5Eg8KB3VzZXJfaWQYASAB", - "KAUiKQoWQXJjaGVzdHJBVXNlclRvSWRSZXBseRIPCgd1c2VyX2lkGAEgASgF", - "IoEBCg9TdWJzY3JpYmVSZXN1bHQSFQoNc2VydmVyX2hhbmRsZRgBIAEoBRIT", - "Cgt0YWdfYWRkcmVzcxgCIAEoCRITCgtpdGVtX2hhbmRsZRgDIAEoBRIWCg53", - "YXNfc3VjY2Vzc2Z1bBgEIAEoCBIVCg1lcnJvcl9tZXNzYWdlGAUgASgJIksK", - "EkJ1bGtTdWJzY3JpYmVSZXBseRI1CgdyZXN1bHRzGAEgAygLMiQubXhhY2Nl", - "c3NfZ2F0ZXdheS52MS5TdWJzY3JpYmVSZXN1bHQixAEKD0J1bGtXcml0ZVJl", - "c3VsdBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhMKC2l0ZW1faGFuZGxlGAIg", - "ASgFEhYKDndhc19zdWNjZXNzZnVsGAMgASgIEhQKB2hyZXN1bHQYBCABKAVI", - "AIgBARI0CghzdGF0dXNlcxgFIAMoCzIiLm14YWNjZXNzX2dhdGV3YXkudjEu", - "TXhTdGF0dXNQcm94eRIVCg1lcnJvcl9tZXNzYWdlGAYgASgJQgoKCF9ocmVz", - "dWx0IkcKDkJ1bGtXcml0ZVJlcGx5EjUKB3Jlc3VsdHMYASADKAsyJC5teGFj", - "Y2Vzc19nYXRld2F5LnYxLkJ1bGtXcml0ZVJlc3VsdCK+AgoOQnVsa1JlYWRS", - "ZXN1bHQSFQoNc2VydmVyX2hhbmRsZRgBIAEoBRITCgt0YWdfYWRkcmVzcxgC", - "IAEoCRITCgtpdGVtX2hhbmRsZRgDIAEoBRIWCg53YXNfc3VjY2Vzc2Z1bBgE", - "IAEoCBISCgp3YXNfY2FjaGVkGAUgASgIEisKBXZhbHVlGAYgASgLMhwubXhh", - "Y2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVlEg8KB3F1YWxpdHkYByABKAUSNAoQ", - "c291cmNlX3RpbWVzdGFtcBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1l", - "c3RhbXASNAoIc3RhdHVzZXMYCSADKAsyIi5teGFjY2Vzc19nYXRld2F5LnYx", - "Lk14U3RhdHVzUHJveHkSFQoNZXJyb3JfbWVzc2FnZRgKIAEoCSJFCg1CdWxr", - "UmVhZFJlcGx5EjQKB3Jlc3VsdHMYASADKAsyIy5teGFjY2Vzc19nYXRld2F5", - "LnYxLkJ1bGtSZWFkUmVzdWx0IkUKEVNlc3Npb25TdGF0ZVJlcGx5EjAKBXN0", - "YXRlGAEgASgOMiEubXhhY2Nlc3NfZ2F0ZXdheS52MS5TZXNzaW9uU3RhdGUi", - "dQoPV29ya2VySW5mb1JlcGx5EhkKEXdvcmtlcl9wcm9jZXNzX2lkGAEgASgF", - "EhYKDndvcmtlcl92ZXJzaW9uGAIgASgJEhcKD214YWNjZXNzX3Byb2dpZBgD", - "IAEoCRIWCg5teGFjY2Vzc19jbHNpZBgEIAEoCSJAChBEcmFpbkV2ZW50c1Jl", - "cGx5EiwKBmV2ZW50cxgBIAMoCzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhF", - "dmVudCI1ChxBY2tub3dsZWRnZUFsYXJtUmVwbHlQYXlsb2FkEhUKDW5hdGl2", - "ZV9zdGF0dXMYASABKAUiXAodUXVlcnlBY3RpdmVBbGFybXNSZXBseVBheWxv", - "YWQSOwoJc25hcHNob3RzGAEgAygLMigubXhhY2Nlc3NfZ2F0ZXdheS52MS5B", - "Y3RpdmVBbGFybVNuYXBzaG90IucGCgdNeEV2ZW50EjIKBmZhbWlseRgBIAEo", - "DjIiLm14YWNjZXNzX2dhdGV3YXkudjEuTXhFdmVudEZhbWlseRISCgpzZXNz", - "aW9uX2lkGAIgASgJEhUKDXNlcnZlcl9oYW5kbGUYAyABKAUSEwoLaXRlbV9o", - "YW5kbGUYBCABKAUSKwoFdmFsdWUYBSABKAsyHC5teGFjY2Vzc19nYXRld2F5", - "LnYxLk14VmFsdWUSDwoHcXVhbGl0eRgGIAEoBRI0ChBzb3VyY2VfdGltZXN0", - "YW1wGAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI0CghzdGF0", - "dXNlcxgIIAMoCzIiLm14YWNjZXNzX2dhdGV3YXkudjEuTXhTdGF0dXNQcm94", - "eRIXCg93b3JrZXJfc2VxdWVuY2UYCSABKAQSNAoQd29ya2VyX3RpbWVzdGFt", - "cBgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASPQoZZ2F0ZXdh", - "eV9yZWNlaXZlX3RpbWVzdGFtcBgLIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5U", - "aW1lc3RhbXASFAoHaHJlc3VsdBgMIAEoBUgBiAEBEhIKCnJhd19zdGF0dXMY", - "DSABKAkSQAoOb25fZGF0YV9jaGFuZ2UYFCABKAsyJi5teGFjY2Vzc19nYXRl", - "d2F5LnYxLk9uRGF0YUNoYW5nZUV2ZW50SAASRgoRb25fd3JpdGVfY29tcGxl", - "dGUYFSABKAsyKS5teGFjY2Vzc19nYXRld2F5LnYxLk9uV3JpdGVDb21wbGV0", - "ZUV2ZW50SAASSQoSb3BlcmF0aW9uX2NvbXBsZXRlGBYgASgLMisubXhhY2Nl", - "c3NfZ2F0ZXdheS52MS5PcGVyYXRpb25Db21wbGV0ZUV2ZW50SAASUQoXb25f", - "YnVmZmVyZWRfZGF0YV9jaGFuZ2UYFyABKAsyLi5teGFjY2Vzc19nYXRld2F5", - "LnYxLk9uQnVmZmVyZWREYXRhQ2hhbmdlRXZlbnRIABJKChNvbl9hbGFybV90", - "cmFuc2l0aW9uGBggASgLMisubXhhY2Nlc3NfZ2F0ZXdheS52MS5PbkFsYXJt", - "VHJhbnNpdGlvbkV2ZW50SABCBgoEYm9keUIKCghfaHJlc3VsdCITChFPbkRh", - "dGFDaGFuZ2VFdmVudCIWChRPbldyaXRlQ29tcGxldGVFdmVudCIYChZPcGVy", - "YXRpb25Db21wbGV0ZUV2ZW50ItQBChlPbkJ1ZmZlcmVkRGF0YUNoYW5nZUV2", - "ZW50EjIKCWRhdGFfdHlwZRgBIAEoDjIfLm14YWNjZXNzX2dhdGV3YXkudjEu", - "TXhEYXRhVHlwZRI0Cg5xdWFsaXR5X3ZhbHVlcxgCIAEoCzIcLm14YWNjZXNz", - "X2dhdGV3YXkudjEuTXhBcnJheRI2ChB0aW1lc3RhbXBfdmFsdWVzGAMgASgL", - "MhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeEFycmF5EhUKDXJhd19kYXRhX3R5", - "cGUYBCABKAUi/QMKFk9uQWxhcm1UcmFuc2l0aW9uRXZlbnQSHAoUYWxhcm1f", - "ZnVsbF9yZWZlcmVuY2UYASABKAkSHwoXc291cmNlX29iamVjdF9yZWZlcmVu", - "Y2UYAiABKAkSFwoPYWxhcm1fdHlwZV9uYW1lGAMgASgJEkEKD3RyYW5zaXRp", - "b25fa2luZBgEIAEoDjIoLm14YWNjZXNzX2dhdGV3YXkudjEuQWxhcm1UcmFu", - "c2l0aW9uS2luZBIQCghzZXZlcml0eRgFIAEoBRI8ChhvcmlnaW5hbF9yYWlz", - "ZV90aW1lc3RhbXAYBiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1w", - "EjgKFHRyYW5zaXRpb25fdGltZXN0YW1wGAcgASgLMhouZ29vZ2xlLnByb3Rv", - "YnVmLlRpbWVzdGFtcBIVCg1vcGVyYXRvcl91c2VyGAggASgJEhgKEG9wZXJh", - "dG9yX2NvbW1lbnQYCSABKAkSEAoIY2F0ZWdvcnkYCiABKAkSEwoLZGVzY3Jp", - "cHRpb24YCyABKAkSMwoNY3VycmVudF92YWx1ZRgMIAEoCzIcLm14YWNjZXNz", - "X2dhdGV3YXkudjEuTXhWYWx1ZRIxCgtsaW1pdF92YWx1ZRgNIAEoCzIcLm14", - "YWNjZXNzX2dhdGV3YXkudjEuTXhWYWx1ZSL9AwoTQWN0aXZlQWxhcm1TbmFw", - "c2hvdBIcChRhbGFybV9mdWxsX3JlZmVyZW5jZRgBIAEoCRIfChdzb3VyY2Vf", - "b2JqZWN0X3JlZmVyZW5jZRgCIAEoCRIXCg9hbGFybV90eXBlX25hbWUYAyAB", - "KAkSEAoIc2V2ZXJpdHkYBCABKAUSPAoYb3JpZ2luYWxfcmFpc2VfdGltZXN0", - "YW1wGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI/Cg1jdXJy", - "ZW50X3N0YXRlGAYgASgOMigubXhhY2Nlc3NfZ2F0ZXdheS52MS5BbGFybUNv", - "bmRpdGlvblN0YXRlEhAKCGNhdGVnb3J5GAcgASgJEhMKC2Rlc2NyaXB0aW9u", - "GAggASgJEj0KGWxhc3RfdHJhbnNpdGlvbl90aW1lc3RhbXAYCSABKAsyGi5n", - "b29nbGUucHJvdG9idWYuVGltZXN0YW1wEhUKDW9wZXJhdG9yX3VzZXIYCiAB", - "KAkSGAoQb3BlcmF0b3JfY29tbWVudBgLIAEoCRIzCg1jdXJyZW50X3ZhbHVl", - "GAwgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVlEjEKC2xpbWl0", - "X3ZhbHVlGA0gASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVlIpAB", - "ChdBY2tub3dsZWRnZUFsYXJtUmVxdWVzdBIdChVjbGllbnRfY29ycmVsYXRp", - "b25faWQYAiABKAkSHAoUYWxhcm1fZnVsbF9yZWZlcmVuY2UYAyABKAkSDwoH", - "Y29tbWVudBgEIAEoCRIVCg1vcGVyYXRvcl91c2VyGAUgASgJSgQIARACUgpz", - "ZXNzaW9uX2lkIvEBChVBY2tub3dsZWRnZUFsYXJtUmVwbHkSFgoOY29ycmVs", - "YXRpb25faWQYAiABKAkSPAoPcHJvdG9jb2xfc3RhdHVzGAMgASgLMiMubXhh", - "Y2Nlc3NfZ2F0ZXdheS52MS5Qcm90b2NvbFN0YXR1cxIUCgdocmVzdWx0GAQg", - "ASgFSACIAQESMgoGc3RhdHVzGAUgASgLMiIubXhhY2Nlc3NfZ2F0ZXdheS52", - "MS5NeFN0YXR1c1Byb3h5EhoKEmRpYWdub3N0aWNfbWVzc2FnZRgGIAEoCUIK", - "CghfaHJlc3VsdEoECAEQAlIKc2Vzc2lvbl9pZCJRChNTdHJlYW1BbGFybXNS", - "ZXF1ZXN0Eh0KFWNsaWVudF9jb3JyZWxhdGlvbl9pZBgBIAEoCRIbChNhbGFy", - "bV9maWx0ZXJfcHJlZml4GAIgASgJIr8BChBBbGFybUZlZWRNZXNzYWdlEkAK", - "DGFjdGl2ZV9hbGFybRgBIAEoCzIoLm14YWNjZXNzX2dhdGV3YXkudjEuQWN0", - "aXZlQWxhcm1TbmFwc2hvdEgAEhsKEXNuYXBzaG90X2NvbXBsZXRlGAIgASgI", - "SAASQQoKdHJhbnNpdGlvbhgDIAEoCzIrLm14YWNjZXNzX2dhdGV3YXkudjEu", - "T25BbGFybVRyYW5zaXRpb25FdmVudEgAQgkKB3BheWxvYWQi6wEKDU14U3Rh", - "dHVzUHJveHkSDwoHc3VjY2VzcxgBIAEoBRI3CghjYXRlZ29yeRgCIAEoDjIl", - "Lm14YWNjZXNzX2dhdGV3YXkudjEuTXhTdGF0dXNDYXRlZ29yeRI4CgtkZXRl", - "Y3RlZF9ieRgDIAEoDjIjLm14YWNjZXNzX2dhdGV3YXkudjEuTXhTdGF0dXNT", - "b3VyY2USDgoGZGV0YWlsGAQgASgFEhQKDHJhd19jYXRlZ29yeRgFIAEoBRIX", - "Cg9yYXdfZGV0ZWN0ZWRfYnkYBiABKAUSFwoPZGlhZ25vc3RpY190ZXh0GAcg", - "ASgJIqcDCgdNeFZhbHVlEjIKCWRhdGFfdHlwZRgBIAEoDjIfLm14YWNjZXNz", - "X2dhdGV3YXkudjEuTXhEYXRhVHlwZRIUCgx2YXJpYW50X3R5cGUYAiABKAkS", - "DwoHaXNfbnVsbBgDIAEoCBIWCg5yYXdfZGlhZ25vc3RpYxgEIAEoCRIVCg1y", - "YXdfZGF0YV90eXBlGAUgASgFEhQKCmJvb2xfdmFsdWUYCiABKAhIABIVCgtp", - "bnQzMl92YWx1ZRgLIAEoBUgAEhUKC2ludDY0X3ZhbHVlGAwgASgDSAASFQoL", - "ZmxvYXRfdmFsdWUYDSABKAJIABIWCgxkb3VibGVfdmFsdWUYDiABKAFIABIW", - "CgxzdHJpbmdfdmFsdWUYDyABKAlIABI1Cg90aW1lc3RhbXBfdmFsdWUYECAB", - "KAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAASMwoLYXJyYXlfdmFs", - "dWUYESABKAsyHC5teGFjY2Vzc19nYXRld2F5LnYxLk14QXJyYXlIABITCgly", - "YXdfdmFsdWUYEiABKAxIAEIGCgRraW5kIv4ECgdNeEFycmF5EjoKEWVsZW1l", - "bnRfZGF0YV90eXBlGAEgASgOMh8ubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeERh", - "dGFUeXBlEhQKDHZhcmlhbnRfdHlwZRgCIAEoCRISCgpkaW1lbnNpb25zGAMg", - "AygNEhYKDnJhd19kaWFnbm9zdGljGAQgASgJEh0KFXJhd19lbGVtZW50X2Rh", - "dGFfdHlwZRgFIAEoBRI1Cgtib29sX3ZhbHVlcxgKIAEoCzIeLm14YWNjZXNz", - "X2dhdGV3YXkudjEuQm9vbEFycmF5SAASNwoMaW50MzJfdmFsdWVzGAsgASgL", - "Mh8ubXhhY2Nlc3NfZ2F0ZXdheS52MS5JbnQzMkFycmF5SAASNwoMaW50NjRf", - "dmFsdWVzGAwgASgLMh8ubXhhY2Nlc3NfZ2F0ZXdheS52MS5JbnQ2NEFycmF5", - "SAASNwoMZmxvYXRfdmFsdWVzGA0gASgLMh8ubXhhY2Nlc3NfZ2F0ZXdheS52", - "MS5GbG9hdEFycmF5SAASOQoNZG91YmxlX3ZhbHVlcxgOIAEoCzIgLm14YWNj", - "ZXNzX2dhdGV3YXkudjEuRG91YmxlQXJyYXlIABI5Cg1zdHJpbmdfdmFsdWVz", - "GA8gASgLMiAubXhhY2Nlc3NfZ2F0ZXdheS52MS5TdHJpbmdBcnJheUgAEj8K", - "EHRpbWVzdGFtcF92YWx1ZXMYECABKAsyIy5teGFjY2Vzc19nYXRld2F5LnYx", - "LlRpbWVzdGFtcEFycmF5SAASMwoKcmF3X3ZhbHVlcxgRIAEoCzIdLm14YWNj", - "ZXNzX2dhdGV3YXkudjEuUmF3QXJyYXlIAEIICgZ2YWx1ZXMiGwoJQm9vbEFy", - "cmF5Eg4KBnZhbHVlcxgBIAMoCCIcCgpJbnQzMkFycmF5Eg4KBnZhbHVlcxgB", - "IAMoBSIcCgpJbnQ2NEFycmF5Eg4KBnZhbHVlcxgBIAMoAyIcCgpGbG9hdEFy", - "cmF5Eg4KBnZhbHVlcxgBIAMoAiIdCgtEb3VibGVBcnJheRIOCgZ2YWx1ZXMY", - "ASADKAEiHQoLU3RyaW5nQXJyYXkSDgoGdmFsdWVzGAEgAygJIjwKDlRpbWVz", - "dGFtcEFycmF5EioKBnZhbHVlcxgBIAMoCzIaLmdvb2dsZS5wcm90b2J1Zi5U", - "aW1lc3RhbXAiGgoIUmF3QXJyYXkSDgoGdmFsdWVzGAEgAygMIlgKDlByb3Rv", - "Y29sU3RhdHVzEjUKBGNvZGUYASABKA4yJy5teGFjY2Vzc19nYXRld2F5LnYx", - "LlByb3RvY29sU3RhdHVzQ29kZRIPCgdtZXNzYWdlGAIgASgJKp8LCg1NeENv", - "bW1hbmRLaW5kEh8KG01YX0NPTU1BTkRfS0lORF9VTlNQRUNJRklFRBAAEhwK", - "GE1YX0NPTU1BTkRfS0lORF9SRUdJU1RFUhABEh4KGk1YX0NPTU1BTkRfS0lO", - "RF9VTlJFR0lTVEVSEAISHAoYTVhfQ09NTUFORF9LSU5EX0FERF9JVEVNEAMS", - "HQoZTVhfQ09NTUFORF9LSU5EX0FERF9JVEVNMhAEEh8KG01YX0NPTU1BTkRf", - "S0lORF9SRU1PVkVfSVRFTRAFEhoKFk1YX0NPTU1BTkRfS0lORF9BRFZJU0UQ", - "BhIdChlNWF9DT01NQU5EX0tJTkRfVU5fQURWSVNFEAcSJgoiTVhfQ09NTUFO", - "RF9LSU5EX0FEVklTRV9TVVBFUlZJU09SWRAIEiUKIU1YX0NPTU1BTkRfS0lO", - "RF9BRERfQlVGRkVSRURfSVRFTRAJEjAKLE1YX0NPTU1BTkRfS0lORF9TRVRf", - "QlVGRkVSRURfVVBEQVRFX0lOVEVSVkFMEAoSGwoXTVhfQ09NTUFORF9LSU5E", - "X1NVU1BFTkQQCxIcChhNWF9DT01NQU5EX0tJTkRfQUNUSVZBVEUQDBIZChVN", - "WF9DT01NQU5EX0tJTkRfV1JJVEUQDRIaChZNWF9DT01NQU5EX0tJTkRfV1JJ", - "VEUyEA4SIQodTVhfQ09NTUFORF9LSU5EX1dSSVRFX1NFQ1VSRUQQDxIiCh5N", - "WF9DT01NQU5EX0tJTkRfV1JJVEVfU0VDVVJFRDIQEBIlCiFNWF9DT01NQU5E", - "X0tJTkRfQVVUSEVOVElDQVRFX1VTRVIQERIoCiRNWF9DT01NQU5EX0tJTkRf", - "QVJDSEVTVFJBX1VTRVJfVE9fSUQQEhIhCh1NWF9DT01NQU5EX0tJTkRfQURE", - "X0lURU1fQlVMSxATEiQKIE1YX0NPTU1BTkRfS0lORF9BRFZJU0VfSVRFTV9C", - "VUxLEBQSJAogTVhfQ09NTUFORF9LSU5EX1JFTU9WRV9JVEVNX0JVTEsQFRIn", - "CiNNWF9DT01NQU5EX0tJTkRfVU5fQURWSVNFX0lURU1fQlVMSxAWEiIKHk1Y", - "X0NPTU1BTkRfS0lORF9TVUJTQ1JJQkVfQlVMSxAXEiQKIE1YX0NPTU1BTkRf", - "S0lORF9VTlNVQlNDUklCRV9CVUxLEBgSJAogTVhfQ09NTUFORF9LSU5EX1NV", - "QlNDUklCRV9BTEFSTVMQGRImCiJNWF9DT01NQU5EX0tJTkRfVU5TVUJTQ1JJ", - "QkVfQUxBUk1TEBoSJQohTVhfQ09NTUFORF9LSU5EX0FDS05PV0xFREdFX0FM", - "QVJNEBsSJwojTVhfQ09NTUFORF9LSU5EX1FVRVJZX0FDVElWRV9BTEFSTVMQ", - "HBItCilNWF9DT01NQU5EX0tJTkRfQUNLTk9XTEVER0VfQUxBUk1fQllfTkFN", - "RRAdEh4KGk1YX0NPTU1BTkRfS0lORF9XUklURV9CVUxLEB4SHwobTVhfQ09N", - "TUFORF9LSU5EX1dSSVRFMl9CVUxLEB8SJgoiTVhfQ09NTUFORF9LSU5EX1dS", - "SVRFX1NFQ1VSRURfQlVMSxAgEicKI01YX0NPTU1BTkRfS0lORF9XUklURV9T", - "RUNVUkVEMl9CVUxLECESHQoZTVhfQ09NTUFORF9LSU5EX1JFQURfQlVMSxAi", - "EhgKFE1YX0NPTU1BTkRfS0lORF9QSU5HEGQSJQohTVhfQ09NTUFORF9LSU5E", - "X0dFVF9TRVNTSU9OX1NUQVRFEGUSIwofTVhfQ09NTUFORF9LSU5EX0dFVF9X", - "T1JLRVJfSU5GTxBmEiAKHE1YX0NPTU1BTkRfS0lORF9EUkFJTl9FVkVOVFMQ", - "ZxIjCh9NWF9DT01NQU5EX0tJTkRfU0hVVERPV05fV09SS0VSEGgq+QEKDU14", - "RXZlbnRGYW1pbHkSHwobTVhfRVZFTlRfRkFNSUxZX1VOU1BFQ0lGSUVEEAAS", - "IgoeTVhfRVZFTlRfRkFNSUxZX09OX0RBVEFfQ0hBTkdFEAESJQohTVhfRVZF", - "TlRfRkFNSUxZX09OX1dSSVRFX0NPTVBMRVRFEAISJgoiTVhfRVZFTlRfRkFN", - "SUxZX09QRVJBVElPTl9DT01QTEVURRADEisKJ01YX0VWRU5UX0ZBTUlMWV9P", - "Tl9CVUZGRVJFRF9EQVRBX0NIQU5HRRAEEicKI01YX0VWRU5UX0ZBTUlMWV9P", - "Tl9BTEFSTV9UUkFOU0lUSU9OEAUqygEKE0FsYXJtVHJhbnNpdGlvbktpbmQS", - "JQohQUxBUk1fVFJBTlNJVElPTl9LSU5EX1VOU1BFQ0lGSUVEEAASHwobQUxB", - "Uk1fVFJBTlNJVElPTl9LSU5EX1JBSVNFEAESJQohQUxBUk1fVFJBTlNJVElP", - "Tl9LSU5EX0FDS05PV0xFREdFEAISHwobQUxBUk1fVFJBTlNJVElPTl9LSU5E", - "X0NMRUFSEAMSIwofQUxBUk1fVFJBTlNJVElPTl9LSU5EX1JFVFJJR0dFUhAE", - "KqoBChNBbGFybUNvbmRpdGlvblN0YXRlEiUKIUFMQVJNX0NPTkRJVElPTl9T", - "VEFURV9VTlNQRUNJRklFRBAAEiAKHEFMQVJNX0NPTkRJVElPTl9TVEFURV9B", - "Q1RJVkUQARImCiJBTEFSTV9DT05ESVRJT05fU1RBVEVfQUNUSVZFX0FDS0VE", - "EAISIgoeQUxBUk1fQ09ORElUSU9OX1NUQVRFX0lOQUNUSVZFEAMqpQMKEE14", - "U3RhdHVzQ2F0ZWdvcnkSIgoeTVhfU1RBVFVTX0NBVEVHT1JZX1VOU1BFQ0lG", - "SUVEEAASHgoaTVhfU1RBVFVTX0NBVEVHT1JZX1VOS05PV04QARIZChVNWF9T", - "VEFUVVNfQ0FURUdPUllfT0sQAhIeChpNWF9TVEFUVVNfQ0FURUdPUllfUEVO", - "RElORxADEh4KGk1YX1NUQVRVU19DQVRFR09SWV9XQVJOSU5HEAQSKgomTVhf", - "U1RBVFVTX0NBVEVHT1JZX0NPTU1VTklDQVRJT05fRVJST1IQBRIqCiZNWF9T", - "VEFUVVNfQ0FURUdPUllfQ09ORklHVVJBVElPTl9FUlJPUhAGEigKJE1YX1NU", - "QVRVU19DQVRFR09SWV9PUEVSQVRJT05BTF9FUlJPUhAHEiUKIU1YX1NUQVRV", - "U19DQVRFR09SWV9TRUNVUklUWV9FUlJPUhAIEiUKIU1YX1NUQVRVU19DQVRF", - "R09SWV9TT0ZUV0FSRV9FUlJPUhAJEiIKHk1YX1NUQVRVU19DQVRFR09SWV9P", - "VEhFUl9FUlJPUhAKKsoCCg5NeFN0YXR1c1NvdXJjZRIgChxNWF9TVEFUVVNf", - "U09VUkNFX1VOU1BFQ0lGSUVEEAASHAoYTVhfU1RBVFVTX1NPVVJDRV9VTktO", - "T1dOEAESIwofTVhfU1RBVFVTX1NPVVJDRV9SRVFVRVNUSU5HX0xNWBACEiMK", - "H01YX1NUQVRVU19TT1VSQ0VfUkVTUE9ORElOR19MTVgQAxIjCh9NWF9TVEFU", - "VVNfU09VUkNFX1JFUVVFU1RJTkdfTk1YEAQSIwofTVhfU1RBVFVTX1NPVVJD", - "RV9SRVNQT05ESU5HX05NWBAFEjEKLU1YX1NUQVRVU19TT1VSQ0VfUkVRVUVT", - "VElOR19BVVRPTUFUSU9OX09CSkVDVBAGEjEKLU1YX1NUQVRVU19TT1VSQ0Vf", - "UkVTUE9ORElOR19BVVRPTUFUSU9OX09CSkVDVBAHKt0ECgpNeERhdGFUeXBl", - "EhwKGE1YX0RBVEFfVFlQRV9VTlNQRUNJRklFRBAAEhgKFE1YX0RBVEFfVFlQ", - "RV9VTktOT1dOEAESGAoUTVhfREFUQV9UWVBFX05PX0RBVEEQAhIYChRNWF9E", - "QVRBX1RZUEVfQk9PTEVBThADEhgKFE1YX0RBVEFfVFlQRV9JTlRFR0VSEAQS", - "FgoSTVhfREFUQV9UWVBFX0ZMT0FUEAUSFwoTTVhfREFUQV9UWVBFX0RPVUJM", - "RRAGEhcKE01YX0RBVEFfVFlQRV9TVFJJTkcQBxIVChFNWF9EQVRBX1RZUEVf", - "VElNRRAIEh0KGU1YX0RBVEFfVFlQRV9FTEFQU0VEX1RJTUUQCRIfChtNWF9E", - "QVRBX1RZUEVfUkVGRVJFTkNFX1RZUEUQChIcChhNWF9EQVRBX1RZUEVfU1RB", - "VFVTX1RZUEUQCxIVChFNWF9EQVRBX1RZUEVfRU5VTRAMEi0KKU1YX0RBVEFf", - "VFlQRV9TRUNVUklUWV9DTEFTU0lGSUNBVElPTl9FTlVNEA0SIgoeTVhfREFU", - "QV9UWVBFX0RBVEFfUVVBTElUWV9UWVBFEA4SHwobTVhfREFUQV9UWVBFX1FV", - "QUxJRklFRF9FTlVNEA8SIQodTVhfREFUQV9UWVBFX1FVQUxJRklFRF9TVFJV", - "Q1QQEBIpCiVNWF9EQVRBX1RZUEVfSU5URVJOQVRJT05BTElaRURfU1RSSU5H", - "EBESGwoXTVhfREFUQV9UWVBFX0JJR19TVFJJTkcQEhIUChBNWF9EQVRBX1RZ", - "UEVfRU5EEBMqowMKElByb3RvY29sU3RhdHVzQ29kZRIkCiBQUk9UT0NPTF9T", - "VEFUVVNfQ09ERV9VTlNQRUNJRklFRBAAEhsKF1BST1RPQ09MX1NUQVRVU19D", - "T0RFX09LEAESKAokUFJPVE9DT0xfU1RBVFVTX0NPREVfSU5WQUxJRF9SRVFV", - "RVNUEAISKgomUFJPVE9DT0xfU1RBVFVTX0NPREVfU0VTU0lPTl9OT1RfRk9V", - "TkQQAxIqCiZQUk9UT0NPTF9TVEFUVVNfQ09ERV9TRVNTSU9OX05PVF9SRUFE", - "WRAEEisKJ1BST1RPQ09MX1NUQVRVU19DT0RFX1dPUktFUl9VTkFWQUlMQUJM", - "RRAFEiAKHFBST1RPQ09MX1NUQVRVU19DT0RFX1RJTUVPVVQQBhIhCh1QUk9U", - "T0NPTF9TVEFUVVNfQ09ERV9DQU5DRUxFRBAHEisKJ1BST1RPQ09MX1NUQVRV", - "U19DT0RFX1BST1RPQ09MX1ZJT0xBVElPThAIEikKJVBST1RPQ09MX1NUQVRV", - "U19DT0RFX01YQUNDRVNTX0ZBSUxVUkUQCSq/AgoMU2Vzc2lvblN0YXRlEh0K", - "GVNFU1NJT05fU1RBVEVfVU5TUEVDSUZJRUQQABIaChZTRVNTSU9OX1NUQVRF", - "X0NSRUFUSU5HEAESIQodU0VTU0lPTl9TVEFURV9TVEFSVElOR19XT1JLRVIQ", - "AhIiCh5TRVNTSU9OX1NUQVRFX1dBSVRJTkdfRk9SX1BJUEUQAxIdChlTRVNT", - "SU9OX1NUQVRFX0hBTkRTSEFLSU5HEAQSJQohU0VTU0lPTl9TVEFURV9JTklU", - "SUFMSVpJTkdfV09SS0VSEAUSFwoTU0VTU0lPTl9TVEFURV9SRUFEWRAGEhkK", - "FVNFU1NJT05fU1RBVEVfQ0xPU0lORxAHEhgKFFNFU1NJT05fU1RBVEVfQ0xP", - "U0VEEAgSGQoVU0VTU0lPTl9TVEFURV9GQVVMVEVEEAky0wQKD014QWNjZXNz", - "R2F0ZXdheRJdCgtPcGVuU2Vzc2lvbhInLm14YWNjZXNzX2dhdGV3YXkudjEu", - "T3BlblNlc3Npb25SZXF1ZXN0GiUubXhhY2Nlc3NfZ2F0ZXdheS52MS5PcGVu", - "U2Vzc2lvblJlcGx5EmAKDENsb3NlU2Vzc2lvbhIoLm14YWNjZXNzX2dhdGV3", - "YXkudjEuQ2xvc2VTZXNzaW9uUmVxdWVzdBomLm14YWNjZXNzX2dhdGV3YXku", - "djEuQ2xvc2VTZXNzaW9uUmVwbHkSVAoGSW52b2tlEiUubXhhY2Nlc3NfZ2F0", - "ZXdheS52MS5NeENvbW1hbmRSZXF1ZXN0GiMubXhhY2Nlc3NfZ2F0ZXdheS52", - "MS5NeENvbW1hbmRSZXBseRJYCgxTdHJlYW1FdmVudHMSKC5teGFjY2Vzc19n", - "YXRld2F5LnYxLlN0cmVhbUV2ZW50c1JlcXVlc3QaHC5teGFjY2Vzc19nYXRl", - "d2F5LnYxLk14RXZlbnQwARJsChBBY2tub3dsZWRnZUFsYXJtEiwubXhhY2Nl", - "c3NfZ2F0ZXdheS52MS5BY2tub3dsZWRnZUFsYXJtUmVxdWVzdBoqLm14YWNj", - "ZXNzX2dhdGV3YXkudjEuQWNrbm93bGVkZ2VBbGFybVJlcGx5EmEKDFN0cmVh", - "bUFsYXJtcxIoLm14YWNjZXNzX2dhdGV3YXkudjEuU3RyZWFtQWxhcm1zUmVx", - "dWVzdBolLm14YWNjZXNzX2dhdGV3YXkudjEuQWxhcm1GZWVkTWVzc2FnZTAB", - "QiaqAiNaQi5NT00uV1cuTXhHYXRld2F5LkNvbnRyYWN0cy5Qcm90b2IGcHJv", - "dG8z")); + "ZW1faGFuZGxlcxgCIAMoBSJEChRTdWJzY3JpYmVCdWxrQ29tbWFuZBIVCg1z", + "ZXJ2ZXJfaGFuZGxlGAEgASgFEhUKDXRhZ19hZGRyZXNzZXMYAiADKAkiOQoW", + "U3Vic2NyaWJlQWxhcm1zQ29tbWFuZBIfChdzdWJzY3JpcHRpb25fZXhwcmVz", + "c2lvbhgBIAEoCSIaChhVbnN1YnNjcmliZUFsYXJtc0NvbW1hbmQioQEKF0Fj", + "a25vd2xlZGdlQWxhcm1Db21tYW5kEhIKCmFsYXJtX2d1aWQYASABKAkSDwoH", + "Y29tbWVudBgCIAEoCRIVCg1vcGVyYXRvcl91c2VyGAMgASgJEhUKDW9wZXJh", + "dG9yX25vZGUYBCABKAkSFwoPb3BlcmF0b3JfZG9tYWluGAUgASgJEhoKEm9w", + "ZXJhdG9yX2Z1bGxfbmFtZRgGIAEoCSI3ChhRdWVyeUFjdGl2ZUFsYXJtc0Nv", + "bW1hbmQSGwoTYWxhcm1fZmlsdGVyX3ByZWZpeBgBIAEoCSLSAQodQWNrbm93", + "bGVkZ2VBbGFybUJ5TmFtZUNvbW1hbmQSEgoKYWxhcm1fbmFtZRgBIAEoCRIV", + "Cg1wcm92aWRlcl9uYW1lGAIgASgJEhIKCmdyb3VwX25hbWUYAyABKAkSDwoH", + "Y29tbWVudBgEIAEoCRIVCg1vcGVyYXRvcl91c2VyGAUgASgJEhUKDW9wZXJh", + "dG9yX25vZGUYBiABKAkSFwoPb3BlcmF0b3JfZG9tYWluGAcgASgJEhoKEm9w", + "ZXJhdG9yX2Z1bGxfbmFtZRgIIAEoCSJFChZVbnN1YnNjcmliZUJ1bGtDb21t", + "YW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSFAoMaXRlbV9oYW5kbGVzGAIg", + "AygFIl8KEFdyaXRlQnVsa0NvbW1hbmQSFQoNc2VydmVyX2hhbmRsZRgBIAEo", + "BRI0CgdlbnRyaWVzGAIgAygLMiMubXhhY2Nlc3NfZ2F0ZXdheS52MS5Xcml0", + "ZUJ1bGtFbnRyeSJjCg5Xcml0ZUJ1bGtFbnRyeRITCgtpdGVtX2hhbmRsZRgB", + "IAEoBRIrCgV2YWx1ZRgCIAEoCzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhW", + "YWx1ZRIPCgd1c2VyX2lkGAMgASgFImEKEVdyaXRlMkJ1bGtDb21tYW5kEhUK", + "DXNlcnZlcl9oYW5kbGUYASABKAUSNQoHZW50cmllcxgCIAMoCzIkLm14YWNj", + "ZXNzX2dhdGV3YXkudjEuV3JpdGUyQnVsa0VudHJ5IpsBCg9Xcml0ZTJCdWxr", + "RW50cnkSEwoLaXRlbV9oYW5kbGUYASABKAUSKwoFdmFsdWUYAiABKAsyHC5t", + "eGFjY2Vzc19nYXRld2F5LnYxLk14VmFsdWUSNQoPdGltZXN0YW1wX3ZhbHVl", + "GAMgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVlEg8KB3VzZXJf", + "aWQYBCABKAUibQoXV3JpdGVTZWN1cmVkQnVsa0NvbW1hbmQSFQoNc2VydmVy", + "X2hhbmRsZRgBIAEoBRI7CgdlbnRyaWVzGAIgAygLMioubXhhY2Nlc3NfZ2F0", + "ZXdheS52MS5Xcml0ZVNlY3VyZWRCdWxrRW50cnkijAEKFVdyaXRlU2VjdXJl", + "ZEJ1bGtFbnRyeRITCgtpdGVtX2hhbmRsZRgBIAEoBRIXCg9jdXJyZW50X3Vz", + "ZXJfaWQYAiABKAUSGAoQdmVyaWZpZXJfdXNlcl9pZBgDIAEoBRIrCgV2YWx1", + "ZRgEIAEoCzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhWYWx1ZSJvChhXcml0", + "ZVNlY3VyZWQyQnVsa0NvbW1hbmQSFQoNc2VydmVyX2hhbmRsZRgBIAEoBRI8", + "CgdlbnRyaWVzGAIgAygLMisubXhhY2Nlc3NfZ2F0ZXdheS52MS5Xcml0ZVNl", + "Y3VyZWQyQnVsa0VudHJ5IsQBChZXcml0ZVNlY3VyZWQyQnVsa0VudHJ5EhMK", + "C2l0ZW1faGFuZGxlGAEgASgFEhcKD2N1cnJlbnRfdXNlcl9pZBgCIAEoBRIY", + "ChB2ZXJpZmllcl91c2VyX2lkGAMgASgFEisKBXZhbHVlGAQgASgLMhwubXhh", + "Y2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVlEjUKD3RpbWVzdGFtcF92YWx1ZRgF", + "IAEoCzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhWYWx1ZSJTCg9SZWFkQnVs", + "a0NvbW1hbmQSFQoNc2VydmVyX2hhbmRsZRgBIAEoBRIVCg10YWdfYWRkcmVz", + "c2VzGAIgAygJEhIKCnRpbWVvdXRfbXMYAyABKA0iHgoLUGluZ0NvbW1hbmQS", + "DwoHbWVzc2FnZRgBIAEoCSIYChZHZXRTZXNzaW9uU3RhdGVDb21tYW5kIhYK", + "FEdldFdvcmtlckluZm9Db21tYW5kIigKEkRyYWluRXZlbnRzQ29tbWFuZBIS", + "CgptYXhfZXZlbnRzGAEgASgNIkgKFVNodXRkb3duV29ya2VyQ29tbWFuZBIv", + "CgxncmFjZV9wZXJpb2QYASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRp", + "b24ihg8KDk14Q29tbWFuZFJlcGx5EhIKCnNlc3Npb25faWQYASABKAkSFgoO", + "Y29ycmVsYXRpb25faWQYAiABKAkSMAoEa2luZBgDIAEoDjIiLm14YWNjZXNz", + "X2dhdGV3YXkudjEuTXhDb21tYW5kS2luZBI8Cg9wcm90b2NvbF9zdGF0dXMY", + "BCABKAsyIy5teGFjY2Vzc19nYXRld2F5LnYxLlByb3RvY29sU3RhdHVzEhQK", + "B2hyZXN1bHQYBSABKAVIAYgBARIyCgxyZXR1cm5fdmFsdWUYBiABKAsyHC5t", + "eGFjY2Vzc19nYXRld2F5LnYxLk14VmFsdWUSNAoIc3RhdHVzZXMYByADKAsy", + "Ii5teGFjY2Vzc19nYXRld2F5LnYxLk14U3RhdHVzUHJveHkSGgoSZGlhZ25v", + "c3RpY19tZXNzYWdlGAggASgJEjYKCHJlZ2lzdGVyGBQgASgLMiIubXhhY2Nl", + "c3NfZ2F0ZXdheS52MS5SZWdpc3RlclJlcGx5SAASNQoIYWRkX2l0ZW0YFSAB", + "KAsyIS5teGFjY2Vzc19nYXRld2F5LnYxLkFkZEl0ZW1SZXBseUgAEjcKCWFk", + "ZF9pdGVtMhgWIAEoCzIiLm14YWNjZXNzX2dhdGV3YXkudjEuQWRkSXRlbTJS", + "ZXBseUgAEkYKEWFkZF9idWZmZXJlZF9pdGVtGBcgASgLMikubXhhY2Nlc3Nf", + "Z2F0ZXdheS52MS5BZGRCdWZmZXJlZEl0ZW1SZXBseUgAEjQKB3N1c3BlbmQY", + "GCABKAsyIS5teGFjY2Vzc19nYXRld2F5LnYxLlN1c3BlbmRSZXBseUgAEjYK", + "CGFjdGl2YXRlGBkgASgLMiIubXhhY2Nlc3NfZ2F0ZXdheS52MS5BY3RpdmF0", + "ZVJlcGx5SAASRwoRYXV0aGVudGljYXRlX3VzZXIYGiABKAsyKi5teGFjY2Vz", + "c19nYXRld2F5LnYxLkF1dGhlbnRpY2F0ZVVzZXJSZXBseUgAEksKFGFyY2hl", + "c3RyYV91c2VyX3RvX2lkGBsgASgLMisubXhhY2Nlc3NfZ2F0ZXdheS52MS5B", + "cmNoZXN0ckFVc2VyVG9JZFJlcGx5SAASQAoNYWRkX2l0ZW1fYnVsaxgcIAEo", + "CzInLm14YWNjZXNzX2dhdGV3YXkudjEuQnVsa1N1YnNjcmliZVJlcGx5SAAS", + "QwoQYWR2aXNlX2l0ZW1fYnVsaxgdIAEoCzInLm14YWNjZXNzX2dhdGV3YXku", + "djEuQnVsa1N1YnNjcmliZVJlcGx5SAASQwoQcmVtb3ZlX2l0ZW1fYnVsaxge", + "IAEoCzInLm14YWNjZXNzX2dhdGV3YXkudjEuQnVsa1N1YnNjcmliZVJlcGx5", + "SAASRgoTdW5fYWR2aXNlX2l0ZW1fYnVsaxgfIAEoCzInLm14YWNjZXNzX2dh", + "dGV3YXkudjEuQnVsa1N1YnNjcmliZVJlcGx5SAASQQoOc3Vic2NyaWJlX2J1", + "bGsYICABKAsyJy5teGFjY2Vzc19nYXRld2F5LnYxLkJ1bGtTdWJzY3JpYmVS", + "ZXBseUgAEkMKEHVuc3Vic2NyaWJlX2J1bGsYISABKAsyJy5teGFjY2Vzc19n", + "YXRld2F5LnYxLkJ1bGtTdWJzY3JpYmVSZXBseUgAEk4KEWFja25vd2xlZGdl", + "X2FsYXJtGCIgASgLMjEubXhhY2Nlc3NfZ2F0ZXdheS52MS5BY2tub3dsZWRn", + "ZUFsYXJtUmVwbHlQYXlsb2FkSAASUQoTcXVlcnlfYWN0aXZlX2FsYXJtcxgj", + "IAEoCzIyLm14YWNjZXNzX2dhdGV3YXkudjEuUXVlcnlBY3RpdmVBbGFybXNS", + "ZXBseVBheWxvYWRIABI5Cgp3cml0ZV9idWxrGCQgASgLMiMubXhhY2Nlc3Nf", + "Z2F0ZXdheS52MS5CdWxrV3JpdGVSZXBseUgAEjoKC3dyaXRlMl9idWxrGCUg", + "ASgLMiMubXhhY2Nlc3NfZ2F0ZXdheS52MS5CdWxrV3JpdGVSZXBseUgAEkEK", + "EndyaXRlX3NlY3VyZWRfYnVsaxgmIAEoCzIjLm14YWNjZXNzX2dhdGV3YXku", + "djEuQnVsa1dyaXRlUmVwbHlIABJCChN3cml0ZV9zZWN1cmVkMl9idWxrGCcg", + "ASgLMiMubXhhY2Nlc3NfZ2F0ZXdheS52MS5CdWxrV3JpdGVSZXBseUgAEjcK", + "CXJlYWRfYnVsaxgoIAEoCzIiLm14YWNjZXNzX2dhdGV3YXkudjEuQnVsa1Jl", + "YWRSZXBseUgAEj8KDXNlc3Npb25fc3RhdGUYZCABKAsyJi5teGFjY2Vzc19n", + "YXRld2F5LnYxLlNlc3Npb25TdGF0ZVJlcGx5SAASOwoLd29ya2VyX2luZm8Y", + "ZSABKAsyJC5teGFjY2Vzc19nYXRld2F5LnYxLldvcmtlckluZm9SZXBseUgA", + "Ej0KDGRyYWluX2V2ZW50cxhmIAEoCzIlLm14YWNjZXNzX2dhdGV3YXkudjEu", + "RHJhaW5FdmVudHNSZXBseUgAQgkKB3BheWxvYWRCCgoIX2hyZXN1bHQiJgoN", + "UmVnaXN0ZXJSZXBseRIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFIiMKDEFkZEl0", + "ZW1SZXBseRITCgtpdGVtX2hhbmRsZRgBIAEoBSIkCg1BZGRJdGVtMlJlcGx5", + "EhMKC2l0ZW1faGFuZGxlGAEgASgFIisKFEFkZEJ1ZmZlcmVkSXRlbVJlcGx5", + "EhMKC2l0ZW1faGFuZGxlGAEgASgFIkIKDFN1c3BlbmRSZXBseRIyCgZzdGF0", + "dXMYASABKAsyIi5teGFjY2Vzc19nYXRld2F5LnYxLk14U3RhdHVzUHJveHki", + "QwoNQWN0aXZhdGVSZXBseRIyCgZzdGF0dXMYASABKAsyIi5teGFjY2Vzc19n", + "YXRld2F5LnYxLk14U3RhdHVzUHJveHkiKAoVQXV0aGVudGljYXRlVXNlclJl", + "cGx5Eg8KB3VzZXJfaWQYASABKAUiKQoWQXJjaGVzdHJBVXNlclRvSWRSZXBs", + "eRIPCgd1c2VyX2lkGAEgASgFIoEBCg9TdWJzY3JpYmVSZXN1bHQSFQoNc2Vy", + "dmVyX2hhbmRsZRgBIAEoBRITCgt0YWdfYWRkcmVzcxgCIAEoCRITCgtpdGVt", + "X2hhbmRsZRgDIAEoBRIWCg53YXNfc3VjY2Vzc2Z1bBgEIAEoCBIVCg1lcnJv", + "cl9tZXNzYWdlGAUgASgJIksKEkJ1bGtTdWJzY3JpYmVSZXBseRI1CgdyZXN1", + "bHRzGAEgAygLMiQubXhhY2Nlc3NfZ2F0ZXdheS52MS5TdWJzY3JpYmVSZXN1", + "bHQixAEKD0J1bGtXcml0ZVJlc3VsdBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgF", + "EhMKC2l0ZW1faGFuZGxlGAIgASgFEhYKDndhc19zdWNjZXNzZnVsGAMgASgI", + "EhQKB2hyZXN1bHQYBCABKAVIAIgBARI0CghzdGF0dXNlcxgFIAMoCzIiLm14", + "YWNjZXNzX2dhdGV3YXkudjEuTXhTdGF0dXNQcm94eRIVCg1lcnJvcl9tZXNz", + "YWdlGAYgASgJQgoKCF9ocmVzdWx0IkcKDkJ1bGtXcml0ZVJlcGx5EjUKB3Jl", + "c3VsdHMYASADKAsyJC5teGFjY2Vzc19nYXRld2F5LnYxLkJ1bGtXcml0ZVJl", + "c3VsdCK+AgoOQnVsa1JlYWRSZXN1bHQSFQoNc2VydmVyX2hhbmRsZRgBIAEo", + "BRITCgt0YWdfYWRkcmVzcxgCIAEoCRITCgtpdGVtX2hhbmRsZRgDIAEoBRIW", + "Cg53YXNfc3VjY2Vzc2Z1bBgEIAEoCBISCgp3YXNfY2FjaGVkGAUgASgIEisK", + "BXZhbHVlGAYgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVlEg8K", + "B3F1YWxpdHkYByABKAUSNAoQc291cmNlX3RpbWVzdGFtcBgIIAEoCzIaLmdv", + "b2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASNAoIc3RhdHVzZXMYCSADKAsyIi5t", + "eGFjY2Vzc19nYXRld2F5LnYxLk14U3RhdHVzUHJveHkSFQoNZXJyb3JfbWVz", + "c2FnZRgKIAEoCSJFCg1CdWxrUmVhZFJlcGx5EjQKB3Jlc3VsdHMYASADKAsy", + "Iy5teGFjY2Vzc19nYXRld2F5LnYxLkJ1bGtSZWFkUmVzdWx0IkUKEVNlc3Np", + "b25TdGF0ZVJlcGx5EjAKBXN0YXRlGAEgASgOMiEubXhhY2Nlc3NfZ2F0ZXdh", + "eS52MS5TZXNzaW9uU3RhdGUidQoPV29ya2VySW5mb1JlcGx5EhkKEXdvcmtl", + "cl9wcm9jZXNzX2lkGAEgASgFEhYKDndvcmtlcl92ZXJzaW9uGAIgASgJEhcK", + "D214YWNjZXNzX3Byb2dpZBgDIAEoCRIWCg5teGFjY2Vzc19jbHNpZBgEIAEo", + "CSJAChBEcmFpbkV2ZW50c1JlcGx5EiwKBmV2ZW50cxgBIAMoCzIcLm14YWNj", + "ZXNzX2dhdGV3YXkudjEuTXhFdmVudCI1ChxBY2tub3dsZWRnZUFsYXJtUmVw", + "bHlQYXlsb2FkEhUKDW5hdGl2ZV9zdGF0dXMYASABKAUiXAodUXVlcnlBY3Rp", + "dmVBbGFybXNSZXBseVBheWxvYWQSOwoJc25hcHNob3RzGAEgAygLMigubXhh", + "Y2Nlc3NfZ2F0ZXdheS52MS5BY3RpdmVBbGFybVNuYXBzaG90IucGCgdNeEV2", + "ZW50EjIKBmZhbWlseRgBIAEoDjIiLm14YWNjZXNzX2dhdGV3YXkudjEuTXhF", + "dmVudEZhbWlseRISCgpzZXNzaW9uX2lkGAIgASgJEhUKDXNlcnZlcl9oYW5k", + "bGUYAyABKAUSEwoLaXRlbV9oYW5kbGUYBCABKAUSKwoFdmFsdWUYBSABKAsy", + "HC5teGFjY2Vzc19nYXRld2F5LnYxLk14VmFsdWUSDwoHcXVhbGl0eRgGIAEo", + "BRI0ChBzb3VyY2VfdGltZXN0YW1wGAcgASgLMhouZ29vZ2xlLnByb3RvYnVm", + "LlRpbWVzdGFtcBI0CghzdGF0dXNlcxgIIAMoCzIiLm14YWNjZXNzX2dhdGV3", + "YXkudjEuTXhTdGF0dXNQcm94eRIXCg93b3JrZXJfc2VxdWVuY2UYCSABKAQS", + "NAoQd29ya2VyX3RpbWVzdGFtcBgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5U", + "aW1lc3RhbXASPQoZZ2F0ZXdheV9yZWNlaXZlX3RpbWVzdGFtcBgLIAEoCzIa", + "Lmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASFAoHaHJlc3VsdBgMIAEoBUgB", + "iAEBEhIKCnJhd19zdGF0dXMYDSABKAkSQAoOb25fZGF0YV9jaGFuZ2UYFCAB", + "KAsyJi5teGFjY2Vzc19nYXRld2F5LnYxLk9uRGF0YUNoYW5nZUV2ZW50SAAS", + "RgoRb25fd3JpdGVfY29tcGxldGUYFSABKAsyKS5teGFjY2Vzc19nYXRld2F5", + "LnYxLk9uV3JpdGVDb21wbGV0ZUV2ZW50SAASSQoSb3BlcmF0aW9uX2NvbXBs", + "ZXRlGBYgASgLMisubXhhY2Nlc3NfZ2F0ZXdheS52MS5PcGVyYXRpb25Db21w", + "bGV0ZUV2ZW50SAASUQoXb25fYnVmZmVyZWRfZGF0YV9jaGFuZ2UYFyABKAsy", + "Li5teGFjY2Vzc19nYXRld2F5LnYxLk9uQnVmZmVyZWREYXRhQ2hhbmdlRXZl", + "bnRIABJKChNvbl9hbGFybV90cmFuc2l0aW9uGBggASgLMisubXhhY2Nlc3Nf", + "Z2F0ZXdheS52MS5PbkFsYXJtVHJhbnNpdGlvbkV2ZW50SABCBgoEYm9keUIK", + "CghfaHJlc3VsdCITChFPbkRhdGFDaGFuZ2VFdmVudCIWChRPbldyaXRlQ29t", + "cGxldGVFdmVudCIYChZPcGVyYXRpb25Db21wbGV0ZUV2ZW50ItQBChlPbkJ1", + "ZmZlcmVkRGF0YUNoYW5nZUV2ZW50EjIKCWRhdGFfdHlwZRgBIAEoDjIfLm14", + "YWNjZXNzX2dhdGV3YXkudjEuTXhEYXRhVHlwZRI0Cg5xdWFsaXR5X3ZhbHVl", + "cxgCIAEoCzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhBcnJheRI2ChB0aW1l", + "c3RhbXBfdmFsdWVzGAMgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeEFy", + "cmF5EhUKDXJhd19kYXRhX3R5cGUYBCABKAUi/QMKFk9uQWxhcm1UcmFuc2l0", + "aW9uRXZlbnQSHAoUYWxhcm1fZnVsbF9yZWZlcmVuY2UYASABKAkSHwoXc291", + "cmNlX29iamVjdF9yZWZlcmVuY2UYAiABKAkSFwoPYWxhcm1fdHlwZV9uYW1l", + "GAMgASgJEkEKD3RyYW5zaXRpb25fa2luZBgEIAEoDjIoLm14YWNjZXNzX2dh", + "dGV3YXkudjEuQWxhcm1UcmFuc2l0aW9uS2luZBIQCghzZXZlcml0eRgFIAEo", + "BRI8ChhvcmlnaW5hbF9yYWlzZV90aW1lc3RhbXAYBiABKAsyGi5nb29nbGUu", + "cHJvdG9idWYuVGltZXN0YW1wEjgKFHRyYW5zaXRpb25fdGltZXN0YW1wGAcg", + "ASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIVCg1vcGVyYXRvcl91", + "c2VyGAggASgJEhgKEG9wZXJhdG9yX2NvbW1lbnQYCSABKAkSEAoIY2F0ZWdv", + "cnkYCiABKAkSEwoLZGVzY3JpcHRpb24YCyABKAkSMwoNY3VycmVudF92YWx1", + "ZRgMIAEoCzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhWYWx1ZRIxCgtsaW1p", + "dF92YWx1ZRgNIAEoCzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhWYWx1ZSL9", + "AwoTQWN0aXZlQWxhcm1TbmFwc2hvdBIcChRhbGFybV9mdWxsX3JlZmVyZW5j", + "ZRgBIAEoCRIfChdzb3VyY2Vfb2JqZWN0X3JlZmVyZW5jZRgCIAEoCRIXCg9h", + "bGFybV90eXBlX25hbWUYAyABKAkSEAoIc2V2ZXJpdHkYBCABKAUSPAoYb3Jp", + "Z2luYWxfcmFpc2VfdGltZXN0YW1wGAUgASgLMhouZ29vZ2xlLnByb3RvYnVm", + "LlRpbWVzdGFtcBI/Cg1jdXJyZW50X3N0YXRlGAYgASgOMigubXhhY2Nlc3Nf", + "Z2F0ZXdheS52MS5BbGFybUNvbmRpdGlvblN0YXRlEhAKCGNhdGVnb3J5GAcg", + "ASgJEhMKC2Rlc2NyaXB0aW9uGAggASgJEj0KGWxhc3RfdHJhbnNpdGlvbl90", + "aW1lc3RhbXAYCSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhUK", + "DW9wZXJhdG9yX3VzZXIYCiABKAkSGAoQb3BlcmF0b3JfY29tbWVudBgLIAEo", + "CRIzCg1jdXJyZW50X3ZhbHVlGAwgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52", + "MS5NeFZhbHVlEjEKC2xpbWl0X3ZhbHVlGA0gASgLMhwubXhhY2Nlc3NfZ2F0", + "ZXdheS52MS5NeFZhbHVlIpABChdBY2tub3dsZWRnZUFsYXJtUmVxdWVzdBId", + "ChVjbGllbnRfY29ycmVsYXRpb25faWQYAiABKAkSHAoUYWxhcm1fZnVsbF9y", + "ZWZlcmVuY2UYAyABKAkSDwoHY29tbWVudBgEIAEoCRIVCg1vcGVyYXRvcl91", + "c2VyGAUgASgJSgQIARACUgpzZXNzaW9uX2lkIvEBChVBY2tub3dsZWRnZUFs", + "YXJtUmVwbHkSFgoOY29ycmVsYXRpb25faWQYAiABKAkSPAoPcHJvdG9jb2xf", + "c3RhdHVzGAMgASgLMiMubXhhY2Nlc3NfZ2F0ZXdheS52MS5Qcm90b2NvbFN0", + "YXR1cxIUCgdocmVzdWx0GAQgASgFSACIAQESMgoGc3RhdHVzGAUgASgLMiIu", + "bXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFN0YXR1c1Byb3h5EhoKEmRpYWdub3N0", + "aWNfbWVzc2FnZRgGIAEoCUIKCghfaHJlc3VsdEoECAEQAlIKc2Vzc2lvbl9p", + "ZCJRChNTdHJlYW1BbGFybXNSZXF1ZXN0Eh0KFWNsaWVudF9jb3JyZWxhdGlv", + "bl9pZBgBIAEoCRIbChNhbGFybV9maWx0ZXJfcHJlZml4GAIgASgJIr8BChBB", + "bGFybUZlZWRNZXNzYWdlEkAKDGFjdGl2ZV9hbGFybRgBIAEoCzIoLm14YWNj", + "ZXNzX2dhdGV3YXkudjEuQWN0aXZlQWxhcm1TbmFwc2hvdEgAEhsKEXNuYXBz", + "aG90X2NvbXBsZXRlGAIgASgISAASQQoKdHJhbnNpdGlvbhgDIAEoCzIrLm14", + "YWNjZXNzX2dhdGV3YXkudjEuT25BbGFybVRyYW5zaXRpb25FdmVudEgAQgkK", + "B3BheWxvYWQi6wEKDU14U3RhdHVzUHJveHkSDwoHc3VjY2VzcxgBIAEoBRI3", + "CghjYXRlZ29yeRgCIAEoDjIlLm14YWNjZXNzX2dhdGV3YXkudjEuTXhTdGF0", + "dXNDYXRlZ29yeRI4CgtkZXRlY3RlZF9ieRgDIAEoDjIjLm14YWNjZXNzX2dh", + "dGV3YXkudjEuTXhTdGF0dXNTb3VyY2USDgoGZGV0YWlsGAQgASgFEhQKDHJh", + "d19jYXRlZ29yeRgFIAEoBRIXCg9yYXdfZGV0ZWN0ZWRfYnkYBiABKAUSFwoP", + "ZGlhZ25vc3RpY190ZXh0GAcgASgJIqcDCgdNeFZhbHVlEjIKCWRhdGFfdHlw", + "ZRgBIAEoDjIfLm14YWNjZXNzX2dhdGV3YXkudjEuTXhEYXRhVHlwZRIUCgx2", + "YXJpYW50X3R5cGUYAiABKAkSDwoHaXNfbnVsbBgDIAEoCBIWCg5yYXdfZGlh", + "Z25vc3RpYxgEIAEoCRIVCg1yYXdfZGF0YV90eXBlGAUgASgFEhQKCmJvb2xf", + "dmFsdWUYCiABKAhIABIVCgtpbnQzMl92YWx1ZRgLIAEoBUgAEhUKC2ludDY0", + "X3ZhbHVlGAwgASgDSAASFQoLZmxvYXRfdmFsdWUYDSABKAJIABIWCgxkb3Vi", + "bGVfdmFsdWUYDiABKAFIABIWCgxzdHJpbmdfdmFsdWUYDyABKAlIABI1Cg90", + "aW1lc3RhbXBfdmFsdWUYECABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0", + "YW1wSAASMwoLYXJyYXlfdmFsdWUYESABKAsyHC5teGFjY2Vzc19nYXRld2F5", + "LnYxLk14QXJyYXlIABITCglyYXdfdmFsdWUYEiABKAxIAEIGCgRraW5kIv4E", + "CgdNeEFycmF5EjoKEWVsZW1lbnRfZGF0YV90eXBlGAEgASgOMh8ubXhhY2Nl", + "c3NfZ2F0ZXdheS52MS5NeERhdGFUeXBlEhQKDHZhcmlhbnRfdHlwZRgCIAEo", + "CRISCgpkaW1lbnNpb25zGAMgAygNEhYKDnJhd19kaWFnbm9zdGljGAQgASgJ", + "Eh0KFXJhd19lbGVtZW50X2RhdGFfdHlwZRgFIAEoBRI1Cgtib29sX3ZhbHVl", + "cxgKIAEoCzIeLm14YWNjZXNzX2dhdGV3YXkudjEuQm9vbEFycmF5SAASNwoM", + "aW50MzJfdmFsdWVzGAsgASgLMh8ubXhhY2Nlc3NfZ2F0ZXdheS52MS5JbnQz", + "MkFycmF5SAASNwoMaW50NjRfdmFsdWVzGAwgASgLMh8ubXhhY2Nlc3NfZ2F0", + "ZXdheS52MS5JbnQ2NEFycmF5SAASNwoMZmxvYXRfdmFsdWVzGA0gASgLMh8u", + "bXhhY2Nlc3NfZ2F0ZXdheS52MS5GbG9hdEFycmF5SAASOQoNZG91YmxlX3Zh", + "bHVlcxgOIAEoCzIgLm14YWNjZXNzX2dhdGV3YXkudjEuRG91YmxlQXJyYXlI", + "ABI5Cg1zdHJpbmdfdmFsdWVzGA8gASgLMiAubXhhY2Nlc3NfZ2F0ZXdheS52", + "MS5TdHJpbmdBcnJheUgAEj8KEHRpbWVzdGFtcF92YWx1ZXMYECABKAsyIy5t", + "eGFjY2Vzc19nYXRld2F5LnYxLlRpbWVzdGFtcEFycmF5SAASMwoKcmF3X3Zh", + "bHVlcxgRIAEoCzIdLm14YWNjZXNzX2dhdGV3YXkudjEuUmF3QXJyYXlIAEII", + "CgZ2YWx1ZXMiGwoJQm9vbEFycmF5Eg4KBnZhbHVlcxgBIAMoCCIcCgpJbnQz", + "MkFycmF5Eg4KBnZhbHVlcxgBIAMoBSIcCgpJbnQ2NEFycmF5Eg4KBnZhbHVl", + "cxgBIAMoAyIcCgpGbG9hdEFycmF5Eg4KBnZhbHVlcxgBIAMoAiIdCgtEb3Vi", + "bGVBcnJheRIOCgZ2YWx1ZXMYASADKAEiHQoLU3RyaW5nQXJyYXkSDgoGdmFs", + "dWVzGAEgAygJIjwKDlRpbWVzdGFtcEFycmF5EioKBnZhbHVlcxgBIAMoCzIa", + "Lmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiGgoIUmF3QXJyYXkSDgoGdmFs", + "dWVzGAEgAygMIlgKDlByb3RvY29sU3RhdHVzEjUKBGNvZGUYASABKA4yJy5t", + "eGFjY2Vzc19nYXRld2F5LnYxLlByb3RvY29sU3RhdHVzQ29kZRIPCgdtZXNz", + "YWdlGAIgASgJKp8LCg1NeENvbW1hbmRLaW5kEh8KG01YX0NPTU1BTkRfS0lO", + "RF9VTlNQRUNJRklFRBAAEhwKGE1YX0NPTU1BTkRfS0lORF9SRUdJU1RFUhAB", + "Eh4KGk1YX0NPTU1BTkRfS0lORF9VTlJFR0lTVEVSEAISHAoYTVhfQ09NTUFO", + "RF9LSU5EX0FERF9JVEVNEAMSHQoZTVhfQ09NTUFORF9LSU5EX0FERF9JVEVN", + "MhAEEh8KG01YX0NPTU1BTkRfS0lORF9SRU1PVkVfSVRFTRAFEhoKFk1YX0NP", + "TU1BTkRfS0lORF9BRFZJU0UQBhIdChlNWF9DT01NQU5EX0tJTkRfVU5fQURW", + "SVNFEAcSJgoiTVhfQ09NTUFORF9LSU5EX0FEVklTRV9TVVBFUlZJU09SWRAI", + "EiUKIU1YX0NPTU1BTkRfS0lORF9BRERfQlVGRkVSRURfSVRFTRAJEjAKLE1Y", + "X0NPTU1BTkRfS0lORF9TRVRfQlVGRkVSRURfVVBEQVRFX0lOVEVSVkFMEAoS", + "GwoXTVhfQ09NTUFORF9LSU5EX1NVU1BFTkQQCxIcChhNWF9DT01NQU5EX0tJ", + "TkRfQUNUSVZBVEUQDBIZChVNWF9DT01NQU5EX0tJTkRfV1JJVEUQDRIaChZN", + "WF9DT01NQU5EX0tJTkRfV1JJVEUyEA4SIQodTVhfQ09NTUFORF9LSU5EX1dS", + "SVRFX1NFQ1VSRUQQDxIiCh5NWF9DT01NQU5EX0tJTkRfV1JJVEVfU0VDVVJF", + "RDIQEBIlCiFNWF9DT01NQU5EX0tJTkRfQVVUSEVOVElDQVRFX1VTRVIQERIo", + "CiRNWF9DT01NQU5EX0tJTkRfQVJDSEVTVFJBX1VTRVJfVE9fSUQQEhIhCh1N", + "WF9DT01NQU5EX0tJTkRfQUREX0lURU1fQlVMSxATEiQKIE1YX0NPTU1BTkRf", + "S0lORF9BRFZJU0VfSVRFTV9CVUxLEBQSJAogTVhfQ09NTUFORF9LSU5EX1JF", + "TU9WRV9JVEVNX0JVTEsQFRInCiNNWF9DT01NQU5EX0tJTkRfVU5fQURWSVNF", + "X0lURU1fQlVMSxAWEiIKHk1YX0NPTU1BTkRfS0lORF9TVUJTQ1JJQkVfQlVM", + "SxAXEiQKIE1YX0NPTU1BTkRfS0lORF9VTlNVQlNDUklCRV9CVUxLEBgSJAog", + "TVhfQ09NTUFORF9LSU5EX1NVQlNDUklCRV9BTEFSTVMQGRImCiJNWF9DT01N", + "QU5EX0tJTkRfVU5TVUJTQ1JJQkVfQUxBUk1TEBoSJQohTVhfQ09NTUFORF9L", + "SU5EX0FDS05PV0xFREdFX0FMQVJNEBsSJwojTVhfQ09NTUFORF9LSU5EX1FV", + "RVJZX0FDVElWRV9BTEFSTVMQHBItCilNWF9DT01NQU5EX0tJTkRfQUNLTk9X", + "TEVER0VfQUxBUk1fQllfTkFNRRAdEh4KGk1YX0NPTU1BTkRfS0lORF9XUklU", + "RV9CVUxLEB4SHwobTVhfQ09NTUFORF9LSU5EX1dSSVRFMl9CVUxLEB8SJgoi", + "TVhfQ09NTUFORF9LSU5EX1dSSVRFX1NFQ1VSRURfQlVMSxAgEicKI01YX0NP", + "TU1BTkRfS0lORF9XUklURV9TRUNVUkVEMl9CVUxLECESHQoZTVhfQ09NTUFO", + "RF9LSU5EX1JFQURfQlVMSxAiEhgKFE1YX0NPTU1BTkRfS0lORF9QSU5HEGQS", + "JQohTVhfQ09NTUFORF9LSU5EX0dFVF9TRVNTSU9OX1NUQVRFEGUSIwofTVhf", + "Q09NTUFORF9LSU5EX0dFVF9XT1JLRVJfSU5GTxBmEiAKHE1YX0NPTU1BTkRf", + "S0lORF9EUkFJTl9FVkVOVFMQZxIjCh9NWF9DT01NQU5EX0tJTkRfU0hVVERP", + "V05fV09SS0VSEGgq+QEKDU14RXZlbnRGYW1pbHkSHwobTVhfRVZFTlRfRkFN", + "SUxZX1VOU1BFQ0lGSUVEEAASIgoeTVhfRVZFTlRfRkFNSUxZX09OX0RBVEFf", + "Q0hBTkdFEAESJQohTVhfRVZFTlRfRkFNSUxZX09OX1dSSVRFX0NPTVBMRVRF", + "EAISJgoiTVhfRVZFTlRfRkFNSUxZX09QRVJBVElPTl9DT01QTEVURRADEisK", + "J01YX0VWRU5UX0ZBTUlMWV9PTl9CVUZGRVJFRF9EQVRBX0NIQU5HRRAEEicK", + "I01YX0VWRU5UX0ZBTUlMWV9PTl9BTEFSTV9UUkFOU0lUSU9OEAUqygEKE0Fs", + "YXJtVHJhbnNpdGlvbktpbmQSJQohQUxBUk1fVFJBTlNJVElPTl9LSU5EX1VO", + "U1BFQ0lGSUVEEAASHwobQUxBUk1fVFJBTlNJVElPTl9LSU5EX1JBSVNFEAES", + "JQohQUxBUk1fVFJBTlNJVElPTl9LSU5EX0FDS05PV0xFREdFEAISHwobQUxB", + "Uk1fVFJBTlNJVElPTl9LSU5EX0NMRUFSEAMSIwofQUxBUk1fVFJBTlNJVElP", + "Tl9LSU5EX1JFVFJJR0dFUhAEKqoBChNBbGFybUNvbmRpdGlvblN0YXRlEiUK", + "IUFMQVJNX0NPTkRJVElPTl9TVEFURV9VTlNQRUNJRklFRBAAEiAKHEFMQVJN", + "X0NPTkRJVElPTl9TVEFURV9BQ1RJVkUQARImCiJBTEFSTV9DT05ESVRJT05f", + "U1RBVEVfQUNUSVZFX0FDS0VEEAISIgoeQUxBUk1fQ09ORElUSU9OX1NUQVRF", + "X0lOQUNUSVZFEAMqpQMKEE14U3RhdHVzQ2F0ZWdvcnkSIgoeTVhfU1RBVFVT", + "X0NBVEVHT1JZX1VOU1BFQ0lGSUVEEAASHgoaTVhfU1RBVFVTX0NBVEVHT1JZ", + "X1VOS05PV04QARIZChVNWF9TVEFUVVNfQ0FURUdPUllfT0sQAhIeChpNWF9T", + "VEFUVVNfQ0FURUdPUllfUEVORElORxADEh4KGk1YX1NUQVRVU19DQVRFR09S", + "WV9XQVJOSU5HEAQSKgomTVhfU1RBVFVTX0NBVEVHT1JZX0NPTU1VTklDQVRJ", + "T05fRVJST1IQBRIqCiZNWF9TVEFUVVNfQ0FURUdPUllfQ09ORklHVVJBVElP", + "Tl9FUlJPUhAGEigKJE1YX1NUQVRVU19DQVRFR09SWV9PUEVSQVRJT05BTF9F", + "UlJPUhAHEiUKIU1YX1NUQVRVU19DQVRFR09SWV9TRUNVUklUWV9FUlJPUhAI", + "EiUKIU1YX1NUQVRVU19DQVRFR09SWV9TT0ZUV0FSRV9FUlJPUhAJEiIKHk1Y", + "X1NUQVRVU19DQVRFR09SWV9PVEhFUl9FUlJPUhAKKsoCCg5NeFN0YXR1c1Nv", + "dXJjZRIgChxNWF9TVEFUVVNfU09VUkNFX1VOU1BFQ0lGSUVEEAASHAoYTVhf", + "U1RBVFVTX1NPVVJDRV9VTktOT1dOEAESIwofTVhfU1RBVFVTX1NPVVJDRV9S", + "RVFVRVNUSU5HX0xNWBACEiMKH01YX1NUQVRVU19TT1VSQ0VfUkVTUE9ORElO", + "R19MTVgQAxIjCh9NWF9TVEFUVVNfU09VUkNFX1JFUVVFU1RJTkdfTk1YEAQS", + "IwofTVhfU1RBVFVTX1NPVVJDRV9SRVNQT05ESU5HX05NWBAFEjEKLU1YX1NU", + "QVRVU19TT1VSQ0VfUkVRVUVTVElOR19BVVRPTUFUSU9OX09CSkVDVBAGEjEK", + "LU1YX1NUQVRVU19TT1VSQ0VfUkVTUE9ORElOR19BVVRPTUFUSU9OX09CSkVD", + "VBAHKt0ECgpNeERhdGFUeXBlEhwKGE1YX0RBVEFfVFlQRV9VTlNQRUNJRklF", + "RBAAEhgKFE1YX0RBVEFfVFlQRV9VTktOT1dOEAESGAoUTVhfREFUQV9UWVBF", + "X05PX0RBVEEQAhIYChRNWF9EQVRBX1RZUEVfQk9PTEVBThADEhgKFE1YX0RB", + "VEFfVFlQRV9JTlRFR0VSEAQSFgoSTVhfREFUQV9UWVBFX0ZMT0FUEAUSFwoT", + "TVhfREFUQV9UWVBFX0RPVUJMRRAGEhcKE01YX0RBVEFfVFlQRV9TVFJJTkcQ", + "BxIVChFNWF9EQVRBX1RZUEVfVElNRRAIEh0KGU1YX0RBVEFfVFlQRV9FTEFQ", + "U0VEX1RJTUUQCRIfChtNWF9EQVRBX1RZUEVfUkVGRVJFTkNFX1RZUEUQChIc", + "ChhNWF9EQVRBX1RZUEVfU1RBVFVTX1RZUEUQCxIVChFNWF9EQVRBX1RZUEVf", + "RU5VTRAMEi0KKU1YX0RBVEFfVFlQRV9TRUNVUklUWV9DTEFTU0lGSUNBVElP", + "Tl9FTlVNEA0SIgoeTVhfREFUQV9UWVBFX0RBVEFfUVVBTElUWV9UWVBFEA4S", + "HwobTVhfREFUQV9UWVBFX1FVQUxJRklFRF9FTlVNEA8SIQodTVhfREFUQV9U", + "WVBFX1FVQUxJRklFRF9TVFJVQ1QQEBIpCiVNWF9EQVRBX1RZUEVfSU5URVJO", + "QVRJT05BTElaRURfU1RSSU5HEBESGwoXTVhfREFUQV9UWVBFX0JJR19TVFJJ", + "TkcQEhIUChBNWF9EQVRBX1RZUEVfRU5EEBMqowMKElByb3RvY29sU3RhdHVz", + "Q29kZRIkCiBQUk9UT0NPTF9TVEFUVVNfQ09ERV9VTlNQRUNJRklFRBAAEhsK", + "F1BST1RPQ09MX1NUQVRVU19DT0RFX09LEAESKAokUFJPVE9DT0xfU1RBVFVT", + "X0NPREVfSU5WQUxJRF9SRVFVRVNUEAISKgomUFJPVE9DT0xfU1RBVFVTX0NP", + "REVfU0VTU0lPTl9OT1RfRk9VTkQQAxIqCiZQUk9UT0NPTF9TVEFUVVNfQ09E", + "RV9TRVNTSU9OX05PVF9SRUFEWRAEEisKJ1BST1RPQ09MX1NUQVRVU19DT0RF", + "X1dPUktFUl9VTkFWQUlMQUJMRRAFEiAKHFBST1RPQ09MX1NUQVRVU19DT0RF", + "X1RJTUVPVVQQBhIhCh1QUk9UT0NPTF9TVEFUVVNfQ09ERV9DQU5DRUxFRBAH", + "EisKJ1BST1RPQ09MX1NUQVRVU19DT0RFX1BST1RPQ09MX1ZJT0xBVElPThAI", + "EikKJVBST1RPQ09MX1NUQVRVU19DT0RFX01YQUNDRVNTX0ZBSUxVUkUQCSq/", + "AgoMU2Vzc2lvblN0YXRlEh0KGVNFU1NJT05fU1RBVEVfVU5TUEVDSUZJRUQQ", + "ABIaChZTRVNTSU9OX1NUQVRFX0NSRUFUSU5HEAESIQodU0VTU0lPTl9TVEFU", + "RV9TVEFSVElOR19XT1JLRVIQAhIiCh5TRVNTSU9OX1NUQVRFX1dBSVRJTkdf", + "Rk9SX1BJUEUQAxIdChlTRVNTSU9OX1NUQVRFX0hBTkRTSEFLSU5HEAQSJQoh", + "U0VTU0lPTl9TVEFURV9JTklUSUFMSVpJTkdfV09SS0VSEAUSFwoTU0VTU0lP", + "Tl9TVEFURV9SRUFEWRAGEhkKFVNFU1NJT05fU1RBVEVfQ0xPU0lORxAHEhgK", + "FFNFU1NJT05fU1RBVEVfQ0xPU0VEEAgSGQoVU0VTU0lPTl9TVEFURV9GQVVM", + "VEVEEAkywwUKD014QWNjZXNzR2F0ZXdheRJdCgtPcGVuU2Vzc2lvbhInLm14", + "YWNjZXNzX2dhdGV3YXkudjEuT3BlblNlc3Npb25SZXF1ZXN0GiUubXhhY2Nl", + "c3NfZ2F0ZXdheS52MS5PcGVuU2Vzc2lvblJlcGx5EmAKDENsb3NlU2Vzc2lv", + "bhIoLm14YWNjZXNzX2dhdGV3YXkudjEuQ2xvc2VTZXNzaW9uUmVxdWVzdBom", + "Lm14YWNjZXNzX2dhdGV3YXkudjEuQ2xvc2VTZXNzaW9uUmVwbHkSVAoGSW52", + "b2tlEiUubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeENvbW1hbmRSZXF1ZXN0GiMu", + "bXhhY2Nlc3NfZ2F0ZXdheS52MS5NeENvbW1hbmRSZXBseRJYCgxTdHJlYW1F", + "dmVudHMSKC5teGFjY2Vzc19nYXRld2F5LnYxLlN0cmVhbUV2ZW50c1JlcXVl", + "c3QaHC5teGFjY2Vzc19nYXRld2F5LnYxLk14RXZlbnQwARJsChBBY2tub3ds", + "ZWRnZUFsYXJtEiwubXhhY2Nlc3NfZ2F0ZXdheS52MS5BY2tub3dsZWRnZUFs", + "YXJtUmVxdWVzdBoqLm14YWNjZXNzX2dhdGV3YXkudjEuQWNrbm93bGVkZ2VB", + "bGFybVJlcGx5EmEKDFN0cmVhbUFsYXJtcxIoLm14YWNjZXNzX2dhdGV3YXku", + "djEuU3RyZWFtQWxhcm1zUmVxdWVzdBolLm14YWNjZXNzX2dhdGV3YXkudjEu", + "QWxhcm1GZWVkTWVzc2FnZTABEm4KEVF1ZXJ5QWN0aXZlQWxhcm1zEi0ubXhh", + "Y2Nlc3NfZ2F0ZXdheS52MS5RdWVyeUFjdGl2ZUFsYXJtc1JlcXVlc3QaKC5t", + "eGFjY2Vzc19nYXRld2F5LnYxLkFjdGl2ZUFsYXJtU25hcHNob3QwAUImqgIj", + "WkIuTU9NLldXLk14R2F0ZXdheS5Db250cmFjdHMuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxCommandKind), typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxEventFamily), typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.AlarmTransitionKind), typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.AlarmConditionState), typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxStatusCategory), typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxStatusSource), typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxDataType), typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.ProtocolStatusCode), typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.SessionState), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.QueryActiveAlarmsRequest), global::ZB.MOM.WW.MxGateway.Contracts.Proto.QueryActiveAlarmsRequest.Parser, new[]{ "SessionId", "ClientCorrelationId", "AlarmFilterPrefix" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.OpenSessionRequest), global::ZB.MOM.WW.MxGateway.Contracts.Proto.OpenSessionRequest.Parser, new[]{ "RequestedBackend", "ClientSessionName", "ClientCorrelationId", "CommandTimeout" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.OpenSessionReply), global::ZB.MOM.WW.MxGateway.Contracts.Proto.OpenSessionReply.Parser, new[]{ "SessionId", "BackendName", "WorkerProcessId", "WorkerProtocolVersion", "Capabilities", "DefaultCommandTimeout", "ProtocolStatus", "GatewayProtocolVersion" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::ZB.MOM.WW.MxGateway.Contracts.Proto.CloseSessionRequest), global::ZB.MOM.WW.MxGateway.Contracts.Proto.CloseSessionRequest.Parser, new[]{ "SessionId", "ClientCorrelationId" }, null, null, null, null), @@ -729,6 +734,287 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { #endregion #region Messages + /// + /// Public request shape for QueryActiveAlarms. session_id is currently unused + /// (the snapshot is session-less) but reserved so a future per-session view + /// can be added without a wire break. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QueryActiveAlarmsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QueryActiveAlarmsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryActiveAlarmsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryActiveAlarmsRequest(QueryActiveAlarmsRequest other) : this() { + sessionId_ = other.sessionId_; + clientCorrelationId_ = other.clientCorrelationId_; + alarmFilterPrefix_ = other.alarmFilterPrefix_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryActiveAlarmsRequest Clone() { + return new QueryActiveAlarmsRequest(this); + } + + /// Field number for the "session_id" field. + public const int SessionIdFieldNumber = 1; + private string sessionId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SessionId { + get { return sessionId_; } + set { + sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "client_correlation_id" field. + public const int ClientCorrelationIdFieldNumber = 2; + private string clientCorrelationId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientCorrelationId { + get { return clientCorrelationId_; } + set { + clientCorrelationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "alarm_filter_prefix" field. + public const int AlarmFilterPrefixFieldNumber = 3; + private string alarmFilterPrefix_ = ""; + /// + /// Optional filter: when non-empty, only snapshots whose alarm_full_reference + /// starts with this string are returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AlarmFilterPrefix { + get { return alarmFilterPrefix_; } + set { + alarmFilterPrefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QueryActiveAlarmsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QueryActiveAlarmsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SessionId != other.SessionId) return false; + if (ClientCorrelationId != other.ClientCorrelationId) return false; + if (AlarmFilterPrefix != other.AlarmFilterPrefix) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SessionId.Length != 0) hash ^= SessionId.GetHashCode(); + if (ClientCorrelationId.Length != 0) hash ^= ClientCorrelationId.GetHashCode(); + if (AlarmFilterPrefix.Length != 0) hash ^= AlarmFilterPrefix.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SessionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SessionId); + } + if (ClientCorrelationId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ClientCorrelationId); + } + if (AlarmFilterPrefix.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AlarmFilterPrefix); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SessionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SessionId); + } + if (ClientCorrelationId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ClientCorrelationId); + } + if (AlarmFilterPrefix.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AlarmFilterPrefix); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SessionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId); + } + if (ClientCorrelationId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientCorrelationId); + } + if (AlarmFilterPrefix.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AlarmFilterPrefix); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QueryActiveAlarmsRequest other) { + if (other == null) { + return; + } + if (other.SessionId.Length != 0) { + SessionId = other.SessionId; + } + if (other.ClientCorrelationId.Length != 0) { + ClientCorrelationId = other.ClientCorrelationId; + } + if (other.AlarmFilterPrefix.Length != 0) { + AlarmFilterPrefix = other.AlarmFilterPrefix; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + SessionId = input.ReadString(); + break; + } + case 18: { + ClientCorrelationId = input.ReadString(); + break; + } + case 26: { + AlarmFilterPrefix = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + SessionId = input.ReadString(); + break; + } + case 18: { + ClientCorrelationId = input.ReadString(); + break; + } + case 26: { + AlarmFilterPrefix = input.ReadString(); + break; + } + } + } + } + #endif + + } + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class OpenSessionRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -744,7 +1030,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[0]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1062,7 +1348,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[1]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1531,7 +1817,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[2]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1766,7 +2052,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[3]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2047,7 +2333,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[4]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2282,7 +2568,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[5]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[6]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2563,7 +2849,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[6]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[7]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4855,7 +5141,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[7]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[8]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5053,7 +5339,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[8]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[9]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5251,7 +5537,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[9]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[10]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5486,7 +5772,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[10]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[11]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5758,7 +6044,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[11]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[12]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5993,7 +6279,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[12]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[13]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6228,7 +6514,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[13]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[14]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6463,7 +6749,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[14]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[15]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6698,7 +6984,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[15]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[16]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6970,7 +7256,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[16]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[17]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7205,7 +7491,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[17]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[18]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7440,7 +7726,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[18]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[19]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7675,7 +7961,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[19]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[20]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7993,7 +8279,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[20]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[21]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8357,7 +8643,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[21]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[22]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8716,7 +9002,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[22]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[23]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9121,7 +9407,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[23]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[24]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9397,7 +9683,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[24]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[25]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9632,7 +9918,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[25]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[26]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9856,7 +10142,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[26]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[27]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10082,7 +10368,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[27]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[28]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10308,7 +10594,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[28]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[29]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10534,7 +10820,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[29]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[30]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10766,7 +11052,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[30]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[31]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10968,7 +11254,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[31]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[32]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11135,7 +11421,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[32]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[33]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11526,7 +11812,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[33]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[34]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11731,7 +12017,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[34]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[35]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12199,7 +12485,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[35]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[36]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12431,7 +12717,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[36]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[37]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12655,7 +12941,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[37]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[38]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12939,7 +13225,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[38]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[39]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13163,7 +13449,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[39]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[40]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13496,7 +13782,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[40]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[41]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13720,7 +14006,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[41]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[42]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14046,7 +14332,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[42]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[43]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14270,7 +14556,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[43]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[44]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14653,7 +14939,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[44]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[45]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14914,7 +15200,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[45]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[46]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15112,7 +15398,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[46]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[47]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15273,7 +15559,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[47]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[48]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15434,7 +15720,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[48]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[49]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15632,7 +15918,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[49]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[50]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15840,7 +16126,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[50]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[51]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17635,7 +17921,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[51]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[52]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17833,7 +18119,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[52]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[53]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -18031,7 +18317,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[53]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[54]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -18229,7 +18515,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[54]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[55]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -18427,7 +18713,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[55]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[56]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -18634,7 +18920,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[56]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[57]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -18841,7 +19127,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[57]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[58]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -19039,7 +19325,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[58]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[59]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -19237,7 +19523,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[59]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[60]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -19583,7 +19869,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[60]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[61]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -19780,7 +20066,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[61]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[62]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -20168,7 +20454,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[62]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[63]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -20375,7 +20661,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[63]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[64]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -20913,7 +21199,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[64]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[65]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -21100,7 +21386,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[65]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[66]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -21298,7 +21584,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[66]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[67]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -21607,7 +21893,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[67]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[68]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -21806,7 +22092,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[68]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[69]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -22010,7 +22296,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[69]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[70]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -22198,7 +22484,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[70]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[71]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -23173,7 +23459,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[71]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[72]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -23334,7 +23620,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[72]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[73]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -23495,7 +23781,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[73]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[74]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -23656,7 +23942,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[74]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[75]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -23989,7 +24275,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[75]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[76]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -24723,7 +25009,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[76]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[77]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -25413,7 +25699,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[77]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[78]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -25733,7 +26019,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[78]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[79]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -26131,7 +26417,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[79]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[80]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -26375,7 +26661,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[80]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[81]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -26733,7 +27019,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[81]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[82]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -27164,7 +27450,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[82]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[83]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -28021,7 +28307,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[83]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[84]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -28809,7 +29095,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[84]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[85]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -28998,7 +29284,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[85]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[86]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -29187,7 +29473,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[86]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[87]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -29376,7 +29662,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[87]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[88]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -29565,7 +29851,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[88]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[89]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -29754,7 +30040,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[89]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[90]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -29941,7 +30227,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[90]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[91]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -30128,7 +30414,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[91]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[92]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -30315,7 +30601,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[92]; } + get { return global::ZB.MOM.WW.MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[93]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/src/ZB.MOM.WW.MxGateway.Contracts/Generated/MxaccessGatewayGrpc.cs b/src/ZB.MOM.WW.MxGateway.Contracts/Generated/MxaccessGatewayGrpc.cs index d279939..21fefc2 100644 --- a/src/ZB.MOM.WW.MxGateway.Contracts/Generated/MxaccessGatewayGrpc.cs +++ b/src/ZB.MOM.WW.MxGateway.Contracts/Generated/MxaccessGatewayGrpc.cs @@ -72,6 +72,10 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { static readonly grpc::Marshaller __Marshaller_mxaccess_gateway_v1_StreamAlarmsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ZB.MOM.WW.MxGateway.Contracts.Proto.StreamAlarmsRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_mxaccess_gateway_v1_AlarmFeedMessage = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ZB.MOM.WW.MxGateway.Contracts.Proto.AlarmFeedMessage.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_mxaccess_gateway_v1_QueryActiveAlarmsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ZB.MOM.WW.MxGateway.Contracts.Proto.QueryActiveAlarmsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_mxaccess_gateway_v1_ActiveAlarmSnapshot = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ZB.MOM.WW.MxGateway.Contracts.Proto.ActiveAlarmSnapshot.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_OpenSession = new grpc::Method( @@ -121,6 +125,14 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { __Marshaller_mxaccess_gateway_v1_StreamAlarmsRequest, __Marshaller_mxaccess_gateway_v1_AlarmFeedMessage); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_QueryActiveAlarms = new grpc::Method( + grpc::MethodType.ServerStreaming, + __ServiceName, + "QueryActiveAlarms", + __Marshaller_mxaccess_gateway_v1_QueryActiveAlarmsRequest, + __Marshaller_mxaccess_gateway_v1_ActiveAlarmSnapshot); + /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { @@ -178,6 +190,23 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } + /// + /// Point-in-time snapshot of the currently-active alarm set served from the + /// gateway's always-on alarm monitor cache (session-less). Used after a + /// reconnect to seed Part 9 client state, or to reconcile alarms that may + /// have been missed during a transport blip. Streamed so callers can + /// begin processing without buffering the full set. + /// + /// The request received from the client. + /// Used for sending responses back to the client. + /// The context of the server-side call handler being invoked. + /// A task indicating completion of the handler. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task QueryActiveAlarms(global::ZB.MOM.WW.MxGateway.Contracts.Proto.QueryActiveAlarmsRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + } /// Client for MxAccessGateway @@ -329,6 +358,38 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { { return CallInvoker.AsyncServerStreamingCall(__Method_StreamAlarms, null, options, request); } + /// + /// Point-in-time snapshot of the currently-active alarm set served from the + /// gateway's always-on alarm monitor cache (session-less). Used after a + /// reconnect to seed Part 9 client state, or to reconcile alarms that may + /// have been missed during a transport blip. Streamed so callers can + /// begin processing without buffering the full set. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncServerStreamingCall QueryActiveAlarms(global::ZB.MOM.WW.MxGateway.Contracts.Proto.QueryActiveAlarmsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return QueryActiveAlarms(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Point-in-time snapshot of the currently-active alarm set served from the + /// gateway's always-on alarm monitor cache (session-less). Used after a + /// reconnect to seed Part 9 client state, or to reconcile alarms that may + /// have been missed during a transport blip. Streamed so callers can + /// begin processing without buffering the full set. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncServerStreamingCall QueryActiveAlarms(global::ZB.MOM.WW.MxGateway.Contracts.Proto.QueryActiveAlarmsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncServerStreamingCall(__Method_QueryActiveAlarms, null, options, request); + } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override MxAccessGatewayClient NewInstance(ClientBaseConfiguration configuration) @@ -348,7 +409,8 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { .AddMethod(__Method_Invoke, serviceImpl.Invoke) .AddMethod(__Method_StreamEvents, serviceImpl.StreamEvents) .AddMethod(__Method_AcknowledgeAlarm, serviceImpl.AcknowledgeAlarm) - .AddMethod(__Method_StreamAlarms, serviceImpl.StreamAlarms).Build(); + .AddMethod(__Method_StreamAlarms, serviceImpl.StreamAlarms) + .AddMethod(__Method_QueryActiveAlarms, serviceImpl.QueryActiveAlarms).Build(); } /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. @@ -364,6 +426,7 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto { serviceBinder.AddMethod(__Method_StreamEvents, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.StreamEvents)); serviceBinder.AddMethod(__Method_AcknowledgeAlarm, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.AcknowledgeAlarm)); serviceBinder.AddMethod(__Method_StreamAlarms, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.StreamAlarms)); + serviceBinder.AddMethod(__Method_QueryActiveAlarms, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.QueryActiveAlarms)); } } diff --git a/src/ZB.MOM.WW.MxGateway.Contracts/Protos/mxaccess_gateway.proto b/src/ZB.MOM.WW.MxGateway.Contracts/Protos/mxaccess_gateway.proto index 6358149..b1c099b 100644 --- a/src/ZB.MOM.WW.MxGateway.Contracts/Protos/mxaccess_gateway.proto +++ b/src/ZB.MOM.WW.MxGateway.Contracts/Protos/mxaccess_gateway.proto @@ -26,6 +26,23 @@ service MxAccessGateway { // Served by the gateway's always-on alarm monitor; any number of clients // fan out from the single monitor without opening a worker session. rpc StreamAlarms(StreamAlarmsRequest) returns (stream AlarmFeedMessage); + // Point-in-time snapshot of the currently-active alarm set served from the + // gateway's always-on alarm monitor cache (session-less). Used after a + // reconnect to seed Part 9 client state, or to reconcile alarms that may + // have been missed during a transport blip. Streamed so callers can + // begin processing without buffering the full set. + rpc QueryActiveAlarms(QueryActiveAlarmsRequest) returns (stream ActiveAlarmSnapshot); +} + +// Public request shape for QueryActiveAlarms. session_id is currently unused +// (the snapshot is session-less) but reserved so a future per-session view +// can be added without a wire break. +message QueryActiveAlarmsRequest { + string session_id = 1; + string client_correlation_id = 2; + // Optional filter: when non-empty, only snapshots whose alarm_full_reference + // starts with this string are returned. + string alarm_filter_prefix = 3; } message OpenSessionRequest { diff --git a/src/ZB.MOM.WW.MxGateway.Server/Grpc/MxAccessGatewayService.cs b/src/ZB.MOM.WW.MxGateway.Server/Grpc/MxAccessGatewayService.cs index 170266e..0ffcba0 100644 --- a/src/ZB.MOM.WW.MxGateway.Server/Grpc/MxAccessGatewayService.cs +++ b/src/ZB.MOM.WW.MxGateway.Server/Grpc/MxAccessGatewayService.cs @@ -223,6 +223,42 @@ public sealed class MxAccessGatewayService( } } + /// + /// + /// Snapshot of the active-alarm cache maintained by the gateway's + /// always-on alarm monitor. Streams one + /// per currently-active alarm and completes — no transitions are + /// emitted. Use StreamAlarms for a live transition feed. + /// + public override async Task QueryActiveAlarms( + QueryActiveAlarmsRequest request, + IServerStreamWriter responseStream, + ServerCallContext context) + { + try + { + ArgumentNullException.ThrowIfNull(request); + string? filter = string.IsNullOrEmpty(request.AlarmFilterPrefix) + ? null + : request.AlarmFilterPrefix; + foreach (ActiveAlarmSnapshot snapshot in alarmService.CurrentAlarms) + { + context.CancellationToken.ThrowIfCancellationRequested(); + if (filter is not null + && !snapshot.AlarmFullReference.StartsWith(filter, StringComparison.Ordinal)) + { + continue; + } + + await responseStream.WriteAsync(snapshot).ConfigureAwait(false); + } + } + catch (Exception exception) when (exception is not RpcException) + { + throw MapException(exception); + } + } + private string? ResolveClientIdentity() { return identityAccessor.Current?.DisplayName ?? identityAccessor.Current?.KeyId;