David K. Bainbridge | c415efe | 2021-08-19 13:05:21 +0000 | [diff] [blame] | 1 | // Copyright 2019 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 genid |
| 6 | |
| 7 | // Go names of implementation-specific struct fields in generated messages. |
| 8 | const ( |
| 9 | State_goname = "state" |
| 10 | |
| 11 | SizeCache_goname = "sizeCache" |
| 12 | SizeCacheA_goname = "XXX_sizecache" |
| 13 | |
| 14 | WeakFields_goname = "weakFields" |
| 15 | WeakFieldsA_goname = "XXX_weak" |
| 16 | |
| 17 | UnknownFields_goname = "unknownFields" |
| 18 | UnknownFieldsA_goname = "XXX_unrecognized" |
| 19 | |
| 20 | ExtensionFields_goname = "extensionFields" |
| 21 | ExtensionFieldsA_goname = "XXX_InternalExtensions" |
| 22 | ExtensionFieldsB_goname = "XXX_extensions" |
| 23 | |
| 24 | WeakFieldPrefix_goname = "XXX_weak_" |
| 25 | ) |