mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-08 18:45:17 +00:00
302cb325fb
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>
15 lines
397 B
Protocol Buffer
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;
|
|
}
|