protobuf-go/internal/testprotos/messageset/messagesetpb/message_set.proto
Damien Neil 302cb325fb proto: support message_set_wire_format
MessageSets are a deprecated proto1 feature, long since superseded by
extensions. Add disabled-by-default support behind flags.Proto1Legacy.

Change-Id: I7d3ace07f3b0efd59673034f3dc633b908345a88
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/185538
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-07-15 19:32:30 +00:00

15 lines
397 B
Protocol Buffer

// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
syntax = "proto2";
package goproto.proto.messageset;
option go_package = "google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb";
message MessageSet {
option message_set_wire_format = true;
extensions 4 to max;
}