You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2026/09/06 10:36:10 UTC
(pekko) branch main updated: protoc 4.36.0 (#3514)
This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git
The following commit(s) were added to refs/heads/main by this push:
new dcff589c4b protoc 4.36.0 (#3514)
dcff589c4b is described below
commit dcff589c4b44380ee0900ff720c6d8a7a423b7e7
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sun Sep 6 11:36:04 2026 +0100
protoc 4.36.0 (#3514)
---
.../protobuf/msg/ClusterMetricsMessages.java | 166 +++------
.../typed/internal/protobuf/ShardingMessages.java | 50 +--
.../protobuf/msg/ClusterShardingMessages.java | 414 ++++++++-------------
.../client/protobuf/msg/ClusterClientMessages.java | 16 +-
.../protobuf/msg/DistributedPubSubMessages.java | 166 +++------
.../typed/internal/protobuf/ClusterMessages.java | 24 +-
.../typed/internal/protobuf/ReliableDelivery.java | 116 ++----
.../cluster/protobuf/msg/ClusterMessages.java | 364 +++++++-----------
.../ddata/protobuf/msg/ReplicatedDataMessages.java | 398 ++++++--------------
.../ddata/protobuf/msg/ReplicatorMessages.java | 396 ++++++--------------
.../ddata/protobuf/msg/TwoPhaseSetMessages.java | 32 +-
.../docs/persistence/proto/FlightAppModels.java | 18 +-
.../testconductor/TestConductorProtocol.java | 108 ++----
.../query/internal/protobuf/QueryMessages.java | 70 +---
.../serialization/ReplicatedEventSourcing.java | 246 ++++--------
.../persistence/serialization/MessageFormats.java | 122 +++---
project/Dependencies.scala | 2 +-
.../pekko/remote/artery/protobuf/TestMessages.java | 42 +--
.../apache/pekko/remote/ArteryControlFormats.java | 132 +++----
.../org/apache/pekko/remote/ContainerFormats.java | 194 ++++------
.../apache/pekko/remote/SystemMessageFormats.java | 78 ++--
.../java/org/apache/pekko/remote/WireFormats.java | 312 ++++++----------
.../org/apache/pekko/remote/ProtobufProtocol.java | 14 +-
.../remote/protobuf/v3/ProtobufProtocolV3.java | 18 +-
.../org/apache/pekko/stream/StreamRefMessages.java | 84 ++---
25 files changed, 1226 insertions(+), 2356 deletions(-)
diff --git a/cluster-metrics/src/main/java/org/apache/pekko/cluster/metrics/protobuf/msg/ClusterMetricsMessages.java b/cluster-metrics/src/main/java/org/apache/pekko/cluster/metrics/protobuf/msg/ClusterMetricsMessages.java
index d69e950947..0a127410e0 100644
--- a/cluster-metrics/src/main/java/org/apache/pekko/cluster/metrics/protobuf/msg/ClusterMetricsMessages.java
+++ b/cluster-metrics/src/main/java/org/apache/pekko/cluster/metrics/protobuf/msg/ClusterMetricsMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ClusterMetricsMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.metrics.protobuf.msg;
@@ -25,7 +25,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ClusterMetricsMessages");
@@ -101,7 +101,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MetricsGossipEnvelope");
@@ -583,9 +583,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -656,9 +654,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -777,9 +773,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setGossip(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip value) {
if (gossipBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
gossip_ = value;
} else {
gossipBuilder_.setMessage(value);
@@ -1057,7 +1051,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MetricsGossip");
@@ -1640,9 +1634,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1748,9 +1740,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
public Builder setAllAddresses(
int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
if (allAddressesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureAllAddressesIsMutable();
allAddresses_.set(index, value);
onChanged();
@@ -1778,9 +1768,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addAllAddresses(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
if (allAddressesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureAllAddressesIsMutable();
allAddresses_.add(value);
onChanged();
@@ -1795,9 +1783,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
public Builder addAllAddresses(
int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
if (allAddressesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureAllAddressesIsMutable();
allAddresses_.add(index, value);
onChanged();
@@ -1989,7 +1975,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setAllMetricNames(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllMetricNamesIsMutable();
allMetricNames_.set(index, value);
bitField0_ |= 0x00000002;
@@ -2003,7 +1989,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addAllMetricNames(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllMetricNamesIsMutable();
allMetricNames_.add(value);
bitField0_ |= 0x00000002;
@@ -2042,7 +2028,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addAllMetricNamesBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllMetricNamesIsMutable();
allMetricNames_.add(value);
bitField0_ |= 0x00000002;
@@ -2098,9 +2084,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
public Builder setNodeMetrics(
int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics value) {
if (nodeMetricsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureNodeMetricsIsMutable();
nodeMetrics_.set(index, value);
onChanged();
@@ -2128,9 +2112,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addNodeMetrics(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics value) {
if (nodeMetricsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureNodeMetricsIsMutable();
nodeMetrics_.add(value);
onChanged();
@@ -2145,9 +2127,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
public Builder addNodeMetrics(
int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics value) {
if (nodeMetricsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureNodeMetricsIsMutable();
nodeMetrics_.add(index, value);
onChanged();
@@ -2408,7 +2388,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"NodeMetrics");
@@ -2470,7 +2450,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"NumberType");
@@ -2631,7 +2611,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Number");
@@ -3090,9 +3070,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3168,7 +3146,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
* @return This builder for chaining.
*/
public Builder setType(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000001;
type_ = value.getNumber();
onChanged();
@@ -3288,7 +3266,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
* @return This builder for chaining.
*/
public Builder setSerialized(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
serialized_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -3394,7 +3372,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"EWMA");
@@ -3777,9 +3755,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4003,7 +3979,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Metric");
@@ -4476,9 +4452,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4589,9 +4563,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setNumber(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number value) {
if (numberBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
number_ = value;
} else {
numberBuilder_.setMessage(value);
@@ -4710,9 +4682,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setEwma(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA value) {
if (ewmaBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ewma_ = value;
} else {
ewmaBuilder_.setMessage(value);
@@ -5327,9 +5297,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5506,9 +5474,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
public Builder setMetrics(
int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric value) {
if (metricsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureMetricsIsMutable();
metrics_.set(index, value);
onChanged();
@@ -5536,9 +5502,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addMetrics(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric value) {
if (metricsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureMetricsIsMutable();
metrics_.add(value);
onChanged();
@@ -5553,9 +5517,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
public Builder addMetrics(
int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric value) {
if (metricsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureMetricsIsMutable();
metrics_.add(index, value);
onChanged();
@@ -5832,7 +5794,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Address");
@@ -6405,9 +6367,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6503,7 +6463,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setSystem(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6526,7 +6486,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setSystemBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6583,7 +6543,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setHostname(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -6606,7 +6566,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setHostnameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -6703,7 +6663,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setProtocol(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -6726,7 +6686,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setProtocolBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -6878,7 +6838,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"AdaptiveLoadBalancingPool");
@@ -7430,9 +7390,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -7518,9 +7476,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setMetricsSelector(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
if (metricsSelectorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
metricsSelector_ = value;
} else {
metricsSelectorBuilder_.setMessage(value);
@@ -7743,7 +7699,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setRouterDispatcher(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
routerDispatcher_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -7774,7 +7730,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setRouterDispatcherBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
routerDispatcher_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -7931,7 +7887,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MetricsSelector");
@@ -8397,9 +8353,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -8530,7 +8484,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setManifest(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
manifest_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -8553,7 +8507,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setManifestBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
manifest_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -8583,7 +8537,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
* @return This builder for chaining.
*/
public Builder setData(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
data_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -8691,7 +8645,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MixMetricsSelector");
@@ -9084,9 +9038,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -9173,9 +9125,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
public Builder setSelectors(
int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
if (selectorsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSelectorsIsMutable();
selectors_.set(index, value);
onChanged();
@@ -9203,9 +9153,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addSelectors(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
if (selectorsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSelectorsIsMutable();
selectors_.add(value);
onChanged();
@@ -9220,9 +9168,7 @@ public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.in
public Builder addSelectors(
int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
if (selectorsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSelectorsIsMutable();
selectors_.add(index, value);
onChanged();
diff --git a/cluster-sharding-typed/src/main/java/org/apache/pekko/cluster/sharding/typed/internal/protobuf/ShardingMessages.java b/cluster-sharding-typed/src/main/java/org/apache/pekko/cluster/sharding/typed/internal/protobuf/ShardingMessages.java
index 7fad808d1e..7dfd902fac 100644
--- a/cluster-sharding-typed/src/main/java/org/apache/pekko/cluster/sharding/typed/internal/protobuf/ShardingMessages.java
+++ b/cluster-sharding-typed/src/main/java/org/apache/pekko/cluster/sharding/typed/internal/protobuf/ShardingMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ShardingMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.sharding.typed.internal.protobuf;
@@ -25,7 +25,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardingMessages");
@@ -87,7 +87,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardingEnvelope");
@@ -524,9 +524,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -614,7 +612,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
*/
public Builder setEntityId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -637,7 +635,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
*/
public Builder setEntityIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -670,9 +668,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
*/
public Builder setMessage(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (messageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
message_ = value;
} else {
messageBuilder_.setMessage(value);
@@ -876,7 +872,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"DaemonProcessScaleState");
@@ -1358,9 +1354,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1661,7 +1655,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ChangeNumberOfProcesses");
@@ -2072,9 +2066,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2200,7 +2192,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
*/
public Builder setReplyTo(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
replyTo_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -2223,7 +2215,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
*/
public Builder setReplyToBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
replyTo_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -2314,7 +2306,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GetNumberOfProcesses");
@@ -2675,9 +2667,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2758,7 +2748,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
*/
public Builder setReplyTo(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
replyTo_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2781,7 +2771,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
*/
public Builder setReplyToBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
replyTo_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2899,7 +2889,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GetNumberOfProcessesReply");
@@ -3381,9 +3371,7 @@ public final class ShardingMessages extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
diff --git a/cluster-sharding/src/main/java/org/apache/pekko/cluster/sharding/protobuf/msg/ClusterShardingMessages.java b/cluster-sharding/src/main/java/org/apache/pekko/cluster/sharding/protobuf/msg/ClusterShardingMessages.java
index 0a028b64ae..3d82fcb5e1 100644
--- a/cluster-sharding/src/main/java/org/apache/pekko/cluster/sharding/protobuf/msg/ClusterShardingMessages.java
+++ b/cluster-sharding/src/main/java/org/apache/pekko/cluster/sharding/protobuf/msg/ClusterShardingMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ClusterShardingMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.sharding.protobuf.msg;
@@ -25,7 +25,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ClusterShardingMessages");
@@ -154,7 +154,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"CoordinatorState");
@@ -241,7 +241,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardEntry");
@@ -684,9 +684,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -772,7 +770,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shardId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -795,7 +793,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shardId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -852,7 +850,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegionRef(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
regionRef_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -875,7 +873,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegionRefBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
regionRef_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -1505,9 +1503,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1612,9 +1608,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder setShards(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.CoordinatorState.ShardEntry value) {
if (shardsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureShardsIsMutable();
shards_.set(index, value);
onChanged();
@@ -1642,9 +1636,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addShards(org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.CoordinatorState.ShardEntry value) {
if (shardsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureShardsIsMutable();
shards_.add(value);
onChanged();
@@ -1659,9 +1651,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder addShards(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.CoordinatorState.ShardEntry value) {
if (shardsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureShardsIsMutable();
shards_.add(index, value);
onChanged();
@@ -1853,7 +1843,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegions(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRegionsIsMutable();
regions_.set(index, value);
bitField0_ |= 0x00000002;
@@ -1867,7 +1857,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addRegions(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRegionsIsMutable();
regions_.add(value);
bitField0_ |= 0x00000002;
@@ -1906,7 +1896,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addRegionsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRegionsIsMutable();
regions_.add(value);
bitField0_ |= 0x00000002;
@@ -1963,7 +1953,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegionProxies(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRegionProxiesIsMutable();
regionProxies_.set(index, value);
bitField0_ |= 0x00000004;
@@ -1977,7 +1967,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addRegionProxies(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRegionProxiesIsMutable();
regionProxies_.add(value);
bitField0_ |= 0x00000004;
@@ -2016,7 +2006,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addRegionProxiesBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRegionProxiesIsMutable();
regionProxies_.add(value);
bitField0_ |= 0x00000004;
@@ -2073,7 +2063,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setUnallocatedShards(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureUnallocatedShardsIsMutable();
unallocatedShards_.set(index, value);
bitField0_ |= 0x00000008;
@@ -2087,7 +2077,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addUnallocatedShards(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureUnallocatedShardsIsMutable();
unallocatedShards_.add(value);
bitField0_ |= 0x00000008;
@@ -2126,7 +2116,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addUnallocatedShardsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureUnallocatedShardsIsMutable();
unallocatedShards_.add(value);
bitField0_ |= 0x00000008;
@@ -2218,7 +2208,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ActorRefMessage");
@@ -2579,9 +2569,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2662,7 +2650,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRef(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ref_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2685,7 +2673,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRefBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ref_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2776,7 +2764,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardIdMessage");
@@ -3137,9 +3125,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3220,7 +3206,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShard(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shard_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -3243,7 +3229,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shard_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -3351,7 +3337,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardHomeAllocated");
@@ -3794,9 +3780,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3882,7 +3866,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShard(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shard_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -3905,7 +3889,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shard_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -3962,7 +3946,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
region_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -3985,7 +3969,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegionBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
region_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4093,7 +4077,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardHome");
@@ -4536,9 +4520,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4624,7 +4606,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShard(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shard_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -4647,7 +4629,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shard_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -4704,7 +4686,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
region_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4727,7 +4709,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegionBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
region_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4847,7 +4829,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardHomesEntry");
@@ -5284,9 +5266,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5373,7 +5353,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
region_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -5396,7 +5376,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setRegionBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
region_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -5452,7 +5432,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShard(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureShardIsMutable();
shard_.set(index, value);
bitField0_ |= 0x00000002;
@@ -5466,7 +5446,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addShard(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureShardIsMutable();
shard_.add(value);
bitField0_ |= 0x00000002;
@@ -5505,7 +5485,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addShardBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureShardIsMutable();
shard_.add(value);
bitField0_ |= 0x00000002;
@@ -5604,7 +5584,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardHomes");
@@ -5997,9 +5977,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6086,9 +6064,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder setHomes(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardHomesEntry value) {
if (homesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureHomesIsMutable();
homes_.set(index, value);
onChanged();
@@ -6116,9 +6092,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addHomes(org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardHomesEntry value) {
if (homesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureHomesIsMutable();
homes_.add(value);
onChanged();
@@ -6133,9 +6107,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder addHomes(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardHomesEntry value) {
if (homesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureHomesIsMutable();
homes_.add(index, value);
onChanged();
@@ -6370,7 +6342,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"EntityState");
@@ -6718,9 +6690,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6801,7 +6771,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntities(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntitiesIsMutable();
entities_.set(index, value);
bitField0_ |= 0x00000001;
@@ -6815,7 +6785,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntities(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntitiesIsMutable();
entities_.add(value);
bitField0_ |= 0x00000001;
@@ -6854,7 +6824,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntitiesBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntitiesIsMutable();
entities_.add(value);
bitField0_ |= 0x00000001;
@@ -6950,7 +6920,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"EntityStarted");
@@ -7315,9 +7285,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -7398,7 +7366,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -7421,7 +7389,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -7520,7 +7488,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"EntitiesStarted");
@@ -7868,9 +7836,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -7951,7 +7917,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityId(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdIsMutable();
entityId_.set(index, value);
bitField0_ |= 0x00000001;
@@ -7965,7 +7931,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntityId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdIsMutable();
entityId_.add(value);
bitField0_ |= 0x00000001;
@@ -8004,7 +7970,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntityIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdIsMutable();
entityId_.add(value);
bitField0_ |= 0x00000001;
@@ -8100,7 +8066,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"EntityStopped");
@@ -8465,9 +8431,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -8548,7 +8512,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -8571,7 +8535,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -8670,7 +8634,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"EntitiesStopped");
@@ -9018,9 +8982,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -9101,7 +9063,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityId(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdIsMutable();
entityId_.set(index, value);
bitField0_ |= 0x00000001;
@@ -9115,7 +9077,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntityId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdIsMutable();
entityId_.add(value);
bitField0_ |= 0x00000001;
@@ -9154,7 +9116,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntityIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdIsMutable();
entityId_.add(value);
bitField0_ |= 0x00000001;
@@ -9257,7 +9219,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardStats");
@@ -9668,9 +9630,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -9756,7 +9716,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShard(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shard_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -9779,7 +9739,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shard_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -9942,7 +9902,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardRegionStats");
@@ -10396,9 +10356,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -10491,9 +10449,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder setStats(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.MapFieldEntry value) {
if (statsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureStatsIsMutable();
stats_.set(index, value);
onChanged();
@@ -10521,9 +10477,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addStats(org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.MapFieldEntry value) {
if (statsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureStatsIsMutable();
stats_.add(value);
onChanged();
@@ -10538,9 +10492,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder addStats(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.MapFieldEntry value) {
if (statsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureStatsIsMutable();
stats_.add(index, value);
onChanged();
@@ -10732,7 +10684,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setFailed(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureFailedIsMutable();
failed_.set(index, value);
bitField0_ |= 0x00000002;
@@ -10746,7 +10698,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addFailed(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureFailedIsMutable();
failed_.add(value);
bitField0_ |= 0x00000002;
@@ -10785,7 +10737,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addFailedBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureFailedIsMutable();
failed_.add(value);
bitField0_ |= 0x00000002;
@@ -10888,7 +10840,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MapFieldEntry");
@@ -11285,9 +11237,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -11373,7 +11323,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -11396,7 +11346,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -11521,7 +11471,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GetClusterShardingStats");
@@ -11851,9 +11801,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -12015,7 +11963,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ClusterShardingStats");
@@ -12408,9 +12356,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -12497,9 +12443,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder setStats(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ClusterShardingStatsEntry value) {
if (statsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureStatsIsMutable();
stats_.set(index, value);
onChanged();
@@ -12527,9 +12471,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addStats(org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ClusterShardingStatsEntry value) {
if (statsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureStatsIsMutable();
stats_.add(value);
onChanged();
@@ -12544,9 +12486,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder addStats(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ClusterShardingStatsEntry value) {
if (statsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureStatsIsMutable();
stats_.add(index, value);
onChanged();
@@ -12786,7 +12726,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ClusterShardingStatsEntry");
@@ -13205,9 +13145,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -13273,9 +13211,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setAddress(org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.Address value) {
if (addressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
address_ = value;
} else {
addressBuilder_.setMessage(value);
@@ -13394,9 +13330,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setStats(org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardRegionStats value) {
if (statsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
stats_ = value;
} else {
statsBuilder_.setMessage(value);
@@ -13580,7 +13514,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"CurrentRegions");
@@ -13973,9 +13907,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -14062,9 +13994,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder setRegions(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.Address value) {
if (regionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureRegionsIsMutable();
regions_.set(index, value);
onChanged();
@@ -14092,9 +14022,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addRegions(org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.Address value) {
if (regionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureRegionsIsMutable();
regions_.add(value);
onChanged();
@@ -14109,9 +14037,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder addRegions(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.Address value) {
if (regionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureRegionsIsMutable();
regions_.add(index, value);
onChanged();
@@ -14346,7 +14272,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"StopShards");
@@ -14694,9 +14620,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -14777,7 +14701,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShards(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureShardsIsMutable();
shards_.set(index, value);
bitField0_ |= 0x00000001;
@@ -14791,7 +14715,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addShards(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureShardsIsMutable();
shards_.add(value);
bitField0_ |= 0x00000001;
@@ -14830,7 +14754,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addShardsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureShardsIsMutable();
shards_.add(value);
bitField0_ |= 0x00000001;
@@ -14972,7 +14896,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Address");
@@ -15552,9 +15476,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -15650,7 +15572,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setProtocol(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -15673,7 +15595,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setProtocolBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -15730,7 +15652,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setSystem(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -15753,7 +15675,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setSystemBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -15810,7 +15732,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setHostname(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -15833,7 +15755,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setHostnameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -15964,7 +15886,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"StartEntity");
@@ -16325,9 +16247,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -16408,7 +16328,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -16431,7 +16351,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -16539,7 +16459,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"StartEntityAck");
@@ -16982,9 +16902,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -17070,7 +16988,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -17093,7 +17011,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
entityId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -17150,7 +17068,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shardId_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -17173,7 +17091,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shardId_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -17289,7 +17207,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"CurrentShardState");
@@ -17722,9 +17640,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -17811,7 +17727,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shardId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -17834,7 +17750,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shardId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -17890,7 +17806,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityIds(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdsIsMutable();
entityIds_.set(index, value);
bitField0_ |= 0x00000002;
@@ -17904,7 +17820,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntityIds(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdsIsMutable();
entityIds_.add(value);
bitField0_ |= 0x00000002;
@@ -17943,7 +17859,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntityIdsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdsIsMutable();
entityIds_.add(value);
bitField0_ |= 0x00000002;
@@ -18060,7 +17976,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ShardState");
@@ -18493,9 +18409,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -18582,7 +18496,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shardId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -18605,7 +18519,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
shardId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -18661,7 +18575,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setEntityIds(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdsIsMutable();
entityIds_.set(index, value);
bitField0_ |= 0x00000002;
@@ -18675,7 +18589,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntityIds(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdsIsMutable();
entityIds_.add(value);
bitField0_ |= 0x00000002;
@@ -18714,7 +18628,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addEntityIdsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureEntityIdsIsMutable();
entityIds_.add(value);
bitField0_ |= 0x00000002;
@@ -18838,7 +18752,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"CurrentShardRegionState");
@@ -19303,9 +19217,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -19398,9 +19310,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder setShards(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardState value) {
if (shardsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureShardsIsMutable();
shards_.set(index, value);
onChanged();
@@ -19428,9 +19338,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addShards(org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardState value) {
if (shardsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureShardsIsMutable();
shards_.add(value);
onChanged();
@@ -19445,9 +19353,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
public Builder addShards(
int index, org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardState value) {
if (shardsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureShardsIsMutable();
shards_.add(index, value);
onChanged();
@@ -19639,7 +19545,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setFailed(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureFailedIsMutable();
failed_.set(index, value);
bitField0_ |= 0x00000002;
@@ -19653,7 +19559,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addFailed(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureFailedIsMutable();
failed_.add(value);
bitField0_ |= 0x00000002;
@@ -19692,7 +19598,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addFailedBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureFailedIsMutable();
failed_.add(value);
bitField0_ |= 0x00000002;
@@ -19803,7 +19709,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"RememberedShardState");
@@ -20198,9 +20104,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -20286,7 +20190,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder setShardId(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureShardIdIsMutable();
shardId_.set(index, value);
bitField0_ |= 0x00000001;
@@ -20300,7 +20204,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addShardId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureShardIdIsMutable();
shardId_.add(value);
bitField0_ |= 0x00000001;
@@ -20339,7 +20243,7 @@ public final class ClusterShardingMessages extends org.apache.pekko.protobufv3.i
*/
public Builder addShardIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureShardIdIsMutable();
shardId_.add(value);
bitField0_ |= 0x00000001;
diff --git a/cluster-tools/src/main/java/org/apache/pekko/cluster/client/protobuf/msg/ClusterClientMessages.java b/cluster-tools/src/main/java/org/apache/pekko/cluster/client/protobuf/msg/ClusterClientMessages.java
index d612c5febe..36eac0e16f 100644
--- a/cluster-tools/src/main/java/org/apache/pekko/cluster/client/protobuf/msg/ClusterClientMessages.java
+++ b/cluster-tools/src/main/java/org/apache/pekko/cluster/client/protobuf/msg/ClusterClientMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ClusterClientMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.client.protobuf.msg;
@@ -25,7 +25,7 @@ public final class ClusterClientMessages extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ClusterClientMessages");
@@ -80,7 +80,7 @@ public final class ClusterClientMessages extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Contacts");
@@ -428,9 +428,7 @@ public final class ClusterClientMessages extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -511,7 +509,7 @@ public final class ClusterClientMessages extends org.apache.pekko.protobufv3.int
*/
public Builder setContactPoints(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureContactPointsIsMutable();
contactPoints_.set(index, value);
bitField0_ |= 0x00000001;
@@ -525,7 +523,7 @@ public final class ClusterClientMessages extends org.apache.pekko.protobufv3.int
*/
public Builder addContactPoints(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureContactPointsIsMutable();
contactPoints_.add(value);
bitField0_ |= 0x00000001;
@@ -564,7 +562,7 @@ public final class ClusterClientMessages extends org.apache.pekko.protobufv3.int
*/
public Builder addContactPointsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureContactPointsIsMutable();
contactPoints_.add(value);
bitField0_ |= 0x00000001;
diff --git a/cluster-tools/src/main/java/org/apache/pekko/cluster/pubsub/protobuf/msg/DistributedPubSubMessages.java b/cluster-tools/src/main/java/org/apache/pekko/cluster/pubsub/protobuf/msg/DistributedPubSubMessages.java
index b96eb35a1c..1af6af956e 100644
--- a/cluster-tools/src/main/java/org/apache/pekko/cluster/pubsub/protobuf/msg/DistributedPubSubMessages.java
+++ b/cluster-tools/src/main/java/org/apache/pekko/cluster/pubsub/protobuf/msg/DistributedPubSubMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: DistributedPubSubMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.pubsub.protobuf.msg;
@@ -25,7 +25,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"DistributedPubSubMessages");
@@ -90,7 +90,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Status");
@@ -163,7 +163,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Version");
@@ -569,9 +569,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -635,9 +633,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setAddress(org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Address value) {
if (addressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
address_ = value;
} else {
addressBuilder_.setMessage(value);
@@ -1230,9 +1226,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1324,9 +1318,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
public Builder setVersions(
int index, org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Status.Version value) {
if (versionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureVersionsIsMutable();
versions_.set(index, value);
onChanged();
@@ -1354,9 +1346,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder addVersions(org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Status.Version value) {
if (versionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureVersionsIsMutable();
versions_.add(value);
onChanged();
@@ -1371,9 +1361,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
public Builder addVersions(
int index, org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Status.Version value) {
if (versionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureVersionsIsMutable();
versions_.add(index, value);
onChanged();
@@ -1647,7 +1635,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Delta");
@@ -1739,7 +1727,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -2226,9 +2214,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2319,7 +2305,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2342,7 +2328,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2439,7 +2425,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setRef(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ref_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -2462,7 +2448,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setRefBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ref_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -2586,7 +2572,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Bucket");
@@ -3110,9 +3096,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3189,9 +3173,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setOwner(org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Address value) {
if (ownerBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
owner_ = value;
} else {
ownerBuilder_.setMessage(value);
@@ -3372,9 +3354,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
public Builder setContent(
int index, org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Delta.Entry value) {
if (contentBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureContentIsMutable();
content_.set(index, value);
onChanged();
@@ -3402,9 +3382,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder addContent(org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Delta.Entry value) {
if (contentBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureContentIsMutable();
content_.add(value);
onChanged();
@@ -3419,9 +3397,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
public Builder addContent(
int index, org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Delta.Entry value) {
if (contentBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureContentIsMutable();
content_.add(index, value);
onChanged();
@@ -3977,9 +3953,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4066,9 +4040,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
public Builder setBuckets(
int index, org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Delta.Bucket value) {
if (bucketsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureBucketsIsMutable();
buckets_.set(index, value);
onChanged();
@@ -4096,9 +4068,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder addBuckets(org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Delta.Bucket value) {
if (bucketsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureBucketsIsMutable();
buckets_.add(value);
onChanged();
@@ -4113,9 +4083,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
public Builder addBuckets(
int index, org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Delta.Bucket value) {
if (bucketsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureBucketsIsMutable();
buckets_.add(index, value);
onChanged();
@@ -4392,7 +4360,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Address");
@@ -4965,9 +4933,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5063,7 +5029,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setSystem(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -5086,7 +5052,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setSystemBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -5143,7 +5109,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setHostname(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -5166,7 +5132,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setHostnameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -5263,7 +5229,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setProtocol(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -5286,7 +5252,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setProtocolBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -5408,7 +5374,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Send");
@@ -5901,9 +5867,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5996,7 +5960,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setPath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
path_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6019,7 +5983,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setPathBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
path_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6092,9 +6056,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setPayload(org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Payload value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
payload_ = value;
} else {
payloadBuilder_.setMessage(value);
@@ -6302,7 +6264,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"SendToAll");
@@ -6795,9 +6757,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6890,7 +6850,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setPath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
path_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6913,7 +6873,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setPathBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
path_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6986,9 +6946,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setPayload(org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Payload value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
payload_ = value;
} else {
payloadBuilder_.setMessage(value);
@@ -7185,7 +7143,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Publish");
@@ -7627,9 +7585,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -7717,7 +7673,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setTopic(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
topic_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -7740,7 +7696,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setTopicBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
topic_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -7773,9 +7729,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setPayload(org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Payload value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
payload_ = value;
} else {
payloadBuilder_.setMessage(value);
@@ -7955,7 +7909,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"SendToOneSubscriber");
@@ -8315,9 +8269,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -8376,9 +8328,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
*/
public Builder setPayload(org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Payload value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
payload_ = value;
} else {
payloadBuilder_.setMessage(value);
@@ -8571,7 +8521,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Payload");
@@ -8995,9 +8945,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -9061,7 +9009,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
* @return This builder for chaining.
*/
public Builder setEnclosedMessage(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
enclosedMessage_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -9141,7 +9089,7 @@ public final class DistributedPubSubMessages extends org.apache.pekko.protobufv3
* @return This builder for chaining.
*/
public Builder setMessageManifest(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
messageManifest_ = value;
bitField0_ |= 0x00000004;
onChanged();
diff --git a/cluster-typed/src/main/java/org/apache/pekko/cluster/typed/internal/protobuf/ClusterMessages.java b/cluster-typed/src/main/java/org/apache/pekko/cluster/typed/internal/protobuf/ClusterMessages.java
index 10a7f37057..c426e5d417 100644
--- a/cluster-typed/src/main/java/org/apache/pekko/cluster/typed/internal/protobuf/ClusterMessages.java
+++ b/cluster-typed/src/main/java/org/apache/pekko/cluster/typed/internal/protobuf/ClusterMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ClusterMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.typed.internal.protobuf;
@@ -25,7 +25,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ClusterMessages");
@@ -94,7 +94,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReceptionistEntry");
@@ -550,9 +550,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -643,7 +641,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setActorRef(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
actorRef_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -666,7 +664,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setActorRefBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
actorRef_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -835,7 +833,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PubSubMessagePublished");
@@ -1190,9 +1188,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1251,9 +1247,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setMessage(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (messageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
message_ = value;
} else {
messageBuilder_.setMessage(value);
diff --git a/cluster-typed/src/main/java/org/apache/pekko/cluster/typed/internal/protobuf/ReliableDelivery.java b/cluster-typed/src/main/java/org/apache/pekko/cluster/typed/internal/protobuf/ReliableDelivery.java
index d4ce18d9da..c63b4fdf9f 100644
--- a/cluster-typed/src/main/java/org/apache/pekko/cluster/typed/internal/protobuf/ReliableDelivery.java
+++ b/cluster-typed/src/main/java/org/apache/pekko/cluster/typed/internal/protobuf/ReliableDelivery.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ReliableDelivery.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.typed.internal.protobuf;
@@ -25,7 +25,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReliableDelivery");
@@ -163,7 +163,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"SequencedMessage");
@@ -927,9 +927,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1047,7 +1045,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setProducerId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
producerId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -1070,7 +1068,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setProducerIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
producerId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -1247,7 +1245,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setProducerControllerRef(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
producerControllerRef_ = value;
bitField0_ |= 0x00000010;
onChanged();
@@ -1270,7 +1268,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setProducerControllerRefBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
producerControllerRef_ = value;
bitField0_ |= 0x00000010;
onChanged();
@@ -1303,9 +1301,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setMessage(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (messageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
message_ = value;
} else {
messageBuilder_.setMessage(value);
@@ -1566,7 +1562,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"RegisterConsumer");
@@ -1931,9 +1927,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2014,7 +2008,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setConsumerControllerRef(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
consumerControllerRef_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2037,7 +2031,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setConsumerControllerRefBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
consumerControllerRef_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2159,7 +2153,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Request");
@@ -2646,9 +2640,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2936,7 +2928,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Resend");
@@ -3270,9 +3262,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3425,7 +3415,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Ack");
@@ -3759,9 +3749,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3973,7 +3961,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"State");
@@ -4588,9 +4576,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4780,9 +4766,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
public Builder setConfirmed(
int index, org.apache.pekko.cluster.typed.internal.protobuf.ReliableDelivery.Confirmed value) {
if (confirmedBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureConfirmedIsMutable();
confirmed_.set(index, value);
onChanged();
@@ -4810,9 +4794,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder addConfirmed(org.apache.pekko.cluster.typed.internal.protobuf.ReliableDelivery.Confirmed value) {
if (confirmedBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureConfirmedIsMutable();
confirmed_.add(value);
onChanged();
@@ -4827,9 +4809,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
public Builder addConfirmed(
int index, org.apache.pekko.cluster.typed.internal.protobuf.ReliableDelivery.Confirmed value) {
if (confirmedBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureConfirmedIsMutable();
confirmed_.add(index, value);
onChanged();
@@ -5020,9 +5000,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
public Builder setUnconfirmed(
int index, org.apache.pekko.cluster.typed.internal.protobuf.ReliableDelivery.MessageSent value) {
if (unconfirmedBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureUnconfirmedIsMutable();
unconfirmed_.set(index, value);
onChanged();
@@ -5050,9 +5028,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder addUnconfirmed(org.apache.pekko.cluster.typed.internal.protobuf.ReliableDelivery.MessageSent value) {
if (unconfirmedBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureUnconfirmedIsMutable();
unconfirmed_.add(value);
onChanged();
@@ -5067,9 +5043,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
public Builder addUnconfirmed(
int index, org.apache.pekko.cluster.typed.internal.protobuf.ReliableDelivery.MessageSent value) {
if (unconfirmedBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureUnconfirmedIsMutable();
unconfirmed_.add(index, value);
onChanged();
@@ -5322,7 +5296,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Confirmed");
@@ -5789,9 +5763,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5922,7 +5894,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setQualifier(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
qualifier_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -5945,7 +5917,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setQualifierBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
qualifier_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -6150,7 +6122,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MessageSent");
@@ -6832,9 +6804,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6987,7 +6957,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setQualifier(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
qualifier_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -7010,7 +6980,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setQualifierBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
qualifier_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -7123,9 +7093,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setMessage(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (messageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
message_ = value;
} else {
messageBuilder_.setMessage(value);
@@ -7394,7 +7362,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Cleanup");
@@ -7746,9 +7714,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -7829,7 +7795,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder setQualifiers(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureQualifiersIsMutable();
qualifiers_.set(index, value);
bitField0_ |= 0x00000001;
@@ -7843,7 +7809,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder addQualifiers(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureQualifiersIsMutable();
qualifiers_.add(value);
bitField0_ |= 0x00000001;
@@ -7882,7 +7848,7 @@ public final class ReliableDelivery extends org.apache.pekko.protobufv3.internal
*/
public Builder addQualifiersBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureQualifiersIsMutable();
qualifiers_.add(value);
bitField0_ |= 0x00000001;
diff --git a/cluster/src/main/java/org/apache/pekko/cluster/protobuf/msg/ClusterMessages.java b/cluster/src/main/java/org/apache/pekko/cluster/protobuf/msg/ClusterMessages.java
index 55e793583f..4e4743c814 100644
--- a/cluster/src/main/java/org/apache/pekko/cluster/protobuf/msg/ClusterMessages.java
+++ b/cluster/src/main/java/org/apache/pekko/cluster/protobuf/msg/ClusterMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ClusterMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.protobuf.msg;
@@ -25,7 +25,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ClusterMessages");
@@ -67,7 +67,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReachabilityStatus");
@@ -210,7 +210,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MemberStatus");
@@ -409,7 +409,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Join");
@@ -916,9 +916,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -988,9 +986,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setNode(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress value) {
if (nodeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
node_ = value;
} else {
nodeBuilder_.setMessage(value);
@@ -1132,7 +1128,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setRoles(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRolesIsMutable();
roles_.set(index, value);
bitField0_ |= 0x00000002;
@@ -1146,7 +1142,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addRoles(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRolesIsMutable();
roles_.add(value);
bitField0_ |= 0x00000002;
@@ -1185,7 +1181,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addRolesBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRolesIsMutable();
roles_.add(value);
bitField0_ |= 0x00000002;
@@ -1243,7 +1239,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setAppVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
appVersion_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -1266,7 +1262,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setAppVersionBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
appVersion_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -1375,7 +1371,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Welcome");
@@ -1806,9 +1802,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1874,9 +1868,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setFrom(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -1995,9 +1987,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setGossip(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Gossip value) {
if (gossipBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
gossip_ = value;
} else {
gossipBuilder_.setMessage(value);
@@ -2179,7 +2169,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"InitJoin");
@@ -2538,9 +2528,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2621,7 +2609,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setCurrentConfig(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
currentConfig_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2644,7 +2632,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setCurrentConfigBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
currentConfig_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2753,7 +2741,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"InitJoinAck");
@@ -3184,9 +3172,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3252,9 +3238,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setAddress(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Address value) {
if (addressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
address_ = value;
} else {
addressBuilder_.setMessage(value);
@@ -3373,9 +3357,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setConfigCheck(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.ConfigCheck value) {
if (configCheckBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
configCheck_ = value;
} else {
configCheckBuilder_.setMessage(value);
@@ -3563,7 +3545,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ConfigCheck");
@@ -3618,7 +3600,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Type");
@@ -4080,9 +4062,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4148,7 +4128,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
* @return This builder for chaining.
*/
public Builder setType(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.ConfigCheck.Type value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000001;
type_ = value.getNumber();
onChanged();
@@ -4215,7 +4195,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setClusterConfig(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
clusterConfig_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4238,7 +4218,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setClusterConfigBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
clusterConfig_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4356,7 +4336,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Heartbeat");
@@ -4806,9 +4786,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4877,9 +4855,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setFrom(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Address value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -5163,7 +5139,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"HeartBeatResponse");
@@ -5613,9 +5589,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5684,9 +5658,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setFrom(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -5972,7 +5944,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GossipEnvelope");
@@ -6454,9 +6426,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6527,9 +6497,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setFrom(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -6648,9 +6616,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setTo(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress value) {
if (toBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
to_ = value;
} else {
toBuilder_.setMessage(value);
@@ -6766,7 +6732,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
* @return This builder for chaining.
*/
public Builder setSerializedGossip(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
serializedGossip_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -6921,7 +6887,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GossipStatus");
@@ -7468,9 +7434,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -7547,9 +7511,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setFrom(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -7691,7 +7653,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setAllHashes(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllHashesIsMutable();
allHashes_.set(index, value);
bitField0_ |= 0x00000002;
@@ -7705,7 +7667,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addAllHashes(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllHashesIsMutable();
allHashes_.add(value);
bitField0_ |= 0x00000002;
@@ -7744,7 +7706,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addAllHashesBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllHashesIsMutable();
allHashes_.add(value);
bitField0_ |= 0x00000002;
@@ -7778,9 +7740,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setVersion(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.VectorClock value) {
if (versionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
version_ = value;
} else {
versionBuilder_.setMessage(value);
@@ -7896,7 +7856,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
* @return This builder for chaining.
*/
public Builder setSeenDigest(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
seenDigest_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -8162,7 +8122,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Gossip");
@@ -9155,9 +9115,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -9302,9 +9260,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder setAllAddresses(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress value) {
if (allAddressesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureAllAddressesIsMutable();
allAddresses_.set(index, value);
onChanged();
@@ -9332,9 +9288,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addAllAddresses(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress value) {
if (allAddressesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureAllAddressesIsMutable();
allAddresses_.add(value);
onChanged();
@@ -9349,9 +9303,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder addAllAddresses(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress value) {
if (allAddressesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureAllAddressesIsMutable();
allAddresses_.add(index, value);
onChanged();
@@ -9543,7 +9495,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setAllRoles(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllRolesIsMutable();
allRoles_.set(index, value);
bitField0_ |= 0x00000002;
@@ -9557,7 +9509,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addAllRoles(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllRolesIsMutable();
allRoles_.add(value);
bitField0_ |= 0x00000002;
@@ -9596,7 +9548,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addAllRolesBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllRolesIsMutable();
allRoles_.add(value);
bitField0_ |= 0x00000002;
@@ -9653,7 +9605,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setAllHashes(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllHashesIsMutable();
allHashes_.set(index, value);
bitField0_ |= 0x00000004;
@@ -9667,7 +9619,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addAllHashes(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllHashesIsMutable();
allHashes_.add(value);
bitField0_ |= 0x00000004;
@@ -9706,7 +9658,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addAllHashesBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllHashesIsMutable();
allHashes_.add(value);
bitField0_ |= 0x00000004;
@@ -9762,9 +9714,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder setMembers(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Member value) {
if (membersBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureMembersIsMutable();
members_.set(index, value);
onChanged();
@@ -9792,9 +9742,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addMembers(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Member value) {
if (membersBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureMembersIsMutable();
members_.add(value);
onChanged();
@@ -9809,9 +9757,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder addMembers(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Member value) {
if (membersBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureMembersIsMutable();
members_.add(index, value);
onChanged();
@@ -9980,9 +9926,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setOverview(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.GossipOverview value) {
if (overviewBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
overview_ = value;
} else {
overviewBuilder_.setMessage(value);
@@ -10101,9 +10045,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setVersion(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.VectorClock value) {
if (versionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
version_ = value;
} else {
versionBuilder_.setMessage(value);
@@ -10244,9 +10186,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder setTombstones(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Tombstone value) {
if (tombstonesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureTombstonesIsMutable();
tombstones_.set(index, value);
onChanged();
@@ -10274,9 +10214,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addTombstones(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Tombstone value) {
if (tombstonesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureTombstonesIsMutable();
tombstones_.add(value);
onChanged();
@@ -10291,9 +10229,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder addTombstones(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Tombstone value) {
if (tombstonesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureTombstonesIsMutable();
tombstones_.add(index, value);
onChanged();
@@ -10485,7 +10421,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setAllAppVersions(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllAppVersionsIsMutable();
allAppVersions_.set(index, value);
bitField0_ |= 0x00000080;
@@ -10499,7 +10435,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addAllAppVersions(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllAppVersionsIsMutable();
allAppVersions_.add(value);
bitField0_ |= 0x00000080;
@@ -10538,7 +10474,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addAllAppVersionsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAllAppVersionsIsMutable();
allAppVersions_.add(value);
bitField0_ |= 0x00000080;
@@ -10671,7 +10607,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GossipOverview");
@@ -11145,9 +11081,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -11362,9 +11296,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder setObserverReachability(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.ObserverReachability value) {
if (observerReachabilityBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureObserverReachabilityIsMutable();
observerReachability_.set(index, value);
onChanged();
@@ -11392,9 +11324,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addObserverReachability(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.ObserverReachability value) {
if (observerReachabilityBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureObserverReachabilityIsMutable();
observerReachability_.add(value);
onChanged();
@@ -11409,9 +11339,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder addObserverReachability(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.ObserverReachability value) {
if (observerReachabilityBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureObserverReachabilityIsMutable();
observerReachability_.add(index, value);
onChanged();
@@ -11672,7 +11600,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ObserverReachability");
@@ -12174,9 +12102,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -12353,9 +12279,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder setSubjectReachability(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.SubjectReachability value) {
if (subjectReachabilityBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSubjectReachabilityIsMutable();
subjectReachability_.set(index, value);
onChanged();
@@ -12383,9 +12307,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addSubjectReachability(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.SubjectReachability value) {
if (subjectReachabilityBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSubjectReachabilityIsMutable();
subjectReachability_.add(value);
onChanged();
@@ -12400,9 +12322,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder addSubjectReachability(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.SubjectReachability value) {
if (subjectReachabilityBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSubjectReachabilityIsMutable();
subjectReachability_.add(index, value);
onChanged();
@@ -12645,7 +12565,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"SubjectReachability");
@@ -13074,9 +12994,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -13187,7 +13105,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
* @return This builder for chaining.
*/
public Builder setStatus(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.ReachabilityStatus value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000002;
status_ = value.getNumber();
onChanged();
@@ -13333,7 +13251,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Tombstone");
@@ -13713,9 +13631,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -13964,7 +13880,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Member");
@@ -14515,9 +14431,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -14689,7 +14603,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
* @return This builder for chaining.
*/
public Builder setStatus(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.MemberStatus value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000004;
status_ = value.getNumber();
onChanged();
@@ -14945,7 +14859,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"VectorClock");
@@ -15014,7 +14928,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Version");
@@ -15394,9 +15308,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -15985,9 +15897,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -16135,9 +16045,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder setVersions(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.VectorClock.Version value) {
if (versionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureVersionsIsMutable();
versions_.set(index, value);
onChanged();
@@ -16165,9 +16073,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addVersions(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.VectorClock.Version value) {
if (versionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureVersionsIsMutable();
versions_.add(value);
onChanged();
@@ -16182,9 +16088,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
public Builder addVersions(
int index, org.apache.pekko.cluster.protobuf.msg.ClusterMessages.VectorClock.Version value) {
if (versionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureVersionsIsMutable();
versions_.add(index, value);
onChanged();
@@ -16399,7 +16303,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Empty");
@@ -16669,9 +16573,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -16830,7 +16732,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Address");
@@ -17403,9 +17305,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -17501,7 +17401,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setSystem(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -17524,7 +17424,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setSystemBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -17581,7 +17481,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setHostname(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -17604,7 +17504,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setHostnameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -17701,7 +17601,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setProtocol(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -17724,7 +17624,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setProtocolBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -17848,7 +17748,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"UniqueAddress");
@@ -18309,9 +18209,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -18380,9 +18278,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setAddress(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Address value) {
if (addressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
address_ = value;
} else {
addressBuilder_.setMessage(value);
@@ -18668,7 +18564,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ClusterRouterPool");
@@ -19094,9 +18990,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -19162,9 +19056,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setPool(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Pool value) {
if (poolBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
pool_ = value;
} else {
poolBuilder_.setMessage(value);
@@ -19283,9 +19175,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setSettings(org.apache.pekko.cluster.protobuf.msg.ClusterMessages.ClusterRouterPoolSettings value) {
if (settingsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
settings_ = value;
} else {
settingsBuilder_.setMessage(value);
@@ -19484,7 +19374,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Pool");
@@ -19946,9 +19836,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -20079,7 +19967,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setManifest(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
manifest_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -20102,7 +19990,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setManifestBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
manifest_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -20132,7 +20020,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
* @return This builder for chaining.
*/
public Builder setData(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
data_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -20291,7 +20179,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ClusterRouterPoolSettings");
@@ -20868,9 +20756,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -21092,7 +20978,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setUseRole(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
useRole_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -21115,7 +21001,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setUseRoleBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
useRole_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -21171,7 +21057,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder setUseRoles(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureUseRolesIsMutable();
useRoles_.set(index, value);
bitField0_ |= 0x00000010;
@@ -21185,7 +21071,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addUseRoles(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureUseRolesIsMutable();
useRoles_.add(value);
bitField0_ |= 0x00000010;
@@ -21224,7 +21110,7 @@ public final class ClusterMessages extends org.apache.pekko.protobufv3.internal.
*/
public Builder addUseRolesBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureUseRolesIsMutable();
useRoles_.add(value);
bitField0_ |= 0x00000010;
diff --git a/distributed-data/src/main/java/org/apache/pekko/cluster/ddata/protobuf/msg/ReplicatedDataMessages.java b/distributed-data/src/main/java/org/apache/pekko/cluster/ddata/protobuf/msg/ReplicatedDataMessages.java
index fb46f73eb3..cebe163f72 100644
--- a/distributed-data/src/main/java/org/apache/pekko/cluster/ddata/protobuf/msg/ReplicatedDataMessages.java
+++ b/distributed-data/src/main/java/org/apache/pekko/cluster/ddata/protobuf/msg/ReplicatedDataMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ReplicatedDataMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.ddata.protobuf.msg;
@@ -25,7 +25,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReplicatedDataMessages");
@@ -62,7 +62,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORSetDeltaOp");
@@ -180,7 +180,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORMapDeltaOp");
@@ -416,7 +416,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GSet");
@@ -1118,9 +1118,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1252,7 +1250,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringElements(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureStringElementsIsMutable();
stringElements_.set(index, value);
bitField0_ |= 0x00000001;
@@ -1266,7 +1264,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addStringElements(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureStringElementsIsMutable();
stringElements_.add(value);
bitField0_ |= 0x00000001;
@@ -1305,7 +1303,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addStringElementsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureStringElementsIsMutable();
stringElements_.add(value);
bitField0_ |= 0x00000001;
@@ -1529,9 +1527,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setOtherElements(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherElementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureOtherElementsIsMutable();
otherElements_.set(index, value);
onChanged();
@@ -1559,9 +1555,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addOtherElements(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherElementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureOtherElementsIsMutable();
otherElements_.add(value);
onChanged();
@@ -1576,9 +1570,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addOtherElements(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherElementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureOtherElementsIsMutable();
otherElements_.add(index, value);
onChanged();
@@ -1790,7 +1782,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setActorRefElements(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureActorRefElementsIsMutable();
actorRefElements_.set(index, value);
bitField0_ |= 0x00000010;
@@ -1808,7 +1800,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addActorRefElements(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureActorRefElementsIsMutable();
actorRefElements_.add(value);
bitField0_ |= 0x00000010;
@@ -1859,7 +1851,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addActorRefElementsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureActorRefElementsIsMutable();
actorRefElements_.add(value);
bitField0_ |= 0x00000010;
@@ -2097,7 +2089,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORSet");
@@ -2993,9 +2985,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3124,9 +3114,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setVvector(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.VersionVector value) {
if (vvectorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
vvector_ = value;
} else {
vvectorBuilder_.setMessage(value);
@@ -3267,9 +3255,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setDots(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.VersionVector value) {
if (dotsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureDotsIsMutable();
dots_.set(index, value);
onChanged();
@@ -3297,9 +3283,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addDots(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.VersionVector value) {
if (dotsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureDotsIsMutable();
dots_.add(value);
onChanged();
@@ -3314,9 +3298,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addDots(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.VersionVector value) {
if (dotsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureDotsIsMutable();
dots_.add(index, value);
onChanged();
@@ -3508,7 +3490,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringElements(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureStringElementsIsMutable();
stringElements_.set(index, value);
bitField0_ |= 0x00000004;
@@ -3522,7 +3504,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addStringElements(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureStringElementsIsMutable();
stringElements_.add(value);
bitField0_ |= 0x00000004;
@@ -3561,7 +3543,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addStringElementsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureStringElementsIsMutable();
stringElements_.add(value);
bitField0_ |= 0x00000004;
@@ -3785,9 +3767,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setOtherElements(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherElementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureOtherElementsIsMutable();
otherElements_.set(index, value);
onChanged();
@@ -3815,9 +3795,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addOtherElements(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherElementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureOtherElementsIsMutable();
otherElements_.add(value);
onChanged();
@@ -3832,9 +3810,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addOtherElements(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherElementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureOtherElementsIsMutable();
otherElements_.add(index, value);
onChanged();
@@ -4046,7 +4022,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setActorRefElements(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureActorRefElementsIsMutable();
actorRefElements_.set(index, value);
bitField0_ |= 0x00000040;
@@ -4064,7 +4040,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addActorRefElements(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureActorRefElementsIsMutable();
actorRefElements_.add(value);
bitField0_ |= 0x00000040;
@@ -4115,7 +4091,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addActorRefElementsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureActorRefElementsIsMutable();
actorRefElements_.add(value);
bitField0_ |= 0x00000040;
@@ -4214,7 +4190,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORSetDeltaGroup");
@@ -4287,7 +4263,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -4691,9 +4667,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4761,7 +4735,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
* @return This builder for chaining.
*/
public Builder setOperation(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSetDeltaOp value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000001;
operation_ = value.getNumber();
onChanged();
@@ -4804,9 +4778,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setUnderlying(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSet value) {
if (underlyingBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
underlying_ = value;
} else {
underlyingBuilder_.setMessage(value);
@@ -5312,9 +5284,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5401,9 +5371,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSetDeltaGroup.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -5431,9 +5399,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSetDeltaGroup.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -5448,9 +5414,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSetDeltaGroup.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -5671,7 +5635,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Flag");
@@ -6001,9 +5965,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6182,7 +6144,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"LWWRegister");
@@ -6659,9 +6621,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6772,9 +6732,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setNode(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.UniqueAddress value) {
if (nodeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
node_ = value;
} else {
nodeBuilder_.setMessage(value);
@@ -6893,9 +6851,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setState(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (stateBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
state_ = value;
} else {
stateBuilder_.setMessage(value);
@@ -7079,7 +7035,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GCounter");
@@ -7152,7 +7108,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -7558,9 +7514,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -7624,9 +7578,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setNode(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.UniqueAddress value) {
if (nodeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
node_ = value;
} else {
nodeBuilder_.setMessage(value);
@@ -7742,7 +7694,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
* @return This builder for chaining.
*/
public Builder setValue(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -8172,9 +8124,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -8261,9 +8211,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.GCounter.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -8291,9 +8239,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.GCounter.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -8308,9 +8254,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.GCounter.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -8550,7 +8494,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PNCounter");
@@ -8976,9 +8920,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -9044,9 +8986,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setIncrements(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.GCounter value) {
if (incrementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
increments_ = value;
} else {
incrementsBuilder_.setMessage(value);
@@ -9165,9 +9105,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setDecrements(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.GCounter value) {
if (decrementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
decrements_ = value;
} else {
decrementsBuilder_.setMessage(value);
@@ -9366,7 +9304,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORMap");
@@ -9482,7 +9420,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -10067,9 +10005,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -10174,7 +10110,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -10197,7 +10133,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -10230,9 +10166,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setValue(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (valueBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
value_ = value;
} else {
valueBuilder_.setMessage(value);
@@ -10431,9 +10365,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setOtherKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherKeyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
otherKey_ = value;
} else {
otherKeyBuilder_.setMessage(value);
@@ -11019,9 +10951,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -11093,9 +11023,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setKeys(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSet value) {
if (keysBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
keys_ = value;
} else {
keysBuilder_.setMessage(value);
@@ -11236,9 +11164,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -11266,9 +11192,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -11283,9 +11207,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -11519,7 +11441,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORMapDeltaGroup");
@@ -11635,7 +11557,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MapEntry");
@@ -12217,9 +12139,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -12324,7 +12244,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -12347,7 +12267,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -12380,9 +12300,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setValue(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (valueBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
value_ = value;
} else {
valueBuilder_.setMessage(value);
@@ -12581,9 +12499,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setOtherKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherKeyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
otherKey_ = value;
} else {
otherKeyBuilder_.setMessage(value);
@@ -12804,7 +12720,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -13376,9 +13292,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -13464,7 +13378,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
* @return This builder for chaining.
*/
public Builder setOperation(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMapDeltaOp value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000001;
operation_ = value.getNumber();
onChanged();
@@ -13507,9 +13421,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setUnderlying(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSet value) {
if (underlyingBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
underlying_ = value;
} else {
underlyingBuilder_.setMessage(value);
@@ -13690,9 +13602,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setEntryData(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMapDeltaGroup.MapEntry value) {
if (entryDataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntryDataIsMutable();
entryData_.set(index, value);
onChanged();
@@ -13720,9 +13630,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addEntryData(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMapDeltaGroup.MapEntry value) {
if (entryDataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntryDataIsMutable();
entryData_.add(value);
onChanged();
@@ -13737,9 +13645,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addEntryData(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMapDeltaGroup.MapEntry value) {
if (entryDataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntryDataIsMutable();
entryData_.add(index, value);
onChanged();
@@ -14295,9 +14201,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -14384,9 +14288,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMapDeltaGroup.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -14414,9 +14316,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMapDeltaGroup.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -14431,9 +14331,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMapDeltaGroup.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -14682,7 +14580,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"LWWMap");
@@ -14798,7 +14696,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -15383,9 +15281,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -15490,7 +15386,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -15513,7 +15409,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -15546,9 +15442,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setValue(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.LWWRegister value) {
if (valueBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
value_ = value;
} else {
valueBuilder_.setMessage(value);
@@ -15747,9 +15641,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setOtherKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherKeyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
otherKey_ = value;
} else {
otherKeyBuilder_.setMessage(value);
@@ -16335,9 +16227,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -16409,9 +16299,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setKeys(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSet value) {
if (keysBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
keys_ = value;
} else {
keysBuilder_.setMessage(value);
@@ -16552,9 +16440,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.LWWMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -16582,9 +16468,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.LWWMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -16599,9 +16483,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.LWWMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -16850,7 +16732,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PNCounterMap");
@@ -16966,7 +16848,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -17551,9 +17433,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -17658,7 +17538,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -17681,7 +17561,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -17714,9 +17594,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setValue(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.PNCounter value) {
if (valueBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
value_ = value;
} else {
valueBuilder_.setMessage(value);
@@ -17915,9 +17793,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setOtherKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherKeyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
otherKey_ = value;
} else {
otherKeyBuilder_.setMessage(value);
@@ -18503,9 +18379,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -18577,9 +18451,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setKeys(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSet value) {
if (keysBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
keys_ = value;
} else {
keysBuilder_.setMessage(value);
@@ -18720,9 +18592,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.PNCounterMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -18750,9 +18620,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.PNCounterMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -18767,9 +18635,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.PNCounterMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -19029,7 +18895,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORMultiMap");
@@ -19145,7 +19011,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -19730,9 +19596,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -19837,7 +19701,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -19860,7 +19724,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setStringKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stringKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -19893,9 +19757,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setValue(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSet value) {
if (valueBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
value_ = value;
} else {
valueBuilder_.setMessage(value);
@@ -20094,9 +19956,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setOtherKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (otherKeyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
otherKey_ = value;
} else {
otherKeyBuilder_.setMessage(value);
@@ -20726,9 +20586,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -20805,9 +20663,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder setKeys(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORSet value) {
if (keysBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
keys_ = value;
} else {
keysBuilder_.setMessage(value);
@@ -20948,9 +20804,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMultiMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -20978,9 +20832,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMultiMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -20995,9 +20847,7 @@ public final class ReplicatedDataMessages extends org.apache.pekko.protobufv3.in
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatedDataMessages.ORMultiMap.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
diff --git a/distributed-data/src/main/java/org/apache/pekko/cluster/ddata/protobuf/msg/ReplicatorMessages.java b/distributed-data/src/main/java/org/apache/pekko/cluster/ddata/protobuf/msg/ReplicatorMessages.java
index ce8ec7d51e..f6f7ceea02 100644
--- a/distributed-data/src/main/java/org/apache/pekko/cluster/ddata/protobuf/msg/ReplicatorMessages.java
+++ b/distributed-data/src/main/java/org/apache/pekko/cluster/ddata/protobuf/msg/ReplicatorMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ReplicatorMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.cluster.ddata.protobuf.msg;
@@ -25,7 +25,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReplicatorMessages");
@@ -129,7 +129,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Get");
@@ -738,9 +738,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -826,9 +824,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (keyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
key_ = value;
} else {
keyBuilder_.setMessage(value);
@@ -1027,9 +1023,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setRequest(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (requestBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
request_ = value;
} else {
requestBuilder_.setMessage(value);
@@ -1314,7 +1308,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GetSuccess");
@@ -1808,9 +1802,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1883,9 +1875,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (keyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
key_ = value;
} else {
keyBuilder_.setMessage(value);
@@ -2004,9 +1994,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setData(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (dataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
data_ = value;
} else {
dataBuilder_.setMessage(value);
@@ -2125,9 +2113,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setRequest(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (requestBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
request_ = value;
} else {
requestBuilder_.setMessage(value);
@@ -2317,7 +2303,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"NotFound");
@@ -2740,9 +2726,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2808,9 +2792,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (keyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
key_ = value;
} else {
keyBuilder_.setMessage(value);
@@ -2929,9 +2911,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setRequest(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (requestBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
request_ = value;
} else {
requestBuilder_.setMessage(value);
@@ -3121,7 +3101,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"GetFailure");
@@ -3544,9 +3524,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3612,9 +3590,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (keyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
key_ = value;
} else {
keyBuilder_.setMessage(value);
@@ -3733,9 +3709,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setRequest(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (requestBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
request_ = value;
} else {
requestBuilder_.setMessage(value);
@@ -3927,7 +3901,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Subscribe");
@@ -4364,9 +4338,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4430,9 +4402,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (keyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
key_ = value;
} else {
keyBuilder_.setMessage(value);
@@ -4575,7 +4545,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setRef(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ref_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4598,7 +4568,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setRefBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ref_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4704,7 +4674,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Unsubscribe");
@@ -5141,9 +5111,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5207,9 +5175,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (keyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
key_ = value;
} else {
keyBuilder_.setMessage(value);
@@ -5352,7 +5318,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setRef(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ref_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -5375,7 +5341,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setRefBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ref_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -5479,7 +5445,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Changed");
@@ -5905,9 +5871,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5973,9 +5937,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (keyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
key_ = value;
} else {
keyBuilder_.setMessage(value);
@@ -6094,9 +6056,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setData(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (dataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
data_ = value;
} else {
dataBuilder_.setMessage(value);
@@ -6303,7 +6263,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Write");
@@ -6808,9 +6768,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6905,7 +6863,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6928,7 +6886,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6961,9 +6919,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setEnvelope(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope value) {
if (envelopeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
envelope_ = value;
} else {
envelopeBuilder_.setMessage(value);
@@ -7082,9 +7038,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setFromNode(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.UniqueAddress value) {
if (fromNodeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
fromNode_ = value;
} else {
fromNodeBuilder_.setMessage(value);
@@ -7244,7 +7198,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Empty");
@@ -7509,9 +7463,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -7635,7 +7587,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Read");
@@ -8069,9 +8021,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -8159,7 +8109,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -8182,7 +8132,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -8215,9 +8165,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setFromNode(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.UniqueAddress value) {
if (fromNodeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
fromNode_ = value;
} else {
fromNodeBuilder_.setMessage(value);
@@ -8392,7 +8340,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReadResult");
@@ -8744,9 +8692,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -8805,9 +8751,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setEnvelope(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope value) {
if (envelopeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
envelope_ = value;
} else {
envelopeBuilder_.setMessage(value);
@@ -9021,7 +8965,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"DataEnvelope");
@@ -9144,7 +9088,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PruningEntry");
@@ -9783,9 +9727,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -9874,9 +9816,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setRemovedAddress(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.UniqueAddress value) {
if (removedAddressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
removedAddress_ = value;
} else {
removedAddressBuilder_.setMessage(value);
@@ -9995,9 +9935,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setOwnerAddress(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.UniqueAddress value) {
if (ownerAddressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ownerAddress_ = value;
} else {
ownerAddressBuilder_.setMessage(value);
@@ -10178,9 +10116,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder setSeen(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Address value) {
if (seenBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSeenIsMutable();
seen_.set(index, value);
onChanged();
@@ -10208,9 +10144,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder addSeen(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Address value) {
if (seenBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSeenIsMutable();
seen_.add(value);
onChanged();
@@ -10225,9 +10159,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder addSeen(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Address value) {
if (seenBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSeenIsMutable();
seen_.add(index, value);
onChanged();
@@ -10971,9 +10903,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -11052,9 +10982,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setData(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (dataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
data_ = value;
} else {
dataBuilder_.setMessage(value);
@@ -11195,9 +11123,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder setPruning(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope.PruningEntry value) {
if (pruningBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePruningIsMutable();
pruning_.set(index, value);
onChanged();
@@ -11225,9 +11151,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder addPruning(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope.PruningEntry value) {
if (pruningBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePruningIsMutable();
pruning_.add(value);
onChanged();
@@ -11242,9 +11166,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder addPruning(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope.PruningEntry value) {
if (pruningBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePruningIsMutable();
pruning_.add(index, value);
onChanged();
@@ -11413,9 +11335,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setDeltaVersions(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.VersionVector value) {
if (deltaVersionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
deltaVersions_ = value;
} else {
deltaVersionsBuilder_.setMessage(value);
@@ -11643,7 +11563,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Status");
@@ -11729,7 +11649,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -12185,9 +12105,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -12278,7 +12196,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -12301,7 +12219,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -12331,7 +12249,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
* @return This builder for chaining.
*/
public Builder setDigest(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
digest_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -12992,9 +12910,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -13181,9 +13097,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Status.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -13211,9 +13125,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Status.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -13228,9 +13140,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Status.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -13577,7 +13487,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Gossip");
@@ -13667,7 +13577,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -14148,9 +14058,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -14243,7 +14151,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -14266,7 +14174,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -14299,9 +14207,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setEnvelope(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope value) {
if (envelopeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
envelope_ = value;
} else {
envelopeBuilder_.setMessage(value);
@@ -14989,9 +14895,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -15133,9 +15037,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Gossip.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -15163,9 +15065,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Gossip.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -15180,9 +15080,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Gossip.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -15530,7 +15428,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"DeltaPropagation");
@@ -15639,7 +15537,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -16179,9 +16077,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -16279,7 +16175,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -16302,7 +16198,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setKeyBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -16335,9 +16231,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setEnvelope(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope value) {
if (envelopeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
envelope_ = value;
} else {
envelopeBuilder_.setMessage(value);
@@ -17071,9 +16965,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -17150,9 +17042,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setFromNode(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.UniqueAddress value) {
if (fromNodeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
fromNode_ = value;
} else {
fromNodeBuilder_.setMessage(value);
@@ -17293,9 +17183,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DeltaPropagation.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -17323,9 +17211,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DeltaPropagation.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -17340,9 +17226,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DeltaPropagation.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -17653,7 +17537,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"UniqueAddress");
@@ -18109,9 +17993,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -18180,9 +18062,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setAddress(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.Address value) {
if (addressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
address_ = value;
} else {
addressBuilder_.setMessage(value);
@@ -18466,7 +18346,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Address");
@@ -18877,9 +18757,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -18965,7 +18843,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setHostname(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -18988,7 +18866,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setHostnameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -19126,7 +19004,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"VersionVector");
@@ -19199,7 +19077,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -19605,9 +19483,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -19671,9 +19547,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setNode(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.UniqueAddress value) {
if (nodeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
node_ = value;
} else {
nodeBuilder_.setMessage(value);
@@ -20219,9 +20093,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -20308,9 +20180,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder setEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.VersionVector.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -20338,9 +20208,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder addEntries(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.VersionVector.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -20355,9 +20223,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder addEntries(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.VersionVector.Entry value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -20600,7 +20466,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"OtherMessage");
@@ -21024,9 +20890,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -21090,7 +20954,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
* @return This builder for chaining.
*/
public Builder setEnclosedMessage(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
enclosedMessage_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -21170,7 +21034,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
* @return This builder for chaining.
*/
public Builder setMessageManifest(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
messageManifest_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -21279,7 +21143,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"StringGSet");
@@ -21627,9 +21491,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -21710,7 +21572,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setElements(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureElementsIsMutable();
elements_.set(index, value);
bitField0_ |= 0x00000001;
@@ -21724,7 +21586,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder addElements(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureElementsIsMutable();
elements_.add(value);
bitField0_ |= 0x00000001;
@@ -21763,7 +21625,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder addElementsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureElementsIsMutable();
elements_.add(value);
bitField0_ |= 0x00000001;
@@ -21877,7 +21739,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"DurableDataEnvelope");
@@ -22350,9 +22212,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -22424,9 +22284,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder setData(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.OtherMessage value) {
if (dataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
data_ = value;
} else {
dataBuilder_.setMessage(value);
@@ -22567,9 +22425,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder setPruning(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope.PruningEntry value) {
if (pruningBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePruningIsMutable();
pruning_.set(index, value);
onChanged();
@@ -22597,9 +22453,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
*/
public Builder addPruning(org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope.PruningEntry value) {
if (pruningBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePruningIsMutable();
pruning_.add(value);
onChanged();
@@ -22614,9 +22468,7 @@ public final class ReplicatorMessages extends org.apache.pekko.protobufv3.intern
public Builder addPruning(
int index, org.apache.pekko.cluster.ddata.protobuf.msg.ReplicatorMessages.DataEnvelope.PruningEntry value) {
if (pruningBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePruningIsMutable();
pruning_.add(index, value);
onChanged();
diff --git a/docs/src/main/java/docs/ddata/protobuf/msg/TwoPhaseSetMessages.java b/docs/src/main/java/docs/ddata/protobuf/msg/TwoPhaseSetMessages.java
index 4134e3d8eb..f02f31663b 100644
--- a/docs/src/main/java/docs/ddata/protobuf/msg/TwoPhaseSetMessages.java
+++ b/docs/src/main/java/docs/ddata/protobuf/msg/TwoPhaseSetMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: TwoPhaseSetMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package docs.ddata.protobuf.msg;
@@ -25,7 +25,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"TwoPhaseSetMessages");
@@ -105,7 +105,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"TwoPhaseSet");
@@ -525,9 +525,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -614,7 +612,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
*/
public Builder setAdds(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAddsIsMutable();
adds_.set(index, value);
bitField0_ |= 0x00000001;
@@ -628,7 +626,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
*/
public Builder addAdds(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAddsIsMutable();
adds_.add(value);
bitField0_ |= 0x00000001;
@@ -667,7 +665,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
*/
public Builder addAddsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureAddsIsMutable();
adds_.add(value);
bitField0_ |= 0x00000001;
@@ -724,7 +722,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
*/
public Builder setRemovals(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRemovalsIsMutable();
removals_.set(index, value);
bitField0_ |= 0x00000002;
@@ -738,7 +736,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
*/
public Builder addRemovals(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRemovalsIsMutable();
removals_.add(value);
bitField0_ |= 0x00000002;
@@ -777,7 +775,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
*/
public Builder addRemovalsBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureRemovalsIsMutable();
removals_.add(value);
bitField0_ |= 0x00000002;
@@ -878,7 +876,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"TwoPhaseSet2");
@@ -1249,9 +1247,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1310,7 +1306,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
* @return This builder for chaining.
*/
public Builder setAdds(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
adds_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -1350,7 +1346,7 @@ public final class TwoPhaseSetMessages extends org.apache.pekko.protobufv3.inter
* @return This builder for chaining.
*/
public Builder setRemovals(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
removals_ = value;
bitField0_ |= 0x00000002;
onChanged();
diff --git a/docs/src/main/java/docs/persistence/proto/FlightAppModels.java b/docs/src/main/java/docs/persistence/proto/FlightAppModels.java
index 6c52f0cc14..b7bb448048 100644
--- a/docs/src/main/java/docs/persistence/proto/FlightAppModels.java
+++ b/docs/src/main/java/docs/persistence/proto/FlightAppModels.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: FlightAppModels.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package docs.persistence.proto;
@@ -25,7 +25,7 @@ public final class FlightAppModels extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"FlightAppModels");
@@ -112,7 +112,7 @@ public final class FlightAppModels extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"SeatReserved");
@@ -610,9 +610,7 @@ public final class FlightAppModels extends org.apache.pekko.protobufv3.internal.
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -703,7 +701,7 @@ public final class FlightAppModels extends org.apache.pekko.protobufv3.internal.
*/
public Builder setLetter(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
letter_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -726,7 +724,7 @@ public final class FlightAppModels extends org.apache.pekko.protobufv3.internal.
*/
public Builder setLetterBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
letter_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -839,7 +837,7 @@ public final class FlightAppModels extends org.apache.pekko.protobufv3.internal.
*/
public Builder setSeatType(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
seatType_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -870,7 +868,7 @@ public final class FlightAppModels extends org.apache.pekko.protobufv3.internal.
*/
public Builder setSeatTypeBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
seatType_ = value;
bitField0_ |= 0x00000004;
onChanged();
diff --git a/multi-node-testkit/src/main/java/org/apache/pekko/remote/testconductor/TestConductorProtocol.java b/multi-node-testkit/src/main/java/org/apache/pekko/remote/testconductor/TestConductorProtocol.java
index b2aebbdcea..a5ae2d7c9a 100644
--- a/multi-node-testkit/src/main/java/org/apache/pekko/remote/testconductor/TestConductorProtocol.java
+++ b/multi-node-testkit/src/main/java/org/apache/pekko/remote/testconductor/TestConductorProtocol.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: TestConductorProtocol.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.remote.testconductor;
@@ -25,7 +25,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"TestConductorProtocol");
@@ -66,7 +66,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"BarrierOp");
@@ -197,7 +197,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"FailType");
@@ -326,7 +326,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Direction");
@@ -510,7 +510,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Wrapper");
@@ -1141,9 +1141,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1228,9 +1226,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setHello(org.apache.pekko.remote.testconductor.TestConductorProtocol.Hello value) {
if (helloBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
hello_ = value;
} else {
helloBuilder_.setMessage(value);
@@ -1349,9 +1345,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setBarrier(org.apache.pekko.remote.testconductor.TestConductorProtocol.EnterBarrier value) {
if (barrierBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
barrier_ = value;
} else {
barrierBuilder_.setMessage(value);
@@ -1470,9 +1464,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setFailure(org.apache.pekko.remote.testconductor.TestConductorProtocol.InjectFailure value) {
if (failureBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
failure_ = value;
} else {
failureBuilder_.setMessage(value);
@@ -1615,7 +1607,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setDone(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
done_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -1638,7 +1630,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setDoneBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
done_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -1671,9 +1663,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setAddr(org.apache.pekko.remote.testconductor.TestConductorProtocol.AddressRequest value) {
if (addrBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
addr_ = value;
} else {
addrBuilder_.setMessage(value);
@@ -1865,7 +1855,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Hello");
@@ -2302,9 +2292,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2392,7 +2380,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2415,7 +2403,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setNameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2448,9 +2436,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setAddress(org.apache.pekko.remote.testconductor.TestConductorProtocol.Address value) {
if (addressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
address_ = value;
} else {
addressBuilder_.setMessage(value);
@@ -2649,7 +2635,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"EnterBarrier");
@@ -3103,9 +3089,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3203,7 +3187,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -3226,7 +3210,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setNameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -3256,7 +3240,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
* @return This builder for chaining.
*/
public Builder setOp(org.apache.pekko.remote.testconductor.TestConductorProtocol.BarrierOp value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000002;
op_ = value.getNumber();
onChanged();
@@ -3412,7 +3396,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"AddressRequest");
@@ -3846,9 +3830,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3936,7 +3918,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setNode(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
node_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -3959,7 +3941,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setNodeBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
node_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -3992,9 +3974,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setAddr(org.apache.pekko.remote.testconductor.TestConductorProtocol.Address value) {
if (addrBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
addr_ = value;
} else {
addrBuilder_.setMessage(value);
@@ -4216,7 +4196,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Address");
@@ -4791,9 +4771,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4889,7 +4867,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setProtocol(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -4912,7 +4890,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setProtocolBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -4969,7 +4947,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setSystem(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4992,7 +4970,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setSystemBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -5049,7 +5027,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setHost(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
host_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -5072,7 +5050,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setHostBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
host_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -5245,7 +5223,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"InjectFailure");
@@ -5776,9 +5754,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5868,7 +5844,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
* @return This builder for chaining.
*/
public Builder setFailure(org.apache.pekko.remote.testconductor.TestConductorProtocol.FailType value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000001;
failure_ = value.getNumber();
onChanged();
@@ -5908,7 +5884,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
* @return This builder for chaining.
*/
public Builder setDirection(org.apache.pekko.remote.testconductor.TestConductorProtocol.Direction value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000002;
direction_ = value.getNumber();
onChanged();
@@ -5951,9 +5927,7 @@ public final class TestConductorProtocol extends org.apache.pekko.protobufv3.int
*/
public Builder setAddress(org.apache.pekko.remote.testconductor.TestConductorProtocol.Address value) {
if (addressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
address_ = value;
} else {
addressBuilder_.setMessage(value);
diff --git a/persistence-query/src/main/java/org/apache/pekko/persistence/query/internal/protobuf/QueryMessages.java b/persistence-query/src/main/java/org/apache/pekko/persistence/query/internal/protobuf/QueryMessages.java
index 2b23ee1d07..e057c52d4f 100644
--- a/persistence-query/src/main/java/org/apache/pekko/persistence/query/internal/protobuf/QueryMessages.java
+++ b/persistence-query/src/main/java/org/apache/pekko/persistence/query/internal/protobuf/QueryMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: QueryMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.persistence.query.internal.protobuf;
@@ -26,7 +26,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"QueryMessages");
@@ -291,7 +291,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"EventEnvelope");
@@ -1503,9 +1503,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1662,9 +1660,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setPersistenceId(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
persistenceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -1690,9 +1686,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setPersistenceIdBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
persistenceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -1754,9 +1748,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setEntityType(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
entityType_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -1782,9 +1774,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setEntityTypeBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
entityType_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -1990,9 +1980,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setOffset(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
offset_ = value;
bitField0_ |= 0x00000020;
onChanged();
@@ -2018,9 +2006,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setOffsetBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
offset_ = value;
bitField0_ |= 0x00000020;
onChanged();
@@ -2082,9 +2068,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setOffsetManifest(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
offsetManifest_ = value;
bitField0_ |= 0x00000040;
onChanged();
@@ -2110,9 +2094,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setOffsetManifestBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
offsetManifest_ = value;
bitField0_ |= 0x00000040;
onChanged();
@@ -2153,9 +2135,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
/** <code>optional .Payload event = 8;</code> */
public Builder setEvent(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (eventBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
event_ = value;
} else {
eventBuilder_.setMessage(value);
@@ -2280,9 +2260,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
/** <code>optional .Payload metadata = 9;</code> */
public Builder setMetadata(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (metadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
metadata_ = value;
} else {
metadataBuilder_.setMessage(value);
@@ -2477,9 +2455,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setSource(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
source_ = value;
bitField0_ |= 0x00000400;
onChanged();
@@ -2505,9 +2481,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setSourceBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
source_ = value;
bitField0_ |= 0x00000400;
onChanged();
@@ -2571,9 +2545,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder setTags(int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000800;
@@ -2588,9 +2560,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder addTags(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000800;
@@ -2632,9 +2602,7 @@ public final class QueryMessages extends org.apache.pekko.protobufv3.internal.Ge
* @return This builder for chaining.
*/
public Builder addTagsBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000800;
diff --git a/persistence-typed/src/main/java/org/apache/pekko/persistence/typed/serialization/ReplicatedEventSourcing.java b/persistence-typed/src/main/java/org/apache/pekko/persistence/typed/serialization/ReplicatedEventSourcing.java
index 0f62e9ffe5..7563c1d649 100644
--- a/persistence-typed/src/main/java/org/apache/pekko/persistence/typed/serialization/ReplicatedEventSourcing.java
+++ b/persistence-typed/src/main/java/org/apache/pekko/persistence/typed/serialization/ReplicatedEventSourcing.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ReplicatedEventSourcing.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.persistence.typed.serialization;
@@ -27,7 +27,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReplicatedEventSourcing");
@@ -55,7 +55,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORSetDeltaOp");
@@ -180,7 +180,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Counter");
@@ -569,9 +569,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -635,9 +633,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setValue(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
value_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -745,7 +741,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"CounterUpdate");
@@ -1154,9 +1150,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1220,9 +1214,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setDelta(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
delta_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -1470,7 +1462,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORSet");
@@ -2456,9 +2448,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2628,9 +2618,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setOriginDc(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
originDc_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2656,9 +2644,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setOriginDcBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
originDc_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -2707,9 +2693,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
value) {
if (vvectorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
vvector_ = value;
} else {
vvectorBuilder_.setMessage(value);
@@ -2877,9 +2861,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
value) {
if (dotsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureDotsIsMutable();
dots_.set(index, value);
onChanged();
@@ -2910,9 +2892,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
value) {
if (dotsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureDotsIsMutable();
dots_.add(value);
onChanged();
@@ -2928,9 +2908,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
value) {
if (dotsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureDotsIsMutable();
dots_.add(index, value);
onChanged();
@@ -3153,9 +3131,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setStringElements(int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureStringElementsIsMutable();
stringElements_.set(index, value);
bitField0_ |= 0x00000008;
@@ -3170,9 +3146,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder addStringElements(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureStringElementsIsMutable();
stringElements_.add(value);
bitField0_ |= 0x00000008;
@@ -3215,9 +3189,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder addStringElementsBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureStringElementsIsMutable();
stringElements_.add(value);
bitField0_ |= 0x00000008;
@@ -3468,9 +3440,7 @@ public final class ReplicatedEventSourcing
public Builder setOtherElements(
int index, org.apache.pekko.remote.ContainerFormats.Payload value) {
if (otherElementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureOtherElementsIsMutable();
otherElements_.set(index, value);
onChanged();
@@ -3496,9 +3466,7 @@ public final class ReplicatedEventSourcing
/** <code>repeated .Payload otherElements = 7;</code> */
public Builder addOtherElements(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (otherElementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureOtherElementsIsMutable();
otherElements_.add(value);
onChanged();
@@ -3512,9 +3480,7 @@ public final class ReplicatedEventSourcing
public Builder addOtherElements(
int index, org.apache.pekko.remote.ContainerFormats.Payload value) {
if (otherElementsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureOtherElementsIsMutable();
otherElements_.add(index, value);
onChanged();
@@ -3754,7 +3720,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ORSetDeltaGroup");
@@ -3845,7 +3811,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -4364,9 +4330,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4456,9 +4420,7 @@ public final class ReplicatedEventSourcing
public Builder setOperation(
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaOp
value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000001;
operation_ = value.getNumber();
onChanged();
@@ -4517,9 +4479,7 @@ public final class ReplicatedEventSourcing
public Builder setUnderlying(
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet value) {
if (underlyingBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
underlying_ = value;
} else {
underlyingBuilder_.setMessage(value);
@@ -5128,9 +5088,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5238,9 +5196,7 @@ public final class ReplicatedEventSourcing
.Entry
value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -5272,9 +5228,7 @@ public final class ReplicatedEventSourcing
.Entry
value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -5291,9 +5245,7 @@ public final class ReplicatedEventSourcing
.Entry
value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -5560,7 +5512,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"VersionVector");
@@ -5652,7 +5604,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Entry");
@@ -6157,9 +6109,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6255,9 +6205,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setKey(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6283,9 +6231,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setKeyBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6840,9 +6786,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6950,9 +6894,7 @@ public final class ReplicatedEventSourcing
.Entry
value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
@@ -6984,9 +6926,7 @@ public final class ReplicatedEventSourcing
.Entry
value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
@@ -7003,9 +6943,7 @@ public final class ReplicatedEventSourcing
.Entry
value) {
if (entriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
@@ -7315,7 +7253,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReplicatedEventMetadata");
@@ -7973,9 +7911,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -8083,9 +8019,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setOriginReplica(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
originReplica_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -8111,9 +8045,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setOriginReplicaBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
originReplica_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -8210,9 +8142,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
value) {
if (versionVectorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
versionVector_ = value;
} else {
versionVectorBuilder_.setMessage(value);
@@ -8492,7 +8422,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReplicatedSnapshotMetadata");
@@ -8584,7 +8514,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Seen");
@@ -9094,9 +9024,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -9192,9 +9120,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setReplicaId(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
replicaId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -9220,9 +9146,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setReplicaIdBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
replicaId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -9884,9 +9808,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -9980,9 +9902,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
value) {
if (versionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
version_ = value;
} else {
versionBuilder_.setMessage(value);
@@ -10152,9 +10072,7 @@ public final class ReplicatedEventSourcing
.ReplicatedSnapshotMetadata.Seen
value) {
if (seenPerReplicaBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSeenPerReplicaIsMutable();
seenPerReplica_.set(index, value);
onChanged();
@@ -10186,9 +10104,7 @@ public final class ReplicatedEventSourcing
.ReplicatedSnapshotMetadata.Seen
value) {
if (seenPerReplicaBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSeenPerReplicaIsMutable();
seenPerReplica_.add(value);
onChanged();
@@ -10205,9 +10121,7 @@ public final class ReplicatedEventSourcing
.ReplicatedSnapshotMetadata.Seen
value) {
if (seenPerReplicaBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureSeenPerReplicaIsMutable();
seenPerReplica_.add(index, value);
onChanged();
@@ -10496,7 +10410,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ReplicatedPublishedEventMetaData");
@@ -11031,9 +10945,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -11129,9 +11041,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setReplicaId(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
replicaId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -11157,9 +11067,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setReplicaIdBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
replicaId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -11208,9 +11116,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
value) {
if (versionVectorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
versionVector_ = value;
} else {
versionVectorBuilder_.setMessage(value);
@@ -11509,7 +11415,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PublishedEvent");
@@ -12284,9 +12190,7 @@ public final class ReplicatedEventSourcing
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -12407,9 +12311,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setPersistenceId(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
persistenceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -12435,9 +12337,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setPersistenceIdBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
persistenceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -12526,9 +12426,7 @@ public final class ReplicatedEventSourcing
/** <code>optional .Payload payload = 3;</code> */
public Builder setPayload(org.apache.pekko.remote.ContainerFormats.Payload value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
payload_ = value;
} else {
payloadBuilder_.setMessage(value);
@@ -12713,9 +12611,7 @@ public final class ReplicatedEventSourcing
.ReplicatedPublishedEventMetaData
value) {
if (metadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
metadata_ = value;
} else {
metadataBuilder_.setMessage(value);
@@ -12879,9 +12775,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setReplyTo(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
replyTo_ = value;
bitField0_ |= 0x00000020;
onChanged();
@@ -12907,9 +12801,7 @@ public final class ReplicatedEventSourcing
* @return This builder for chaining.
*/
public Builder setReplyToBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
replyTo_ = value;
bitField0_ |= 0x00000020;
onChanged();
diff --git a/persistence/src/main/java/org/apache/pekko/persistence/serialization/MessageFormats.java b/persistence/src/main/java/org/apache/pekko/persistence/serialization/MessageFormats.java
index afa6f32a5e..54d7d0410f 100644
--- a/persistence/src/main/java/org/apache/pekko/persistence/serialization/MessageFormats.java
+++ b/persistence/src/main/java/org/apache/pekko/persistence/serialization/MessageFormats.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: MessageFormats.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.persistence.serialization;
@@ -25,7 +25,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MessageFormats");
@@ -218,7 +218,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PersistentMessage");
@@ -1102,9 +1102,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1205,9 +1203,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setPayload(org.apache.pekko.persistence.serialization.MessageFormats.PersistentPayload value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
payload_ = value;
} else {
payloadBuilder_.setMessage(value);
@@ -1390,7 +1386,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setPersistenceId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
persistenceId_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -1413,7 +1409,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setPersistenceIdBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
persistenceId_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -1558,7 +1554,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setSender(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
sender_ = value;
bitField0_ |= 0x00000010;
onChanged();
@@ -1597,7 +1593,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setSenderBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
sender_ = value;
bitField0_ |= 0x00000010;
onChanged();
@@ -1654,7 +1650,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setManifest(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
manifest_ = value;
bitField0_ |= 0x00000020;
onChanged();
@@ -1677,7 +1673,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setManifestBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
manifest_ = value;
bitField0_ |= 0x00000020;
onChanged();
@@ -1734,7 +1730,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setWriterUuid(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
writerUuid_ = value;
bitField0_ |= 0x00000040;
onChanged();
@@ -1757,7 +1753,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setWriterUuidBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
writerUuid_ = value;
bitField0_ |= 0x00000040;
onChanged();
@@ -1830,9 +1826,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setMetadata(org.apache.pekko.persistence.serialization.MessageFormats.PersistentPayload value) {
if (metadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
metadata_ = value;
} else {
metadataBuilder_.setMessage(value);
@@ -2025,7 +2019,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PersistentPayload");
@@ -2449,9 +2443,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2555,7 +2547,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
* @return This builder for chaining.
*/
public Builder setPayload(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
payload_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -2595,7 +2587,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
* @return This builder for chaining.
*/
public Builder setPayloadManifest(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
payloadManifest_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -2703,7 +2695,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"AtomicWrite");
@@ -3096,9 +3088,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3185,9 +3175,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
public Builder setPayload(
int index, org.apache.pekko.persistence.serialization.MessageFormats.PersistentMessage value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePayloadIsMutable();
payload_.set(index, value);
onChanged();
@@ -3215,9 +3203,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder addPayload(org.apache.pekko.persistence.serialization.MessageFormats.PersistentMessage value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePayloadIsMutable();
payload_.add(value);
onChanged();
@@ -3232,9 +3218,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
public Builder addPayload(
int index, org.apache.pekko.persistence.serialization.MessageFormats.PersistentMessage value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePayloadIsMutable();
payload_.add(index, value);
onChanged();
@@ -3479,7 +3463,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"AtLeastOnceDeliverySnapshot");
@@ -3569,7 +3553,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"UnconfirmedDelivery");
@@ -4057,9 +4041,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4192,7 +4174,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setDestination(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
destination_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4215,7 +4197,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setDestinationBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
destination_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -4248,9 +4230,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setPayload(org.apache.pekko.persistence.serialization.MessageFormats.PersistentPayload value) {
if (payloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
payload_ = value;
} else {
payloadBuilder_.setMessage(value);
@@ -4810,9 +4790,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4944,9 +4922,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
public Builder setUnconfirmedDeliveries(
int index, org.apache.pekko.persistence.serialization.MessageFormats.AtLeastOnceDeliverySnapshot.UnconfirmedDelivery value) {
if (unconfirmedDeliveriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureUnconfirmedDeliveriesIsMutable();
unconfirmedDeliveries_.set(index, value);
onChanged();
@@ -4974,9 +4950,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder addUnconfirmedDeliveries(org.apache.pekko.persistence.serialization.MessageFormats.AtLeastOnceDeliverySnapshot.UnconfirmedDelivery value) {
if (unconfirmedDeliveriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureUnconfirmedDeliveriesIsMutable();
unconfirmedDeliveries_.add(value);
onChanged();
@@ -4991,9 +4965,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
public Builder addUnconfirmedDeliveries(
int index, org.apache.pekko.persistence.serialization.MessageFormats.AtLeastOnceDeliverySnapshot.UnconfirmedDelivery value) {
if (unconfirmedDeliveriesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureUnconfirmedDeliveriesIsMutable();
unconfirmedDeliveries_.add(index, value);
onChanged();
@@ -5260,7 +5232,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PersistentStateChangeEvent");
@@ -5752,9 +5724,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5845,7 +5815,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setStateIdentifier(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stateIdentifier_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -5868,7 +5838,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setStateIdentifierBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stateIdentifier_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -5941,7 +5911,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setTimeout(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
timeout_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -5972,7 +5942,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setTimeoutBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
timeout_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -6129,7 +6099,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PersistentFSMSnapshot");
@@ -6610,9 +6580,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6705,7 +6673,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setStateIdentifier(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stateIdentifier_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6728,7 +6696,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setStateIdentifierBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
stateIdentifier_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6761,9 +6729,7 @@ public final class MessageFormats extends org.apache.pekko.protobufv3.internal.G
*/
public Builder setData(org.apache.pekko.persistence.serialization.MessageFormats.PersistentPayload value) {
if (dataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
data_ = value;
} else {
dataBuilder_.setMessage(value);
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 16080fced1..2d3f059df9 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -23,7 +23,7 @@ object Dependencies {
// The protoc version can be inferred from the Protobuf Java minor version number.
// Example: Protobuf Java version 3.25.x uses protoc version 25.x.
val protobufJavaVersion = "4.36.1"
- val protocVersion = "35.0"
+ val protocVersion = "36.0"
}
val junitVersion = "4.13.2"
diff --git a/remote-tests/src/test/java/org/apache/pekko/remote/artery/protobuf/TestMessages.java b/remote-tests/src/test/java/org/apache/pekko/remote/artery/protobuf/TestMessages.java
index 9020ee85ba..f5ccc0a422 100644
--- a/remote-tests/src/test/java/org/apache/pekko/remote/artery/protobuf/TestMessages.java
+++ b/remote-tests/src/test/java/org/apache/pekko/remote/artery/protobuf/TestMessages.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: TestMessages.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.remote.artery.protobuf;
@@ -25,7 +25,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"TestMessages");
@@ -146,7 +146,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"TestMessage");
@@ -845,9 +845,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1001,7 +999,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -1024,7 +1022,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
*/
public Builder setNameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -1121,7 +1119,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
*/
public Builder setDescription(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
description_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -1144,7 +1142,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
*/
public Builder setDescriptionBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
description_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -1174,7 +1172,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
* @return This builder for chaining.
*/
public Builder setPayload(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
payload_ = value;
bitField0_ |= 0x00000010;
onChanged();
@@ -1239,9 +1237,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
public Builder setItems(
int index, org.apache.pekko.remote.artery.protobuf.TestMessages.Item value) {
if (itemsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureItemsIsMutable();
items_.set(index, value);
onChanged();
@@ -1269,9 +1265,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
*/
public Builder addItems(org.apache.pekko.remote.artery.protobuf.TestMessages.Item value) {
if (itemsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureItemsIsMutable();
items_.add(value);
onChanged();
@@ -1286,9 +1280,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
public Builder addItems(
int index, org.apache.pekko.remote.artery.protobuf.TestMessages.Item value) {
if (itemsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensureItemsIsMutable();
items_.add(index, value);
onChanged();
@@ -1526,7 +1518,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Item");
@@ -1938,9 +1930,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -2066,7 +2056,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -2089,7 +2079,7 @@ public final class TestMessages extends org.apache.pekko.protobufv3.internal.Gen
*/
public Builder setNameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
diff --git a/remote/src/main/java/org/apache/pekko/remote/ArteryControlFormats.java b/remote/src/main/java/org/apache/pekko/remote/ArteryControlFormats.java
index 5d380485db..75823872b9 100644
--- a/remote/src/main/java/org/apache/pekko/remote/ArteryControlFormats.java
+++ b/remote/src/main/java/org/apache/pekko/remote/ArteryControlFormats.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ArteryControlFormats.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.remote;
@@ -25,7 +25,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ArteryControlFormats");
@@ -85,7 +85,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Quarantined");
@@ -511,9 +511,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -579,9 +577,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setFrom(org.apache.pekko.remote.ArteryControlFormats.UniqueAddress value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -700,9 +696,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setTo(org.apache.pekko.remote.ArteryControlFormats.UniqueAddress value) {
if (toBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
to_ = value;
} else {
toBuilder_.setMessage(value);
@@ -885,7 +879,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"MessageWithAddress");
@@ -1248,9 +1242,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1309,9 +1301,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setAddress(org.apache.pekko.remote.ArteryControlFormats.UniqueAddress value) {
if (addressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
address_ = value;
} else {
addressBuilder_.setMessage(value);
@@ -1501,7 +1491,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"HandshakeReq");
@@ -1927,9 +1917,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1995,9 +1983,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setFrom(org.apache.pekko.remote.ArteryControlFormats.UniqueAddress value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -2116,9 +2102,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setTo(org.apache.pekko.remote.ArteryControlFormats.Address value) {
if (toBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
to_ = value;
} else {
toBuilder_.setMessage(value);
@@ -2386,7 +2370,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"CompressionTableAdvertisement");
@@ -3007,9 +2991,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -3100,9 +3082,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setFrom(org.apache.pekko.remote.ArteryControlFormats.UniqueAddress value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -3354,7 +3334,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setKeys(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureKeysIsMutable();
keys_.set(index, value);
bitField0_ |= 0x00000008;
@@ -3374,7 +3354,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder addKeys(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureKeysIsMutable();
keys_.add(value);
bitField0_ |= 0x00000008;
@@ -3431,7 +3411,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder addKeysBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
ensureKeysIsMutable();
keys_.add(value);
bitField0_ |= 0x00000008;
@@ -3621,7 +3601,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"CompressionTableAdvertisementAck");
@@ -4031,9 +4011,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4097,9 +4075,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setFrom(org.apache.pekko.remote.ArteryControlFormats.UniqueAddress value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -4362,7 +4338,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"SystemMessageEnvelope");
@@ -4917,9 +4893,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -4995,7 +4969,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
* @return This builder for chaining.
*/
public Builder setMessage(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
message_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -5075,7 +5049,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
* @return This builder for chaining.
*/
public Builder setMessageManifest(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
messageManifest_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -5158,9 +5132,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setAckReplyTo(org.apache.pekko.remote.ArteryControlFormats.UniqueAddress value) {
if (ackReplyToBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ackReplyTo_ = value;
} else {
ackReplyToBuilder_.setMessage(value);
@@ -5351,7 +5323,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"SystemMessageDeliveryAck");
@@ -5762,9 +5734,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -5868,9 +5838,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setFrom(org.apache.pekko.remote.ArteryControlFormats.UniqueAddress value) {
if (fromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
from_ = value;
} else {
fromBuilder_.setMessage(value);
@@ -6097,7 +6065,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Address");
@@ -6677,9 +6645,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -6775,7 +6741,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setProtocol(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6798,7 +6764,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setProtocolBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
protocol_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -6855,7 +6821,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setSystem(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -6878,7 +6844,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setSystemBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
system_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -6935,7 +6901,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setHostname(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -6958,7 +6924,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setHostnameBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
hostname_ = value;
bitField0_ |= 0x00000004;
onChanged();
@@ -7103,7 +7069,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"UniqueAddress");
@@ -7514,9 +7480,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -7580,9 +7544,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
*/
public Builder setAddress(org.apache.pekko.remote.ArteryControlFormats.Address value) {
if (addressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
address_ = value;
} else {
addressBuilder_.setMessage(value);
@@ -7798,7 +7760,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ArteryHeartbeatRsp");
@@ -8133,9 +8095,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -8284,7 +8244,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"FlushAck");
@@ -8606,9 +8566,7 @@ public final class ArteryControlFormats extends org.apache.pekko.protobufv3.inte
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
diff --git a/remote/src/main/java/org/apache/pekko/remote/ContainerFormats.java b/remote/src/main/java/org/apache/pekko/remote/ContainerFormats.java
index 3be129c227..ed95c1c2a5 100644
--- a/remote/src/main/java/org/apache/pekko/remote/ContainerFormats.java
+++ b/remote/src/main/java/org/apache/pekko/remote/ContainerFormats.java
@@ -14,7 +14,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ContainerFormats.proto
-// Protobuf Java Version: 4.35.0
+// Protobuf Java Version: 4.36.0
package org.apache.pekko.remote;
@@ -25,7 +25,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"ContainerFormats");
@@ -62,7 +62,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"PatternType");
@@ -245,7 +245,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"SelectionEnvelope");
@@ -838,9 +838,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -922,7 +920,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
* @return This builder for chaining.
*/
public Builder setEnclosedMessage(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
enclosedMessage_ = value;
bitField0_ |= 0x00000001;
onChanged();
@@ -1027,9 +1025,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
public Builder setPattern(
int index, org.apache.pekko.remote.ContainerFormats.Selection value) {
if (patternBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePatternIsMutable();
pattern_.set(index, value);
onChanged();
@@ -1057,9 +1053,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
*/
public Builder addPattern(org.apache.pekko.remote.ContainerFormats.Selection value) {
if (patternBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePatternIsMutable();
pattern_.add(value);
onChanged();
@@ -1074,9 +1068,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
public Builder addPattern(
int index, org.apache.pekko.remote.ContainerFormats.Selection value) {
if (patternBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
+ java.util.Objects.requireNonNull(value);
ensurePatternIsMutable();
pattern_.add(index, value);
onChanged();
@@ -1242,7 +1234,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
* @return This builder for chaining.
*/
public Builder setMessageManifest(org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
messageManifest_ = value;
bitField0_ |= 0x00000008;
onChanged();
@@ -1410,7 +1402,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Selection");
@@ -1813,9 +1805,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.CodedInputStream input,
org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ java.util.Objects.requireNonNull(extensionRegistry);
try {
boolean done = false;
while (!done) {
@@ -1881,7 +1871,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
* @return This builder for chaining.
*/
public Builder setType(org.apache.pekko.remote.ContainerFormats.PatternType value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
bitField0_ |= 0x00000001;
type_ = value.getNumber();
onChanged();
@@ -1948,7 +1938,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
*/
public Builder setMatcher(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
matcher_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -1971,7 +1961,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
*/
public Builder setMatcherBytes(
org.apache.pekko.protobufv3.internal.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ java.util.Objects.requireNonNull(value);
matcher_ = value;
bitField0_ |= 0x00000002;
onChanged();
@@ -2060,7 +2050,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
- /* minor= */ 35,
+ /* minor= */ 36,
/* patch= */ 0,
/* suffix= */ "",
"Identify");
@@ -2415,9 +2405,7 @@ public final class ContainerFormats extends org.apache.pekko.protobufv3.internal
... 2301 lines suppressed ...
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org