blob: e4d09b95fd5bf33cf48645d7025a26e0a9cb7102 [file] [log] [blame]
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
// Author: Jacob Butcher (jbaum@google.com)
//
// Test file option java_string_check_utf8.
edition = "2023";
package proto2_test_check_utf8_size;
option features.utf8_validation = VERIFY;
option java_outer_classname = "TestCheckUtf8Size";
option optimize_for = CODE_SIZE;
message StringWrapperSize {
string req = 1 [features.field_presence = LEGACY_REQUIRED];
string opt = 2;
repeated string rep = 3;
}
message BytesWrapperSize {
bytes req = 1 [features.field_presence = LEGACY_REQUIRED];
bytes opt = 2;
repeated bytes rep = 3;
}