diff --git a/buf.gen.yaml b/buf.gen.yaml
index 7c2e16bf..342bee2b 100644
--- a/buf.gen.yaml
+++ b/buf.gen.yaml
@@ -1,4 +1,4 @@
version: v2
plugins:
- - remote: buf.build/protocolbuffers/java:v25.3
+ - remote: buf.build/protocolbuffers/java:v27.3
out: src/main/java
diff --git a/conformance/buf.gen.yaml b/conformance/buf.gen.yaml
index 3176e378..1efd0994 100644
--- a/conformance/buf.gen.yaml
+++ b/conformance/buf.gen.yaml
@@ -5,5 +5,5 @@ managed:
- file_option: java_package_prefix
value: build
plugins:
- - remote: buf.build/protocolbuffers/java:v25.3
+ - remote: buf.build/protocolbuffers/java:v27.3
out: src/main/java
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/AnEnum.java b/conformance/src/main/java/build/buf/validate/conformance/cases/AnEnum.java
index f3824e4d..60efd18f 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/AnEnum.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/AnEnum.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/repeated.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
@@ -24,6 +25,15 @@ public enum AnEnum
UNRECOGNIZED(-1),
;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ AnEnum.class.getName());
+ }
/**
* AN_ENUM_UNSPECIFIED = 0;
*/
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyIn.java b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyIn.java
index 77a68e84..3f9fccbf 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyIn.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyIn.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_any.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.AnyIn}
*/
public final class AnyIn extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.AnyIn)
AnyInOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ AnyIn.class.getName());
+ }
// Use AnyIn.newBuilder() to construct.
- private AnyIn(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private AnyIn(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private AnyIn() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new AnyIn();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyIn_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.AnyIn parseFrom(
}
public static build.buf.validate.conformance.cases.AnyIn parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.AnyIn parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.AnyIn parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.AnyIn parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.AnyIn parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.AnyIn parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.AnyIn}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.AnyIn)
build.buf.validate.conformance.cases.AnyInOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.AnyIn result) {
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.AnyIn) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Any val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> valBuilder_;
/**
* .google.protobuf.Any val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.AnyOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Any val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.AnyOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.AnyIn)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyInOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyInOrBuilder.java
index 6952ed6c..54afd072 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyInOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyInOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_any.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface AnyInOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNone.java b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNone.java
index 87bcf91f..c8f4d234 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNone.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNone.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_any.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.AnyNone}
*/
public final class AnyNone extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.AnyNone)
AnyNoneOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ AnyNone.class.getName());
+ }
// Use AnyNone.newBuilder() to construct.
- private AnyNone(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private AnyNone(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private AnyNone() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new AnyNone();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyNone_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.AnyNone parseFrom(
}
public static build.buf.validate.conformance.cases.AnyNone parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.AnyNone parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.AnyNone parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.AnyNone parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.AnyNone parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.AnyNone parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.AnyNone}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.AnyNone)
build.buf.validate.conformance.cases.AnyNoneOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.AnyNone result)
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.AnyNone) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Any val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> valBuilder_;
/**
* .google.protobuf.Any val = 1 [json_name = "val"];
@@ -520,11 +491,11 @@ public com.google.protobuf.AnyOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Any val = 1 [json_name = "val"];
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.AnyOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.AnyNone)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNoneOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNoneOrBuilder.java
index e040b04a..65e31dfc 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNoneOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNoneOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_any.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface AnyNoneOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNotIn.java b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNotIn.java
index 3d046851..a2ed76aa 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNotIn.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNotIn.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_any.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.AnyNotIn}
*/
public final class AnyNotIn extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.AnyNotIn)
AnyNotInOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ AnyNotIn.class.getName());
+ }
// Use AnyNotIn.newBuilder() to construct.
- private AnyNotIn(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private AnyNotIn(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private AnyNotIn() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new AnyNotIn();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyNotIn_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyNotIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.AnyNotIn parseFrom(
}
public static build.buf.validate.conformance.cases.AnyNotIn parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.AnyNotIn parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.AnyNotIn parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.AnyNotIn parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.AnyNotIn parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.AnyNotIn parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.AnyNotIn}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.AnyNotIn)
build.buf.validate.conformance.cases.AnyNotInOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyNotIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.AnyNotIn result)
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.AnyNotIn) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Any val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> valBuilder_;
/**
* .google.protobuf.Any val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.AnyOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Any val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.AnyOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.AnyNotIn)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNotInOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNotInOrBuilder.java
index 536bec17..4f219208 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNotInOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyNotInOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_any.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface AnyNotInOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyRequired.java b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyRequired.java
index cd546b23..e8745e2a 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyRequired.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyRequired.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_any.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.AnyRequired}
*/
public final class AnyRequired extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.AnyRequired)
AnyRequiredOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ AnyRequired.class.getName());
+ }
// Use AnyRequired.newBuilder() to construct.
- private AnyRequired(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private AnyRequired(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private AnyRequired() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new AnyRequired();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyRequired_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyRequired_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.AnyRequired parseFrom(
}
public static build.buf.validate.conformance.cases.AnyRequired parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.AnyRequired parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.AnyRequired parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.AnyRequired parseDelimitedFro
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.AnyRequired parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.AnyRequired parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.AnyRequired}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.AnyRequired)
build.buf.validate.conformance.cases.AnyRequiredOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktAnyProto.internal_static_buf_validate_conformance_cases_AnyRequired_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.AnyRequired resu
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.AnyRequired) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Any val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> valBuilder_;
/**
* .google.protobuf.Any val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.AnyOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Any val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.AnyOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.AnyRequired)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyRequiredOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyRequiredOrBuilder.java
index 6d5c089f..2b047b41 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/AnyRequiredOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/AnyRequiredOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_any.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface AnyRequiredOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstFalse.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstFalse.java
index 6a12f6e5..3e0fd3e7 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstFalse.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstFalse.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bool.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BoolConstFalse}
*/
public final class BoolConstFalse extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BoolConstFalse)
BoolConstFalseOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BoolConstFalse.class.getName());
+ }
// Use BoolConstFalse.newBuilder() to construct.
- private BoolConstFalse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BoolConstFalse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BoolConstFalse() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BoolConstFalse();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BoolProto.internal_static_buf_validate_conformance_cases_BoolConstFalse_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BoolProto.internal_static_buf_validate_conformance_cases_BoolConstFalse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BoolConstFalse parseFrom(
}
public static build.buf.validate.conformance.cases.BoolConstFalse parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BoolConstFalse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BoolConstFalse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BoolConstFalse parseDelimited
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BoolConstFalse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BoolConstFalse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BoolConstFalse}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BoolConstFalse)
build.buf.validate.conformance.cases.BoolConstFalseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BoolProto.internal_static_buf_validate_conformance_cases_BoolConstFalse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BoolConstFalse r
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BoolConstFalse) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BoolConstFalse)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstFalseOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstFalseOrBuilder.java
index 510f86c0..4c16707a 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstFalseOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstFalseOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bool.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BoolConstFalseOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstTrue.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstTrue.java
index 5a4743cf..85102d77 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstTrue.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstTrue.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bool.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BoolConstTrue}
*/
public final class BoolConstTrue extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BoolConstTrue)
BoolConstTrueOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BoolConstTrue.class.getName());
+ }
// Use BoolConstTrue.newBuilder() to construct.
- private BoolConstTrue(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BoolConstTrue(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BoolConstTrue() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BoolConstTrue();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BoolProto.internal_static_buf_validate_conformance_cases_BoolConstTrue_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BoolProto.internal_static_buf_validate_conformance_cases_BoolConstTrue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BoolConstTrue parseFrom(
}
public static build.buf.validate.conformance.cases.BoolConstTrue parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BoolConstTrue parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BoolConstTrue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BoolConstTrue parseDelimitedF
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BoolConstTrue parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BoolConstTrue parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BoolConstTrue}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BoolConstTrue)
build.buf.validate.conformance.cases.BoolConstTrueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BoolProto.internal_static_buf_validate_conformance_cases_BoolConstTrue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BoolConstTrue re
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BoolConstTrue) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BoolConstTrue)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstTrueOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstTrueOrBuilder.java
index 842afb27..5befe12a 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstTrueOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolConstTrueOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bool.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BoolConstTrueOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolNone.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolNone.java
index 149e94ea..6eb25c79 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolNone.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolNone.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bool.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BoolNone}
*/
public final class BoolNone extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BoolNone)
BoolNoneOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BoolNone.class.getName());
+ }
// Use BoolNone.newBuilder() to construct.
- private BoolNone(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BoolNone(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BoolNone() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BoolNone();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BoolProto.internal_static_buf_validate_conformance_cases_BoolNone_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BoolProto.internal_static_buf_validate_conformance_cases_BoolNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BoolNone parseFrom(
}
public static build.buf.validate.conformance.cases.BoolNone parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BoolNone parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BoolNone parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BoolNone parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BoolNone parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BoolNone parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BoolNone}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BoolNone)
build.buf.validate.conformance.cases.BoolNoneOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BoolProto.internal_static_buf_validate_conformance_cases_BoolNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BoolNone result)
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BoolNone) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BoolNone)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolNoneOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolNoneOrBuilder.java
index 2df41df0..dea2f1e6 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolNoneOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolNoneOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bool.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BoolNoneOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolProto.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolProto.java
index 580deb74..d83eb264 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BoolProto.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BoolProto.java
@@ -1,11 +1,21 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bool.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public final class BoolProto {
private BoolProto() {}
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BoolProto.class.getName());
+ }
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
@@ -18,17 +28,17 @@ public static void registerAllExtensions(
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BoolNone_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BoolNone_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BoolConstTrue_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BoolConstTrue_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BoolConstFalse_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BoolConstFalse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
@@ -59,27 +69,28 @@ public static void registerAllExtensions(
internal_static_buf_validate_conformance_cases_BoolNone_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_buf_validate_conformance_cases_BoolNone_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BoolNone_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BoolConstTrue_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_buf_validate_conformance_cases_BoolConstTrue_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BoolConstTrue_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BoolConstFalse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_buf_validate_conformance_cases_BoolConstFalse_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BoolConstFalse_descriptor,
new java.lang.String[] { "Val", });
+ descriptor.resolveAllFeaturesImmutable();
+ build.buf.validate.ValidateProto.getDescriptor();
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(build.buf.validate.ValidateProto.field);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
- build.buf.validate.ValidateProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesConst.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesConst.java
index 1a32ace4..0bbdb47c 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesConst.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesConst.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesConst}
*/
public final class BytesConst extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesConst)
BytesConstOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesConst.class.getName());
+ }
// Use BytesConst.newBuilder() to construct.
- private BytesConst(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesConst(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesConst() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesConst();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesConst_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesConst_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesConst parseFrom(
}
public static build.buf.validate.conformance.cases.BytesConst parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesConst parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesConst parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesConst parseDelimitedFrom
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesConst parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesConst parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesConst}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesConst)
build.buf.validate.conformance.cases.BytesConstOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesConst_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesConst resul
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesConst) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesConst)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesConstOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesConstOrBuilder.java
index 356c1431..304d821d 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesConstOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesConstOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesConstOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesContains.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesContains.java
index 84df64a5..d0b9e256 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesContains.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesContains.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesContains}
*/
public final class BytesContains extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesContains)
BytesContainsOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesContains.class.getName());
+ }
// Use BytesContains.newBuilder() to construct.
- private BytesContains(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesContains(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesContains() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesContains();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesContains_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesContains_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesContains parseFrom(
}
public static build.buf.validate.conformance.cases.BytesContains parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesContains parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesContains parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesContains parseDelimitedF
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesContains parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesContains parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesContains}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesContains)
build.buf.validate.conformance.cases.BytesContainsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesContains_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesContains re
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesContains) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesContains)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesContainsOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesContainsOrBuilder.java
index 1645b372..27945736 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesContainsOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesContainsOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesContainsOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesEqualMinMaxLen.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesEqualMinMaxLen.java
index c1353965..e225e333 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesEqualMinMaxLen.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesEqualMinMaxLen.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesEqualMinMaxLen}
*/
public final class BytesEqualMinMaxLen extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesEqualMinMaxLen)
BytesEqualMinMaxLenOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesEqualMinMaxLen.class.getName());
+ }
// Use BytesEqualMinMaxLen.newBuilder() to construct.
- private BytesEqualMinMaxLen(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesEqualMinMaxLen(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesEqualMinMaxLen() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesEqualMinMaxLen();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesEqualMinMaxLen_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesEqualMinMaxLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesEqualMinMaxLen parseFrom
}
public static build.buf.validate.conformance.cases.BytesEqualMinMaxLen parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesEqualMinMaxLen parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesEqualMinMaxLen parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesEqualMinMaxLen parseDeli
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesEqualMinMaxLen parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesEqualMinMaxLen parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesEqualMinMaxLen}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesEqualMinMaxLen)
build.buf.validate.conformance.cases.BytesEqualMinMaxLenOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesEqualMinMaxLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesEqualMinMax
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesEqualMinMaxLen) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesEqualMinMaxLen)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesEqualMinMaxLenOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesEqualMinMaxLenOrBuilder.java
index a9f04774..08ad52fb 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesEqualMinMaxLenOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesEqualMinMaxLenOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesEqualMinMaxLenOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIP.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIP.java
index 584c4646..0341f4f1 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIP.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIP.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesIP}
*/
public final class BytesIP extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesIP)
BytesIPOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesIP.class.getName());
+ }
// Use BytesIP.newBuilder() to construct.
- private BytesIP(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesIP(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesIP() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesIP();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIP_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIP_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesIP parseFrom(
}
public static build.buf.validate.conformance.cases.BytesIP parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIP parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIP parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesIP parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIP parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIP parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesIP}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesIP)
build.buf.validate.conformance.cases.BytesIPOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIP_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesIP result)
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesIP) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesIP)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPOrBuilder.java
index 005475a7..aa5c60a1 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesIPOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv4.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv4.java
index ed06bfee..a6d9d0b1 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv4.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv4.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesIPv4}
*/
public final class BytesIPv4 extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesIPv4)
BytesIPv4OrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesIPv4.class.getName());
+ }
// Use BytesIPv4.newBuilder() to construct.
- private BytesIPv4(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesIPv4(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesIPv4() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesIPv4();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIPv4_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIPv4_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesIPv4 parseFrom(
}
public static build.buf.validate.conformance.cases.BytesIPv4 parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIPv4 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIPv4 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesIPv4 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIPv4 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIPv4 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesIPv4}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesIPv4)
build.buf.validate.conformance.cases.BytesIPv4OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIPv4_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesIPv4 result
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesIPv4) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesIPv4)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv4OrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv4OrBuilder.java
index 939b6a0c..c5407b03 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv4OrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv4OrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesIPv4OrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6.java
index 2543d69d..4297d2c8 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesIPv6}
*/
public final class BytesIPv6 extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesIPv6)
BytesIPv6OrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesIPv6.class.getName());
+ }
// Use BytesIPv6.newBuilder() to construct.
- private BytesIPv6(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesIPv6(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesIPv6() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesIPv6();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIPv6_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIPv6_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesIPv6 parseFrom(
}
public static build.buf.validate.conformance.cases.BytesIPv6 parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIPv6 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIPv6 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesIPv6 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIPv6 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIPv6 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesIPv6}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesIPv6)
build.buf.validate.conformance.cases.BytesIPv6OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIPv6_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesIPv6 result
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesIPv6) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesIPv6)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6Ignore.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6Ignore.java
index ba6b529c..fede7d33 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6Ignore.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6Ignore.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesIPv6Ignore}
*/
public final class BytesIPv6Ignore extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesIPv6Ignore)
BytesIPv6IgnoreOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesIPv6Ignore.class.getName());
+ }
// Use BytesIPv6Ignore.newBuilder() to construct.
- private BytesIPv6Ignore(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesIPv6Ignore(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesIPv6Ignore() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesIPv6Ignore();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIPv6Ignore_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIPv6Ignore_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesIPv6Ignore parseFrom(
}
public static build.buf.validate.conformance.cases.BytesIPv6Ignore parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIPv6Ignore parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIPv6Ignore parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesIPv6Ignore parseDelimite
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIPv6Ignore parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIPv6Ignore parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesIPv6Ignore}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesIPv6Ignore)
build.buf.validate.conformance.cases.BytesIPv6IgnoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIPv6Ignore_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesIPv6Ignore
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesIPv6Ignore) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesIPv6Ignore)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6IgnoreOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6IgnoreOrBuilder.java
index 16b12437..509fbc62 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6IgnoreOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6IgnoreOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesIPv6IgnoreOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6OrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6OrBuilder.java
index 0080fb14..dae3fd9b 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6OrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIPv6OrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesIPv6OrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIn.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIn.java
index 2fd51f25..86219c03 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIn.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesIn.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesIn}
*/
public final class BytesIn extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesIn)
BytesInOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesIn.class.getName());
+ }
// Use BytesIn.newBuilder() to construct.
- private BytesIn(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesIn(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesIn() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesIn();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIn_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesIn parseFrom(
}
public static build.buf.validate.conformance.cases.BytesIn parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIn parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIn parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesIn parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesIn parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesIn parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesIn}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesIn)
build.buf.validate.conformance.cases.BytesInOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesIn result)
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesIn) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesIn)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesInOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesInOrBuilder.java
index 442db076..903f2caf 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesInOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesInOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesInOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesLen.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesLen.java
index 791ba12e..57c679fe 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesLen.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesLen.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesLen}
*/
public final class BytesLen extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesLen)
BytesLenOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesLen.class.getName());
+ }
// Use BytesLen.newBuilder() to construct.
- private BytesLen(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesLen(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesLen() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesLen();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesLen_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesLen parseFrom(
}
public static build.buf.validate.conformance.cases.BytesLen parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesLen parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesLen parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesLen parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesLen parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesLen parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesLen}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesLen)
build.buf.validate.conformance.cases.BytesLenOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesLen result)
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesLen) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesLen)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesLenOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesLenOrBuilder.java
index e16b26a2..23bab342 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesLenOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesLenOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesLenOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMaxLen.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMaxLen.java
index 7d41f896..ad81b914 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMaxLen.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMaxLen.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesMaxLen}
*/
public final class BytesMaxLen extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesMaxLen)
BytesMaxLenOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesMaxLen.class.getName());
+ }
// Use BytesMaxLen.newBuilder() to construct.
- private BytesMaxLen(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesMaxLen(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesMaxLen() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesMaxLen();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesMaxLen_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesMaxLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesMaxLen parseFrom(
}
public static build.buf.validate.conformance.cases.BytesMaxLen parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesMaxLen parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesMaxLen parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesMaxLen parseDelimitedFro
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesMaxLen parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesMaxLen parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesMaxLen}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesMaxLen)
build.buf.validate.conformance.cases.BytesMaxLenOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesMaxLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesMaxLen resu
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesMaxLen) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesMaxLen)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMaxLenOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMaxLenOrBuilder.java
index 1649f16b..7fc9e6cc 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMaxLenOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMaxLenOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesMaxLenOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinLen.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinLen.java
index 166d9265..b4907459 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinLen.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinLen.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesMinLen}
*/
public final class BytesMinLen extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesMinLen)
BytesMinLenOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesMinLen.class.getName());
+ }
// Use BytesMinLen.newBuilder() to construct.
- private BytesMinLen(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesMinLen(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesMinLen() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesMinLen();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesMinLen_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesMinLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesMinLen parseFrom(
}
public static build.buf.validate.conformance.cases.BytesMinLen parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesMinLen parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesMinLen parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesMinLen parseDelimitedFro
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesMinLen parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesMinLen parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesMinLen}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesMinLen)
build.buf.validate.conformance.cases.BytesMinLenOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesMinLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesMinLen resu
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesMinLen) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesMinLen)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinLenOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinLenOrBuilder.java
index 36bde2b1..e1232e73 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinLenOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinLenOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesMinLenOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinMaxLen.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinMaxLen.java
index 01f7d43c..bf92ed32 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinMaxLen.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinMaxLen.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesMinMaxLen}
*/
public final class BytesMinMaxLen extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesMinMaxLen)
BytesMinMaxLenOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesMinMaxLen.class.getName());
+ }
// Use BytesMinMaxLen.newBuilder() to construct.
- private BytesMinMaxLen(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesMinMaxLen(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesMinMaxLen() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesMinMaxLen();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesMinMaxLen_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesMinMaxLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesMinMaxLen parseFrom(
}
public static build.buf.validate.conformance.cases.BytesMinMaxLen parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesMinMaxLen parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesMinMaxLen parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesMinMaxLen parseDelimited
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesMinMaxLen parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesMinMaxLen parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesMinMaxLen}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesMinMaxLen)
build.buf.validate.conformance.cases.BytesMinMaxLenOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesMinMaxLen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesMinMaxLen r
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesMinMaxLen) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesMinMaxLen)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinMaxLenOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinMaxLenOrBuilder.java
index 988a93c7..248054a0 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinMaxLenOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesMinMaxLenOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesMinMaxLenOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNone.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNone.java
index 29ae2a85..5717d634 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNone.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNone.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesNone}
*/
public final class BytesNone extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesNone)
BytesNoneOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesNone.class.getName());
+ }
// Use BytesNone.newBuilder() to construct.
- private BytesNone(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesNone(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesNone() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesNone();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesNone_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesNone parseFrom(
}
public static build.buf.validate.conformance.cases.BytesNone parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesNone parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesNone parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesNone parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesNone parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesNone parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesNone}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesNone)
build.buf.validate.conformance.cases.BytesNoneOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesNone result
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesNone) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesNone)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNoneOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNoneOrBuilder.java
index f741da34..b5fe6d3f 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNoneOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNoneOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesNoneOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNotIn.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNotIn.java
index 3a0735d0..87544747 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNotIn.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNotIn.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesNotIn}
*/
public final class BytesNotIn extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesNotIn)
BytesNotInOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesNotIn.class.getName());
+ }
// Use BytesNotIn.newBuilder() to construct.
- private BytesNotIn(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesNotIn(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesNotIn() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesNotIn();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesNotIn_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesNotIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesNotIn parseFrom(
}
public static build.buf.validate.conformance.cases.BytesNotIn parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesNotIn parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesNotIn parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesNotIn parseDelimitedFrom
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesNotIn parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesNotIn parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesNotIn}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesNotIn)
build.buf.validate.conformance.cases.BytesNotInOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesNotIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesNotIn resul
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesNotIn) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesNotIn)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNotInOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNotInOrBuilder.java
index 329f2cc6..a776b24e 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNotInOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesNotInOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesNotInOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPattern.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPattern.java
index a6747f00..c227ad78 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPattern.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPattern.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesPattern}
*/
public final class BytesPattern extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesPattern)
BytesPatternOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesPattern.class.getName());
+ }
// Use BytesPattern.newBuilder() to construct.
- private BytesPattern(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesPattern(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesPattern() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesPattern();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesPattern_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesPattern_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesPattern parseFrom(
}
public static build.buf.validate.conformance.cases.BytesPattern parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesPattern parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesPattern parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesPattern parseDelimitedFr
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesPattern parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesPattern parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesPattern}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesPattern)
build.buf.validate.conformance.cases.BytesPatternOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesPattern_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesPattern res
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesPattern) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesPattern)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPatternOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPatternOrBuilder.java
index 0562bbed..2a981336 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPatternOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPatternOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesPatternOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPrefix.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPrefix.java
index 3088700f..77d8ad0b 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPrefix.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPrefix.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesPrefix}
*/
public final class BytesPrefix extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesPrefix)
BytesPrefixOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesPrefix.class.getName());
+ }
// Use BytesPrefix.newBuilder() to construct.
- private BytesPrefix(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesPrefix(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesPrefix() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesPrefix();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesPrefix_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesPrefix_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesPrefix parseFrom(
}
public static build.buf.validate.conformance.cases.BytesPrefix parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesPrefix parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesPrefix parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesPrefix parseDelimitedFro
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesPrefix parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesPrefix parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesPrefix}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesPrefix)
build.buf.validate.conformance.cases.BytesPrefixOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesPrefix_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesPrefix resu
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesPrefix) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesPrefix)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPrefixOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPrefixOrBuilder.java
index 7cdf065f..88a1a486 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPrefixOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesPrefixOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesPrefixOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesProto.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesProto.java
index f86278ce..9e9ce2a6 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesProto.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesProto.java
@@ -1,11 +1,21 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public final class BytesProto {
private BytesProto() {}
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesProto.class.getName());
+ }
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
@@ -18,87 +28,87 @@ public static void registerAllExtensions(
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesNone_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesNone_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesConst_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesConst_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesIn_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesIn_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesNotIn_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesNotIn_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesLen_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesLen_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesMinLen_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesMinLen_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesMaxLen_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesMaxLen_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesMinMaxLen_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesMinMaxLen_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesEqualMinMaxLen_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesEqualMinMaxLen_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesPattern_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesPattern_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesPrefix_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesPrefix_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesContains_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesContains_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesSuffix_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesSuffix_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesIP_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesIP_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesIPv4_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesIPv4_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesIPv6_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesIPv6_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_buf_validate_conformance_cases_BytesIPv6Ignore_descriptor;
static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_buf_validate_conformance_cases_BytesIPv6Ignore_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
@@ -145,111 +155,112 @@ public static void registerAllExtensions(
internal_static_buf_validate_conformance_cases_BytesNone_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_buf_validate_conformance_cases_BytesNone_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesNone_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesConst_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_buf_validate_conformance_cases_BytesConst_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesConst_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesIn_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_buf_validate_conformance_cases_BytesIn_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesIn_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesNotIn_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_buf_validate_conformance_cases_BytesNotIn_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesNotIn_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesLen_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_buf_validate_conformance_cases_BytesLen_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesLen_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesMinLen_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_buf_validate_conformance_cases_BytesMinLen_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesMinLen_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesMaxLen_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_buf_validate_conformance_cases_BytesMaxLen_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesMaxLen_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesMinMaxLen_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_buf_validate_conformance_cases_BytesMinMaxLen_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesMinMaxLen_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesEqualMinMaxLen_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_buf_validate_conformance_cases_BytesEqualMinMaxLen_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesEqualMinMaxLen_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesPattern_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_buf_validate_conformance_cases_BytesPattern_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesPattern_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesPrefix_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_buf_validate_conformance_cases_BytesPrefix_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesPrefix_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesContains_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_buf_validate_conformance_cases_BytesContains_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesContains_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesSuffix_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_buf_validate_conformance_cases_BytesSuffix_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesSuffix_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesIP_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_buf_validate_conformance_cases_BytesIP_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesIP_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesIPv4_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_buf_validate_conformance_cases_BytesIPv4_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesIPv4_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesIPv6_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_buf_validate_conformance_cases_BytesIPv6_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesIPv6_descriptor,
new java.lang.String[] { "Val", });
internal_static_buf_validate_conformance_cases_BytesIPv6Ignore_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_buf_validate_conformance_cases_BytesIPv6Ignore_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buf_validate_conformance_cases_BytesIPv6Ignore_descriptor,
new java.lang.String[] { "Val", });
+ descriptor.resolveAllFeaturesImmutable();
+ build.buf.validate.ValidateProto.getDescriptor();
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(build.buf.validate.ValidateProto.field);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
- build.buf.validate.ValidateProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesSuffix.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesSuffix.java
index f5dccbfd..0f568f05 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesSuffix.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesSuffix.java
@@ -1,39 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.BytesSuffix}
*/
public final class BytesSuffix extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.BytesSuffix)
BytesSuffixOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ BytesSuffix.class.getName());
+ }
// Use BytesSuffix.newBuilder() to construct.
- private BytesSuffix(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private BytesSuffix(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private BytesSuffix() {
val_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new BytesSuffix();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesSuffix_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesSuffix_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -150,20 +153,20 @@ public static build.buf.validate.conformance.cases.BytesSuffix parseFrom(
}
public static build.buf.validate.conformance.cases.BytesSuffix parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesSuffix parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesSuffix parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -171,20 +174,20 @@ public static build.buf.validate.conformance.cases.BytesSuffix parseDelimitedFro
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.BytesSuffix parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.BytesSuffix parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -204,7 +207,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -212,7 +215,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.BytesSuffix}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.BytesSuffix)
build.buf.validate.conformance.cases.BytesSuffixOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -221,7 +224,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.BytesProto.internal_static_buf_validate_conformance_cases_BytesSuffix_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -234,7 +237,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -281,38 +284,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.BytesSuffix resu
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.BytesSuffix) {
@@ -407,18 +378,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.BytesSuffix)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesSuffixOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesSuffixOrBuilder.java
index a87b473b..586a6e66 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/BytesSuffixOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/BytesSuffixOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/bytes.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface BytesSuffixOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestEnum.java b/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestEnum.java
index 0ad8f0a8..d4a5471b 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestEnum.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestEnum.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/kitchen_sink.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
@@ -24,6 +25,15 @@ public enum ComplexTestEnum
UNRECOGNIZED(-1),
;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ ComplexTestEnum.class.getName());
+ }
/**
* COMPLEX_TEST_ENUM_UNSPECIFIED = 0;
*/
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestMsg.java b/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestMsg.java
index aa103bf4..8cd12fac 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestMsg.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestMsg.java
@@ -1,19 +1,29 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/kitchen_sink.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.ComplexTestMsg}
*/
public final class ComplexTestMsg extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.ComplexTestMsg)
ComplexTestMsgOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ ComplexTestMsg.class.getName());
+ }
// Use ComplexTestMsg.newBuilder() to construct.
- private ComplexTestMsg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private ComplexTestMsg(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ComplexTestMsg() {
@@ -23,13 +33,6 @@ private ComplexTestMsg() {
bytesVal_ = com.google.protobuf.ByteString.EMPTY;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new ComplexTestMsg();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.KitchenSinkProto.internal_static_buf_validate_conformance_cases_ComplexTestMsg_descriptor;
@@ -48,7 +51,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
}
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.KitchenSinkProto.internal_static_buf_validate_conformance_cases_ComplexTestMsg_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -573,8 +576,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(const_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, const_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(const_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, const_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getNested());
@@ -612,7 +615,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < repTsVal_.size(); i++) {
output.writeMessage(13, repTsVal_.get(i));
}
- com.google.protobuf.GeneratedMessageV3
+ com.google.protobuf.GeneratedMessage
.serializeIntegerMapTo(
output,
internalGetMapVal(),
@@ -622,7 +625,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
output.writeBytes(15, bytesVal_);
}
if (oCase_ == 16) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 16, o_);
+ com.google.protobuf.GeneratedMessage.writeString(output, 16, o_);
}
if (oCase_ == 17) {
output.writeInt32(
@@ -637,8 +640,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(const_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, const_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(const_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, const_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
@@ -703,7 +706,7 @@ public int getSerializedSize() {
.computeBytesSize(15, bytesVal_);
}
if (oCase_ == 16) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, o_);
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(16, o_);
}
if (oCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
@@ -898,20 +901,20 @@ public static build.buf.validate.conformance.cases.ComplexTestMsg parseFrom(
}
public static build.buf.validate.conformance.cases.ComplexTestMsg parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.ComplexTestMsg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.ComplexTestMsg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -919,20 +922,20 @@ public static build.buf.validate.conformance.cases.ComplexTestMsg parseDelimited
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.ComplexTestMsg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.ComplexTestMsg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -952,7 +955,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -960,7 +963,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.ComplexTestMsg}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.ComplexTestMsg)
build.buf.validate.conformance.cases.ComplexTestMsgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -991,7 +994,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
}
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.KitchenSinkProto.internal_static_buf_validate_conformance_cases_ComplexTestMsg_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -1004,12 +1007,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getNestedFieldBuilder();
getFloatValFieldBuilder();
@@ -1188,38 +1191,6 @@ private void buildPartialOneofs(build.buf.validate.conformance.cases.ComplexTest
result.o_ = this.o_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.ComplexTestMsg) {
@@ -1289,7 +1260,7 @@ public Builder mergeFrom(build.buf.validate.conformance.cases.ComplexTestMsg oth
repTsVal_ = other.repTsVal_;
bitField0_ = (bitField0_ & ~0x00001000);
repTsValBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getRepTsValFieldBuilder() : null;
} else {
repTsValBuilder_.addAllMessages(other.repTsVal_);
@@ -1558,7 +1529,7 @@ public Builder setConstBytes(
}
private build.buf.validate.conformance.cases.ComplexTestMsg nested_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
build.buf.validate.conformance.cases.ComplexTestMsg, build.buf.validate.conformance.cases.ComplexTestMsg.Builder, build.buf.validate.conformance.cases.ComplexTestMsgOrBuilder> nestedBuilder_;
/**
* .buf.validate.conformance.cases.ComplexTestMsg nested = 2 [json_name = "nested"];
@@ -1664,11 +1635,11 @@ public build.buf.validate.conformance.cases.ComplexTestMsgOrBuilder getNestedOrB
/**
* .buf.validate.conformance.cases.ComplexTestMsg nested = 2 [json_name = "nested"];
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
build.buf.validate.conformance.cases.ComplexTestMsg, build.buf.validate.conformance.cases.ComplexTestMsg.Builder, build.buf.validate.conformance.cases.ComplexTestMsgOrBuilder>
getNestedFieldBuilder() {
if (nestedBuilder_ == null) {
- nestedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ nestedBuilder_ = new com.google.protobuf.SingleFieldBuilder<
build.buf.validate.conformance.cases.ComplexTestMsg, build.buf.validate.conformance.cases.ComplexTestMsg.Builder, build.buf.validate.conformance.cases.ComplexTestMsgOrBuilder>(
getNested(),
getParentForChildren(),
@@ -1743,7 +1714,7 @@ public Builder clearBoolConst() {
}
private com.google.protobuf.FloatValue floatVal_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder> floatValBuilder_;
/**
* .google.protobuf.FloatValue float_val = 5 [json_name = "floatVal", (.buf.validate.field) = { ... }
@@ -1849,11 +1820,11 @@ public com.google.protobuf.FloatValueOrBuilder getFloatValOrBuilder() {
/**
* .google.protobuf.FloatValue float_val = 5 [json_name = "floatVal", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder>
getFloatValFieldBuilder() {
if (floatValBuilder_ == null) {
- floatValBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ floatValBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder>(
getFloatVal(),
getParentForChildren(),
@@ -1864,7 +1835,7 @@ public com.google.protobuf.FloatValueOrBuilder getFloatValOrBuilder() {
}
private com.google.protobuf.Duration durVal_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durValBuilder_;
/**
* .google.protobuf.Duration dur_val = 6 [json_name = "durVal", (.buf.validate.field) = { ... }
@@ -1970,11 +1941,11 @@ public com.google.protobuf.DurationOrBuilder getDurValOrBuilder() {
/**
* .google.protobuf.Duration dur_val = 6 [json_name = "durVal", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getDurValFieldBuilder() {
if (durValBuilder_ == null) {
- durValBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ durValBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getDurVal(),
getParentForChildren(),
@@ -1985,7 +1956,7 @@ public com.google.protobuf.DurationOrBuilder getDurValOrBuilder() {
}
private com.google.protobuf.Timestamp tsVal_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> tsValBuilder_;
/**
* .google.protobuf.Timestamp ts_val = 7 [json_name = "tsVal", (.buf.validate.field) = { ... }
@@ -2091,11 +2062,11 @@ public com.google.protobuf.TimestampOrBuilder getTsValOrBuilder() {
/**
* .google.protobuf.Timestamp ts_val = 7 [json_name = "tsVal", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getTsValFieldBuilder() {
if (tsValBuilder_ == null) {
- tsValBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tsValBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getTsVal(),
getParentForChildren(),
@@ -2106,7 +2077,7 @@ public com.google.protobuf.TimestampOrBuilder getTsValOrBuilder() {
}
private build.buf.validate.conformance.cases.ComplexTestMsg another_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
build.buf.validate.conformance.cases.ComplexTestMsg, build.buf.validate.conformance.cases.ComplexTestMsg.Builder, build.buf.validate.conformance.cases.ComplexTestMsgOrBuilder> anotherBuilder_;
/**
* .buf.validate.conformance.cases.ComplexTestMsg another = 8 [json_name = "another"];
@@ -2212,11 +2183,11 @@ public build.buf.validate.conformance.cases.ComplexTestMsgOrBuilder getAnotherOr
/**
* .buf.validate.conformance.cases.ComplexTestMsg another = 8 [json_name = "another"];
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
build.buf.validate.conformance.cases.ComplexTestMsg, build.buf.validate.conformance.cases.ComplexTestMsg.Builder, build.buf.validate.conformance.cases.ComplexTestMsgOrBuilder>
getAnotherFieldBuilder() {
if (anotherBuilder_ == null) {
- anotherBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ anotherBuilder_ = new com.google.protobuf.SingleFieldBuilder<
build.buf.validate.conformance.cases.ComplexTestMsg, build.buf.validate.conformance.cases.ComplexTestMsg.Builder, build.buf.validate.conformance.cases.ComplexTestMsgOrBuilder>(
getAnother(),
getParentForChildren(),
@@ -2344,7 +2315,7 @@ public Builder clearEnumConst() {
}
private com.google.protobuf.Any anyVal_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> anyValBuilder_;
/**
* .google.protobuf.Any any_val = 12 [json_name = "anyVal", (.buf.validate.field) = { ... }
@@ -2450,11 +2421,11 @@ public com.google.protobuf.AnyOrBuilder getAnyValOrBuilder() {
/**
* .google.protobuf.Any any_val = 12 [json_name = "anyVal", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>
getAnyValFieldBuilder() {
if (anyValBuilder_ == null) {
- anyValBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ anyValBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
getAnyVal(),
getParentForChildren(),
@@ -2473,7 +2444,7 @@ private void ensureRepTsValIsMutable() {
}
}
- private com.google.protobuf.RepeatedFieldBuilderV3<
+ private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> repTsValBuilder_;
/**
@@ -2689,11 +2660,11 @@ public com.google.protobuf.Timestamp.Builder addRepTsValBuilder(
getRepTsValBuilderList() {
return getRepTsValFieldBuilder().getBuilderList();
}
- private com.google.protobuf.RepeatedFieldBuilderV3<
+ private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getRepTsValFieldBuilder() {
if (repTsValBuilder_ == null) {
- repTsValBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+ repTsValBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
repTsVal_,
((bitField0_ & 0x00001000) != 0),
@@ -2997,18 +2968,6 @@ public Builder clearY() {
}
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.ComplexTestMsg)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestMsgOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestMsgOrBuilder.java
index 0929e788..2ae94ac1 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestMsgOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/ComplexTestMsgOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/kitchen_sink.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface ComplexTestMsgOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleConst.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleConst.java
index d41b1e01..69cb6903 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleConst.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleConst.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleConst}
*/
public final class DoubleConst extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleConst)
DoubleConstOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleConst.class.getName());
+ }
// Use DoubleConst.newBuilder() to construct.
- private DoubleConst(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleConst(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleConst() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleConst();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleConst_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleConst_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleConst parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleConst parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleConst parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleConst parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleConst parseDelimitedFro
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleConst parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleConst parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleConst}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleConst)
build.buf.validate.conformance.cases.DoubleConstOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleConst_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleConst resu
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleConst) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleConst)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleConstOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleConstOrBuilder.java
index 534ae50d..8a7f46b3 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleConstOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleConstOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleConstOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExGTELTE.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExGTELTE.java
index 5e36c01d..6387db97 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExGTELTE.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExGTELTE.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleExGTELTE}
*/
public final class DoubleExGTELTE extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleExGTELTE)
DoubleExGTELTEOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleExGTELTE.class.getName());
+ }
// Use DoubleExGTELTE.newBuilder() to construct.
- private DoubleExGTELTE(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleExGTELTE(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleExGTELTE() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleExGTELTE();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleExGTELTE_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleExGTELTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleExGTELTE parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleExGTELTE parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleExGTELTE parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleExGTELTE parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleExGTELTE parseDelimited
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleExGTELTE parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleExGTELTE parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleExGTELTE}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleExGTELTE)
build.buf.validate.conformance.cases.DoubleExGTELTEOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleExGTELTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleExGTELTE r
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleExGTELTE) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleExGTELTE)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExGTELTEOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExGTELTEOrBuilder.java
index bfc9b13a..6c809479 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExGTELTEOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExGTELTEOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleExGTELTEOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExLTGT.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExLTGT.java
index 75c77a3d..1a399ed4 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExLTGT.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExLTGT.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleExLTGT}
*/
public final class DoubleExLTGT extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleExLTGT)
DoubleExLTGTOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleExLTGT.class.getName());
+ }
// Use DoubleExLTGT.newBuilder() to construct.
- private DoubleExLTGT(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleExLTGT(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleExLTGT() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleExLTGT();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleExLTGT_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleExLTGT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleExLTGT parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleExLTGT parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleExLTGT parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleExLTGT parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleExLTGT parseDelimitedFr
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleExLTGT parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleExLTGT parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleExLTGT}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleExLTGT)
build.buf.validate.conformance.cases.DoubleExLTGTOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleExLTGT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleExLTGT res
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleExLTGT) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleExLTGT)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExLTGTOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExLTGTOrBuilder.java
index 6d283e38..4600bf89 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExLTGTOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleExLTGTOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleExLTGTOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleFinite.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleFinite.java
index 02759233..6f11d870 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleFinite.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleFinite.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleFinite}
*/
public final class DoubleFinite extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleFinite)
DoubleFiniteOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleFinite.class.getName());
+ }
// Use DoubleFinite.newBuilder() to construct.
- private DoubleFinite(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleFinite(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleFinite() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleFinite();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleFinite_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleFinite_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleFinite parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleFinite parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleFinite parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleFinite parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleFinite parseDelimitedFr
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleFinite parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleFinite parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleFinite}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleFinite)
build.buf.validate.conformance.cases.DoubleFiniteOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleFinite_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleFinite res
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleFinite) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleFinite)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleFiniteOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleFiniteOrBuilder.java
index b18d864e..04fd753b 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleFiniteOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleFiniteOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleFiniteOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGT.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGT.java
index 1652b3bd..8c11485c 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGT.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGT.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleGT}
*/
public final class DoubleGT extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleGT)
DoubleGTOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleGT.class.getName());
+ }
// Use DoubleGT.newBuilder() to construct.
- private DoubleGT(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleGT(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleGT() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleGT();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGT_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleGT parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleGT parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleGT parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleGT parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleGT parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleGT parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleGT parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleGT}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleGT)
build.buf.validate.conformance.cases.DoubleGTOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleGT result)
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleGT) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleGT)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTE.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTE.java
index 40b68fe0..99b938ee 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTE.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTE.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleGTE}
*/
public final class DoubleGTE extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleGTE)
DoubleGTEOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleGTE.class.getName());
+ }
// Use DoubleGTE.newBuilder() to construct.
- private DoubleGTE(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleGTE(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleGTE() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleGTE();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGTE_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleGTE parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleGTE parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleGTE parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleGTE parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleGTE parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleGTE parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleGTE parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleGTE}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleGTE)
build.buf.validate.conformance.cases.DoubleGTEOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleGTE result
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleGTE) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleGTE)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTELTE.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTELTE.java
index 72b93b14..be4d0393 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTELTE.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTELTE.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleGTELTE}
*/
public final class DoubleGTELTE extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleGTELTE)
DoubleGTELTEOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleGTELTE.class.getName());
+ }
// Use DoubleGTELTE.newBuilder() to construct.
- private DoubleGTELTE(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleGTELTE(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleGTELTE() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleGTELTE();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGTELTE_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGTELTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleGTELTE parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleGTELTE parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleGTELTE parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleGTELTE parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleGTELTE parseDelimitedFr
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleGTELTE parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleGTELTE parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleGTELTE}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleGTELTE)
build.buf.validate.conformance.cases.DoubleGTELTEOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGTELTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleGTELTE res
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleGTELTE) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleGTELTE)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTELTEOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTELTEOrBuilder.java
index c8432838..78631f27 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTELTEOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTELTEOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleGTELTEOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTEOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTEOrBuilder.java
index 6253e570..c4441530 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTEOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTEOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleGTEOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTLT.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTLT.java
index 96d69448..22549c98 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTLT.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTLT.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleGTLT}
*/
public final class DoubleGTLT extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleGTLT)
DoubleGTLTOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleGTLT.class.getName());
+ }
// Use DoubleGTLT.newBuilder() to construct.
- private DoubleGTLT(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleGTLT(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleGTLT() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleGTLT();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGTLT_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGTLT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleGTLT parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleGTLT parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleGTLT parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleGTLT parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleGTLT parseDelimitedFrom
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleGTLT parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleGTLT parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleGTLT}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleGTLT)
build.buf.validate.conformance.cases.DoubleGTLTOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleGTLT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleGTLT resul
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleGTLT) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleGTLT)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTLTOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTLTOrBuilder.java
index 3b3d73cd..b95b1293 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTLTOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTLTOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleGTLTOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTOrBuilder.java
index d7615f19..8ae342bb 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleGTOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleGTOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIgnore.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIgnore.java
index 6aecbed0..7aa30327 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIgnore.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIgnore.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleIgnore}
*/
public final class DoubleIgnore extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleIgnore)
DoubleIgnoreOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleIgnore.class.getName());
+ }
// Use DoubleIgnore.newBuilder() to construct.
- private DoubleIgnore(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleIgnore(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleIgnore() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleIgnore();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleIgnore_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleIgnore_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleIgnore parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleIgnore parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleIgnore parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleIgnore parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleIgnore parseDelimitedFr
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleIgnore parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleIgnore parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleIgnore}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleIgnore)
build.buf.validate.conformance.cases.DoubleIgnoreOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleIgnore_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleIgnore res
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleIgnore) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleIgnore)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIgnoreOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIgnoreOrBuilder.java
index 11d14eee..9939d647 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIgnoreOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIgnoreOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleIgnoreOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIn.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIn.java
index 7cba129a..2e1f9c09 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIn.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIn.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleIn}
*/
public final class DoubleIn extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleIn)
DoubleInOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleIn.class.getName());
+ }
// Use DoubleIn.newBuilder() to construct.
- private DoubleIn(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleIn(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleIn() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleIn();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleIn_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleIn parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleIn parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleIn parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleIn parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleIn parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleIn parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleIn parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleIn}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleIn)
build.buf.validate.conformance.cases.DoubleInOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleIn result)
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleIn) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleIn)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleInOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleInOrBuilder.java
index 1778574e..9e0a92dc 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleInOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleInOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleInOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIncorrectType.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIncorrectType.java
index 65237c9d..5dfd0cd2 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIncorrectType.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIncorrectType.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleIncorrectType}
*/
public final class DoubleIncorrectType extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleIncorrectType)
DoubleIncorrectTypeOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleIncorrectType.class.getName());
+ }
// Use DoubleIncorrectType.newBuilder() to construct.
- private DoubleIncorrectType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleIncorrectType(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleIncorrectType() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleIncorrectType();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleIncorrectType_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleIncorrectType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleIncorrectType parseFrom
}
public static build.buf.validate.conformance.cases.DoubleIncorrectType parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleIncorrectType parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleIncorrectType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleIncorrectType parseDeli
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleIncorrectType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleIncorrectType parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleIncorrectType}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleIncorrectType)
build.buf.validate.conformance.cases.DoubleIncorrectTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleIncorrectType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleIncorrectT
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleIncorrectType) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleIncorrectType)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIncorrectTypeOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIncorrectTypeOrBuilder.java
index 1403a958..a31cc816 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIncorrectTypeOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleIncorrectTypeOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleIncorrectTypeOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLT.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLT.java
index e2d105c6..471449b5 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLT.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLT.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleLT}
*/
public final class DoubleLT extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleLT)
DoubleLTOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleLT.class.getName());
+ }
// Use DoubleLT.newBuilder() to construct.
- private DoubleLT(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleLT(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleLT() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleLT();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleLT_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleLT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleLT parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleLT parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleLT parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleLT parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleLT parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleLT parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleLT parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleLT}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleLT)
build.buf.validate.conformance.cases.DoubleLTOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleLT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleLT result)
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleLT) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleLT)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTE.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTE.java
index 33119693..bbf2fb0a 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTE.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTE.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleLTE}
*/
public final class DoubleLTE extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleLTE)
DoubleLTEOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleLTE.class.getName());
+ }
// Use DoubleLTE.newBuilder() to construct.
- private DoubleLTE(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleLTE(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleLTE() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleLTE();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleLTE_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleLTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleLTE parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleLTE parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleLTE parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleLTE parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleLTE parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleLTE parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleLTE parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleLTE}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleLTE)
build.buf.validate.conformance.cases.DoubleLTEOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleLTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleLTE result
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleLTE) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleLTE)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTEOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTEOrBuilder.java
index c8710d85..60ee7139 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTEOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTEOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleLTEOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTOrBuilder.java
index dd18a966..c8e876e3 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleLTOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleLTOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNone.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNone.java
index abf04b25..b025d340 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNone.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNone.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleNone}
*/
public final class DoubleNone extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleNone)
DoubleNoneOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleNone.class.getName());
+ }
// Use DoubleNone.newBuilder() to construct.
- private DoubleNone(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleNone(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleNone() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleNone();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleNone_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleNone parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleNone parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleNone parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleNone parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleNone parseDelimitedFrom
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleNone parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleNone parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleNone}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleNone)
build.buf.validate.conformance.cases.DoubleNoneOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleNone resul
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleNone) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleNone)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNoneOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNoneOrBuilder.java
index a45e66b7..45d7d754 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNoneOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNoneOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleNoneOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNotIn.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNotIn.java
index 9005c907..cc250c22 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNotIn.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNotIn.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DoubleNotIn}
*/
public final class DoubleNotIn extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DoubleNotIn)
DoubleNotInOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DoubleNotIn.class.getName());
+ }
// Use DoubleNotIn.newBuilder() to construct.
- private DoubleNotIn(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DoubleNotIn(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DoubleNotIn() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DoubleNotIn();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleNotIn_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleNotIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -151,20 +154,20 @@ public static build.buf.validate.conformance.cases.DoubleNotIn parseFrom(
}
public static build.buf.validate.conformance.cases.DoubleNotIn parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleNotIn parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleNotIn parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -172,20 +175,20 @@ public static build.buf.validate.conformance.cases.DoubleNotIn parseDelimitedFro
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DoubleNotIn parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DoubleNotIn parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -205,7 +208,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -213,7 +216,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DoubleNotIn}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DoubleNotIn)
build.buf.validate.conformance.cases.DoubleNotInOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -222,7 +225,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.NumbersProto.internal_static_buf_validate_conformance_cases_DoubleNotIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -235,7 +238,7 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -282,38 +285,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DoubleNotIn resu
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DoubleNotIn) {
@@ -408,18 +379,6 @@ public Builder clearVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DoubleNotIn)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNotInOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNotInOrBuilder.java
index c72f9e2e..8004f0e3 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNotInOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DoubleNotInOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/numbers.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DoubleNotInOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationConst.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationConst.java
index 973842b9..07fdbad8 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationConst.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationConst.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationConst}
*/
public final class DurationConst extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationConst)
DurationConstOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationConst.class.getName());
+ }
// Use DurationConst.newBuilder() to construct.
- private DurationConst(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationConst(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationConst() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationConst();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationConst_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationConst_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationConst parseFrom(
}
public static build.buf.validate.conformance.cases.DurationConst parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationConst parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationConst parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationConst parseDelimitedF
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationConst parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationConst parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationConst}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationConst)
build.buf.validate.conformance.cases.DurationConstOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationConst_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationConst re
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationConst) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationConst)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationConstOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationConstOrBuilder.java
index 647f9f28..52f7d42b 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationConstOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationConstOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationConstOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExGTELTE.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExGTELTE.java
index 4247da93..6032a39f 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExGTELTE.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExGTELTE.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationExGTELTE}
*/
public final class DurationExGTELTE extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationExGTELTE)
DurationExGTELTEOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationExGTELTE.class.getName());
+ }
// Use DurationExGTELTE.newBuilder() to construct.
- private DurationExGTELTE(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationExGTELTE(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationExGTELTE() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationExGTELTE();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationExGTELTE_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationExGTELTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationExGTELTE parseFrom(
}
public static build.buf.validate.conformance.cases.DurationExGTELTE parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationExGTELTE parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationExGTELTE parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationExGTELTE parseDelimit
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationExGTELTE parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationExGTELTE parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationExGTELTE}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationExGTELTE)
build.buf.validate.conformance.cases.DurationExGTELTEOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationExGTELTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationExGTELTE
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationExGTELTE) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationExGTELTE)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExGTELTEOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExGTELTEOrBuilder.java
index 839ec01b..ffc6a1eb 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExGTELTEOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExGTELTEOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationExGTELTEOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExLTGT.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExLTGT.java
index b689c574..f206ebb6 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExLTGT.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExLTGT.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationExLTGT}
*/
public final class DurationExLTGT extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationExLTGT)
DurationExLTGTOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationExLTGT.class.getName());
+ }
// Use DurationExLTGT.newBuilder() to construct.
- private DurationExLTGT(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationExLTGT(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationExLTGT() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationExLTGT();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationExLTGT_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationExLTGT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationExLTGT parseFrom(
}
public static build.buf.validate.conformance.cases.DurationExLTGT parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationExLTGT parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationExLTGT parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationExLTGT parseDelimited
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationExLTGT parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationExLTGT parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationExLTGT}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationExLTGT)
build.buf.validate.conformance.cases.DurationExLTGTOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationExLTGT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationExLTGT r
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationExLTGT) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationExLTGT)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExLTGTOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExLTGTOrBuilder.java
index 02ae33e2..3dbd6308 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExLTGTOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationExLTGTOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationExLTGTOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationFieldWithOtherFields.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationFieldWithOtherFields.java
index 69f480ee..2a8870c8 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationFieldWithOtherFields.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationFieldWithOtherFields.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
@@ -13,31 +14,33 @@
* Protobuf type {@code buf.validate.conformance.cases.DurationFieldWithOtherFields}
*/
public final class DurationFieldWithOtherFields extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationFieldWithOtherFields)
DurationFieldWithOtherFieldsOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationFieldWithOtherFields.class.getName());
+ }
// Use DurationFieldWithOtherFields.newBuilder() to construct.
- private DurationFieldWithOtherFields(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationFieldWithOtherFields(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationFieldWithOtherFields() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationFieldWithOtherFields();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationFieldWithOtherFields_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationFieldWithOtherFields_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -197,20 +200,20 @@ public static build.buf.validate.conformance.cases.DurationFieldWithOtherFields
}
public static build.buf.validate.conformance.cases.DurationFieldWithOtherFields parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationFieldWithOtherFields parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationFieldWithOtherFields parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -218,20 +221,20 @@ public static build.buf.validate.conformance.cases.DurationFieldWithOtherFields
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationFieldWithOtherFields parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationFieldWithOtherFields parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -251,7 +254,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -264,7 +267,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationFieldWithOtherFields}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationFieldWithOtherFields)
build.buf.validate.conformance.cases.DurationFieldWithOtherFieldsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -273,7 +276,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationFieldWithOtherFields_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -286,12 +289,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getDurationValFieldBuilder();
}
@@ -352,38 +355,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationFieldWit
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationFieldWithOtherFields) {
@@ -458,7 +429,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration durationVal_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationValBuilder_;
/**
* .google.protobuf.Duration duration_val = 1 [json_name = "durationVal", (.buf.validate.field) = { ... }
@@ -564,11 +535,11 @@ public com.google.protobuf.DurationOrBuilder getDurationValOrBuilder() {
/**
* .google.protobuf.Duration duration_val = 1 [json_name = "durationVal", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getDurationValFieldBuilder() {
if (durationValBuilder_ == null) {
- durationValBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ durationValBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getDurationVal(),
getParentForChildren(),
@@ -609,18 +580,6 @@ public Builder clearIntVal() {
onChanged();
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationFieldWithOtherFields)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationFieldWithOtherFieldsOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationFieldWithOtherFieldsOrBuilder.java
index 9fa44e66..ee7c0584 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationFieldWithOtherFieldsOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationFieldWithOtherFieldsOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationFieldWithOtherFieldsOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGT.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGT.java
index ff644744..1270df61 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGT.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGT.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationGT}
*/
public final class DurationGT extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationGT)
DurationGTOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationGT.class.getName());
+ }
// Use DurationGT.newBuilder() to construct.
- private DurationGT(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationGT(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationGT() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationGT();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGT_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationGT parseFrom(
}
public static build.buf.validate.conformance.cases.DurationGT parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationGT parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationGT parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationGT parseDelimitedFrom
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationGT parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationGT parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationGT}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationGT)
build.buf.validate.conformance.cases.DurationGTOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationGT resul
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationGT) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationGT)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTE.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTE.java
index 4d935fd7..fc0c122b 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTE.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTE.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationGTE}
*/
public final class DurationGTE extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationGTE)
DurationGTEOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationGTE.class.getName());
+ }
// Use DurationGTE.newBuilder() to construct.
- private DurationGTE(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationGTE(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationGTE() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationGTE();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGTE_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationGTE parseFrom(
}
public static build.buf.validate.conformance.cases.DurationGTE parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationGTE parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationGTE parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationGTE parseDelimitedFro
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationGTE parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationGTE parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationGTE}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationGTE)
build.buf.validate.conformance.cases.DurationGTEOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationGTE resu
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationGTE) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationGTE)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTELTE.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTELTE.java
index 0592ba81..19903d2f 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTELTE.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTELTE.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationGTELTE}
*/
public final class DurationGTELTE extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationGTELTE)
DurationGTELTEOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationGTELTE.class.getName());
+ }
// Use DurationGTELTE.newBuilder() to construct.
- private DurationGTELTE(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationGTELTE(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationGTELTE() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationGTELTE();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGTELTE_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGTELTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationGTELTE parseFrom(
}
public static build.buf.validate.conformance.cases.DurationGTELTE parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationGTELTE parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationGTELTE parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationGTELTE parseDelimited
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationGTELTE parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationGTELTE parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationGTELTE}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationGTELTE)
build.buf.validate.conformance.cases.DurationGTELTEOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGTELTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationGTELTE r
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationGTELTE) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationGTELTE)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTELTEOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTELTEOrBuilder.java
index ae549ebb..d9f19f59 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTELTEOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTELTEOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationGTELTEOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTEOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTEOrBuilder.java
index 842c0b38..8a60736b 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTEOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTEOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationGTEOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTLT.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTLT.java
index 0351f24e..2ad7edd1 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTLT.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTLT.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationGTLT}
*/
public final class DurationGTLT extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationGTLT)
DurationGTLTOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationGTLT.class.getName());
+ }
// Use DurationGTLT.newBuilder() to construct.
- private DurationGTLT(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationGTLT(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationGTLT() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationGTLT();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGTLT_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGTLT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationGTLT parseFrom(
}
public static build.buf.validate.conformance.cases.DurationGTLT parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationGTLT parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationGTLT parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationGTLT parseDelimitedFr
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationGTLT parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationGTLT parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationGTLT}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationGTLT)
build.buf.validate.conformance.cases.DurationGTLTOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationGTLT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationGTLT res
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationGTLT) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationGTLT)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTLTOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTLTOrBuilder.java
index 41a68e7d..1718a757 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTLTOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTLTOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationGTLTOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTOrBuilder.java
index ad19a858..0d01d3a0 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationGTOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationGTOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationIn.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationIn.java
index bbdf71d6..55f71911 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationIn.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationIn.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationIn}
*/
public final class DurationIn extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationIn)
DurationInOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationIn.class.getName());
+ }
// Use DurationIn.newBuilder() to construct.
- private DurationIn(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationIn(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationIn() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationIn();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationIn_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationIn parseFrom(
}
public static build.buf.validate.conformance.cases.DurationIn parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationIn parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationIn parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationIn parseDelimitedFrom
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationIn parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationIn parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationIn}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationIn)
build.buf.validate.conformance.cases.DurationInOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationIn resul
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationIn) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationIn)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationInOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationInOrBuilder.java
index 02296a4b..435ada20 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationInOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationInOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationInOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLT.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLT.java
index 0e55d068..afe4edb1 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLT.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLT.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationLT}
*/
public final class DurationLT extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationLT)
DurationLTOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationLT.class.getName());
+ }
// Use DurationLT.newBuilder() to construct.
- private DurationLT(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationLT(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationLT() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationLT();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationLT_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationLT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationLT parseFrom(
}
public static build.buf.validate.conformance.cases.DurationLT parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationLT parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationLT parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationLT parseDelimitedFrom
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationLT parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationLT parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationLT}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationLT)
build.buf.validate.conformance.cases.DurationLTOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationLT_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationLT resul
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationLT) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationLT)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTE.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTE.java
index 2389ef46..e8524813 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTE.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTE.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationLTE}
*/
public final class DurationLTE extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationLTE)
DurationLTEOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationLTE.class.getName());
+ }
// Use DurationLTE.newBuilder() to construct.
- private DurationLTE(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationLTE(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationLTE() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationLTE();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationLTE_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationLTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationLTE parseFrom(
}
public static build.buf.validate.conformance.cases.DurationLTE parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationLTE parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationLTE parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationLTE parseDelimitedFro
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationLTE parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationLTE parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationLTE}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationLTE)
build.buf.validate.conformance.cases.DurationLTEOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationLTE_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationLTE resu
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationLTE) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationLTE)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTEOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTEOrBuilder.java
index 709f6202..900bf190 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTEOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTEOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationLTEOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTOrBuilder.java
index 7fb3f91d..d5ff358e 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationLTOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationLTOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNone.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNone.java
index d7714b8f..f99547a6 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNone.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNone.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationNone}
*/
public final class DurationNone extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationNone)
DurationNoneOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationNone.class.getName());
+ }
// Use DurationNone.newBuilder() to construct.
- private DurationNone(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationNone(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationNone() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationNone();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationNone_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationNone parseFrom(
}
public static build.buf.validate.conformance.cases.DurationNone parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationNone parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationNone parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationNone parseDelimitedFr
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationNone parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationNone parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationNone}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationNone)
build.buf.validate.conformance.cases.DurationNoneOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationNone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationNone res
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationNone) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val"];
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val"];
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationNone)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNoneOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNoneOrBuilder.java
index 1f67144d..e60d0532 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNoneOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNoneOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationNoneOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNotIn.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNotIn.java
index 34cc09bf..0c8b3834 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNotIn.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNotIn.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationNotIn}
*/
public final class DurationNotIn extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationNotIn)
DurationNotInOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationNotIn.class.getName());
+ }
// Use DurationNotIn.newBuilder() to construct.
- private DurationNotIn(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationNotIn(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationNotIn() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationNotIn();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationNotIn_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationNotIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationNotIn parseFrom(
}
public static build.buf.validate.conformance.cases.DurationNotIn parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationNotIn parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationNotIn parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationNotIn parseDelimitedF
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationNotIn parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationNotIn parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationNotIn}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationNotIn)
build.buf.validate.conformance.cases.DurationNotInOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationNotIn_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationNotIn re
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationNotIn) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationNotIn)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNotInOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNotInOrBuilder.java
index bb9dd39a..b181dcc6 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNotInOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationNotInOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationNotInOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationRequired.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationRequired.java
index c40fd599..ba6ddb06 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationRequired.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationRequired.java
@@ -1,38 +1,41 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
/**
* Protobuf type {@code buf.validate.conformance.cases.DurationRequired}
*/
public final class DurationRequired extends
- com.google.protobuf.GeneratedMessageV3 implements
+ com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.DurationRequired)
DurationRequiredOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ DurationRequired.class.getName());
+ }
// Use DurationRequired.newBuilder() to construct.
- private DurationRequired(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DurationRequired(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DurationRequired() {
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DurationRequired();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationRequired_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationRequired_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -170,20 +173,20 @@ public static build.buf.validate.conformance.cases.DurationRequired parseFrom(
}
public static build.buf.validate.conformance.cases.DurationRequired parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationRequired parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationRequired parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
@@ -191,20 +194,20 @@ public static build.buf.validate.conformance.cases.DurationRequired parseDelimit
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static build.buf.validate.conformance.cases.DurationRequired parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static build.buf.validate.conformance.cases.DurationRequired parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
+ return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -224,7 +227,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -232,7 +235,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code buf.validate.conformance.cases.DurationRequired}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
+ com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.DurationRequired)
build.buf.validate.conformance.cases.DurationRequiredOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -241,7 +244,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.buf.validate.conformance.cases.WktDurationProto.internal_static_buf_validate_conformance_cases_DurationRequired_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -254,12 +257,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
+ if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getValFieldBuilder();
}
@@ -316,38 +319,6 @@ private void buildPartial0(build.buf.validate.conformance.cases.DurationRequired
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.buf.validate.conformance.cases.DurationRequired) {
@@ -414,7 +385,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration val_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> valBuilder_;
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
@@ -520,11 +491,11 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
/**
* .google.protobuf.Duration val = 1 [json_name = "val", (.buf.validate.field) = { ... }
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getValFieldBuilder() {
if (valBuilder_ == null) {
- valBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ valBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getVal(),
getParentForChildren(),
@@ -533,18 +504,6 @@ public com.google.protobuf.DurationOrBuilder getValOrBuilder() {
}
return valBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.DurationRequired)
}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationRequiredOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationRequiredOrBuilder.java
index 474a9b83..92db1252 100644
--- a/conformance/src/main/java/build/buf/validate/conformance/cases/DurationRequiredOrBuilder.java
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/DurationRequiredOrBuilder.java
@@ -1,7 +1,8 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/conformance/cases/wkt_duration.proto
+// Protobuf Java Version: 4.27.3
-// Protobuf Java Version: 3.25.3
package build.buf.validate.conformance.cases;
public interface DurationRequiredOrBuilder extends
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreDefault.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreDefault.java
new file mode 100644
index 00000000..eac074f9
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreDefault.java
@@ -0,0 +1,640 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+/**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapIgnoreDefault}
+ */
+public final class EditionsMapIgnoreDefault extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.EditionsMapIgnoreDefault)
+ EditionsMapIgnoreDefaultOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ EditionsMapIgnoreDefault.class.getName());
+ }
+ // Use EditionsMapIgnoreDefault.newBuilder() to construct.
+ private EditionsMapIgnoreDefault(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private EditionsMapIgnoreDefault() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreDefault_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreDefault_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapIgnoreDefault.class, build.buf.validate.conformance.cases.EditionsMapIgnoreDefault.Builder.class);
+ }
+
+ public static final int VAL_FIELD_NUMBER = 1;
+ private static final class ValDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.Integer, java.lang.Integer> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreDefault_ValEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0);
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ com.google.protobuf.GeneratedMessage
+ .serializeIntegerMapTo(
+ output,
+ internalGetVal(),
+ ValDefaultEntryHolder.defaultEntry,
+ 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry entry
+ : internalGetVal().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ val__ = ValDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, val__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof build.buf.validate.conformance.cases.EditionsMapIgnoreDefault)) {
+ return super.equals(obj);
+ }
+ build.buf.validate.conformance.cases.EditionsMapIgnoreDefault other = (build.buf.validate.conformance.cases.EditionsMapIgnoreDefault) obj;
+
+ if (!internalGetVal().equals(
+ other.internalGetVal())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetVal().getMap().isEmpty()) {
+ hash = (37 * hash) + VAL_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetVal().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(build.buf.validate.conformance.cases.EditionsMapIgnoreDefault prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapIgnoreDefault}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder implements
+ // @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.EditionsMapIgnoreDefault)
+ build.buf.validate.conformance.cases.EditionsMapIgnoreDefaultOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreDefault_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreDefault_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapIgnoreDefault.class, build.buf.validate.conformance.cases.EditionsMapIgnoreDefault.Builder.class);
+ }
+
+ // Construct using build.buf.validate.conformance.cases.EditionsMapIgnoreDefault.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableVal().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreDefault_descriptor;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreDefault getDefaultInstanceForType() {
+ return build.buf.validate.conformance.cases.EditionsMapIgnoreDefault.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreDefault build() {
+ build.buf.validate.conformance.cases.EditionsMapIgnoreDefault result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreDefault buildPartial() {
+ build.buf.validate.conformance.cases.EditionsMapIgnoreDefault result = new build.buf.validate.conformance.cases.EditionsMapIgnoreDefault(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(build.buf.validate.conformance.cases.EditionsMapIgnoreDefault result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.val_ = internalGetVal();
+ result.val_.makeImmutable();
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof build.buf.validate.conformance.cases.EditionsMapIgnoreDefault) {
+ return mergeFrom((build.buf.validate.conformance.cases.EditionsMapIgnoreDefault)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(build.buf.validate.conformance.cases.EditionsMapIgnoreDefault other) {
+ if (other == build.buf.validate.conformance.cases.EditionsMapIgnoreDefault.getDefaultInstance()) return this;
+ internalGetMutableVal().mergeFrom(
+ other.internalGetVal());
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.protobuf.MapEntry
+ val__ = input.readMessage(
+ ValDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableVal().getMutableMap().put(
+ val__.getKey(), val__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableVal() {
+ if (val_ == null) {
+ val_ = com.google.protobuf.MapField.newMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ if (!val_.isMutable()) {
+ val_ = val_.copy();
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearVal() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableVal().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder removeVal(
+ int key) {
+
+ internalGetMutableVal().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableVal() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableVal().getMutableMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putVal(
+ int key,
+ int value) {
+
+
+ internalGetMutableVal().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putAllVal(
+ java.util.Map values) {
+ internalGetMutableVal().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.EditionsMapIgnoreDefault)
+ }
+
+ // @@protoc_insertion_point(class_scope:buf.validate.conformance.cases.EditionsMapIgnoreDefault)
+ private static final build.buf.validate.conformance.cases.EditionsMapIgnoreDefault DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new build.buf.validate.conformance.cases.EditionsMapIgnoreDefault();
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreDefault getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public EditionsMapIgnoreDefault parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreDefault getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreDefaultOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreDefaultOrBuilder.java
new file mode 100644
index 00000000..31a78ed6
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreDefaultOrBuilder.java
@@ -0,0 +1,43 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+public interface EditionsMapIgnoreDefaultOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:buf.validate.conformance.cases.EditionsMapIgnoreDefault)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValCount();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ boolean containsVal(
+ int key);
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getVal();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ java.util.Map
+ getValMap();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrDefault(
+ int key,
+ int defaultValue);
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrThrow(
+ int key);
+}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreEmpty.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreEmpty.java
new file mode 100644
index 00000000..1c4d3fb1
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreEmpty.java
@@ -0,0 +1,640 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+/**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapIgnoreEmpty}
+ */
+public final class EditionsMapIgnoreEmpty extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.EditionsMapIgnoreEmpty)
+ EditionsMapIgnoreEmptyOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ EditionsMapIgnoreEmpty.class.getName());
+ }
+ // Use EditionsMapIgnoreEmpty.newBuilder() to construct.
+ private EditionsMapIgnoreEmpty(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private EditionsMapIgnoreEmpty() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreEmpty_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreEmpty_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty.class, build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty.Builder.class);
+ }
+
+ public static final int VAL_FIELD_NUMBER = 1;
+ private static final class ValDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.Integer, java.lang.Integer> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreEmpty_ValEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0);
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ com.google.protobuf.GeneratedMessage
+ .serializeIntegerMapTo(
+ output,
+ internalGetVal(),
+ ValDefaultEntryHolder.defaultEntry,
+ 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry entry
+ : internalGetVal().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ val__ = ValDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, val__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty)) {
+ return super.equals(obj);
+ }
+ build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty other = (build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty) obj;
+
+ if (!internalGetVal().equals(
+ other.internalGetVal())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetVal().getMap().isEmpty()) {
+ hash = (37 * hash) + VAL_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetVal().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapIgnoreEmpty}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder implements
+ // @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.EditionsMapIgnoreEmpty)
+ build.buf.validate.conformance.cases.EditionsMapIgnoreEmptyOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreEmpty_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreEmpty_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty.class, build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty.Builder.class);
+ }
+
+ // Construct using build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableVal().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreEmpty_descriptor;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty getDefaultInstanceForType() {
+ return build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty build() {
+ build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty buildPartial() {
+ build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty result = new build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.val_ = internalGetVal();
+ result.val_.makeImmutable();
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty) {
+ return mergeFrom((build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty other) {
+ if (other == build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty.getDefaultInstance()) return this;
+ internalGetMutableVal().mergeFrom(
+ other.internalGetVal());
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.protobuf.MapEntry
+ val__ = input.readMessage(
+ ValDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableVal().getMutableMap().put(
+ val__.getKey(), val__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableVal() {
+ if (val_ == null) {
+ val_ = com.google.protobuf.MapField.newMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ if (!val_.isMutable()) {
+ val_ = val_.copy();
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearVal() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableVal().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder removeVal(
+ int key) {
+
+ internalGetMutableVal().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableVal() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableVal().getMutableMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putVal(
+ int key,
+ int value) {
+
+
+ internalGetMutableVal().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putAllVal(
+ java.util.Map values) {
+ internalGetMutableVal().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.EditionsMapIgnoreEmpty)
+ }
+
+ // @@protoc_insertion_point(class_scope:buf.validate.conformance.cases.EditionsMapIgnoreEmpty)
+ private static final build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty();
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public EditionsMapIgnoreEmpty parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreEmpty getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreEmptyOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreEmptyOrBuilder.java
new file mode 100644
index 00000000..551a996a
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreEmptyOrBuilder.java
@@ -0,0 +1,43 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+public interface EditionsMapIgnoreEmptyOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:buf.validate.conformance.cases.EditionsMapIgnoreEmpty)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValCount();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ boolean containsVal(
+ int key);
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getVal();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ java.util.Map
+ getValMap();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrDefault(
+ int key,
+ int defaultValue);
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrThrow(
+ int key);
+}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreUnspecified.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreUnspecified.java
new file mode 100644
index 00000000..359a0d2d
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreUnspecified.java
@@ -0,0 +1,640 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+/**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapIgnoreUnspecified}
+ */
+public final class EditionsMapIgnoreUnspecified extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.EditionsMapIgnoreUnspecified)
+ EditionsMapIgnoreUnspecifiedOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ EditionsMapIgnoreUnspecified.class.getName());
+ }
+ // Use EditionsMapIgnoreUnspecified.newBuilder() to construct.
+ private EditionsMapIgnoreUnspecified(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private EditionsMapIgnoreUnspecified() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreUnspecified_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreUnspecified_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.class, build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.Builder.class);
+ }
+
+ public static final int VAL_FIELD_NUMBER = 1;
+ private static final class ValDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.Integer, java.lang.Integer> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreUnspecified_ValEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0);
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ com.google.protobuf.GeneratedMessage
+ .serializeIntegerMapTo(
+ output,
+ internalGetVal(),
+ ValDefaultEntryHolder.defaultEntry,
+ 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry entry
+ : internalGetVal().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ val__ = ValDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, val__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified)) {
+ return super.equals(obj);
+ }
+ build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified other = (build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified) obj;
+
+ if (!internalGetVal().equals(
+ other.internalGetVal())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetVal().getMap().isEmpty()) {
+ hash = (37 * hash) + VAL_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetVal().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapIgnoreUnspecified}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder implements
+ // @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.EditionsMapIgnoreUnspecified)
+ build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecifiedOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreUnspecified_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreUnspecified_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.class, build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.Builder.class);
+ }
+
+ // Construct using build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableVal().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapIgnoreUnspecified_descriptor;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified getDefaultInstanceForType() {
+ return build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified build() {
+ build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified buildPartial() {
+ build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified result = new build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.val_ = internalGetVal();
+ result.val_.makeImmutable();
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified) {
+ return mergeFrom((build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified other) {
+ if (other == build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.getDefaultInstance()) return this;
+ internalGetMutableVal().mergeFrom(
+ other.internalGetVal());
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.protobuf.MapEntry
+ val__ = input.readMessage(
+ ValDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableVal().getMutableMap().put(
+ val__.getKey(), val__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableVal() {
+ if (val_ == null) {
+ val_ = com.google.protobuf.MapField.newMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ if (!val_.isMutable()) {
+ val_ = val_.copy();
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearVal() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableVal().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder removeVal(
+ int key) {
+
+ internalGetMutableVal().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableVal() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableVal().getMutableMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putVal(
+ int key,
+ int value) {
+
+
+ internalGetMutableVal().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putAllVal(
+ java.util.Map values) {
+ internalGetMutableVal().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.EditionsMapIgnoreUnspecified)
+ }
+
+ // @@protoc_insertion_point(class_scope:buf.validate.conformance.cases.EditionsMapIgnoreUnspecified)
+ private static final build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified();
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public EditionsMapIgnoreUnspecified parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreUnspecifiedOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreUnspecifiedOrBuilder.java
new file mode 100644
index 00000000..711b3ed3
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreUnspecifiedOrBuilder.java
@@ -0,0 +1,43 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+public interface EditionsMapIgnoreUnspecifiedOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:buf.validate.conformance.cases.EditionsMapIgnoreUnspecified)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValCount();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ boolean containsVal(
+ int key);
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getVal();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ java.util.Map
+ getValMap();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrDefault(
+ int key,
+ int defaultValue);
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrThrow(
+ int key);
+}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreDefault.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreDefault.java
new file mode 100644
index 00000000..f4ae7985
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreDefault.java
@@ -0,0 +1,640 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+/**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault}
+ */
+public final class EditionsMapKeyIgnoreDefault extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault)
+ EditionsMapKeyIgnoreDefaultOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ EditionsMapKeyIgnoreDefault.class.getName());
+ }
+ // Use EditionsMapKeyIgnoreDefault.newBuilder() to construct.
+ private EditionsMapKeyIgnoreDefault(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private EditionsMapKeyIgnoreDefault() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreDefault_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreDefault_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault.class, build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault.Builder.class);
+ }
+
+ public static final int VAL_FIELD_NUMBER = 1;
+ private static final class ValDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.Integer, java.lang.Integer> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreDefault_ValEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0);
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ com.google.protobuf.GeneratedMessage
+ .serializeIntegerMapTo(
+ output,
+ internalGetVal(),
+ ValDefaultEntryHolder.defaultEntry,
+ 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry entry
+ : internalGetVal().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ val__ = ValDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, val__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault)) {
+ return super.equals(obj);
+ }
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault other = (build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault) obj;
+
+ if (!internalGetVal().equals(
+ other.internalGetVal())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetVal().getMap().isEmpty()) {
+ hash = (37 * hash) + VAL_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetVal().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder implements
+ // @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault)
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefaultOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreDefault_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreDefault_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault.class, build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault.Builder.class);
+ }
+
+ // Construct using build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableVal().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreDefault_descriptor;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault getDefaultInstanceForType() {
+ return build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault build() {
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault buildPartial() {
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault result = new build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.val_ = internalGetVal();
+ result.val_.makeImmutable();
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault) {
+ return mergeFrom((build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault other) {
+ if (other == build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault.getDefaultInstance()) return this;
+ internalGetMutableVal().mergeFrom(
+ other.internalGetVal());
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.protobuf.MapEntry
+ val__ = input.readMessage(
+ ValDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableVal().getMutableMap().put(
+ val__.getKey(), val__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableVal() {
+ if (val_ == null) {
+ val_ = com.google.protobuf.MapField.newMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ if (!val_.isMutable()) {
+ val_ = val_.copy();
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearVal() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableVal().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder removeVal(
+ int key) {
+
+ internalGetMutableVal().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableVal() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableVal().getMutableMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putVal(
+ int key,
+ int value) {
+
+
+ internalGetMutableVal().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putAllVal(
+ java.util.Map values) {
+ internalGetMutableVal().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault)
+ }
+
+ // @@protoc_insertion_point(class_scope:buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault)
+ private static final build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault();
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public EditionsMapKeyIgnoreDefault parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreDefaultOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreDefaultOrBuilder.java
new file mode 100644
index 00000000..4a0e8c3c
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreDefaultOrBuilder.java
@@ -0,0 +1,43 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+public interface EditionsMapKeyIgnoreDefaultOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValCount();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ boolean containsVal(
+ int key);
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getVal();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ java.util.Map
+ getValMap();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrDefault(
+ int key,
+ int defaultValue);
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrThrow(
+ int key);
+}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreEmpty.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreEmpty.java
new file mode 100644
index 00000000..fbc66782
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreEmpty.java
@@ -0,0 +1,640 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+/**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty}
+ */
+public final class EditionsMapKeyIgnoreEmpty extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty)
+ EditionsMapKeyIgnoreEmptyOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ EditionsMapKeyIgnoreEmpty.class.getName());
+ }
+ // Use EditionsMapKeyIgnoreEmpty.newBuilder() to construct.
+ private EditionsMapKeyIgnoreEmpty(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private EditionsMapKeyIgnoreEmpty() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreEmpty_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreEmpty_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.class, build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.Builder.class);
+ }
+
+ public static final int VAL_FIELD_NUMBER = 1;
+ private static final class ValDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.Integer, java.lang.Integer> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreEmpty_ValEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0);
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ com.google.protobuf.GeneratedMessage
+ .serializeIntegerMapTo(
+ output,
+ internalGetVal(),
+ ValDefaultEntryHolder.defaultEntry,
+ 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry entry
+ : internalGetVal().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ val__ = ValDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, val__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty)) {
+ return super.equals(obj);
+ }
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty other = (build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty) obj;
+
+ if (!internalGetVal().equals(
+ other.internalGetVal())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetVal().getMap().isEmpty()) {
+ hash = (37 * hash) + VAL_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetVal().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder implements
+ // @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty)
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmptyOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreEmpty_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreEmpty_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.class, build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.Builder.class);
+ }
+
+ // Construct using build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableVal().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreEmpty_descriptor;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty getDefaultInstanceForType() {
+ return build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty build() {
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty buildPartial() {
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty result = new build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.val_ = internalGetVal();
+ result.val_.makeImmutable();
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty) {
+ return mergeFrom((build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty other) {
+ if (other == build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.getDefaultInstance()) return this;
+ internalGetMutableVal().mergeFrom(
+ other.internalGetVal());
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.protobuf.MapEntry
+ val__ = input.readMessage(
+ ValDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableVal().getMutableMap().put(
+ val__.getKey(), val__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableVal() {
+ if (val_ == null) {
+ val_ = com.google.protobuf.MapField.newMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ if (!val_.isMutable()) {
+ val_ = val_.copy();
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearVal() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableVal().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder removeVal(
+ int key) {
+
+ internalGetMutableVal().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableVal() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableVal().getMutableMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putVal(
+ int key,
+ int value) {
+
+
+ internalGetMutableVal().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putAllVal(
+ java.util.Map values) {
+ internalGetMutableVal().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty)
+ }
+
+ // @@protoc_insertion_point(class_scope:buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty)
+ private static final build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty();
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public EditionsMapKeyIgnoreEmpty parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreEmptyOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreEmptyOrBuilder.java
new file mode 100644
index 00000000..d91e13cc
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreEmptyOrBuilder.java
@@ -0,0 +1,43 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+public interface EditionsMapKeyIgnoreEmptyOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValCount();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ boolean containsVal(
+ int key);
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getVal();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ java.util.Map
+ getValMap();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrDefault(
+ int key,
+ int defaultValue);
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrThrow(
+ int key);
+}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreUnspecified.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreUnspecified.java
new file mode 100644
index 00000000..2eae1e0f
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreUnspecified.java
@@ -0,0 +1,640 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+/**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified}
+ */
+public final class EditionsMapKeyIgnoreUnspecified extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified)
+ EditionsMapKeyIgnoreUnspecifiedOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ EditionsMapKeyIgnoreUnspecified.class.getName());
+ }
+ // Use EditionsMapKeyIgnoreUnspecified.newBuilder() to construct.
+ private EditionsMapKeyIgnoreUnspecified(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private EditionsMapKeyIgnoreUnspecified() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreUnspecified_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreUnspecified_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.class, build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.Builder.class);
+ }
+
+ public static final int VAL_FIELD_NUMBER = 1;
+ private static final class ValDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.Integer, java.lang.Integer> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreUnspecified_ValEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0);
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ com.google.protobuf.GeneratedMessage
+ .serializeIntegerMapTo(
+ output,
+ internalGetVal(),
+ ValDefaultEntryHolder.defaultEntry,
+ 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry entry
+ : internalGetVal().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ val__ = ValDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, val__);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified)) {
+ return super.equals(obj);
+ }
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified other = (build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified) obj;
+
+ if (!internalGetVal().equals(
+ other.internalGetVal())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetVal().getMap().isEmpty()) {
+ hash = (37 * hash) + VAL_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetVal().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder implements
+ // @@protoc_insertion_point(builder_implements:buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified)
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecifiedOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreUnspecified_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreUnspecified_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.class, build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.Builder.class);
+ }
+
+ // Construct using build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableVal().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapKeyIgnoreUnspecified_descriptor;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified getDefaultInstanceForType() {
+ return build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified build() {
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified buildPartial() {
+ build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified result = new build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.val_ = internalGetVal();
+ result.val_.makeImmutable();
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified) {
+ return mergeFrom((build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified other) {
+ if (other == build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.getDefaultInstance()) return this;
+ internalGetMutableVal().mergeFrom(
+ other.internalGetVal());
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.protobuf.MapEntry
+ val__ = input.readMessage(
+ ValDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableVal().getMutableMap().put(
+ val__.getKey(), val__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableVal() {
+ if (val_ == null) {
+ val_ = com.google.protobuf.MapField.newMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ if (!val_.isMutable()) {
+ val_ = val_.copy();
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public boolean containsVal(
+ int key) {
+
+ return internalGetVal().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getVal() {
+ return getValMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public java.util.Map getValMap() {
+ return internalGetVal().getMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrDefault(
+ int key,
+ int defaultValue) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ @java.lang.Override
+ public int getValOrThrow(
+ int key) {
+
+ java.util.Map map =
+ internalGetVal().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearVal() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableVal().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder removeVal(
+ int key) {
+
+ internalGetMutableVal().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableVal() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableVal().getMutableMap();
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putVal(
+ int key,
+ int value) {
+
+
+ internalGetMutableVal().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ public Builder putAllVal(
+ java.util.Map values) {
+ internalGetMutableVal().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified)
+ }
+
+ // @@protoc_insertion_point(class_scope:buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified)
+ private static final build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified();
+ }
+
+ public static build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public EditionsMapKeyIgnoreUnspecified parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public build.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreUnspecifiedOrBuilder.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreUnspecifiedOrBuilder.java
new file mode 100644
index 00000000..ad7f78ef
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreUnspecifiedOrBuilder.java
@@ -0,0 +1,43 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+public interface EditionsMapKeyIgnoreUnspecifiedOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValCount();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ boolean containsVal(
+ int key);
+ /**
+ * Use {@link #getValMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getVal();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ java.util.Map
+ getValMap();
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrDefault(
+ int key,
+ int defaultValue);
+ /**
+ * map<int32, int32> val = 1 [json_name = "val", (.buf.validate.field) = { ... }
+ */
+ int getValOrThrow(
+ int key);
+}
diff --git a/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapValueIgnoreDefault.java b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapValueIgnoreDefault.java
new file mode 100644
index 00000000..d91c8f9d
--- /dev/null
+++ b/conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapValueIgnoreDefault.java
@@ -0,0 +1,640 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: buf/validate/conformance/cases/ignore_proto_editions.proto
+// Protobuf Java Version: 4.27.3
+
+package build.buf.validate.conformance.cases;
+
+/**
+ * Protobuf type {@code buf.validate.conformance.cases.EditionsMapValueIgnoreDefault}
+ */
+public final class EditionsMapValueIgnoreDefault extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:buf.validate.conformance.cases.EditionsMapValueIgnoreDefault)
+ EditionsMapValueIgnoreDefaultOrBuilder {
+private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 3,
+ /* suffix= */ "",
+ EditionsMapValueIgnoreDefault.class.getName());
+ }
+ // Use EditionsMapValueIgnoreDefault.newBuilder() to construct.
+ private EditionsMapValueIgnoreDefault(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private EditionsMapValueIgnoreDefault() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapValueIgnoreDefault_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetVal();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapValueIgnoreDefault_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ build.buf.validate.conformance.cases.EditionsMapValueIgnoreDefault.class, build.buf.validate.conformance.cases.EditionsMapValueIgnoreDefault.Builder.class);
+ }
+
+ public static final int VAL_FIELD_NUMBER = 1;
+ private static final class ValDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.Integer, java.lang.Integer> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ build.buf.validate.conformance.cases.IgnoreProtoEditionsProto.internal_static_buf_validate_conformance_cases_EditionsMapValueIgnoreDefault_ValEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0,
+ com.google.protobuf.WireFormat.FieldType.INT32,
+ 0);
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.Integer, java.lang.Integer> val_;
+ private com.google.protobuf.MapField
+ internalGetVal() {
+ if (val_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ValDefaultEntryHolder.defaultEntry);
+ }
+ return val_;
+ }
+ public int getValCount() {
+ return internalGetVal().getMap().size();
+ }
+ /**
+ *