Stubs

Module

stubs/wellknowntypes

The Protobuf well-known types (google/protobuf/*.proto), from Google's protobuf releases.

OfficialPublic

Enum in pb.JavaFeatures

Utf8Validation

pb.JavaFeatures.Utf8Validation

The UTF8 validation strategy to use.

Values

NameNumberDescription
UTF8_VALIDATION_UNKNOWN0

Invalid default, which should never be used.

DEFAULT1

Respect the UTF8 validation behavior specified by the global utf8_validation feature.

VERIFY2

Verifies UTF8 validity overriding the global utf8_validation feature. This represents the legacy java_string_check_utf8 option.

Used by

Defined in google/protobuf/java_features.proto