This is an automated email from the ASF dual-hosted git repository.
hepin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-projection.git
The following commit(s) were added to refs/heads/main by this push:
new 4aca7e9 Update sbt-java-formatter to 0.10.0 (#382)
4aca7e9 is described below
commit 4aca7e921a11e167bdf722449b341b18afde7c56
Author: Scala Steward <[email protected]>
AuthorDate: Sun Feb 1 09:23:39 2026 +0100
Update sbt-java-formatter to 0.10.0 (#382)
* Update sbt-java-formatter to 0.10.0
* Reformat with sbt-java-formatter 0.10.0
Executed command: sbt javafmtAll
* Add 'Reformat with sbt-java-formatter 0.10.0' to .git-blame-ignore-revs
* chore: Add sbt opts
---------
Co-authored-by: PJ Fanning <[email protected]>
Co-authored-by: 虎鸣 <[email protected]>
---
.git-blame-ignore-revs | 3 +
.sbtopts | 10 +
.../internal/protobuf/ProjectionMessages.java | 214 +++++++++++++++++++++
.../EventSourcedBySlicesDocExample.java | 1 -
.../test/java/jdocs/eventsourced/ShoppingCart.java | 2 +
.../test/java/jdocs/guide/ShoppingCartAppTest.java | 21 +-
.../test/java/jdocs/jdbc/HibernateJdbcSession.java | 8 +-
project/plugins.sbt | 2 +-
8 files changed, 244 insertions(+), 17 deletions(-)
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
index 711b54b..0f10468 100644
--- a/.git-blame-ignore-revs
+++ b/.git-blame-ignore-revs
@@ -14,5 +14,8 @@ e57e85f0c098741e585fe3cbdfdcb77a354ee744
# Scala Steward: Reformat with scalafmt 3.9.10
846f95ff00d70e43ebfe11de5c789790b9ba29e2
+# Scala Steward: Reformat with sbt-java-formatter 0.10.0
+c318f7c6e9108b2c4595d9f29d5d777615c2990e
+
# Scala Steward: Reformat with scalafmt 3.10.4
997e653edcbdf3a9be8668aba8e68c3c11f0b406
diff --git a/.sbtopts b/.sbtopts
new file mode 100644
index 0000000..1ea8ae4
--- /dev/null
+++ b/.sbtopts
@@ -0,0 +1,10 @@
+-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
+-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
+-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
diff --git
a/core/src/main/java/org/apache/pekko/projection/internal/protobuf/ProjectionMessages.java
b/core/src/main/java/org/apache/pekko/projection/internal/protobuf/ProjectionMessages.java
index c7bfe19..70c7b5c 100644
---
a/core/src/main/java/org/apache/pekko/projection/internal/protobuf/ProjectionMessages.java
+++
b/core/src/main/java/org/apache/pekko/projection/internal/protobuf/ProjectionMessages.java
@@ -38,12 +38,14 @@ public final class ProjectionMessages {
* @return Whether the name field is set.
*/
boolean hasName();
+
/**
* <code>required string name = 1;</code>
*
* @return The name.
*/
java.lang.String getName();
+
/**
* <code>required string name = 1;</code>
*
@@ -57,12 +59,14 @@ public final class ProjectionMessages {
* @return Whether the key field is set.
*/
boolean hasKey();
+
/**
* <code>required string key = 2;</code>
*
* @return The key.
*/
java.lang.String getKey();
+
/**
* <code>required string key = 2;</code>
*
@@ -70,6 +74,7 @@ public final class ProjectionMessages {
*/
org.apache.pekko.protobufv3.internal.ByteString getKeyBytes();
}
+
/** Protobuf type {@code org.apache.pekko.projection.ProjectionId} */
public static final class ProjectionId
extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3
@@ -77,6 +82,7 @@ public final class ProjectionMessages {
//
@@protoc_insertion_point(message_implements:org.apache.pekko.projection.ProjectionId)
ProjectionIdOrBuilder {
private static final long serialVersionUID = 0L;
+
// Use ProjectionId.newBuilder() to construct.
private ProjectionId(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<?>
builder) {
@@ -173,6 +179,7 @@ public final class ProjectionMessages {
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
+
/**
* <code>required string name = 1;</code>
*
@@ -181,6 +188,7 @@ public final class ProjectionMessages {
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required string name = 1;</code>
*
@@ -200,6 +208,7 @@ public final class ProjectionMessages {
return s;
}
}
+
/**
* <code>required string name = 1;</code>
*
@@ -219,6 +228,7 @@ public final class ProjectionMessages {
public static final int KEY_FIELD_NUMBER = 2;
private volatile java.lang.Object key_;
+
/**
* <code>required string key = 2;</code>
*
@@ -227,6 +237,7 @@ public final class ProjectionMessages {
public boolean hasKey() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string key = 2;</code>
*
@@ -246,6 +257,7 @@ public final class ProjectionMessages {
return s;
}
}
+
/**
* <code>required string key = 2;</code>
*
@@ -470,6 +482,7 @@ public final class ProjectionMessages {
Builder builder = new Builder(parent);
return builder;
}
+
/** Protobuf type {@code org.apache.pekko.projection.ProjectionId} */
public static final class Builder
extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<Builder>
@@ -671,6 +684,7 @@ public final class ProjectionMessages {
private int bitField0_;
private java.lang.Object name_ = "";
+
/**
* <code>required string name = 1;</code>
*
@@ -679,6 +693,7 @@ public final class ProjectionMessages {
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required string name = 1;</code>
*
@@ -698,6 +713,7 @@ public final class ProjectionMessages {
return (java.lang.String) ref;
}
}
+
/**
* <code>required string name = 1;</code>
*
@@ -714,6 +730,7 @@ public final class ProjectionMessages {
return (org.apache.pekko.protobufv3.internal.ByteString) ref;
}
}
+
/**
* <code>required string name = 1;</code>
*
@@ -729,6 +746,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string name = 1;</code>
*
@@ -740,6 +758,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string name = 1;</code>
*
@@ -757,6 +776,7 @@ public final class ProjectionMessages {
}
private java.lang.Object key_ = "";
+
/**
* <code>required string key = 2;</code>
*
@@ -765,6 +785,7 @@ public final class ProjectionMessages {
public boolean hasKey() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string key = 2;</code>
*
@@ -784,6 +805,7 @@ public final class ProjectionMessages {
return (java.lang.String) ref;
}
}
+
/**
* <code>required string key = 2;</code>
*
@@ -800,6 +822,7 @@ public final class ProjectionMessages {
return (org.apache.pekko.protobufv3.internal.ByteString) ref;
}
}
+
/**
* <code>required string key = 2;</code>
*
@@ -815,6 +838,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string key = 2;</code>
*
@@ -826,6 +850,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string key = 2;</code>
*
@@ -911,12 +936,14 @@ public final class ProjectionMessages {
* @return Whether the projectionId field is set.
*/
boolean hasProjectionId();
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
* @return The projectionId.
*/
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
getProjectionId();
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder();
@@ -927,12 +954,14 @@ public final class ProjectionMessages {
* @return Whether the replyTo field is set.
*/
boolean hasReplyTo();
+
/**
* <code>required string replyTo = 2;</code>
*
* @return The replyTo.
*/
java.lang.String getReplyTo();
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -940,6 +969,7 @@ public final class ProjectionMessages {
*/
org.apache.pekko.protobufv3.internal.ByteString getReplyToBytes();
}
+
/** Protobuf type {@code org.apache.pekko.projection.GetOffset} */
public static final class GetOffset
extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3
@@ -947,6 +977,7 @@ public final class ProjectionMessages {
//
@@protoc_insertion_point(message_implements:org.apache.pekko.projection.GetOffset)
GetOffsetOrBuilder {
private static final long serialVersionUID = 0L;
+
// Use GetOffset.newBuilder() to construct.
private
GetOffset(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<?>
builder) {
super(builder);
@@ -1055,6 +1086,7 @@ public final class ProjectionMessages {
public static final int PROJECTIONID_FIELD_NUMBER = 1;
private
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
projectionId_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -1063,6 +1095,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -1075,6 +1108,7 @@ public final class ProjectionMessages {
.getDefaultInstance()
: projectionId_;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -1086,6 +1120,7 @@ public final class ProjectionMessages {
public static final int REPLYTO_FIELD_NUMBER = 2;
private volatile java.lang.Object replyTo_;
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -1094,6 +1129,7 @@ public final class ProjectionMessages {
public boolean hasReplyTo() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -1113,6 +1149,7 @@ public final class ProjectionMessages {
return s;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -1343,6 +1380,7 @@ public final class ProjectionMessages {
Builder builder = new Builder(parent);
return builder;
}
+
/** Protobuf type {@code org.apache.pekko.projection.GetOffset} */
public static final class Builder
extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<Builder>
@@ -1560,6 +1598,7 @@ public final class ProjectionMessages {
org.apache.pekko.projection.internal.protobuf.ProjectionMessages
.ProjectionIdOrBuilder>
projectionIdBuilder_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -1568,6 +1607,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -1584,6 +1624,7 @@ public final class ProjectionMessages {
return projectionIdBuilder_.getMessage();
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -1599,6 +1640,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
@@ -1612,6 +1654,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder mergeProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -1636,6 +1679,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder clearProjectionId() {
if (projectionIdBuilder_ == null) {
@@ -1647,6 +1691,7 @@ public final class ProjectionMessages {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
getProjectionIdBuilder() {
@@ -1654,6 +1699,7 @@ public final class ProjectionMessages {
onChanged();
return getProjectionIdFieldBuilder().getBuilder();
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -1666,6 +1712,7 @@ public final class ProjectionMessages {
: projectionId_;
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId,
@@ -1687,6 +1734,7 @@ public final class ProjectionMessages {
}
private java.lang.Object replyTo_ = "";
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -1695,6 +1743,7 @@ public final class ProjectionMessages {
public boolean hasReplyTo() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -1714,6 +1763,7 @@ public final class ProjectionMessages {
return (java.lang.String) ref;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -1730,6 +1780,7 @@ public final class ProjectionMessages {
return (org.apache.pekko.protobufv3.internal.ByteString) ref;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -1745,6 +1796,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -1756,6 +1808,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -1840,12 +1893,14 @@ public final class ProjectionMessages {
* @return Whether the projectionId field is set.
*/
boolean hasProjectionId();
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
* @return The projectionId.
*/
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
getProjectionId();
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder();
@@ -1856,16 +1911,19 @@ public final class ProjectionMessages {
* @return Whether the offset field is set.
*/
boolean hasOffset();
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 2;</code>
*
* @return The offset.
*/
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset
getOffset();
+
/** <code>optional .org.apache.pekko.projection.Offset offset = 2;</code>
*/
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.OffsetOrBuilder
getOffsetOrBuilder();
}
+
/** Protobuf type {@code org.apache.pekko.projection.CurrentOffset} */
public static final class CurrentOffset
extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3
@@ -1873,6 +1931,7 @@ public final class ProjectionMessages {
//
@@protoc_insertion_point(message_implements:org.apache.pekko.projection.CurrentOffset)
CurrentOffsetOrBuilder {
private static final long serialVersionUID = 0L;
+
// Use CurrentOffset.newBuilder() to construct.
private CurrentOffset(
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<?>
builder) {
@@ -1992,6 +2051,7 @@ public final class ProjectionMessages {
public static final int PROJECTIONID_FIELD_NUMBER = 1;
private
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
projectionId_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -2000,6 +2060,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -2012,6 +2073,7 @@ public final class ProjectionMessages {
.getDefaultInstance()
: projectionId_;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -2023,6 +2085,7 @@ public final class ProjectionMessages {
public static final int OFFSET_FIELD_NUMBER = 2;
private
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset offset_;
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 2;</code>
*
@@ -2031,6 +2094,7 @@ public final class ProjectionMessages {
public boolean hasOffset() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 2;</code>
*
@@ -2042,6 +2106,7 @@ public final class ProjectionMessages {
.getDefaultInstance()
: offset_;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset = 2;</code>
*/
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.OffsetOrBuilder
getOffsetOrBuilder() {
@@ -2268,6 +2333,7 @@ public final class ProjectionMessages {
Builder builder = new Builder(parent);
return builder;
}
+
/** Protobuf type {@code org.apache.pekko.projection.CurrentOffset} */
public static final class Builder
extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<Builder>
@@ -2499,6 +2565,7 @@ public final class ProjectionMessages {
org.apache.pekko.projection.internal.protobuf.ProjectionMessages
.ProjectionIdOrBuilder>
projectionIdBuilder_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -2507,6 +2574,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -2523,6 +2591,7 @@ public final class ProjectionMessages {
return projectionIdBuilder_.getMessage();
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -2538,6 +2607,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
@@ -2551,6 +2621,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder mergeProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -2575,6 +2646,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder clearProjectionId() {
if (projectionIdBuilder_ == null) {
@@ -2586,6 +2658,7 @@ public final class ProjectionMessages {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
getProjectionIdBuilder() {
@@ -2593,6 +2666,7 @@ public final class ProjectionMessages {
onChanged();
return getProjectionIdFieldBuilder().getBuilder();
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -2605,6 +2679,7 @@ public final class ProjectionMessages {
: projectionId_;
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId,
@@ -2631,6 +2706,7 @@ public final class ProjectionMessages {
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset.Builder,
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.OffsetOrBuilder>
offsetBuilder_;
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 2;</code>
*
@@ -2639,6 +2715,7 @@ public final class ProjectionMessages {
public boolean hasOffset() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 2;</code>
*
@@ -2654,6 +2731,7 @@ public final class ProjectionMessages {
return offsetBuilder_.getMessage();
}
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
2;</code> */
public Builder setOffset(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset value) {
@@ -2669,6 +2747,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000002;
return this;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
2;</code> */
public Builder setOffset(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset.Builder
@@ -2682,6 +2761,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000002;
return this;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
2;</code> */
public Builder mergeOffset(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset value) {
@@ -2706,6 +2786,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000002;
return this;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
2;</code> */
public Builder clearOffset() {
if (offsetBuilder_ == null) {
@@ -2717,6 +2798,7 @@ public final class ProjectionMessages {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
2;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset.Builder
getOffsetBuilder() {
@@ -2724,6 +2806,7 @@ public final class ProjectionMessages {
onChanged();
return getOffsetFieldBuilder().getBuilder();
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
2;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.OffsetOrBuilder
getOffsetOrBuilder() {
@@ -2736,6 +2819,7 @@ public final class ProjectionMessages {
: offset_;
}
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
2;</code> */
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset,
@@ -2823,12 +2907,14 @@ public final class ProjectionMessages {
* @return Whether the projectionId field is set.
*/
boolean hasProjectionId();
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
* @return The projectionId.
*/
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
getProjectionId();
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder();
@@ -2839,12 +2925,14 @@ public final class ProjectionMessages {
* @return Whether the replyTo field is set.
*/
boolean hasReplyTo();
+
/**
* <code>required string replyTo = 2;</code>
*
* @return The replyTo.
*/
java.lang.String getReplyTo();
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -2858,16 +2946,19 @@ public final class ProjectionMessages {
* @return Whether the offset field is set.
*/
boolean hasOffset();
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 3;</code>
*
* @return The offset.
*/
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset
getOffset();
+
/** <code>optional .org.apache.pekko.projection.Offset offset = 3;</code>
*/
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.OffsetOrBuilder
getOffsetOrBuilder();
}
+
/** Protobuf type {@code org.apache.pekko.projection.SetOffset} */
public static final class SetOffset
extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3
@@ -2875,6 +2966,7 @@ public final class ProjectionMessages {
//
@@protoc_insertion_point(message_implements:org.apache.pekko.projection.SetOffset)
SetOffsetOrBuilder {
private static final long serialVersionUID = 0L;
+
// Use SetOffset.newBuilder() to construct.
private
SetOffset(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<?>
builder) {
super(builder);
@@ -3002,6 +3094,7 @@ public final class ProjectionMessages {
public static final int PROJECTIONID_FIELD_NUMBER = 1;
private
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
projectionId_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -3010,6 +3103,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -3022,6 +3116,7 @@ public final class ProjectionMessages {
.getDefaultInstance()
: projectionId_;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -3033,6 +3128,7 @@ public final class ProjectionMessages {
public static final int REPLYTO_FIELD_NUMBER = 2;
private volatile java.lang.Object replyTo_;
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -3041,6 +3137,7 @@ public final class ProjectionMessages {
public boolean hasReplyTo() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -3060,6 +3157,7 @@ public final class ProjectionMessages {
return s;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -3079,6 +3177,7 @@ public final class ProjectionMessages {
public static final int OFFSET_FIELD_NUMBER = 3;
private
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset offset_;
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 3;</code>
*
@@ -3087,6 +3186,7 @@ public final class ProjectionMessages {
public boolean hasOffset() {
return ((bitField0_ & 0x00000004) != 0);
}
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 3;</code>
*
@@ -3098,6 +3198,7 @@ public final class ProjectionMessages {
.getDefaultInstance()
: offset_;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset = 3;</code>
*/
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.OffsetOrBuilder
getOffsetOrBuilder() {
@@ -3342,6 +3443,7 @@ public final class ProjectionMessages {
Builder builder = new Builder(parent);
return builder;
}
+
/** Protobuf type {@code org.apache.pekko.projection.SetOffset} */
public static final class Builder
extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<Builder>
@@ -3582,6 +3684,7 @@ public final class ProjectionMessages {
org.apache.pekko.projection.internal.protobuf.ProjectionMessages
.ProjectionIdOrBuilder>
projectionIdBuilder_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -3590,6 +3693,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -3606,6 +3710,7 @@ public final class ProjectionMessages {
return projectionIdBuilder_.getMessage();
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -3621,6 +3726,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
@@ -3634,6 +3740,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder mergeProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -3658,6 +3765,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder clearProjectionId() {
if (projectionIdBuilder_ == null) {
@@ -3669,6 +3777,7 @@ public final class ProjectionMessages {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
getProjectionIdBuilder() {
@@ -3676,6 +3785,7 @@ public final class ProjectionMessages {
onChanged();
return getProjectionIdFieldBuilder().getBuilder();
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -3688,6 +3798,7 @@ public final class ProjectionMessages {
: projectionId_;
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId,
@@ -3709,6 +3820,7 @@ public final class ProjectionMessages {
}
private java.lang.Object replyTo_ = "";
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -3717,6 +3829,7 @@ public final class ProjectionMessages {
public boolean hasReplyTo() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -3736,6 +3849,7 @@ public final class ProjectionMessages {
return (java.lang.String) ref;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -3752,6 +3866,7 @@ public final class ProjectionMessages {
return (org.apache.pekko.protobufv3.internal.ByteString) ref;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -3767,6 +3882,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -3778,6 +3894,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -3800,6 +3917,7 @@ public final class ProjectionMessages {
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset.Builder,
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.OffsetOrBuilder>
offsetBuilder_;
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 3;</code>
*
@@ -3808,6 +3926,7 @@ public final class ProjectionMessages {
public boolean hasOffset() {
return ((bitField0_ & 0x00000004) != 0);
}
+
/**
* <code>optional .org.apache.pekko.projection.Offset offset = 3;</code>
*
@@ -3823,6 +3942,7 @@ public final class ProjectionMessages {
return offsetBuilder_.getMessage();
}
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
3;</code> */
public Builder setOffset(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset value) {
@@ -3838,6 +3958,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000004;
return this;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
3;</code> */
public Builder setOffset(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset.Builder
@@ -3851,6 +3972,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000004;
return this;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
3;</code> */
public Builder mergeOffset(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset value) {
@@ -3875,6 +3997,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000004;
return this;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
3;</code> */
public Builder clearOffset() {
if (offsetBuilder_ == null) {
@@ -3886,6 +4009,7 @@ public final class ProjectionMessages {
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
3;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset.Builder
getOffsetBuilder() {
@@ -3893,6 +4017,7 @@ public final class ProjectionMessages {
onChanged();
return getOffsetFieldBuilder().getBuilder();
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
3;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.OffsetOrBuilder
getOffsetOrBuilder() {
@@ -3905,6 +4030,7 @@ public final class ProjectionMessages {
: offset_;
}
}
+
/** <code>optional .org.apache.pekko.projection.Offset offset =
3;</code> */
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.Offset,
@@ -3991,12 +4117,14 @@ public final class ProjectionMessages {
* @return Whether the manifest field is set.
*/
boolean hasManifest();
+
/**
* <code>required string manifest = 1;</code>
*
* @return The manifest.
*/
java.lang.String getManifest();
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4010,12 +4138,14 @@ public final class ProjectionMessages {
* @return Whether the value field is set.
*/
boolean hasValue();
+
/**
* <code>required string value = 2;</code>
*
* @return The value.
*/
java.lang.String getValue();
+
/**
* <code>required string value = 2;</code>
*
@@ -4023,12 +4153,14 @@ public final class ProjectionMessages {
*/
org.apache.pekko.protobufv3.internal.ByteString getValueBytes();
}
+
/** Protobuf type {@code org.apache.pekko.projection.Offset} */
public static final class Offset extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3
implements
//
@@protoc_insertion_point(message_implements:org.apache.pekko.projection.Offset)
OffsetOrBuilder {
private static final long serialVersionUID = 0L;
+
// Use Offset.newBuilder() to construct.
private
Offset(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<?>
builder) {
super(builder);
@@ -4124,6 +4256,7 @@ public final class ProjectionMessages {
private int bitField0_;
public static final int MANIFEST_FIELD_NUMBER = 1;
private volatile java.lang.Object manifest_;
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4132,6 +4265,7 @@ public final class ProjectionMessages {
public boolean hasManifest() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4151,6 +4285,7 @@ public final class ProjectionMessages {
return s;
}
}
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4170,6 +4305,7 @@ public final class ProjectionMessages {
public static final int VALUE_FIELD_NUMBER = 2;
private volatile java.lang.Object value_;
+
/**
* <code>required string value = 2;</code>
*
@@ -4178,6 +4314,7 @@ public final class ProjectionMessages {
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string value = 2;</code>
*
@@ -4197,6 +4334,7 @@ public final class ProjectionMessages {
return s;
}
}
+
/**
* <code>required string value = 2;</code>
*
@@ -4414,6 +4552,7 @@ public final class ProjectionMessages {
Builder builder = new Builder(parent);
return builder;
}
+
/** Protobuf type {@code org.apache.pekko.projection.Offset} */
public static final class Builder
extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<Builder>
@@ -4613,6 +4752,7 @@ public final class ProjectionMessages {
private int bitField0_;
private java.lang.Object manifest_ = "";
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4621,6 +4761,7 @@ public final class ProjectionMessages {
public boolean hasManifest() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4640,6 +4781,7 @@ public final class ProjectionMessages {
return (java.lang.String) ref;
}
}
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4656,6 +4798,7 @@ public final class ProjectionMessages {
return (org.apache.pekko.protobufv3.internal.ByteString) ref;
}
}
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4671,6 +4814,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4682,6 +4826,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string manifest = 1;</code>
*
@@ -4699,6 +4844,7 @@ public final class ProjectionMessages {
}
private java.lang.Object value_ = "";
+
/**
* <code>required string value = 2;</code>
*
@@ -4707,6 +4853,7 @@ public final class ProjectionMessages {
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string value = 2;</code>
*
@@ -4726,6 +4873,7 @@ public final class ProjectionMessages {
return (java.lang.String) ref;
}
}
+
/**
* <code>required string value = 2;</code>
*
@@ -4742,6 +4890,7 @@ public final class ProjectionMessages {
return (org.apache.pekko.protobufv3.internal.ByteString) ref;
}
}
+
/**
* <code>required string value = 2;</code>
*
@@ -4757,6 +4906,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string value = 2;</code>
*
@@ -4768,6 +4918,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string value = 2;</code>
*
@@ -4852,12 +5003,14 @@ public final class ProjectionMessages {
* @return Whether the projectionId field is set.
*/
boolean hasProjectionId();
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
* @return The projectionId.
*/
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
getProjectionId();
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder();
@@ -4868,12 +5021,14 @@ public final class ProjectionMessages {
* @return Whether the replyTo field is set.
*/
boolean hasReplyTo();
+
/**
* <code>required string replyTo = 2;</code>
*
* @return The replyTo.
*/
java.lang.String getReplyTo();
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -4881,12 +5036,14 @@ public final class ProjectionMessages {
*/
org.apache.pekko.protobufv3.internal.ByteString getReplyToBytes();
}
+
/** Protobuf type {@code org.apache.pekko.projection.IsPaused} */
public static final class IsPaused extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3
implements
//
@@protoc_insertion_point(message_implements:org.apache.pekko.projection.IsPaused)
IsPausedOrBuilder {
private static final long serialVersionUID = 0L;
+
// Use IsPaused.newBuilder() to construct.
private
IsPaused(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<?>
builder) {
super(builder);
@@ -4995,6 +5152,7 @@ public final class ProjectionMessages {
public static final int PROJECTIONID_FIELD_NUMBER = 1;
private
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
projectionId_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -5003,6 +5161,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -5015,6 +5174,7 @@ public final class ProjectionMessages {
.getDefaultInstance()
: projectionId_;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -5026,6 +5186,7 @@ public final class ProjectionMessages {
public static final int REPLYTO_FIELD_NUMBER = 2;
private volatile java.lang.Object replyTo_;
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5034,6 +5195,7 @@ public final class ProjectionMessages {
public boolean hasReplyTo() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5053,6 +5215,7 @@ public final class ProjectionMessages {
return s;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5283,6 +5446,7 @@ public final class ProjectionMessages {
Builder builder = new Builder(parent);
return builder;
}
+
/** Protobuf type {@code org.apache.pekko.projection.IsPaused} */
public static final class Builder
extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<Builder>
@@ -5500,6 +5664,7 @@ public final class ProjectionMessages {
org.apache.pekko.projection.internal.protobuf.ProjectionMessages
.ProjectionIdOrBuilder>
projectionIdBuilder_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -5508,6 +5673,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -5524,6 +5690,7 @@ public final class ProjectionMessages {
return projectionIdBuilder_.getMessage();
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -5539,6 +5706,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
@@ -5552,6 +5720,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder mergeProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -5576,6 +5745,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder clearProjectionId() {
if (projectionIdBuilder_ == null) {
@@ -5587,6 +5757,7 @@ public final class ProjectionMessages {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
getProjectionIdBuilder() {
@@ -5594,6 +5765,7 @@ public final class ProjectionMessages {
onChanged();
return getProjectionIdFieldBuilder().getBuilder();
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -5606,6 +5778,7 @@ public final class ProjectionMessages {
: projectionId_;
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId,
@@ -5627,6 +5800,7 @@ public final class ProjectionMessages {
}
private java.lang.Object replyTo_ = "";
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5635,6 +5809,7 @@ public final class ProjectionMessages {
public boolean hasReplyTo() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5654,6 +5829,7 @@ public final class ProjectionMessages {
return (java.lang.String) ref;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5670,6 +5846,7 @@ public final class ProjectionMessages {
return (org.apache.pekko.protobufv3.internal.ByteString) ref;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5685,6 +5862,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5696,6 +5874,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5780,12 +5959,14 @@ public final class ProjectionMessages {
* @return Whether the projectionId field is set.
*/
boolean hasProjectionId();
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
* @return The projectionId.
*/
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
getProjectionId();
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder();
@@ -5796,12 +5977,14 @@ public final class ProjectionMessages {
* @return Whether the replyTo field is set.
*/
boolean hasReplyTo();
+
/**
* <code>required string replyTo = 2;</code>
*
* @return The replyTo.
*/
java.lang.String getReplyTo();
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5815,6 +5998,7 @@ public final class ProjectionMessages {
* @return Whether the paused field is set.
*/
boolean hasPaused();
+
/**
* <code>optional bool paused = 3;</code>
*
@@ -5822,6 +6006,7 @@ public final class ProjectionMessages {
*/
boolean getPaused();
}
+
/** Protobuf type {@code org.apache.pekko.projection.SetPaused} */
public static final class SetPaused
extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3
@@ -5829,6 +6014,7 @@ public final class ProjectionMessages {
//
@@protoc_insertion_point(message_implements:org.apache.pekko.projection.SetPaused)
SetPausedOrBuilder {
private static final long serialVersionUID = 0L;
+
// Use SetPaused.newBuilder() to construct.
private
SetPaused(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<?>
builder) {
super(builder);
@@ -5943,6 +6129,7 @@ public final class ProjectionMessages {
public static final int PROJECTIONID_FIELD_NUMBER = 1;
private
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
projectionId_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -5951,6 +6138,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId =
1;</code>
*
@@ -5963,6 +6151,7 @@ public final class ProjectionMessages {
.getDefaultInstance()
: projectionId_;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -5974,6 +6163,7 @@ public final class ProjectionMessages {
public static final int REPLYTO_FIELD_NUMBER = 2;
private volatile java.lang.Object replyTo_;
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -5982,6 +6172,7 @@ public final class ProjectionMessages {
public boolean hasReplyTo() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -6001,6 +6192,7 @@ public final class ProjectionMessages {
return s;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -6020,6 +6212,7 @@ public final class ProjectionMessages {
public static final int PAUSED_FIELD_NUMBER = 3;
private boolean paused_;
+
/**
* <code>optional bool paused = 3;</code>
*
@@ -6028,6 +6221,7 @@ public final class ProjectionMessages {
public boolean hasPaused() {
return ((bitField0_ & 0x00000004) != 0);
}
+
/**
* <code>optional bool paused = 3;</code>
*
@@ -6264,6 +6458,7 @@ public final class ProjectionMessages {
Builder builder = new Builder(parent);
return builder;
}
+
/** Protobuf type {@code org.apache.pekko.projection.SetPaused} */
public static final class Builder
extends
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<Builder>
@@ -6490,6 +6685,7 @@ public final class ProjectionMessages {
org.apache.pekko.projection.internal.protobuf.ProjectionMessages
.ProjectionIdOrBuilder>
projectionIdBuilder_;
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -6498,6 +6694,7 @@ public final class ProjectionMessages {
public boolean hasProjectionId() {
return ((bitField0_ & 0x00000001) != 0);
}
+
/**
* <code>required .org.apache.pekko.projection.ProjectionId projectionId
= 1;</code>
*
@@ -6514,6 +6711,7 @@ public final class ProjectionMessages {
return projectionIdBuilder_.getMessage();
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -6529,6 +6727,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder setProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
@@ -6542,6 +6741,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder mergeProjectionId(
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId
value) {
@@ -6566,6 +6766,7 @@ public final class ProjectionMessages {
bitField0_ |= 0x00000001;
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public Builder clearProjectionId() {
if (projectionIdBuilder_ == null) {
@@ -6577,6 +6778,7 @@ public final class ProjectionMessages {
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId.Builder
getProjectionIdBuilder() {
@@ -6584,6 +6786,7 @@ public final class ProjectionMessages {
onChanged();
return getProjectionIdFieldBuilder().getBuilder();
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
public
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionIdOrBuilder
getProjectionIdOrBuilder() {
@@ -6596,6 +6799,7 @@ public final class ProjectionMessages {
: projectionId_;
}
}
+
/** <code>required .org.apache.pekko.projection.ProjectionId
projectionId = 1;</code> */
private org.apache.pekko.protobufv3.internal.SingleFieldBuilderV3<
org.apache.pekko.projection.internal.protobuf.ProjectionMessages.ProjectionId,
@@ -6617,6 +6821,7 @@ public final class ProjectionMessages {
}
private java.lang.Object replyTo_ = "";
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -6625,6 +6830,7 @@ public final class ProjectionMessages {
public boolean hasReplyTo() {
return ((bitField0_ & 0x00000002) != 0);
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -6644,6 +6850,7 @@ public final class ProjectionMessages {
return (java.lang.String) ref;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -6660,6 +6867,7 @@ public final class ProjectionMessages {
return (org.apache.pekko.protobufv3.internal.ByteString) ref;
}
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -6675,6 +6883,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -6686,6 +6895,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>required string replyTo = 2;</code>
*
@@ -6703,6 +6913,7 @@ public final class ProjectionMessages {
}
private boolean paused_;
+
/**
* <code>optional bool paused = 3;</code>
*
@@ -6711,6 +6922,7 @@ public final class ProjectionMessages {
public boolean hasPaused() {
return ((bitField0_ & 0x00000004) != 0);
}
+
/**
* <code>optional bool paused = 3;</code>
*
@@ -6719,6 +6931,7 @@ public final class ProjectionMessages {
public boolean getPaused() {
return paused_;
}
+
/**
* <code>optional bool paused = 3;</code>
*
@@ -6731,6 +6944,7 @@ public final class ProjectionMessages {
onChanged();
return this;
}
+
/**
* <code>optional bool paused = 3;</code>
*
diff --git
a/examples/src/test/java/jdocs/eventsourced/EventSourcedBySlicesDocExample.java
b/examples/src/test/java/jdocs/eventsourced/EventSourcedBySlicesDocExample.java
index f5ebb88..b4131aa 100644
---
a/examples/src/test/java/jdocs/eventsourced/EventSourcedBySlicesDocExample.java
+++
b/examples/src/test/java/jdocs/eventsourced/EventSourcedBySlicesDocExample.java
@@ -14,7 +14,6 @@
package jdocs.eventsourced;
import java.util.List;
-
import org.apache.pekko.actor.typed.ActorSystem;
import org.apache.pekko.actor.typed.javadsl.Behaviors;
// #eventsBySlicesSourceProvider
diff --git a/examples/src/test/java/jdocs/eventsourced/ShoppingCart.java
b/examples/src/test/java/jdocs/eventsourced/ShoppingCart.java
index feffbbe..998a7e1 100644
--- a/examples/src/test/java/jdocs/eventsourced/ShoppingCart.java
+++ b/examples/src/test/java/jdocs/eventsourced/ShoppingCart.java
@@ -316,6 +316,7 @@ public class ShoppingCart
public static final List<String> tags =
Collections.unmodifiableList(
Arrays.asList("carts-0", "carts-1", "carts-2", "carts-3",
"carts-4"));
+
// #slicingTags
// #tagging
@@ -325,6 +326,7 @@ public class ShoppingCart
String selectedTag = tags.get(n);
return Collections.singleton(selectedTag);
}
+
// #tagging
@Override
diff --git a/examples/src/test/java/jdocs/guide/ShoppingCartAppTest.java
b/examples/src/test/java/jdocs/guide/ShoppingCartAppTest.java
index 828f051..d3d15ba 100644
--- a/examples/src/test/java/jdocs/guide/ShoppingCartAppTest.java
+++ b/examples/src/test/java/jdocs/guide/ShoppingCartAppTest.java
@@ -14,6 +14,16 @@
// #testKitSpec
package jdocs.guide;
+import static org.junit.Assert.assertEquals;
+
+import java.time.Instant;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Optional;
+import java.util.concurrent.CompletableFuture;
+import java.util.concurrent.CompletionStage;
+import java.util.stream.IntStream;
import org.apache.pekko.Done;
import org.apache.pekko.NotUsed;
import org.apache.pekko.actor.testkit.typed.javadsl.LoggingTestKit;
@@ -32,17 +42,6 @@ import org.apache.pekko.stream.javadsl.Source;
import org.junit.ClassRule;
import org.junit.Test;
-import java.time.Instant;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Optional;
-import java.util.concurrent.CompletableFuture;
-import java.util.concurrent.CompletionStage;
-import java.util.stream.IntStream;
-
-import static org.junit.Assert.assertEquals;
-
public class ShoppingCartAppTest {
@ClassRule public static final TestKitJunitResource testKit = new
TestKitJunitResource();
public static final ProjectionTestKit projectionTestKit =
diff --git a/examples/src/test/java/jdocs/jdbc/HibernateJdbcSession.java
b/examples/src/test/java/jdocs/jdbc/HibernateJdbcSession.java
index 90660a1..39b6d8d 100644
--- a/examples/src/test/java/jdocs/jdbc/HibernateJdbcSession.java
+++ b/examples/src/test/java/jdocs/jdbc/HibernateJdbcSession.java
@@ -13,14 +13,14 @@
package jdocs.jdbc;
-import org.apache.pekko.japi.function.Function;
-import org.apache.pekko.projection.jdbc.JdbcSession;
-// #hibernate-session-imports
-import org.hibernate.Session;
import jakarta.persistence.EntityManager;
import jakarta.persistence.EntityTransaction;
import java.sql.Connection;
import java.sql.SQLException;
+import org.apache.pekko.japi.function.Function;
+import org.apache.pekko.projection.jdbc.JdbcSession;
+// #hibernate-session-imports
+import org.hibernate.Session;
// #hibernate-session-imports
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 9d54a39..1528289 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -8,7 +8,7 @@
*/
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.6")
-addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.8.0")
+addSbtPlugin("com.github.sbt" % "sbt-java-formatter" % "0.10.0")
addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]