xref: /aosp_15_r20/external/golang-protobuf/runtime/protoiface/legacy.go (revision 1c12ee1efe575feb122dbf939ff15148a3b3e8f2)
1*1c12ee1eSDan Willemsen// Copyright 2018 The Go Authors. All rights reserved.
2*1c12ee1eSDan Willemsen// Use of this source code is governed by a BSD-style
3*1c12ee1eSDan Willemsen// license that can be found in the LICENSE file.
4*1c12ee1eSDan Willemsen
5*1c12ee1eSDan Willemsenpackage protoiface
6*1c12ee1eSDan Willemsen
7*1c12ee1eSDan Willemsentype MessageV1 interface {
8*1c12ee1eSDan Willemsen	Reset()
9*1c12ee1eSDan Willemsen	String() string
10*1c12ee1eSDan Willemsen	ProtoMessage()
11*1c12ee1eSDan Willemsen}
12*1c12ee1eSDan Willemsen
13*1c12ee1eSDan Willemsentype ExtensionRangeV1 struct {
14*1c12ee1eSDan Willemsen	Start, End int32 // both inclusive
15*1c12ee1eSDan Willemsen}
16