string id = 1 [json_name = "id"];
*
@@ -68,6 +69,7 @@ public interface EchoRequestOrBuilder
*/
com.google.protobuf.ByteString getPayload();
}
+
/**
*
*
@@ -82,6 +84,7 @@ public static final class EchoRequest extends com.google.protobuf.GeneratedMessa
// @@protoc_insertion_point(message_implements:proto.echo.v1.EchoRequest)
EchoRequestOrBuilder {
private static final long serialVersionUID = 0L;
+
// Use EchoRequest.newBuilder() to construct.
private EchoRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -122,6 +125,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
+
/**
* string id = 1 [json_name = "id"];
*
@@ -139,6 +143,7 @@ public java.lang.String getId() {
return s;
}
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -159,6 +164,7 @@ public com.google.protobuf.ByteString getIdBytes() {
public static final int PAYLOAD_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
+
/**
* bytes payload = 2 [json_name = "payload"];
*
@@ -339,6 +345,7 @@ protected Builder newBuilderForType(
Builder builder = new Builder(parent);
return builder;
}
+
/**
*
*
@@ -542,6 +549,7 @@ public Builder mergeFrom(
private int bitField0_;
private java.lang.Object id_ = "";
+
/**
* string id = 1 [json_name = "id"];
*
@@ -558,6 +566,7 @@ public java.lang.String getId() {
return (java.lang.String) ref;
}
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -574,6 +583,7 @@ public com.google.protobuf.ByteString getIdBytes() {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -589,6 +599,7 @@ public Builder setId(java.lang.String value) {
onChanged();
return this;
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -600,6 +611,7 @@ public Builder clearId() {
onChanged();
return this;
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -618,6 +630,7 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
}
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
+
/**
* bytes payload = 2 [json_name = "payload"];
*
@@ -627,6 +640,7 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
+
/**
* bytes payload = 2 [json_name = "payload"];
*
@@ -642,6 +656,7 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
onChanged();
return this;
}
+
/**
* bytes payload = 2 [json_name = "payload"];
*
@@ -730,6 +745,7 @@ public interface EchoResponseOrBuilder
* @return The id.
*/
java.lang.String getId();
+
/**
* string id = 1 [json_name = "id"];
*
@@ -744,6 +760,7 @@ public interface EchoResponseOrBuilder
*/
com.google.protobuf.ByteString getPayload();
}
+
/**
*
*
@@ -758,6 +775,7 @@ public static final class EchoResponse extends com.google.protobuf.GeneratedMess
// @@protoc_insertion_point(message_implements:proto.echo.v1.EchoResponse)
EchoResponseOrBuilder {
private static final long serialVersionUID = 0L;
+
// Use EchoResponse.newBuilder() to construct.
private EchoResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -798,6 +816,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
+
/**
* string id = 1 [json_name = "id"];
*
@@ -815,6 +834,7 @@ public java.lang.String getId() {
return s;
}
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -835,6 +855,7 @@ public com.google.protobuf.ByteString getIdBytes() {
public static final int PAYLOAD_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
+
/**
* bytes payload = 2 [json_name = "payload"];
*
@@ -1015,6 +1036,7 @@ protected Builder newBuilderForType(
Builder builder = new Builder(parent);
return builder;
}
+
/**
*
*
@@ -1218,6 +1240,7 @@ public Builder mergeFrom(
private int bitField0_;
private java.lang.Object id_ = "";
+
/**
* string id = 1 [json_name = "id"];
*
@@ -1234,6 +1257,7 @@ public java.lang.String getId() {
return (java.lang.String) ref;
}
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -1250,6 +1274,7 @@ public com.google.protobuf.ByteString getIdBytes() {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -1265,6 +1290,7 @@ public Builder setId(java.lang.String value) {
onChanged();
return this;
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -1276,6 +1302,7 @@ public Builder clearId() {
onChanged();
return this;
}
+
/**
* string id = 1 [json_name = "id"];
*
@@ -1294,6 +1321,7 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
}
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
+
/**
* bytes payload = 2 [json_name = "payload"];
*
@@ -1303,6 +1331,7 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
+
/**
* bytes payload = 2 [json_name = "payload"];
*
@@ -1318,6 +1347,7 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
onChanged();
return this;
}
+
/**
* bytes payload = 2 [json_name = "payload"];
*
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index 9ad1a6a5bf3b..679cad82d100 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -20,7 +20,7 @@
plugins {
`java-gradle-plugin`
groovy
- id("com.diffplug.spotless") version "5.6.1"
+ id("com.diffplug.spotless") version "7.2.1"
}
// Define the set of repositories required to fetch and enable plugins.
@@ -49,7 +49,7 @@ dependencies {
runtimeOnly("com.google.protobuf:protobuf-gradle-plugin:0.8.13") // Enable proto code generation
runtimeOnly("com.github.davidmc24.gradle.plugin:gradle-avro-plugin:1.9.1") // Enable Avro code generation. Version 1.1.0 is the last supporting avro 1.10.2
- runtimeOnly("com.diffplug.spotless:spotless-plugin-gradle:5.6.1") // Enable a code formatting plugin
+ runtimeOnly("com.diffplug.spotless:spotless-plugin-gradle:7.2.1") // Enable a code formatting plugin
runtimeOnly("gradle.plugin.com.dorongold.plugins:task-tree:1.5") // Adds a 'taskTree' task to print task dependency tree
runtimeOnly("net.linguica.gradle:maven-settings-plugin:0.5")
runtimeOnly("gradle.plugin.io.pry.gradle.offline_dependencies:gradle-offline-dependencies-plugin:0.5.0") // Enable creating an offline repository
diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamDockerPlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamDockerPlugin.groovy
index 6963f96d7313..9aaeaea96950 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamDockerPlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamDockerPlugin.groovy
@@ -185,7 +185,8 @@ class BeamDockerPlugin implements PluginIf this evaluation did not access state, this may return null.
*/
- @Nullable
- CopyOnAccessInMemoryStateInternals getState();
+ @Nullable CopyOnAccessInMemoryStateInternals getState();
/**
* Returns a TimerUpdateBuilder that was produced as a result of this evaluation. If the
diff --git a/runners/direct-java/src/main/java/org/apache/beam/runners/direct/UncommittedBundle.java b/runners/direct-java/src/main/java/org/apache/beam/runners/direct/UncommittedBundle.java
index 83c64dc3bbd2..7a701115fabd 100644
--- a/runners/direct-java/src/main/java/org/apache/beam/runners/direct/UncommittedBundle.java
+++ b/runners/direct-java/src/main/java/org/apache/beam/runners/direct/UncommittedBundle.java
@@ -32,8 +32,7 @@
*/
interface UncommittedBundle