Matteo Scandolo | a428586 | 2020-12-01 18:10:10 -0800 | [diff] [blame] | 1 | // Copyright 2018 The Go Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style | ||||
3 | // license that can be found in the LICENSE file. | ||||
4 | |||||
5 | package protoiface | ||||
6 | |||||
7 | type MessageV1 interface { | ||||
8 | Reset() | ||||
9 | String() string | ||||
10 | ProtoMessage() | ||||
11 | } | ||||
12 | |||||
13 | type ExtensionRangeV1 struct { | ||||
14 | Start, End int32 // both inclusive | ||||
15 | } |