From 63a1c22994e792db7bc949c09db83f515808afed Mon Sep 17 00:00:00 2001
From: jchadwick-buf <116005195+jchadwick-buf@users.noreply.github.com>
Date: Wed, 14 Aug 2024 16:02:20 -0400
Subject: [PATCH] Editions fixes (#164)
Updates Protobuf to v27.3 and projectnessie/cel-java to 0.5.0. Fixes
cases where delimited messages are handled improperly.
This is possible thanks to the work done in
https://github.com/projectnessie/cel-java/pull/588.
---
buf.gen.yaml | 2 +-
conformance/buf.gen.yaml | 2 +-
.../validate/conformance/cases/AnEnum.java | 12 +-
.../buf/validate/conformance/cases/AnyIn.java | 97 +-
.../conformance/cases/AnyInOrBuilder.java | 3 +-
.../validate/conformance/cases/AnyNone.java | 97 +-
.../conformance/cases/AnyNoneOrBuilder.java | 3 +-
.../validate/conformance/cases/AnyNotIn.java | 97 +-
.../conformance/cases/AnyNotInOrBuilder.java | 3 +-
.../conformance/cases/AnyRequired.java | 97 +-
.../cases/AnyRequiredOrBuilder.java | 3 +-
.../conformance/cases/BoolConstFalse.java | 89 +-
.../cases/BoolConstFalseOrBuilder.java | 3 +-
.../conformance/cases/BoolConstTrue.java | 89 +-
.../cases/BoolConstTrueOrBuilder.java | 3 +-
.../validate/conformance/cases/BoolNone.java | 89 +-
.../conformance/cases/BoolNoneOrBuilder.java | 3 +-
.../validate/conformance/cases/BoolProto.java | 27 +-
.../conformance/cases/BytesConst.java | 89 +-
.../cases/BytesConstOrBuilder.java | 3 +-
.../conformance/cases/BytesContains.java | 89 +-
.../cases/BytesContainsOrBuilder.java | 3 +-
.../cases/BytesEqualMinMaxLen.java | 89 +-
.../cases/BytesEqualMinMaxLenOrBuilder.java | 3 +-
.../validate/conformance/cases/BytesIP.java | 89 +-
.../conformance/cases/BytesIPOrBuilder.java | 3 +-
.../validate/conformance/cases/BytesIPv4.java | 89 +-
.../conformance/cases/BytesIPv4OrBuilder.java | 3 +-
.../validate/conformance/cases/BytesIPv6.java | 89 +-
.../conformance/cases/BytesIPv6Ignore.java | 89 +-
.../cases/BytesIPv6IgnoreOrBuilder.java | 3 +-
.../conformance/cases/BytesIPv6OrBuilder.java | 3 +-
.../validate/conformance/cases/BytesIn.java | 89 +-
.../conformance/cases/BytesInOrBuilder.java | 3 +-
.../validate/conformance/cases/BytesLen.java | 89 +-
.../conformance/cases/BytesLenOrBuilder.java | 3 +-
.../conformance/cases/BytesMaxLen.java | 89 +-
.../cases/BytesMaxLenOrBuilder.java | 3 +-
.../conformance/cases/BytesMinLen.java | 89 +-
.../cases/BytesMinLenOrBuilder.java | 3 +-
.../conformance/cases/BytesMinMaxLen.java | 89 +-
.../cases/BytesMinMaxLenOrBuilder.java | 3 +-
.../validate/conformance/cases/BytesNone.java | 89 +-
.../conformance/cases/BytesNoneOrBuilder.java | 3 +-
.../conformance/cases/BytesNotIn.java | 89 +-
.../cases/BytesNotInOrBuilder.java | 3 +-
.../conformance/cases/BytesPattern.java | 89 +-
.../cases/BytesPatternOrBuilder.java | 3 +-
.../conformance/cases/BytesPrefix.java | 89 +-
.../cases/BytesPrefixOrBuilder.java | 3 +-
.../conformance/cases/BytesProto.java | 83 +-
.../conformance/cases/BytesSuffix.java | 89 +-
.../cases/BytesSuffixOrBuilder.java | 3 +-
.../conformance/cases/ComplexTestEnum.java | 12 +-
.../conformance/cases/ComplexTestMsg.java | 149 +--
.../cases/ComplexTestMsgOrBuilder.java | 3 +-
.../conformance/cases/DoubleConst.java | 89 +-
.../cases/DoubleConstOrBuilder.java | 3 +-
.../conformance/cases/DoubleExGTELTE.java | 89 +-
.../cases/DoubleExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/DoubleExLTGT.java | 89 +-
.../cases/DoubleExLTGTOrBuilder.java | 3 +-
.../conformance/cases/DoubleFinite.java | 89 +-
.../cases/DoubleFiniteOrBuilder.java | 3 +-
.../validate/conformance/cases/DoubleGT.java | 89 +-
.../validate/conformance/cases/DoubleGTE.java | 89 +-
.../conformance/cases/DoubleGTELTE.java | 89 +-
.../cases/DoubleGTELTEOrBuilder.java | 3 +-
.../conformance/cases/DoubleGTEOrBuilder.java | 3 +-
.../conformance/cases/DoubleGTLT.java | 89 +-
.../cases/DoubleGTLTOrBuilder.java | 3 +-
.../conformance/cases/DoubleGTOrBuilder.java | 3 +-
.../conformance/cases/DoubleIgnore.java | 89 +-
.../cases/DoubleIgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/DoubleIn.java | 89 +-
.../conformance/cases/DoubleInOrBuilder.java | 3 +-
.../cases/DoubleIncorrectType.java | 89 +-
.../cases/DoubleIncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/DoubleLT.java | 89 +-
.../validate/conformance/cases/DoubleLTE.java | 89 +-
.../conformance/cases/DoubleLTEOrBuilder.java | 3 +-
.../conformance/cases/DoubleLTOrBuilder.java | 3 +-
.../conformance/cases/DoubleNone.java | 89 +-
.../cases/DoubleNoneOrBuilder.java | 3 +-
.../conformance/cases/DoubleNotIn.java | 89 +-
.../cases/DoubleNotInOrBuilder.java | 3 +-
.../conformance/cases/DurationConst.java | 97 +-
.../cases/DurationConstOrBuilder.java | 3 +-
.../conformance/cases/DurationExGTELTE.java | 97 +-
.../cases/DurationExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/DurationExLTGT.java | 97 +-
.../cases/DurationExLTGTOrBuilder.java | 3 +-
.../cases/DurationFieldWithOtherFields.java | 97 +-
...DurationFieldWithOtherFieldsOrBuilder.java | 3 +-
.../conformance/cases/DurationGT.java | 97 +-
.../conformance/cases/DurationGTE.java | 97 +-
.../conformance/cases/DurationGTELTE.java | 97 +-
.../cases/DurationGTELTEOrBuilder.java | 3 +-
.../cases/DurationGTEOrBuilder.java | 3 +-
.../conformance/cases/DurationGTLT.java | 97 +-
.../cases/DurationGTLTOrBuilder.java | 3 +-
.../cases/DurationGTOrBuilder.java | 3 +-
.../conformance/cases/DurationIn.java | 97 +-
.../cases/DurationInOrBuilder.java | 3 +-
.../conformance/cases/DurationLT.java | 97 +-
.../conformance/cases/DurationLTE.java | 97 +-
.../cases/DurationLTEOrBuilder.java | 3 +-
.../cases/DurationLTOrBuilder.java | 3 +-
.../conformance/cases/DurationNone.java | 97 +-
.../cases/DurationNoneOrBuilder.java | 3 +-
.../conformance/cases/DurationNotIn.java | 97 +-
.../cases/DurationNotInOrBuilder.java | 3 +-
.../conformance/cases/DurationRequired.java | 97 +-
.../cases/DurationRequiredOrBuilder.java | 3 +-
.../cases/EditionsMapIgnoreDefault.java | 640 ++++++++++
.../EditionsMapIgnoreDefaultOrBuilder.java | 43 +
.../cases/EditionsMapIgnoreEmpty.java | 640 ++++++++++
.../EditionsMapIgnoreEmptyOrBuilder.java | 43 +
.../cases/EditionsMapIgnoreUnspecified.java | 640 ++++++++++
...EditionsMapIgnoreUnspecifiedOrBuilder.java | 43 +
.../cases/EditionsMapKeyIgnoreDefault.java | 640 ++++++++++
.../EditionsMapKeyIgnoreDefaultOrBuilder.java | 43 +
.../cases/EditionsMapKeyIgnoreEmpty.java | 640 ++++++++++
.../EditionsMapKeyIgnoreEmptyOrBuilder.java | 43 +
.../EditionsMapKeyIgnoreUnspecified.java | 640 ++++++++++
...tionsMapKeyIgnoreUnspecifiedOrBuilder.java | 43 +
.../cases/EditionsMapValueIgnoreDefault.java | 640 ++++++++++
...ditionsMapValueIgnoreDefaultOrBuilder.java | 43 +
.../cases/EditionsMapValueIgnoreEmpty.java | 640 ++++++++++
.../EditionsMapValueIgnoreEmptyOrBuilder.java | 43 +
.../EditionsMapValueIgnoreUnspecified.java | 640 ++++++++++
...onsMapValueIgnoreUnspecifiedOrBuilder.java | 43 +
...xplicitPresenceDelimitedIgnoreDefault.java | 1097 ++++++++++++++++
...esenceDelimitedIgnoreDefaultOrBuilder.java | 26 +
...eExplicitPresenceDelimitedIgnoreEmpty.java | 1097 ++++++++++++++++
...PresenceDelimitedIgnoreEmptyOrBuilder.java | 26 +
...citPresenceDelimitedIgnoreUnspecified.java | 1097 ++++++++++++++++
...ceDelimitedIgnoreUnspecifiedOrBuilder.java | 26 +
...sMessageExplicitPresenceIgnoreDefault.java | 1097 ++++++++++++++++
...xplicitPresenceIgnoreDefaultOrBuilder.java | 26 +
...onsMessageExplicitPresenceIgnoreEmpty.java | 1097 ++++++++++++++++
...eExplicitPresenceIgnoreEmptyOrBuilder.java | 26 +
...sageExplicitPresenceIgnoreUnspecified.java | 1097 ++++++++++++++++
...citPresenceIgnoreUnspecifiedOrBuilder.java | 26 +
...eLegacyRequiredDelimitedIgnoreDefault.java | 1104 ++++++++++++++++
...quiredDelimitedIgnoreDefaultOrBuilder.java | 26 +
...ageLegacyRequiredDelimitedIgnoreEmpty.java | 1104 ++++++++++++++++
...RequiredDelimitedIgnoreEmptyOrBuilder.java | 26 +
...acyRequiredDelimitedIgnoreUnspecified.java | 1104 ++++++++++++++++
...edDelimitedIgnoreUnspecifiedOrBuilder.java | 26 +
...onsMessageLegacyRequiredIgnoreDefault.java | 1104 ++++++++++++++++
...eLegacyRequiredIgnoreDefaultOrBuilder.java | 26 +
...tionsMessageLegacyRequiredIgnoreEmpty.java | 1104 ++++++++++++++++
...ageLegacyRequiredIgnoreEmptyOrBuilder.java | 26 +
...essageLegacyRequiredIgnoreUnspecified.java | 1104 ++++++++++++++++
...acyRequiredIgnoreUnspecifiedOrBuilder.java | 26 +
.../cases/EditionsOneofIgnoreDefault.java | 531 ++++++++
.../EditionsOneofIgnoreDefaultOrBuilder.java | 24 +
...EditionsOneofIgnoreDefaultWithDefault.java | 531 ++++++++
...neofIgnoreDefaultWithDefaultOrBuilder.java | 24 +
.../cases/EditionsOneofIgnoreEmpty.java | 531 ++++++++
.../EditionsOneofIgnoreEmptyOrBuilder.java | 24 +
.../EditionsOneofIgnoreEmptyWithDefault.java | 531 ++++++++
...sOneofIgnoreEmptyWithDefaultOrBuilder.java | 24 +
.../cases/EditionsOneofIgnoreUnspecified.java | 531 ++++++++
...itionsOneofIgnoreUnspecifiedOrBuilder.java | 24 +
...ionsOneofIgnoreUnspecifiedWithDefault.java | 531 ++++++++
...IgnoreUnspecifiedWithDefaultOrBuilder.java | 24 +
...EditionsRepeatedExpandedIgnoreDefault.java | 529 ++++++++
...epeatedExpandedIgnoreDefaultOrBuilder.java | 28 +
.../EditionsRepeatedExpandedIgnoreEmpty.java | 529 ++++++++
...sRepeatedExpandedIgnoreEmptyOrBuilder.java | 28 +
...ionsRepeatedExpandedIgnoreUnspecified.java | 529 ++++++++
...tedExpandedIgnoreUnspecifiedOrBuilder.java | 28 +
...ionsRepeatedExpandedItemIgnoreDefault.java | 529 ++++++++
...tedExpandedItemIgnoreDefaultOrBuilder.java | 28 +
...itionsRepeatedExpandedItemIgnoreEmpty.java | 529 ++++++++
...eatedExpandedItemIgnoreEmptyOrBuilder.java | 28 +
...RepeatedExpandedItemIgnoreUnspecified.java | 529 ++++++++
...xpandedItemIgnoreUnspecifiedOrBuilder.java | 28 +
.../cases/EditionsRepeatedIgnoreDefault.java | 540 ++++++++
...ditionsRepeatedIgnoreDefaultOrBuilder.java | 28 +
.../cases/EditionsRepeatedIgnoreEmpty.java | 540 ++++++++
.../EditionsRepeatedIgnoreEmptyOrBuilder.java | 28 +
.../EditionsRepeatedIgnoreUnspecified.java | 540 ++++++++
...onsRepeatedIgnoreUnspecifiedOrBuilder.java | 28 +
.../EditionsRepeatedItemIgnoreDefault.java | 540 ++++++++
...onsRepeatedItemIgnoreDefaultOrBuilder.java | 28 +
.../EditionsRepeatedItemIgnoreEmpty.java | 540 ++++++++
...tionsRepeatedItemIgnoreEmptyOrBuilder.java | 28 +
...EditionsRepeatedItemIgnoreUnspecified.java | 540 ++++++++
...epeatedItemIgnoreUnspecifiedOrBuilder.java | 28 +
...nsScalarExplicitPresenceIgnoreDefault.java | 456 +++++++
...xplicitPresenceIgnoreDefaultOrBuilder.java | 22 +
...licitPresenceIgnoreDefaultWithDefault.java | 457 +++++++
...enceIgnoreDefaultWithDefaultOrBuilder.java | 22 +
...ionsScalarExplicitPresenceIgnoreEmpty.java | 456 +++++++
...rExplicitPresenceIgnoreEmptyOrBuilder.java | 22 +
...xplicitPresenceIgnoreEmptyWithDefault.java | 457 +++++++
...esenceIgnoreEmptyWithDefaultOrBuilder.java | 22 +
...alarExplicitPresenceIgnoreUnspecified.java | 456 +++++++
...citPresenceIgnoreUnspecifiedOrBuilder.java | 22 +
...tPresenceIgnoreUnspecifiedWithDefault.java | 457 +++++++
...IgnoreUnspecifiedWithDefaultOrBuilder.java | 22 +
...nsScalarImplicitPresenceIgnoreDefault.java | 431 +++++++
...mplicitPresenceIgnoreDefaultOrBuilder.java | 17 +
...ionsScalarImplicitPresenceIgnoreEmpty.java | 431 +++++++
...rImplicitPresenceIgnoreEmptyOrBuilder.java | 17 +
...alarImplicitPresenceIgnoreUnspecified.java | 431 +++++++
...citPresenceIgnoreUnspecifiedOrBuilder.java | 17 +
...ionsScalarLegacyRequiredIgnoreDefault.java | 463 +++++++
...rLegacyRequiredIgnoreDefaultOrBuilder.java | 22 +
...egacyRequiredIgnoreDefaultWithDefault.java | 464 +++++++
...iredIgnoreDefaultWithDefaultOrBuilder.java | 22 +
...itionsScalarLegacyRequiredIgnoreEmpty.java | 463 +++++++
...larLegacyRequiredIgnoreEmptyOrBuilder.java | 22 +
...rLegacyRequiredIgnoreEmptyWithDefault.java | 464 +++++++
...quiredIgnoreEmptyWithDefaultOrBuilder.java | 22 +
...ScalarLegacyRequiredIgnoreUnspecified.java | 463 +++++++
...acyRequiredIgnoreUnspecifiedOrBuilder.java | 22 +
...yRequiredIgnoreUnspecifiedWithDefault.java | 464 +++++++
...IgnoreUnspecifiedWithDefaultOrBuilder.java | 22 +
.../buf/validate/conformance/cases/Embed.java | 89 +-
.../conformance/cases/EmbedOrBuilder.java | 3 +-
.../conformance/cases/EnumAliasConst.java | 89 +-
.../cases/EnumAliasConstOrBuilder.java | 3 +-
.../conformance/cases/EnumAliasDefined.java | 89 +-
.../cases/EnumAliasDefinedOrBuilder.java | 3 +-
.../conformance/cases/EnumAliasIn.java | 89 +-
.../cases/EnumAliasInOrBuilder.java | 3 +-
.../conformance/cases/EnumAliasNotIn.java | 89 +-
.../cases/EnumAliasNotInOrBuilder.java | 3 +-
.../validate/conformance/cases/EnumConst.java | 89 +-
.../conformance/cases/EnumConstOrBuilder.java | 3 +-
.../conformance/cases/EnumDefined.java | 89 +-
.../cases/EnumDefinedOrBuilder.java | 3 +-
.../conformance/cases/EnumExternal.java | 89 +-
.../conformance/cases/EnumExternal2.java | 89 +-
.../cases/EnumExternal2OrBuilder.java | 3 +-
.../cases/EnumExternalOrBuilder.java | 3 +-
.../validate/conformance/cases/EnumIn.java | 89 +-
.../conformance/cases/EnumInOrBuilder.java | 3 +-
.../conformance/cases/EnumInsideOneof.java | 89 +-
.../cases/EnumInsideOneofOrBuilder.java | 3 +-
.../validate/conformance/cases/EnumNone.java | 89 +-
.../conformance/cases/EnumNoneOrBuilder.java | 3 +-
.../validate/conformance/cases/EnumNotIn.java | 89 +-
.../conformance/cases/EnumNotInOrBuilder.java | 3 +-
.../conformance/cases/EnumsProto.java | 95 +-
.../cases/FilenameWithDashProto.java | 13 +-
.../conformance/cases/Fixed32Const.java | 89 +-
.../cases/Fixed32ConstOrBuilder.java | 3 +-
.../conformance/cases/Fixed32ExGTELTE.java | 89 +-
.../cases/Fixed32ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/Fixed32ExLTGT.java | 89 +-
.../cases/Fixed32ExLTGTOrBuilder.java | 3 +-
.../validate/conformance/cases/Fixed32GT.java | 89 +-
.../conformance/cases/Fixed32GTE.java | 89 +-
.../conformance/cases/Fixed32GTELTE.java | 89 +-
.../cases/Fixed32GTELTEOrBuilder.java | 3 +-
.../cases/Fixed32GTEOrBuilder.java | 3 +-
.../conformance/cases/Fixed32GTLT.java | 89 +-
.../cases/Fixed32GTLTOrBuilder.java | 3 +-
.../conformance/cases/Fixed32GTOrBuilder.java | 3 +-
.../conformance/cases/Fixed32Ignore.java | 89 +-
.../cases/Fixed32IgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/Fixed32In.java | 89 +-
.../conformance/cases/Fixed32InOrBuilder.java | 3 +-
.../cases/Fixed32IncorrectType.java | 89 +-
.../cases/Fixed32IncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/Fixed32LT.java | 89 +-
.../conformance/cases/Fixed32LTE.java | 89 +-
.../cases/Fixed32LTEOrBuilder.java | 3 +-
.../conformance/cases/Fixed32LTOrBuilder.java | 3 +-
.../conformance/cases/Fixed32None.java | 89 +-
.../cases/Fixed32NoneOrBuilder.java | 3 +-
.../conformance/cases/Fixed32NotIn.java | 89 +-
.../cases/Fixed32NotInOrBuilder.java | 3 +-
.../conformance/cases/Fixed64Const.java | 89 +-
.../cases/Fixed64ConstOrBuilder.java | 3 +-
.../conformance/cases/Fixed64ExGTELTE.java | 89 +-
.../cases/Fixed64ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/Fixed64ExLTGT.java | 89 +-
.../cases/Fixed64ExLTGTOrBuilder.java | 3 +-
.../validate/conformance/cases/Fixed64GT.java | 89 +-
.../conformance/cases/Fixed64GTE.java | 89 +-
.../conformance/cases/Fixed64GTELTE.java | 89 +-
.../cases/Fixed64GTELTEOrBuilder.java | 3 +-
.../cases/Fixed64GTEOrBuilder.java | 3 +-
.../conformance/cases/Fixed64GTLT.java | 89 +-
.../cases/Fixed64GTLTOrBuilder.java | 3 +-
.../conformance/cases/Fixed64GTOrBuilder.java | 3 +-
.../conformance/cases/Fixed64Ignore.java | 89 +-
.../cases/Fixed64IgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/Fixed64In.java | 89 +-
.../conformance/cases/Fixed64InOrBuilder.java | 3 +-
.../cases/Fixed64IncorrectType.java | 89 +-
.../cases/Fixed64IncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/Fixed64LT.java | 89 +-
.../conformance/cases/Fixed64LTE.java | 89 +-
.../cases/Fixed64LTEOrBuilder.java | 3 +-
.../conformance/cases/Fixed64LTOrBuilder.java | 3 +-
.../conformance/cases/Fixed64None.java | 89 +-
.../cases/Fixed64NoneOrBuilder.java | 3 +-
.../conformance/cases/Fixed64NotIn.java | 89 +-
.../cases/Fixed64NotInOrBuilder.java | 3 +-
.../conformance/cases/FloatConst.java | 89 +-
.../cases/FloatConstOrBuilder.java | 3 +-
.../conformance/cases/FloatExGTELTE.java | 89 +-
.../cases/FloatExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/FloatExLTGT.java | 89 +-
.../cases/FloatExLTGTOrBuilder.java | 3 +-
.../conformance/cases/FloatFinite.java | 89 +-
.../cases/FloatFiniteOrBuilder.java | 3 +-
.../validate/conformance/cases/FloatGT.java | 89 +-
.../validate/conformance/cases/FloatGTE.java | 89 +-
.../conformance/cases/FloatGTELTE.java | 89 +-
.../cases/FloatGTELTEOrBuilder.java | 3 +-
.../conformance/cases/FloatGTEOrBuilder.java | 3 +-
.../validate/conformance/cases/FloatGTLT.java | 89 +-
.../conformance/cases/FloatGTLTOrBuilder.java | 3 +-
.../conformance/cases/FloatGTOrBuilder.java | 3 +-
.../conformance/cases/FloatIgnore.java | 89 +-
.../cases/FloatIgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/FloatIn.java | 89 +-
.../conformance/cases/FloatInOrBuilder.java | 3 +-
.../conformance/cases/FloatIncorrectType.java | 89 +-
.../cases/FloatIncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/FloatLT.java | 89 +-
.../validate/conformance/cases/FloatLTE.java | 89 +-
.../conformance/cases/FloatLTEOrBuilder.java | 3 +-
.../conformance/cases/FloatLTOrBuilder.java | 3 +-
.../validate/conformance/cases/FloatNone.java | 89 +-
.../conformance/cases/FloatNoneOrBuilder.java | 3 +-
.../conformance/cases/FloatNotIn.java | 89 +-
.../cases/FloatNotInOrBuilder.java | 3 +-
.../cases/IgnoreEmptyEditionsMap.java | 640 ++++++++++
.../IgnoreEmptyEditionsMapOrBuilder.java | 43 +
...eEmptyEditionsMessageExplicitPresence.java | 1097 ++++++++++++++++
...tionsMessageExplicitPresenceDelimited.java | 1097 ++++++++++++++++
...ageExplicitPresenceDelimitedOrBuilder.java | 26 +
...tionsMessageExplicitPresenceOrBuilder.java | 26 +
...oreEmptyEditionsMessageLegacyRequired.java | 1104 ++++++++++++++++
...ditionsMessageLegacyRequiredDelimited.java | 1104 ++++++++++++++++
...ssageLegacyRequiredDelimitedOrBuilder.java | 26 +
...ditionsMessageLegacyRequiredOrBuilder.java | 26 +
.../cases/IgnoreEmptyEditionsOneof.java | 531 ++++++++
.../IgnoreEmptyEditionsOneofOrBuilder.java | 24 +
.../cases/IgnoreEmptyEditionsRepeated.java | 540 ++++++++
.../IgnoreEmptyEditionsRepeatedExpanded.java | 529 ++++++++
...mptyEditionsRepeatedExpandedOrBuilder.java | 28 +
.../IgnoreEmptyEditionsRepeatedOrBuilder.java | 28 +
...reEmptyEditionsScalarExplicitPresence.java | 456 +++++++
...itionsScalarExplicitPresenceOrBuilder.java | 22 +
...ionsScalarExplicitPresenceWithDefault.java | 457 +++++++
...rExplicitPresenceWithDefaultOrBuilder.java | 22 +
...reEmptyEditionsScalarImplicitPresence.java | 431 +++++++
...itionsScalarImplicitPresenceOrBuilder.java | 17 +
...noreEmptyEditionsScalarLegacyRequired.java | 463 +++++++
...EditionsScalarLegacyRequiredOrBuilder.java | 22 +
...itionsScalarLegacyRequiredWithDefault.java | 464 +++++++
...larLegacyRequiredWithDefaultOrBuilder.java | 22 +
.../cases/IgnoreEmptyMapPairs.java | 91 +-
.../cases/IgnoreEmptyMapPairsOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProto2Map.java | 93 +-
.../cases/IgnoreEmptyProto2MapOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProto2Message.java | 191 +--
.../IgnoreEmptyProto2MessageOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProto2Oneof.java | 91 +-
.../IgnoreEmptyProto2OneofOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProto2Proto.java | 51 +-
.../cases/IgnoreEmptyProto2Repeated.java | 91 +-
.../IgnoreEmptyProto2RepeatedOrBuilder.java | 3 +-
.../IgnoreEmptyProto2ScalarOptional.java | 91 +-
...oreEmptyProto2ScalarOptionalOrBuilder.java | 3 +-
...eEmptyProto2ScalarOptionalWithDefault.java | 91 +-
...to2ScalarOptionalWithDefaultOrBuilder.java | 3 +-
.../IgnoreEmptyProto2ScalarRequired.java | 91 +-
...oreEmptyProto2ScalarRequiredOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProto3Map.java | 91 +-
.../cases/IgnoreEmptyProto3MapOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProto3Message.java | 191 +--
.../IgnoreEmptyProto3MessageOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProto3Oneof.java | 89 +-
.../IgnoreEmptyProto3OneofOrBuilder.java | 3 +-
.../IgnoreEmptyProto3OptionalScalar.java | 89 +-
...oreEmptyProto3OptionalScalarOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProto3Proto.java | 59 +-
.../cases/IgnoreEmptyProto3Repeated.java | 89 +-
.../IgnoreEmptyProto3RepeatedOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProto3Scalar.java | 89 +-
.../IgnoreEmptyProto3ScalarOrBuilder.java | 3 +-
.../cases/IgnoreEmptyProtoEditionsProto.java | 306 +++++
.../cases/IgnoreEmptyRepeatedItems.java | 89 +-
.../IgnoreEmptyRepeatedItemsOrBuilder.java | 3 +-
.../conformance/cases/IgnoreProto2Proto.java | 231 ++--
.../conformance/cases/IgnoreProto3Proto.java | 195 +--
.../cases/IgnoreProtoEditionsProto.java | 1074 ++++++++++++++++
.../conformance/cases/Int32Const.java | 89 +-
.../cases/Int32ConstOrBuilder.java | 3 +-
.../conformance/cases/Int32ExGTELTE.java | 89 +-
.../cases/Int32ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/Int32ExLTGT.java | 89 +-
.../cases/Int32ExLTGTOrBuilder.java | 3 +-
.../validate/conformance/cases/Int32GT.java | 89 +-
.../validate/conformance/cases/Int32GTE.java | 89 +-
.../conformance/cases/Int32GTELTE.java | 89 +-
.../cases/Int32GTELTEOrBuilder.java | 3 +-
.../conformance/cases/Int32GTEOrBuilder.java | 3 +-
.../validate/conformance/cases/Int32GTLT.java | 89 +-
.../conformance/cases/Int32GTLTOrBuilder.java | 3 +-
.../conformance/cases/Int32GTOrBuilder.java | 3 +-
.../conformance/cases/Int32Ignore.java | 89 +-
.../cases/Int32IgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/Int32In.java | 89 +-
.../conformance/cases/Int32InOrBuilder.java | 3 +-
.../conformance/cases/Int32IncorrectType.java | 89 +-
.../cases/Int32IncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/Int32LT.java | 89 +-
.../validate/conformance/cases/Int32LTE.java | 89 +-
.../conformance/cases/Int32LTEOrBuilder.java | 3 +-
.../conformance/cases/Int32LTOrBuilder.java | 3 +-
.../validate/conformance/cases/Int32None.java | 89 +-
.../conformance/cases/Int32NoneOrBuilder.java | 3 +-
.../conformance/cases/Int32NotIn.java | 89 +-
.../cases/Int32NotInOrBuilder.java | 3 +-
.../cases/Int64BigConstraints.java | 89 +-
.../cases/Int64BigConstraintsOrBuilder.java | 3 +-
.../conformance/cases/Int64Const.java | 89 +-
.../cases/Int64ConstOrBuilder.java | 3 +-
.../conformance/cases/Int64ExGTELTE.java | 89 +-
.../cases/Int64ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/Int64ExLTGT.java | 89 +-
.../cases/Int64ExLTGTOrBuilder.java | 3 +-
.../validate/conformance/cases/Int64GT.java | 89 +-
.../validate/conformance/cases/Int64GTE.java | 89 +-
.../conformance/cases/Int64GTELTE.java | 89 +-
.../cases/Int64GTELTEOrBuilder.java | 3 +-
.../conformance/cases/Int64GTEOrBuilder.java | 3 +-
.../validate/conformance/cases/Int64GTLT.java | 89 +-
.../conformance/cases/Int64GTLTOrBuilder.java | 3 +-
.../conformance/cases/Int64GTOrBuilder.java | 3 +-
.../conformance/cases/Int64Ignore.java | 89 +-
.../cases/Int64IgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/Int64In.java | 89 +-
.../conformance/cases/Int64InOrBuilder.java | 3 +-
.../conformance/cases/Int64IncorrectType.java | 89 +-
.../cases/Int64IncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/Int64LT.java | 89 +-
.../validate/conformance/cases/Int64LTE.java | 89 +-
.../conformance/cases/Int64LTEOptional.java | 89 +-
.../cases/Int64LTEOptionalOrBuilder.java | 3 +-
.../conformance/cases/Int64LTEOrBuilder.java | 3 +-
.../conformance/cases/Int64LTOrBuilder.java | 3 +-
.../validate/conformance/cases/Int64None.java | 89 +-
.../conformance/cases/Int64NoneOrBuilder.java | 3 +-
.../conformance/cases/Int64NotIn.java | 89 +-
.../cases/Int64NotInOrBuilder.java | 3 +-
.../conformance/cases/KitchenSinkMessage.java | 97 +-
.../cases/KitchenSinkMessageOrBuilder.java | 3 +-
.../conformance/cases/KitchenSinkProto.java | 35 +-
.../conformance/cases/MapEnumDefined.java | 91 +-
.../cases/MapEnumDefinedOrBuilder.java | 3 +-
.../validate/conformance/cases/MapExact.java | 91 +-
.../conformance/cases/MapExactIgnore.java | 91 +-
.../cases/MapExactIgnoreOrBuilder.java | 3 +-
.../conformance/cases/MapExactOrBuilder.java | 3 +-
.../cases/MapExternalEnumDefined.java | 91 +-
.../MapExternalEnumDefinedOrBuilder.java | 3 +-
.../validate/conformance/cases/MapKeys.java | 91 +-
.../conformance/cases/MapKeysOrBuilder.java | 3 +-
.../conformance/cases/MapKeysPattern.java | 91 +-
.../cases/MapKeysPatternOrBuilder.java | 3 +-
.../validate/conformance/cases/MapMax.java | 91 +-
.../conformance/cases/MapMaxOrBuilder.java | 3 +-
.../validate/conformance/cases/MapMin.java | 91 +-
.../validate/conformance/cases/MapMinMax.java | 91 +-
.../conformance/cases/MapMinMaxOrBuilder.java | 3 +-
.../conformance/cases/MapMinOrBuilder.java | 3 +-
.../validate/conformance/cases/MapNone.java | 91 +-
.../conformance/cases/MapNoneOrBuilder.java | 3 +-
.../conformance/cases/MapRecursive.java | 185 +--
.../cases/MapRecursiveOrBuilder.java | 3 +-
.../validate/conformance/cases/MapValues.java | 91 +-
.../conformance/cases/MapValuesOrBuilder.java | 3 +-
.../conformance/cases/MapValuesPattern.java | 91 +-
.../cases/MapValuesPatternOrBuilder.java | 3 +-
.../validate/conformance/cases/MapsProto.java | 123 +-
.../validate/conformance/cases/Message.java | 97 +-
.../cases/MessageCrossPackage.java | 97 +-
.../cases/MessageCrossPackageOrBuilder.java | 3 +-
.../conformance/cases/MessageDisabled.java | 89 +-
.../cases/MessageDisabledOrBuilder.java | 3 +-
.../conformance/cases/MessageNone.java | 183 +--
.../cases/MessageNoneOrBuilder.java | 3 +-
.../conformance/cases/MessageOrBuilder.java | 3 +-
.../conformance/cases/MessageRequired.java | 97 +-
.../cases/MessageRequiredButOptional.java | 97 +-
.../MessageRequiredButOptionalOrBuilder.java | 3 +-
.../cases/MessageRequiredOneof.java | 95 +-
.../cases/MessageRequiredOneofOrBuilder.java | 3 +-
.../cases/MessageRequiredOrBuilder.java | 3 +-
.../conformance/cases/MessageSkip.java | 97 +-
.../cases/MessageSkipOrBuilder.java | 3 +-
.../cases/MessageWith3dInside.java | 89 +-
.../cases/MessageWith3dInsideOrBuilder.java | 3 +-
.../conformance/cases/MessagesProto.java | 61 +-
.../conformance/cases/MultipleMaps.java | 95 +-
.../cases/MultipleMapsOrBuilder.java | 3 +-
.../conformance/cases/NumbersProto.java | 703 ++++++-----
.../buf/validate/conformance/cases/Oneof.java | 99 +-
.../validate/conformance/cases/OneofNone.java | 93 +-
.../conformance/cases/OneofNoneOrBuilder.java | 3 +-
.../conformance/cases/OneofOrBuilder.java | 3 +-
.../conformance/cases/OneofRequired.java | 93 +-
.../cases/OneofRequiredOrBuilder.java | 3 +-
.../cases/OneofRequiredWithRequiredField.java | 97 +-
...eofRequiredWithRequiredFieldOrBuilder.java | 3 +-
.../conformance/cases/OneofsProto.java | 35 +-
.../cases/Proto2MapIgnoreDefault.java | 93 +-
.../Proto2MapIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto2MapIgnoreEmpty.java | 93 +-
.../cases/Proto2MapIgnoreEmptyOrBuilder.java | 3 +-
.../cases/Proto2MapIgnoreUnspecified.java | 93 +-
.../Proto2MapIgnoreUnspecifiedOrBuilder.java | 3 +-
.../cases/Proto2MapKeyIgnoreDefault.java | 93 +-
.../Proto2MapKeyIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto2MapKeyIgnoreEmpty.java | 93 +-
.../Proto2MapKeyIgnoreEmptyOrBuilder.java | 3 +-
.../cases/Proto2MapKeyIgnoreUnspecified.java | 93 +-
...roto2MapKeyIgnoreUnspecifiedOrBuilder.java | 3 +-
.../cases/Proto2MapValueIgnoreDefault.java | 93 +-
.../Proto2MapValueIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto2MapValueIgnoreEmpty.java | 93 +-
.../Proto2MapValueIgnoreEmptyOrBuilder.java | 3 +-
.../Proto2MapValueIgnoreUnspecified.java | 93 +-
...to2MapValueIgnoreUnspecifiedOrBuilder.java | 3 +-
.../Proto2MessageOptionalIgnoreDefault.java | 191 +--
...MessageOptionalIgnoreDefaultOrBuilder.java | 3 +-
.../Proto2MessageOptionalIgnoreEmpty.java | 191 +--
...o2MessageOptionalIgnoreEmptyOrBuilder.java | 3 +-
...roto2MessageOptionalIgnoreUnspecified.java | 191 +--
...ageOptionalIgnoreUnspecifiedOrBuilder.java | 3 +-
.../Proto2MessageRequiredIgnoreDefault.java | 191 +--
...MessageRequiredIgnoreDefaultOrBuilder.java | 3 +-
.../Proto2MessageRequiredIgnoreEmpty.java | 191 +--
...o2MessageRequiredIgnoreEmptyOrBuilder.java | 3 +-
...roto2MessageRequiredIgnoreUnspecified.java | 191 +--
...ageRequiredIgnoreUnspecifiedOrBuilder.java | 3 +-
.../cases/Proto2OneofIgnoreDefault.java | 91 +-
.../Proto2OneofIgnoreDefaultOrBuilder.java | 3 +-
.../Proto2OneofIgnoreDefaultWithDefault.java | 91 +-
...neofIgnoreDefaultWithDefaultOrBuilder.java | 3 +-
.../cases/Proto2OneofIgnoreEmpty.java | 91 +-
.../Proto2OneofIgnoreEmptyOrBuilder.java | 3 +-
.../Proto2OneofIgnoreEmptyWithDefault.java | 91 +-
...2OneofIgnoreEmptyWithDefaultOrBuilder.java | 3 +-
.../cases/Proto2OneofIgnoreUnspecified.java | 91 +-
...Proto2OneofIgnoreUnspecifiedOrBuilder.java | 3 +-
...oto2OneofIgnoreUnspecifiedWithDefault.java | 91 +-
...IgnoreUnspecifiedWithDefaultOrBuilder.java | 3 +-
.../cases/Proto2RepeatedIgnoreDefault.java | 91 +-
.../Proto2RepeatedIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto2RepeatedIgnoreEmpty.java | 91 +-
.../Proto2RepeatedIgnoreEmptyOrBuilder.java | 3 +-
.../Proto2RepeatedIgnoreUnspecified.java | 91 +-
...to2RepeatedIgnoreUnspecifiedOrBuilder.java | 3 +-
.../Proto2RepeatedItemIgnoreDefault.java | 91 +-
...to2RepeatedItemIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto2RepeatedItemIgnoreEmpty.java | 91 +-
...roto2RepeatedItemIgnoreEmptyOrBuilder.java | 3 +-
.../Proto2RepeatedItemIgnoreUnspecified.java | 91 +-
...epeatedItemIgnoreUnspecifiedOrBuilder.java | 3 +-
.../Proto2ScalarOptionalIgnoreDefault.java | 91 +-
...2ScalarOptionalIgnoreDefaultOrBuilder.java | 3 +-
...calarOptionalIgnoreDefaultWithDefault.java | 91 +-
...onalIgnoreDefaultWithDefaultOrBuilder.java | 3 +-
.../Proto2ScalarOptionalIgnoreEmpty.java | 91 +-
...to2ScalarOptionalIgnoreEmptyOrBuilder.java | 3 +-
...2ScalarOptionalIgnoreEmptyWithDefault.java | 91 +-
...tionalIgnoreEmptyWithDefaultOrBuilder.java | 3 +-
...Proto2ScalarOptionalIgnoreUnspecified.java | 91 +-
...larOptionalIgnoreUnspecifiedOrBuilder.java | 3 +-
...rOptionalIgnoreUnspecifiedWithDefault.java | 91 +-
...IgnoreUnspecifiedWithDefaultOrBuilder.java | 3 +-
.../Proto2ScalarRequiredIgnoreDefault.java | 91 +-
...2ScalarRequiredIgnoreDefaultOrBuilder.java | 3 +-
...calarRequiredIgnoreDefaultWithDefault.java | 91 +-
...iredIgnoreDefaultWithDefaultOrBuilder.java | 3 +-
.../Proto2ScalarRequiredIgnoreEmpty.java | 91 +-
...to2ScalarRequiredIgnoreEmptyOrBuilder.java | 3 +-
...2ScalarRequiredIgnoreEmptyWithDefault.java | 91 +-
...quiredIgnoreEmptyWithDefaultOrBuilder.java | 3 +-
...Proto2ScalarRequiredIgnoreUnspecified.java | 91 +-
...larRequiredIgnoreUnspecifiedOrBuilder.java | 3 +-
...rRequiredIgnoreUnspecifiedWithDefault.java | 91 +-
...IgnoreUnspecifiedWithDefaultOrBuilder.java | 3 +-
.../cases/Proto3MapIgnoreDefault.java | 91 +-
.../Proto3MapIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto3MapIgnoreEmpty.java | 91 +-
.../cases/Proto3MapIgnoreEmptyOrBuilder.java | 3 +-
.../cases/Proto3MapIgnoreUnspecified.java | 91 +-
.../Proto3MapIgnoreUnspecifiedOrBuilder.java | 3 +-
.../cases/Proto3MapKeyIgnoreDefault.java | 91 +-
.../Proto3MapKeyIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto3MapKeyIgnoreEmpty.java | 91 +-
.../Proto3MapKeyIgnoreEmptyOrBuilder.java | 3 +-
.../cases/Proto3MapKeyIgnoreUnspecified.java | 91 +-
...roto3MapKeyIgnoreUnspecifiedOrBuilder.java | 3 +-
.../cases/Proto3MapValueIgnoreDefault.java | 91 +-
.../Proto3MapValueIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto3MapValueIgnoreEmpty.java | 91 +-
.../Proto3MapValueIgnoreEmptyOrBuilder.java | 3 +-
.../Proto3MapValueIgnoreUnspecified.java | 91 +-
...to3MapValueIgnoreUnspecifiedOrBuilder.java | 3 +-
.../cases/Proto3MessageIgnoreDefault.java | 187 +--
.../Proto3MessageIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto3MessageIgnoreEmpty.java | 187 +--
.../Proto3MessageIgnoreEmptyOrBuilder.java | 3 +-
.../cases/Proto3MessageIgnoreUnspecified.java | 187 +--
...oto3MessageIgnoreUnspecifiedOrBuilder.java | 3 +-
.../Proto3MessageOptionalIgnoreDefault.java | 187 +--
...MessageOptionalIgnoreDefaultOrBuilder.java | 3 +-
.../Proto3MessageOptionalIgnoreEmpty.java | 187 +--
...o3MessageOptionalIgnoreEmptyOrBuilder.java | 3 +-
...roto3MessageOptionalIgnoreUnspecified.java | 187 +--
...ageOptionalIgnoreUnspecifiedOrBuilder.java | 3 +-
.../cases/Proto3OneofIgnoreDefault.java | 89 +-
.../Proto3OneofIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto3OneofIgnoreEmpty.java | 89 +-
.../Proto3OneofIgnoreEmptyOrBuilder.java | 3 +-
.../cases/Proto3OneofIgnoreUnspecified.java | 89 +-
...Proto3OneofIgnoreUnspecifiedOrBuilder.java | 3 +-
.../cases/Proto3RepeatedIgnoreDefault.java | 89 +-
.../Proto3RepeatedIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto3RepeatedIgnoreEmpty.java | 89 +-
.../Proto3RepeatedIgnoreEmptyOrBuilder.java | 3 +-
.../Proto3RepeatedIgnoreUnspecified.java | 89 +-
...to3RepeatedIgnoreUnspecifiedOrBuilder.java | 3 +-
.../Proto3RepeatedItemIgnoreDefault.java | 89 +-
...to3RepeatedItemIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto3RepeatedItemIgnoreEmpty.java | 89 +-
...roto3RepeatedItemIgnoreEmptyOrBuilder.java | 3 +-
.../Proto3RepeatedItemIgnoreUnspecified.java | 89 +-
...epeatedItemIgnoreUnspecifiedOrBuilder.java | 3 +-
.../cases/Proto3ScalarIgnoreDefault.java | 89 +-
.../Proto3ScalarIgnoreDefaultOrBuilder.java | 3 +-
.../cases/Proto3ScalarIgnoreEmpty.java | 89 +-
.../Proto3ScalarIgnoreEmptyOrBuilder.java | 3 +-
.../cases/Proto3ScalarIgnoreUnspecified.java | 89 +-
...roto3ScalarIgnoreUnspecifiedOrBuilder.java | 3 +-
.../Proto3ScalarOptionalIgnoreDefault.java | 89 +-
...3ScalarOptionalIgnoreDefaultOrBuilder.java | 3 +-
.../Proto3ScalarOptionalIgnoreEmpty.java | 89 +-
...to3ScalarOptionalIgnoreEmptyOrBuilder.java | 3 +-
...Proto3ScalarOptionalIgnoreUnspecified.java | 89 +-
...larOptionalIgnoreUnspecifiedOrBuilder.java | 3 +-
.../conformance/cases/RepeatedAnyIn.java | 97 +-
.../cases/RepeatedAnyInOrBuilder.java | 3 +-
.../conformance/cases/RepeatedAnyNotIn.java | 97 +-
.../cases/RepeatedAnyNotInOrBuilder.java | 3 +-
.../conformance/cases/RepeatedDuration.java | 97 +-
.../cases/RepeatedDurationOrBuilder.java | 3 +-
.../cases/RepeatedEmbedCrossPackageNone.java | 97 +-
...epeatedEmbedCrossPackageNoneOrBuilder.java | 3 +-
.../conformance/cases/RepeatedEmbedNone.java | 97 +-
.../cases/RepeatedEmbedNoneOrBuilder.java | 3 +-
.../conformance/cases/RepeatedEmbedSkip.java | 97 +-
.../cases/RepeatedEmbedSkipOrBuilder.java | 3 +-
.../cases/RepeatedEmbeddedEnumIn.java | 98 +-
.../RepeatedEmbeddedEnumInOrBuilder.java | 3 +-
.../cases/RepeatedEmbeddedEnumNotIn.java | 98 +-
.../RepeatedEmbeddedEnumNotInOrBuilder.java | 3 +-
.../cases/RepeatedEnumDefined.java | 89 +-
.../cases/RepeatedEnumDefinedOrBuilder.java | 3 +-
.../conformance/cases/RepeatedEnumIn.java | 89 +-
.../cases/RepeatedEnumInOrBuilder.java | 3 +-
.../conformance/cases/RepeatedEnumNotIn.java | 89 +-
.../cases/RepeatedEnumNotInOrBuilder.java | 3 +-
.../conformance/cases/RepeatedExact.java | 89 +-
.../cases/RepeatedExactIgnore.java | 89 +-
.../cases/RepeatedExactIgnoreOrBuilder.java | 3 +-
.../cases/RepeatedExactOrBuilder.java | 3 +-
.../cases/RepeatedExternalEnumDefined.java | 89 +-
.../RepeatedExternalEnumDefinedOrBuilder.java | 3 +-
.../conformance/cases/RepeatedItemIn.java | 91 +-
.../cases/RepeatedItemInOrBuilder.java | 3 +-
.../conformance/cases/RepeatedItemNotIn.java | 91 +-
.../cases/RepeatedItemNotInOrBuilder.java | 3 +-
.../cases/RepeatedItemPattern.java | 91 +-
.../cases/RepeatedItemPatternOrBuilder.java | 3 +-
.../conformance/cases/RepeatedItemRule.java | 89 +-
.../cases/RepeatedItemRuleOrBuilder.java | 3 +-
.../conformance/cases/RepeatedMax.java | 89 +-
.../cases/RepeatedMaxOrBuilder.java | 3 +-
.../conformance/cases/RepeatedMin.java | 97 +-
.../cases/RepeatedMinAndItemLen.java | 91 +-
.../cases/RepeatedMinAndItemLenOrBuilder.java | 3 +-
.../cases/RepeatedMinAndMaxItemLen.java | 91 +-
.../RepeatedMinAndMaxItemLenOrBuilder.java | 3 +-
.../conformance/cases/RepeatedMinMax.java | 89 +-
.../cases/RepeatedMinMaxOrBuilder.java | 3 +-
.../cases/RepeatedMinOrBuilder.java | 3 +-
.../cases/RepeatedMultipleUnique.java | 91 +-
.../RepeatedMultipleUniqueOrBuilder.java | 3 +-
.../conformance/cases/RepeatedNone.java | 89 +-
.../cases/RepeatedNoneOrBuilder.java | 3 +-
.../conformance/cases/RepeatedProto.java | 121 +-
.../conformance/cases/RepeatedUnique.java | 91 +-
.../cases/RepeatedUniqueOrBuilder.java | 3 +-
...RepeatedYetAnotherExternalEnumDefined.java | 89 +-
...etAnotherExternalEnumDefinedOrBuilder.java | 3 +-
.../cases/RequiredEditionsMap.java | 644 ++++++++++
.../cases/RequiredEditionsMapOrBuilder.java | 45 +
...quiredEditionsMessageExplicitPresence.java | 1097 ++++++++++++++++
...tionsMessageExplicitPresenceDelimited.java | 1097 ++++++++++++++++
...ageExplicitPresenceDelimitedOrBuilder.java | 26 +
...tionsMessageExplicitPresenceOrBuilder.java | 26 +
...RequiredEditionsMessageLegacyRequired.java | 1104 ++++++++++++++++
...ditionsMessageLegacyRequiredDelimited.java | 1104 ++++++++++++++++
...ssageLegacyRequiredDelimitedOrBuilder.java | 26 +
...ditionsMessageLegacyRequiredOrBuilder.java | 26 +
.../cases/RequiredEditionsOneof.java | 786 ++++++++++++
.../cases/RequiredEditionsOneofOrBuilder.java | 47 +
.../cases/RequiredEditionsRepeated.java | 554 ++++++++
.../RequiredEditionsRepeatedExpanded.java | 554 ++++++++
...iredEditionsRepeatedExpandedOrBuilder.java | 36 +
.../RequiredEditionsRepeatedOrBuilder.java | 36 +
...equiredEditionsScalarExplicitPresence.java | 525 ++++++++
...EditionsScalarExplicitPresenceDefault.java | 525 ++++++++
...calarExplicitPresenceDefaultOrBuilder.java | 28 +
...itionsScalarExplicitPresenceOrBuilder.java | 28 +
...equiredEditionsScalarImplicitPresence.java | 501 ++++++++
...itionsScalarImplicitPresenceOrBuilder.java | 23 +
.../RequiredEditionsScalarLegacyRequired.java | 532 ++++++++
...EditionsScalarLegacyRequiredOrBuilder.java | 28 +
.../cases/RequiredFieldProto2Proto.java | 51 +-
.../cases/RequiredFieldProto3Proto.java | 47 +-
.../RequiredFieldProtoEditionsProto.java | 284 +++++
.../conformance/cases/RequiredProto2Map.java | 93 +-
.../cases/RequiredProto2MapOrBuilder.java | 3 +-
.../cases/RequiredProto2Message.java | 191 +--
.../cases/RequiredProto2MessageOrBuilder.java | 3 +-
.../cases/RequiredProto2Oneof.java | 99 +-
.../cases/RequiredProto2OneofOrBuilder.java | 3 +-
.../cases/RequiredProto2Repeated.java | 93 +-
.../RequiredProto2RepeatedOrBuilder.java | 3 +-
.../cases/RequiredProto2ScalarOptional.java | 95 +-
.../RequiredProto2ScalarOptionalDefault.java | 95 +-
...dProto2ScalarOptionalDefaultOrBuilder.java | 3 +-
...RequiredProto2ScalarOptionalOrBuilder.java | 3 +-
.../cases/RequiredProto2ScalarRequired.java | 95 +-
...RequiredProto2ScalarRequiredOrBuilder.java | 3 +-
.../conformance/cases/RequiredProto3Map.java | 91 +-
.../cases/RequiredProto3MapOrBuilder.java | 3 +-
.../cases/RequiredProto3Message.java | 191 +--
.../cases/RequiredProto3MessageOrBuilder.java | 3 +-
.../cases/RequiredProto3OneOf.java | 97 +-
.../cases/RequiredProto3OneOfOrBuilder.java | 3 +-
.../cases/RequiredProto3OptionalScalar.java | 93 +-
...RequiredProto3OptionalScalarOrBuilder.java | 3 +-
.../cases/RequiredProto3Repeated.java | 91 +-
.../RequiredProto3RepeatedOrBuilder.java | 3 +-
.../cases/RequiredProto3Scalar.java | 97 +-
.../cases/RequiredProto3ScalarOrBuilder.java | 3 +-
.../conformance/cases/SFixed32Const.java | 89 +-
.../cases/SFixed32ConstOrBuilder.java | 3 +-
.../conformance/cases/SFixed32ExGTELTE.java | 89 +-
.../cases/SFixed32ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/SFixed32ExLTGT.java | 89 +-
.../cases/SFixed32ExLTGTOrBuilder.java | 3 +-
.../conformance/cases/SFixed32GT.java | 89 +-
.../conformance/cases/SFixed32GTE.java | 89 +-
.../conformance/cases/SFixed32GTELTE.java | 89 +-
.../cases/SFixed32GTELTEOrBuilder.java | 3 +-
.../cases/SFixed32GTEOrBuilder.java | 3 +-
.../conformance/cases/SFixed32GTLT.java | 89 +-
.../cases/SFixed32GTLTOrBuilder.java | 3 +-
.../cases/SFixed32GTOrBuilder.java | 3 +-
.../conformance/cases/SFixed32Ignore.java | 89 +-
.../cases/SFixed32IgnoreOrBuilder.java | 3 +-
.../conformance/cases/SFixed32In.java | 89 +-
.../cases/SFixed32InOrBuilder.java | 3 +-
.../cases/SFixed32IncorrectType.java | 89 +-
.../cases/SFixed32IncorrectTypeOrBuilder.java | 3 +-
.../conformance/cases/SFixed32LT.java | 89 +-
.../conformance/cases/SFixed32LTE.java | 89 +-
.../cases/SFixed32LTEOrBuilder.java | 3 +-
.../cases/SFixed32LTOrBuilder.java | 3 +-
.../conformance/cases/SFixed32None.java | 89 +-
.../cases/SFixed32NoneOrBuilder.java | 3 +-
.../conformance/cases/SFixed32NotIn.java | 89 +-
.../cases/SFixed32NotInOrBuilder.java | 3 +-
.../conformance/cases/SFixed64Const.java | 89 +-
.../cases/SFixed64ConstOrBuilder.java | 3 +-
.../conformance/cases/SFixed64ExGTELTE.java | 89 +-
.../cases/SFixed64ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/SFixed64ExLTGT.java | 89 +-
.../cases/SFixed64ExLTGTOrBuilder.java | 3 +-
.../conformance/cases/SFixed64GT.java | 89 +-
.../conformance/cases/SFixed64GTE.java | 89 +-
.../conformance/cases/SFixed64GTELTE.java | 89 +-
.../cases/SFixed64GTELTEOrBuilder.java | 3 +-
.../cases/SFixed64GTEOrBuilder.java | 3 +-
.../conformance/cases/SFixed64GTLT.java | 89 +-
.../cases/SFixed64GTLTOrBuilder.java | 3 +-
.../cases/SFixed64GTOrBuilder.java | 3 +-
.../conformance/cases/SFixed64Ignore.java | 89 +-
.../cases/SFixed64IgnoreOrBuilder.java | 3 +-
.../conformance/cases/SFixed64In.java | 89 +-
.../cases/SFixed64InOrBuilder.java | 3 +-
.../cases/SFixed64IncorrectType.java | 89 +-
.../cases/SFixed64IncorrectTypeOrBuilder.java | 3 +-
.../conformance/cases/SFixed64LT.java | 89 +-
.../conformance/cases/SFixed64LTE.java | 89 +-
.../cases/SFixed64LTEOrBuilder.java | 3 +-
.../cases/SFixed64LTOrBuilder.java | 3 +-
.../conformance/cases/SFixed64None.java | 89 +-
.../cases/SFixed64NoneOrBuilder.java | 3 +-
.../conformance/cases/SFixed64NotIn.java | 89 +-
.../cases/SFixed64NotInOrBuilder.java | 3 +-
.../conformance/cases/SInt32Const.java | 89 +-
.../cases/SInt32ConstOrBuilder.java | 3 +-
.../conformance/cases/SInt32ExGTELTE.java | 89 +-
.../cases/SInt32ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/SInt32ExLTGT.java | 89 +-
.../cases/SInt32ExLTGTOrBuilder.java | 3 +-
.../validate/conformance/cases/SInt32GT.java | 89 +-
.../validate/conformance/cases/SInt32GTE.java | 89 +-
.../conformance/cases/SInt32GTELTE.java | 89 +-
.../cases/SInt32GTELTEOrBuilder.java | 3 +-
.../conformance/cases/SInt32GTEOrBuilder.java | 3 +-
.../conformance/cases/SInt32GTLT.java | 89 +-
.../cases/SInt32GTLTOrBuilder.java | 3 +-
.../conformance/cases/SInt32GTOrBuilder.java | 3 +-
.../conformance/cases/SInt32Ignore.java | 89 +-
.../cases/SInt32IgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/SInt32In.java | 89 +-
.../conformance/cases/SInt32InOrBuilder.java | 3 +-
.../cases/SInt32IncorrectType.java | 89 +-
.../cases/SInt32IncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/SInt32LT.java | 89 +-
.../validate/conformance/cases/SInt32LTE.java | 89 +-
.../conformance/cases/SInt32LTEOrBuilder.java | 3 +-
.../conformance/cases/SInt32LTOrBuilder.java | 3 +-
.../conformance/cases/SInt32None.java | 89 +-
.../cases/SInt32NoneOrBuilder.java | 3 +-
.../conformance/cases/SInt32NotIn.java | 89 +-
.../cases/SInt32NotInOrBuilder.java | 3 +-
.../conformance/cases/SInt64Const.java | 89 +-
.../cases/SInt64ConstOrBuilder.java | 3 +-
.../conformance/cases/SInt64ExGTELTE.java | 89 +-
.../cases/SInt64ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/SInt64ExLTGT.java | 89 +-
.../cases/SInt64ExLTGTOrBuilder.java | 3 +-
.../validate/conformance/cases/SInt64GT.java | 89 +-
.../validate/conformance/cases/SInt64GTE.java | 89 +-
.../conformance/cases/SInt64GTELTE.java | 89 +-
.../cases/SInt64GTELTEOrBuilder.java | 3 +-
.../conformance/cases/SInt64GTEOrBuilder.java | 3 +-
.../conformance/cases/SInt64GTLT.java | 89 +-
.../cases/SInt64GTLTOrBuilder.java | 3 +-
.../conformance/cases/SInt64GTOrBuilder.java | 3 +-
.../conformance/cases/SInt64Ignore.java | 89 +-
.../cases/SInt64IgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/SInt64In.java | 89 +-
.../conformance/cases/SInt64InOrBuilder.java | 3 +-
.../cases/SInt64IncorrectType.java | 89 +-
.../cases/SInt64IncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/SInt64LT.java | 89 +-
.../validate/conformance/cases/SInt64LTE.java | 89 +-
.../conformance/cases/SInt64LTEOrBuilder.java | 3 +-
.../conformance/cases/SInt64LTOrBuilder.java | 3 +-
.../conformance/cases/SInt64None.java | 89 +-
.../cases/SInt64NoneOrBuilder.java | 3 +-
.../conformance/cases/SInt64NotIn.java | 89 +-
.../cases/SInt64NotInOrBuilder.java | 3 +-
.../conformance/cases/StringAddress.java | 97 +-
.../cases/StringAddressOrBuilder.java | 3 +-
.../conformance/cases/StringConst.java | 97 +-
.../cases/StringConstOrBuilder.java | 3 +-
.../conformance/cases/StringContains.java | 97 +-
.../cases/StringContainsOrBuilder.java | 3 +-
.../conformance/cases/StringEmail.java | 97 +-
.../cases/StringEmailOrBuilder.java | 3 +-
.../cases/StringEqualMinMaxBytes.java | 97 +-
.../StringEqualMinMaxBytesOrBuilder.java | 3 +-
.../cases/StringEqualMinMaxLen.java | 97 +-
.../cases/StringEqualMinMaxLenOrBuilder.java | 3 +-
.../cases/StringHostAndOptionalPort.java | 97 +-
.../StringHostAndOptionalPortOrBuilder.java | 3 +-
.../conformance/cases/StringHostAndPort.java | 97 +-
.../cases/StringHostAndPortOrBuilder.java | 3 +-
.../conformance/cases/StringHostname.java | 97 +-
.../cases/StringHostnameOrBuilder.java | 3 +-
.../cases/StringHttpHeaderName.java | 97 +-
.../cases/StringHttpHeaderNameLoose.java | 97 +-
.../StringHttpHeaderNameLooseOrBuilder.java | 3 +-
.../cases/StringHttpHeaderNameOrBuilder.java | 3 +-
.../cases/StringHttpHeaderValue.java | 97 +-
.../cases/StringHttpHeaderValueLoose.java | 97 +-
.../StringHttpHeaderValueLooseOrBuilder.java | 3 +-
.../cases/StringHttpHeaderValueOrBuilder.java | 3 +-
.../validate/conformance/cases/StringIP.java | 97 +-
.../conformance/cases/StringIPOrBuilder.java | 3 +-
.../conformance/cases/StringIPPrefix.java | 97 +-
.../cases/StringIPPrefixOrBuilder.java | 3 +-
.../cases/StringIPWithPrefixLen.java | 97 +-
.../cases/StringIPWithPrefixLenOrBuilder.java | 3 +-
.../conformance/cases/StringIPv4.java | 97 +-
.../cases/StringIPv4OrBuilder.java | 3 +-
.../conformance/cases/StringIPv4Prefix.java | 97 +-
.../cases/StringIPv4PrefixOrBuilder.java | 3 +-
.../cases/StringIPv4WithPrefixLen.java | 97 +-
.../StringIPv4WithPrefixLenOrBuilder.java | 3 +-
.../conformance/cases/StringIPv6.java | 97 +-
.../cases/StringIPv6OrBuilder.java | 3 +-
.../conformance/cases/StringIPv6Prefix.java | 97 +-
.../cases/StringIPv6PrefixOrBuilder.java | 3 +-
.../cases/StringIPv6WithPrefixLen.java | 97 +-
.../StringIPv6WithPrefixLenOrBuilder.java | 3 +-
.../validate/conformance/cases/StringIn.java | 97 +-
.../conformance/cases/StringInOneof.java | 93 +-
.../cases/StringInOneofOrBuilder.java | 3 +-
.../conformance/cases/StringInOrBuilder.java | 3 +-
.../validate/conformance/cases/StringLen.java | 97 +-
.../conformance/cases/StringLenBytes.java | 97 +-
.../cases/StringLenBytesOrBuilder.java | 3 +-
.../conformance/cases/StringLenOrBuilder.java | 3 +-
.../conformance/cases/StringMaxBytes.java | 97 +-
.../cases/StringMaxBytesOrBuilder.java | 3 +-
.../conformance/cases/StringMaxLen.java | 97 +-
.../cases/StringMaxLenOrBuilder.java | 3 +-
.../conformance/cases/StringMinBytes.java | 97 +-
.../cases/StringMinBytesOrBuilder.java | 3 +-
.../conformance/cases/StringMinLen.java | 97 +-
.../cases/StringMinLenOrBuilder.java | 3 +-
.../conformance/cases/StringMinMaxBytes.java | 97 +-
.../cases/StringMinMaxBytesOrBuilder.java | 3 +-
.../conformance/cases/StringMinMaxLen.java | 97 +-
.../cases/StringMinMaxLenOrBuilder.java | 3 +-
.../conformance/cases/StringNone.java | 97 +-
.../cases/StringNoneOrBuilder.java | 3 +-
.../conformance/cases/StringNotContains.java | 97 +-
.../cases/StringNotContainsOrBuilder.java | 3 +-
.../conformance/cases/StringNotIn.java | 97 +-
.../cases/StringNotInOrBuilder.java | 3 +-
.../conformance/cases/StringPattern.java | 97 +-
.../cases/StringPatternEscapes.java | 97 +-
.../cases/StringPatternEscapesOrBuilder.java | 3 +-
.../cases/StringPatternOrBuilder.java | 3 +-
.../conformance/cases/StringPrefix.java | 97 +-
.../cases/StringPrefixOrBuilder.java | 3 +-
.../conformance/cases/StringSuffix.java | 97 +-
.../cases/StringSuffixOrBuilder.java | 3 +-
.../conformance/cases/StringTUUID.java | 97 +-
.../cases/StringTUUIDOrBuilder.java | 3 +-
.../validate/conformance/cases/StringURI.java | 97 +-
.../conformance/cases/StringURIOrBuilder.java | 3 +-
.../conformance/cases/StringURIRef.java | 97 +-
.../cases/StringURIRefOrBuilder.java | 3 +-
.../conformance/cases/StringUUID.java | 97 +-
.../conformance/cases/StringUUIDIgnore.java | 97 +-
.../cases/StringUUIDIgnoreOrBuilder.java | 3 +-
.../cases/StringUUIDOrBuilder.java | 3 +-
.../conformance/cases/StringsProto.java | 191 +--
.../validate/conformance/cases/TestEnum.java | 12 +-
.../conformance/cases/TestEnumAlias.java | 12 +-
.../validate/conformance/cases/TestMsg.java | 105 +-
.../conformance/cases/TestMsgOrBuilder.java | 3 +-
.../conformance/cases/TestOneofMsg.java | 89 +-
.../cases/TestOneofMsgOrBuilder.java | 3 +-
.../conformance/cases/TimestampConst.java | 97 +-
.../cases/TimestampConstOrBuilder.java | 3 +-
.../conformance/cases/TimestampExGTELTE.java | 97 +-
.../cases/TimestampExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/TimestampExLTGT.java | 97 +-
.../cases/TimestampExLTGTOrBuilder.java | 3 +-
.../conformance/cases/TimestampGT.java | 97 +-
.../conformance/cases/TimestampGTE.java | 97 +-
.../conformance/cases/TimestampGTELTE.java | 97 +-
.../cases/TimestampGTELTEOrBuilder.java | 3 +-
.../cases/TimestampGTEOrBuilder.java | 3 +-
.../conformance/cases/TimestampGTLT.java | 97 +-
.../cases/TimestampGTLTOrBuilder.java | 3 +-
.../conformance/cases/TimestampGTNow.java | 97 +-
.../cases/TimestampGTNowOrBuilder.java | 3 +-
.../cases/TimestampGTNowWithin.java | 97 +-
.../cases/TimestampGTNowWithinOrBuilder.java | 3 +-
.../cases/TimestampGTOrBuilder.java | 3 +-
.../conformance/cases/TimestampLT.java | 97 +-
.../conformance/cases/TimestampLTE.java | 97 +-
.../cases/TimestampLTEOrBuilder.java | 3 +-
.../conformance/cases/TimestampLTNow.java | 97 +-
.../cases/TimestampLTNowOrBuilder.java | 3 +-
.../cases/TimestampLTNowWithin.java | 97 +-
.../cases/TimestampLTNowWithinOrBuilder.java | 3 +-
.../cases/TimestampLTOrBuilder.java | 3 +-
.../conformance/cases/TimestampNone.java | 97 +-
.../cases/TimestampNoneOrBuilder.java | 3 +-
.../conformance/cases/TimestampRequired.java | 97 +-
.../cases/TimestampRequiredOrBuilder.java | 3 +-
.../conformance/cases/TimestampWithin.java | 97 +-
.../cases/TimestampWithinOrBuilder.java | 3 +-
.../conformance/cases/UInt32Const.java | 89 +-
.../cases/UInt32ConstOrBuilder.java | 3 +-
.../conformance/cases/UInt32ExGTELTE.java | 89 +-
.../cases/UInt32ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/UInt32ExLTGT.java | 89 +-
.../cases/UInt32ExLTGTOrBuilder.java | 3 +-
.../validate/conformance/cases/UInt32GT.java | 89 +-
.../validate/conformance/cases/UInt32GTE.java | 89 +-
.../conformance/cases/UInt32GTELTE.java | 89 +-
.../cases/UInt32GTELTEOrBuilder.java | 3 +-
.../conformance/cases/UInt32GTEOrBuilder.java | 3 +-
.../conformance/cases/UInt32GTLT.java | 89 +-
.../cases/UInt32GTLTOrBuilder.java | 3 +-
.../conformance/cases/UInt32GTOrBuilder.java | 3 +-
.../conformance/cases/UInt32Ignore.java | 89 +-
.../cases/UInt32IgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/UInt32In.java | 89 +-
.../conformance/cases/UInt32InOrBuilder.java | 3 +-
.../cases/UInt32IncorrectType.java | 89 +-
.../cases/UInt32IncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/UInt32LT.java | 89 +-
.../validate/conformance/cases/UInt32LTE.java | 89 +-
.../conformance/cases/UInt32LTEOrBuilder.java | 3 +-
.../conformance/cases/UInt32LTOrBuilder.java | 3 +-
.../conformance/cases/UInt32None.java | 89 +-
.../cases/UInt32NoneOrBuilder.java | 3 +-
.../conformance/cases/UInt32NotIn.java | 89 +-
.../cases/UInt32NotInOrBuilder.java | 3 +-
.../conformance/cases/UInt64Const.java | 89 +-
.../cases/UInt64ConstOrBuilder.java | 3 +-
.../conformance/cases/UInt64ExGTELTE.java | 89 +-
.../cases/UInt64ExGTELTEOrBuilder.java | 3 +-
.../conformance/cases/UInt64ExLTGT.java | 89 +-
.../cases/UInt64ExLTGTOrBuilder.java | 3 +-
.../validate/conformance/cases/UInt64GT.java | 89 +-
.../validate/conformance/cases/UInt64GTE.java | 89 +-
.../conformance/cases/UInt64GTELTE.java | 89 +-
.../cases/UInt64GTELTEOrBuilder.java | 3 +-
.../conformance/cases/UInt64GTEOrBuilder.java | 3 +-
.../conformance/cases/UInt64GTLT.java | 89 +-
.../cases/UInt64GTLTOrBuilder.java | 3 +-
.../conformance/cases/UInt64GTOrBuilder.java | 3 +-
.../conformance/cases/UInt64Ignore.java | 89 +-
.../cases/UInt64IgnoreOrBuilder.java | 3 +-
.../validate/conformance/cases/UInt64In.java | 89 +-
.../conformance/cases/UInt64InOrBuilder.java | 3 +-
.../cases/UInt64IncorrectType.java | 89 +-
.../cases/UInt64IncorrectTypeOrBuilder.java | 3 +-
.../validate/conformance/cases/UInt64LT.java | 89 +-
.../validate/conformance/cases/UInt64LTE.java | 89 +-
.../conformance/cases/UInt64LTEOrBuilder.java | 3 +-
.../conformance/cases/UInt64LTOrBuilder.java | 3 +-
.../conformance/cases/UInt64None.java | 89 +-
.../cases/UInt64NoneOrBuilder.java | 3 +-
.../conformance/cases/UInt64NotIn.java | 89 +-
.../cases/UInt64NotInOrBuilder.java | 3 +-
.../conformance/cases/WktAnyProto.java | 33 +-
.../conformance/cases/WktDurationProto.java | 73 +-
.../conformance/cases/WktLevelOne.java | 285 ++---
.../cases/WktLevelOneOrBuilder.java | 3 +-
.../conformance/cases/WktNestedProto.java | 27 +-
.../conformance/cases/WktTimestampProto.java | 81 +-
.../conformance/cases/WktWrappersProto.java | 73 +-
.../conformance/cases/WrapperBool.java | 97 +-
.../cases/WrapperBoolOrBuilder.java | 3 +-
.../conformance/cases/WrapperBytes.java | 97 +-
.../cases/WrapperBytesOrBuilder.java | 3 +-
.../conformance/cases/WrapperDouble.java | 97 +-
.../cases/WrapperDoubleOrBuilder.java | 3 +-
.../conformance/cases/WrapperFloat.java | 97 +-
.../cases/WrapperFloatOrBuilder.java | 3 +-
.../conformance/cases/WrapperInt32.java | 97 +-
.../cases/WrapperInt32OrBuilder.java | 3 +-
.../conformance/cases/WrapperInt64.java | 97 +-
.../cases/WrapperInt64OrBuilder.java | 3 +-
.../conformance/cases/WrapperNone.java | 97 +-
.../cases/WrapperNoneOrBuilder.java | 3 +-
.../cases/WrapperOptionalUuidString.java | 97 +-
.../WrapperOptionalUuidStringOrBuilder.java | 3 +-
.../cases/WrapperRequiredEmptyString.java | 97 +-
.../WrapperRequiredEmptyStringOrBuilder.java | 3 +-
.../cases/WrapperRequiredFloat.java | 97 +-
.../cases/WrapperRequiredFloatOrBuilder.java | 3 +-
.../cases/WrapperRequiredString.java | 97 +-
.../cases/WrapperRequiredStringOrBuilder.java | 3 +-
.../conformance/cases/WrapperString.java | 97 +-
.../cases/WrapperStringOrBuilder.java | 3 +-
.../conformance/cases/WrapperUInt32.java | 97 +-
.../cases/WrapperUInt32OrBuilder.java | 3 +-
.../conformance/cases/WrapperUInt64.java | 97 +-
.../cases/WrapperUInt64OrBuilder.java | 3 +-
.../CustomConstraintsProto.java | 55 +-
.../custom_constraints/DynRuntimeError.java | 89 +-
.../DynRuntimeErrorOrBuilder.java | 3 +-
.../cases/custom_constraints/Enum.java | 12 +-
.../custom_constraints/FieldExpressions.java | 183 +--
.../FieldExpressionsOrBuilder.java | 3 +-
.../custom_constraints/IncorrectType.java | 89 +-
.../IncorrectTypeOrBuilder.java | 3 +-
.../MessageExpressions.java | 189 +--
.../MessageExpressionsOrBuilder.java | 3 +-
.../custom_constraints/MissingField.java | 89 +-
.../MissingFieldOrBuilder.java | 3 +-
.../custom_constraints/NoExpressions.java | 183 +--
.../NoExpressionsOrBuilder.java | 3 +-
.../custom_constraints/NowEqualsNow.java | 89 +-
.../NowEqualsNowOrBuilder.java | 3 +-
.../cases/other_package/Embed.java | 193 +--
.../cases/other_package/EmbedOrBuilder.java | 3 +-
.../cases/other_package/EmbedProto.java | 23 +-
.../subdirectory/InSubdirectoryProto.java | 13 +-
.../cases/yet_another_package/Embed.java | 98 +-
.../yet_another_package/Embed2Proto.java | 19 +-
.../yet_another_package/EmbedOrBuilder.java | 3 +-
.../conformance/harness/CaseResult.java | 117 +-
.../harness/CaseResultOrBuilder.java | 3 +-
.../conformance/harness/HarnessProto.java | 33 +-
.../conformance/harness/ResultOptions.java | 105 +-
.../harness/ResultOptionsOrBuilder.java | 3 +-
.../conformance/harness/ResultSet.java | 105 +-
.../harness/ResultSetOrBuilder.java | 3 +-
.../conformance/harness/ResultsProto.java | 29 +-
.../conformance/harness/SuiteResults.java | 113 +-
.../harness/SuiteResultsOrBuilder.java | 3 +-
.../harness/TestConformanceRequest.java | 99 +-
.../TestConformanceRequestOrBuilder.java | 3 +-
.../harness/TestConformanceResponse.java | 91 +-
.../TestConformanceResponseOrBuilder.java | 3 +-
.../conformance/harness/TestResult.java | 107 +-
.../harness/TestResultOrBuilder.java | 3 +-
gradle.properties | 2 +-
gradle/libs.versions.toml | 4 +-
.../constraints/DescriptorMappings.java | 2 +-
.../internal/evaluator/EvaluatorBuilder.java | 8 +-
.../internal/evaluator/ObjectValue.java | 2 +-
.../java/build/buf/validate/AnyRules.java | 223 ++--
.../build/buf/validate/AnyRulesOrBuilder.java | 43 +-
.../java/build/buf/validate/BoolRules.java | 113 +-
.../buf/validate/BoolRulesOrBuilder.java | 11 +-
.../java/build/buf/validate/BytesRules.java | 449 +++----
.../buf/validate/BytesRulesOrBuilder.java | 119 +-
.../java/build/buf/validate/Constraint.java | 137 +-
.../buf/validate/ConstraintOrBuilder.java | 3 +-
.../java/build/buf/validate/DoubleRules.java | 385 +++---
.../buf/validate/DoubleRulesOrBuilder.java | 99 +-
.../build/buf/validate/DurationRules.java | 753 ++++++-----
.../buf/validate/DurationRulesOrBuilder.java | 151 +--
.../java/build/buf/validate/EnumRules.java | 469 ++++---
.../buf/validate/EnumRulesOrBuilder.java | 121 +-
.../build/buf/validate/ExpressionProto.java | 25 +-
.../build/buf/validate/FieldConstraints.java | 631 +++++-----
.../validate/FieldConstraintsOrBuilder.java | 99 +-
.../java/build/buf/validate/Fixed32Rules.java | 385 +++---
.../buf/validate/Fixed32RulesOrBuilder.java | 99 +-
.../java/build/buf/validate/Fixed64Rules.java | 385 +++---
.../buf/validate/Fixed64RulesOrBuilder.java | 99 +-
.../java/build/buf/validate/FloatRules.java | 385 +++---
.../buf/validate/FloatRulesOrBuilder.java | 99 +-
src/main/java/build/buf/validate/Ignore.java | 368 +++---
.../java/build/buf/validate/Int32Rules.java | 385 +++---
.../buf/validate/Int32RulesOrBuilder.java | 99 +-
.../java/build/buf/validate/Int64Rules.java | 385 +++---
.../buf/validate/Int64RulesOrBuilder.java | 99 +-
.../java/build/buf/validate/KnownRegex.java | 12 +-
.../java/build/buf/validate/MapRules.java | 583 ++++-----
.../build/buf/validate/MapRulesOrBuilder.java | 129 +-
.../buf/validate/MessageConstraints.java | 443 +++----
.../validate/MessageConstraintsOrBuilder.java | 81 +-
.../build/buf/validate/OneofConstraints.java | 173 +--
.../validate/OneofConstraintsOrBuilder.java | 31 +-
.../build/buf/validate/RepeatedRules.java | 337 +++--
.../buf/validate/RepeatedRulesOrBuilder.java | 69 +-
.../build/buf/validate/SFixed32Rules.java | 385 +++---
.../buf/validate/SFixed32RulesOrBuilder.java | 99 +-
.../build/buf/validate/SFixed64Rules.java | 385 +++---
.../buf/validate/SFixed64RulesOrBuilder.java | 99 +-
.../java/build/buf/validate/SInt32Rules.java | 385 +++---
.../buf/validate/SInt32RulesOrBuilder.java | 99 +-
.../java/build/buf/validate/SInt64Rules.java | 385 +++---
.../buf/validate/SInt64RulesOrBuilder.java | 99 +-
.../java/build/buf/validate/StringRules.java | 1109 ++++++++---------
.../buf/validate/StringRulesOrBuilder.java | 331 ++---
.../build/buf/validate/TimestampRules.java | 655 +++++-----
.../buf/validate/TimestampRulesOrBuilder.java | 139 ++-
.../java/build/buf/validate/UInt32Rules.java | 385 +++---
.../buf/validate/UInt32RulesOrBuilder.java | 99 +-
.../java/build/buf/validate/UInt64Rules.java | 385 +++---
.../buf/validate/UInt64RulesOrBuilder.java | 99 +-
.../build/buf/validate/ValidateProto.java | 119 +-
.../java/build/buf/validate/Violation.java | 125 +-
.../buf/validate/ViolationOrBuilder.java | 3 +-
.../java/build/buf/validate/Violations.java | 97 +-
.../buf/validate/ViolationsOrBuilder.java | 3 +-
.../build/buf/validate/priv/Constraint.java | 113 +-
.../validate/priv/ConstraintOrBuilder.java | 3 +-
.../buf/validate/priv/FieldConstraints.java | 97 +-
.../priv/FieldConstraintsOrBuilder.java | 3 +-
.../build/buf/validate/priv/PrivateProto.java | 21 +-
.../resources/buf/validate/validate.proto | 818 ++++++------
src/test/resources/proto/buf.gen.imports.yaml | 2 +-
.../resources/proto/buf.gen.noimports.yaml | 2 +-
1205 files changed, 79207 insertions(+), 42499 deletions(-)
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapKeyIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapValueIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapValueIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapValueIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapValueIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapValueIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMapValueIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceDelimitedIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceDelimitedIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceDelimitedIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceDelimitedIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageExplicitPresenceIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredDelimitedIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredDelimitedIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredDelimitedIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredDelimitedIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsMessageLegacyRequiredIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreDefaultWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreDefaultWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreEmptyWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreEmptyWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreUnspecifiedWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsOneofIgnoreUnspecifiedWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedItemIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedItemIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedItemIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedItemIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedItemIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedExpandedItemIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedItemIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedItemIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedItemIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedItemIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedItemIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsRepeatedItemIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreDefaultWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreDefaultWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreEmptyWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarImplicitPresenceIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarImplicitPresenceIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarImplicitPresenceIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarImplicitPresenceIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarImplicitPresenceIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarImplicitPresenceIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreDefaultWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreDefaultWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreEmpty.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreEmptyOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreEmptyWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreUnspecified.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreUnspecifiedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMap.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMapOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMessageExplicitPresence.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMessageExplicitPresenceDelimited.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMessageExplicitPresenceDelimitedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMessageExplicitPresenceOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMessageLegacyRequired.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMessageLegacyRequiredDelimited.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMessageLegacyRequiredDelimitedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsMessageLegacyRequiredOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsOneof.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsOneofOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsRepeated.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsRepeatedExpanded.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsRepeatedExpandedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsRepeatedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarExplicitPresence.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarExplicitPresenceOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarExplicitPresenceWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarImplicitPresence.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarImplicitPresenceOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarLegacyRequired.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarLegacyRequiredOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyEditionsScalarLegacyRequiredWithDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreEmptyProtoEditionsProto.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/IgnoreProtoEditionsProto.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMap.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMapOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMessageExplicitPresence.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMessageExplicitPresenceDelimited.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMessageExplicitPresenceDelimitedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMessageExplicitPresenceOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMessageLegacyRequired.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMessageLegacyRequiredDelimited.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMessageLegacyRequiredDelimitedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsMessageLegacyRequiredOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsOneof.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsOneofOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsRepeated.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsRepeatedExpanded.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsRepeatedExpandedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsRepeatedOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsScalarExplicitPresence.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsScalarExplicitPresenceDefault.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsScalarExplicitPresenceDefaultOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsScalarExplicitPresenceOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsScalarImplicitPresence.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsScalarImplicitPresenceOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsScalarLegacyRequired.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredEditionsScalarLegacyRequiredOrBuilder.java
create mode 100644 conformance/src/main/java/build/buf/validate/conformance/cases/RequiredFieldProtoEditionsProto.java
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();
+ }
+ /**
+ *