xref: /aosp_15_r20/external/golang-protobuf/internal/genid/goname.go (revision 1c12ee1efe575feb122dbf939ff15148a3b3e8f2)
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
5package genid
6
7// Go names of implementation-specific struct fields in generated messages.
8const (
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)
26