| // Protocol Buffers - Google's data interchange format | |
| // Copyright 2026 Google LLC | |
| // | |
| // 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 | |
| edition = "2023"; | |
| package test; | |
| import "google/protobuf/cpp_features.proto"; | |
| message EditionsMessage { | |
| int32 plain_field = 1; | |
| int32 implicit_presence_field = 2 [features.field_presence = IMPLICIT]; | |
| string str_view = 3 [features.(pb.cpp).string_type = VIEW]; | |
| repeated string repeated_str_view = 4 [features.(pb.cpp).string_type = VIEW]; | |
| repeated string repeated_str = 5; | |
| } |