Skip to content

Commit

Permalink
deprecation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Feb 7, 2024
1 parent 5c4749e commit d00e98b
Show file tree
Hide file tree
Showing 11 changed files with 128 additions and 128 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ private MetricsGossip(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Bu
}
private MetricsGossip() {
allAddresses_ = java.util.Collections.emptyList();
allMetricNames_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allMetricNames_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
nodeMetrics_ = java.util.Collections.emptyList();
}

Expand Down Expand Up @@ -1556,7 +1556,7 @@ public Builder clear() {
} else {
allAddressesBuilder_.clear();
}
allMetricNames_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allMetricNames_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
if (nodeMetricsBuilder_ == null) {
nodeMetrics_ = java.util.Collections.emptyList();
Expand Down Expand Up @@ -2004,7 +2004,7 @@ public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Addr
return allAddressesBuilder_;
}

private org.apache.pekko.protobufv3.internal.LazyStringList allMetricNames_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
private org.apache.pekko.protobufv3.internal.LazyStringList allMetricNames_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
private void ensureAllMetricNamesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
allMetricNames_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(allMetricNames_);
Expand Down Expand Up @@ -2092,7 +2092,7 @@ public Builder addAllAllMetricNames(
* @return This builder for chaining.
*/
public Builder clearAllMetricNames() {
allMetricNames_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allMetricNames_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private Contacts(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder
super(builder);
}
private Contacts() {
contactPoints_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
contactPoints_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
}

@java.lang.Override
Expand Down Expand Up @@ -381,7 +381,7 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
contactPoints_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
contactPoints_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
Expand Down Expand Up @@ -503,7 +503,7 @@ public Builder mergeFrom(
}
private int bitField0_;

private org.apache.pekko.protobufv3.internal.LazyStringList contactPoints_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
private org.apache.pekko.protobufv3.internal.LazyStringList contactPoints_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
private void ensureContactPointsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
contactPoints_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(contactPoints_);
Expand Down Expand Up @@ -591,7 +591,7 @@ public Builder addAllContactPoints(
* @return This builder for chaining.
*/
public Builder clearContactPoints() {
contactPoints_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
contactPoints_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7685,7 +7685,7 @@ private Cleanup(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<
super(builder);
}
private Cleanup() {
qualifiers_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
qualifiers_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
}

@java.lang.Override
Expand Down Expand Up @@ -8001,7 +8001,7 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
qualifiers_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
qualifiers_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
Expand Down Expand Up @@ -8123,7 +8123,7 @@ public Builder mergeFrom(
}
private int bitField0_;

private org.apache.pekko.protobufv3.internal.LazyStringList qualifiers_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
private org.apache.pekko.protobufv3.internal.LazyStringList qualifiers_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
private void ensureQualifiersIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
qualifiers_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(qualifiers_);
Expand Down Expand Up @@ -8211,7 +8211,7 @@ public Builder addAllQualifiers(
* @return This builder for chaining.
*/
public Builder clearQualifiers() {
qualifiers_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
qualifiers_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ private Join(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<?>
super(builder);
}
private Join() {
roles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
roles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
appVersion_ = "";
}

Expand Down Expand Up @@ -832,7 +832,7 @@ public Builder clear() {
nodeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
roles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
roles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
appVersion_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
Expand Down Expand Up @@ -1104,7 +1104,7 @@ public org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddressOrBuil
return nodeBuilder_;
}

private org.apache.pekko.protobufv3.internal.LazyStringList roles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
private org.apache.pekko.protobufv3.internal.LazyStringList roles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
private void ensureRolesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
roles_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(roles_);
Expand Down Expand Up @@ -1192,7 +1192,7 @@ public Builder addAllRoles(
* @return This builder for chaining.
*/
public Builder clearRoles() {
roles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
roles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
Expand Down Expand Up @@ -7294,7 +7294,7 @@ private GossipStatus(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Bui
super(builder);
}
private GossipStatus() {
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
seenDigest_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
}

Expand Down Expand Up @@ -7779,7 +7779,7 @@ public Builder clear() {
fromBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
if (versionBuilder_ == null) {
version_ = null;
Expand Down Expand Up @@ -8072,7 +8072,7 @@ public org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddressOrBuil
return fromBuilder_;
}

private org.apache.pekko.protobufv3.internal.LazyStringList allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
private org.apache.pekko.protobufv3.internal.LazyStringList allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
private void ensureAllHashesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
allHashes_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(allHashes_);
Expand Down Expand Up @@ -8160,7 +8160,7 @@ public Builder addAllAllHashes(
* @return This builder for chaining.
*/
public Builder clearAllHashes() {
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
Expand Down Expand Up @@ -8593,11 +8593,11 @@ private Gossip(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<?
}
private Gossip() {
allAddresses_ = java.util.Collections.emptyList();
allRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
members_ = java.util.Collections.emptyList();
tombstones_ = java.util.Collections.emptyList();
allAppVersions_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allAppVersions_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
}

@java.lang.Override
Expand Down Expand Up @@ -9372,9 +9372,9 @@ public Builder clear() {
} else {
allAddressesBuilder_.clear();
}
allRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
if (membersBuilder_ == null) {
members_ = java.util.Collections.emptyList();
Expand All @@ -9400,7 +9400,7 @@ public Builder clear() {
} else {
tombstonesBuilder_.clear();
}
allAppVersions_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allAppVersions_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
Expand Down Expand Up @@ -9948,7 +9948,7 @@ public org.apache.pekko.cluster.protobuf.msg.ClusterMessages.UniqueAddress.Build
return allAddressesBuilder_;
}

private org.apache.pekko.protobufv3.internal.LazyStringList allRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
private org.apache.pekko.protobufv3.internal.LazyStringList allRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
private void ensureAllRolesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
allRoles_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(allRoles_);
Expand Down Expand Up @@ -10036,7 +10036,7 @@ public Builder addAllAllRoles(
* @return This builder for chaining.
*/
public Builder clearAllRoles() {
allRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
Expand All @@ -10057,7 +10057,7 @@ public Builder addAllRolesBytes(
return this;
}

private org.apache.pekko.protobufv3.internal.LazyStringList allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
private org.apache.pekko.protobufv3.internal.LazyStringList allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
private void ensureAllHashesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
allHashes_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(allHashes_);
Expand Down Expand Up @@ -10145,7 +10145,7 @@ public Builder addAllAllHashes(
* @return This builder for chaining.
*/
public Builder clearAllHashes() {
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allHashes_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
Expand Down Expand Up @@ -10886,7 +10886,7 @@ public org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Tombstone.Builder a
return tombstonesBuilder_;
}

private org.apache.pekko.protobufv3.internal.LazyStringList allAppVersions_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
private org.apache.pekko.protobufv3.internal.LazyStringList allAppVersions_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
private void ensureAllAppVersionsIsMutable() {
if (!((bitField0_ & 0x00000080) != 0)) {
allAppVersions_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(allAppVersions_);
Expand Down Expand Up @@ -10974,7 +10974,7 @@ public Builder addAllAllAppVersions(
* @return This builder for chaining.
*/
public Builder clearAllAppVersions() {
allAppVersions_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
allAppVersions_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
Expand Down Expand Up @@ -21262,7 +21262,7 @@ private ClusterRouterPoolSettings(org.apache.pekko.protobufv3.internal.Generated
}
private ClusterRouterPoolSettings() {
useRole_ = "";
useRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
useRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
}

@java.lang.Override
Expand Down Expand Up @@ -21776,7 +21776,7 @@ public Builder clear() {
bitField0_ = (bitField0_ & ~0x00000004);
useRole_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
useRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
useRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
Expand Down Expand Up @@ -22134,7 +22134,7 @@ public Builder setUseRoleBytes(
return this;
}

private org.apache.pekko.protobufv3.internal.LazyStringList useRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
private org.apache.pekko.protobufv3.internal.LazyStringList useRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
private void ensureUseRolesIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
useRoles_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(useRoles_);
Expand Down Expand Up @@ -22222,7 +22222,7 @@ public Builder addAllUseRoles(
* @return This builder for chaining.
*/
public Builder clearUseRoles() {
useRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.EMPTY;
useRoles_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
Expand Down
Loading

0 comments on commit d00e98b

Please sign in to comment.