syntax = "proto3";

package utf8validation.proto3;

option java_package = "com.google.protobuf.utf8validation";
option java_outer_classname = "Utf8TestProto3UncheckedProto";
option java_multiple_files = true;
option java_string_check_utf8 = false;

// Naming convention for test fields:
// file_[java_string_check_utf8 state {unset, false, true}]_field_[enforce_utf8
// state {unset, enforced}]
message Utf8TestProto3Unchecked {
  optional string file_unchecked_field_unset = 1;

  // TODO: Enable once allowlist entry is built into protoc.
  // optional string file_unchecked_field_unenforced = 2 [enforce_utf8 = false];

  optional string file_unchecked_field_enforced = 3 [enforce_utf8 = true];
}
