const google.golang.org/protobuf/internal/flags.ProtoLegacy

26 uses

	google.golang.org/protobuf/internal/flags (current package)
		flags.go#L17: const ProtoLegacy = protoLegacy
		flags.go#L24: const LazyUnmarshalExtensions = ProtoLegacy

	google.golang.org/protobuf/internal/encoding/text
		decode_token.go#L282: 	if flags.ProtoLegacy && (t.numAttrs == numHex) {
		decode_token.go#L300: 	if flags.ProtoLegacy && (t.numAttrs == numHex) {

	google.golang.org/protobuf/internal/impl
		codec_messageset.go#L17: 	if !flags.ProtoLegacy {
		codec_messageset.go#L40: 	if !flags.ProtoLegacy {
		codec_messageset.go#L97: 	if !flags.ProtoLegacy {
		decode.go#L94: 	if flags.ProtoLegacy && mi.isMessageSet {
		encode.go#L60: 	if flags.ProtoLegacy && mi.isMessageSet {
		encode.go#L118: 	if flags.ProtoLegacy && mi.isMessageSet {
		message_reflect_field.go#L342: 	if !flags.ProtoLegacy {
		validate.go#L293: 			case flags.ProtoLegacy && st.mi.isMessageSet:
		validate.go#L509: 				case flags.ProtoLegacy && vi.typ == validationTypeMessageSetItem:

	google.golang.org/protobuf/internal/strs
		strings.go#L20: 	if flags.ProtoLegacy {

	google.golang.org/protobuf/encoding/protojson
		decode.go#L130: 	if !flags.ProtoLegacy && messageset.IsMessageSet(messageDesc) {
		decode.go#L183: 		if flags.ProtoLegacy {
		encode.go#L202: 	if !flags.ProtoLegacy && messageset.IsMessageSet(m.Descriptor()) {

	google.golang.org/protobuf/encoding/prototext
		decode.go#L108: 	if !flags.ProtoLegacy && messageset.IsMessageSet(messageDesc) {
		decode.go#L188: 		if flags.ProtoLegacy {
		encode.go#L154: 	if !flags.ProtoLegacy && messageset.IsMessageSet(messageDesc) {

	google.golang.org/protobuf/proto
		decode.go#L157: 		} else if flags.ProtoLegacy {
		messageset.go#L29: 	if !flags.ProtoLegacy {
		messageset.go#L60: 	if !flags.ProtoLegacy {

	google.golang.org/protobuf/reflect/protodesc
		desc_validate.go#L107: 		if isMessageSet && !flags.ProtoLegacy {
		desc_validate.go#L162: 			if f.IsWeak() && !flags.ProtoLegacy {

	google.golang.org/protobuf/reflect/protoregistry
		registry.go#L685: 		if flags.ProtoLegacy {