google.golang.org/protobuf/internal/filedesc.Field.L1 (field)

124 uses

	google.golang.org/protobuf/internal/filedesc (current package)
		desc.go#L195: 		L1 FieldL1
		desc.go#L264: 	if f := fd.L1.Options; f != nil {
		desc.go#L269: func (fd *Field) Number() protoreflect.FieldNumber      { return fd.L1.Number }
		desc.go#L270: func (fd *Field) Cardinality() protoreflect.Cardinality { return fd.L1.Cardinality }
		desc.go#L271: func (fd *Field) Kind() protoreflect.Kind               { return fd.L1.Kind }
		desc.go#L272: func (fd *Field) HasJSONName() bool                     { return fd.L1.StringName.hasJSON }
		desc.go#L273: func (fd *Field) JSONName() string                      { return fd.L1.StringName.getJSON(fd) }
		desc.go#L274: func (fd *Field) TextName() string                      { return fd.L1.StringName.getText(fd) }
		desc.go#L276: 	return fd.L1.Cardinality != protoreflect.Repeated && (fd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 || fd.L1.Message != nil || fd.L1.ContainingOneof != nil)
		desc.go#L279: 	return (fd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 && fd.L1.Cardinality == protoreflect.Optional && fd.L1.ContainingOneof == nil) || fd.L1.IsProto3Optional
		desc.go#L282: 	if !fd.L1.HasPacked && fd.L0.ParentFile.L1.Syntax != protoreflect.Proto2 && fd.L1.Cardinality == protoreflect.Repeated {
		desc.go#L283: 		switch fd.L1.Kind {
		desc.go#L289: 	return fd.L1.IsPacked
		desc.go#L292: func (fd *Field) IsWeak() bool      { return fd.L1.IsWeak }
		desc.go#L307: func (fd *Field) HasDefault() bool                                   { return fd.L1.Default.has }
		desc.go#L308: func (fd *Field) Default() protoreflect.Value                        { return fd.L1.Default.get(fd) }
		desc.go#L309: func (fd *Field) DefaultEnumValue() protoreflect.EnumValueDescriptor { return fd.L1.Default.enum }
		desc.go#L310: func (fd *Field) ContainingOneof() protoreflect.OneofDescriptor      { return fd.L1.ContainingOneof }
		desc.go#L315: 	return fd.L1.Enum
		desc.go#L318: 	if fd.L1.IsWeak {
		desc.go#L319: 		if d, _ := protoregistry.GlobalFiles.FindDescriptorByName(fd.L1.Message.FullName()); d != nil {
		desc.go#L323: 	return fd.L1.Message
		desc.go#L336: 	if fd.L1.HasEnforceUTF8 {
		desc.go#L337: 		return fd.L1.EnforceUTF8
		desc_lazy.go#L36: 			if fd.L1.IsWeak {
		desc_lazy.go#L41: 			switch fd.L1.Kind {
		desc_lazy.go#L43: 				fd.L1.Enum = file.resolveEnumDependency(fd.L1.Enum, listFieldDeps, depIdx)
		desc_lazy.go#L46: 				fd.L1.Message = file.resolveMessageDependency(fd.L1.Message, listFieldDeps, depIdx)
		desc_lazy.go#L51: 			if v := fd.L1.Default.val; v.IsValid() {
		desc_lazy.go#L52: 				fd.L1.Default = unmarshalDefault(v.Bytes(), fd.L1.Kind, file, fd.L1.Enum)
		desc_lazy.go#L329: 			if fd.L1.Cardinality == protoreflect.Required {
		desc_lazy.go#L330: 				md.L2.RequiredNumbers.List = append(md.L2.RequiredNumbers.List, fd.L1.Number)
		desc_lazy.go#L429: 				fd.L1.Number = protoreflect.FieldNumber(v)
		desc_lazy.go#L431: 				fd.L1.Cardinality = protoreflect.Cardinality(v)
		desc_lazy.go#L433: 				fd.L1.Kind = protoreflect.Kind(v)
		desc_lazy.go#L440: 				if fd.L1.ContainingOneof != nil {
		desc_lazy.go#L443: 				fd.L1.ContainingOneof = od
		desc_lazy.go#L445: 				fd.L1.IsProto3Optional = protowire.DecodeBool(v)
		desc_lazy.go#L454: 				fd.L1.StringName.InitJSON(sb.MakeString(v))
		desc_lazy.go#L456: 				fd.L1.Default.val = protoreflect.ValueOfBytes(v) // temporarily store as bytes; later resolved in resolveMessages
		desc_lazy.go#L470: 		switch fd.L1.Kind {
		desc_lazy.go#L472: 			fd.L1.Enum = PlaceholderEnum(name)
		desc_lazy.go#L474: 			fd.L1.Message = PlaceholderMessage(name)
		desc_lazy.go#L477: 	fd.L1.Options = pf.builder.optionsUnmarshaler(&descopts.Field, rawOptions)
		desc_lazy.go#L492: 				fd.L1.HasPacked = true
		desc_lazy.go#L493: 				fd.L1.IsPacked = protowire.DecodeBool(v)
		desc_lazy.go#L495: 				fd.L1.IsWeak = protowire.DecodeBool(v)
		desc_lazy.go#L497: 				fd.L1.HasEnforceUTF8 = true
		desc_lazy.go#L498: 				fd.L1.EnforceUTF8 = protowire.DecodeBool(v)

	google.golang.org/protobuf/internal/encoding/tag
		tag.go#L45: 			f.L1.Number = protoreflect.FieldNumber(n)
		tag.go#L47: 			f.L1.Cardinality = protoreflect.Optional
		tag.go#L49: 			f.L1.Cardinality = protoreflect.Required
		tag.go#L51: 			f.L1.Cardinality = protoreflect.Repeated
		tag.go#L55: 				f.L1.Kind = protoreflect.BoolKind
		tag.go#L57: 				f.L1.Kind = protoreflect.Int32Kind
		tag.go#L59: 				f.L1.Kind = protoreflect.Int64Kind
		tag.go#L61: 				f.L1.Kind = protoreflect.Uint32Kind
		tag.go#L63: 				f.L1.Kind = protoreflect.Uint64Kind
		tag.go#L67: 				f.L1.Kind = protoreflect.Sint32Kind
		tag.go#L71: 				f.L1.Kind = protoreflect.Sint64Kind
		tag.go#L76: 				f.L1.Kind = protoreflect.Sfixed32Kind
		tag.go#L78: 				f.L1.Kind = protoreflect.Fixed32Kind
		tag.go#L80: 				f.L1.Kind = protoreflect.FloatKind
		tag.go#L85: 				f.L1.Kind = protoreflect.Sfixed64Kind
		tag.go#L87: 				f.L1.Kind = protoreflect.Fixed64Kind
		tag.go#L89: 				f.L1.Kind = protoreflect.DoubleKind
		tag.go#L94: 				f.L1.Kind = protoreflect.StringKind
		tag.go#L96: 				f.L1.Kind = protoreflect.BytesKind
		tag.go#L98: 				f.L1.Kind = protoreflect.MessageKind
		tag.go#L101: 			f.L1.Kind = protoreflect.GroupKind
		tag.go#L103: 			f.L1.Kind = protoreflect.EnumKind
		tag.go#L107: 				f.L1.StringName.InitJSON(jsonName)
		tag.go#L110: 			f.L1.HasPacked = true
		tag.go#L111: 			f.L1.IsPacked = true
		tag.go#L113: 			f.L1.IsWeak = true
		tag.go#L114: 			f.L1.Message = filedesc.PlaceholderMessage(protoreflect.FullName(s[len("weak="):]))
		tag.go#L119: 			v, ev, _ := defval.Unmarshal(s, f.L1.Kind, evs, defval.GoTag)
		tag.go#L120: 			f.L1.Default = filedesc.DefaultValue(v, ev)
		tag.go#L129: 	if f.L1.Kind == protoreflect.GroupKind {

	google.golang.org/protobuf/internal/impl
		legacy_extension.go#L119: 	xd.L1.Cardinality = fd.L1.Cardinality
		legacy_extension.go#L120: 	xd.L1.Kind = fd.L1.Kind
		legacy_extension.go#L121: 	xd.L2.IsPacked = fd.L1.IsPacked
		legacy_extension.go#L122: 	xd.L2.Default = fd.L1.Default
		legacy_message.go#L257: 						fd.L1.ContainingOneof = od
		legacy_message.go#L305: 	if fd.L1.IsWeak || fd.L1.HasPacked {
		legacy_message.go#L306: 		fd.L1.Options = func() protoreflect.ProtoMessage {
		legacy_message.go#L308: 			if fd.L1.IsWeak {
		legacy_message.go#L311: 			if fd.L1.HasPacked {
		legacy_message.go#L312: 				opts.Set(opts.Descriptor().Fields().ByName("packed"), protoreflect.ValueOfBool(fd.L1.IsPacked))
		legacy_message.go#L322: 			fd.L1.Enum = v.Descriptor()
		legacy_message.go#L324: 			fd.L1.Enum = LegacyLoadEnumDesc(t)
		legacy_message.go#L330: 			fd.L1.Message = v.ProtoReflect().Descriptor()
		legacy_message.go#L332: 			fd.L1.Message = LegacyLoadMessageDesc(t)
		legacy_message.go#L353: 				fd.L1.Message = md2
		legacy_message.go#L356: 			fd.L1.Message = aberrantLoadMessageDescReentrant(t, "")

	google.golang.org/protobuf/encoding/protojson
		encode.go#L154: 	fd.L1.Cardinality = protoreflect.Optional
		encode.go#L155: 	fd.L1.Kind = protoreflect.StringKind

	google.golang.org/protobuf/reflect/protodesc
		desc_init.go#L124: 		f.L1.IsProto3Optional = fd.GetProto3Optional()
		desc_init.go#L127: 			f.L1.Options = func() protoreflect.ProtoMessage { return opts }
		desc_init.go#L128: 			f.L1.IsWeak = opts.GetWeak()
		desc_init.go#L129: 			f.L1.HasPacked = opts.Packed != nil
		desc_init.go#L130: 			f.L1.IsPacked = opts.GetPacked()
		desc_init.go#L132: 		f.L1.Number = protoreflect.FieldNumber(fd.GetNumber())
		desc_init.go#L133: 		f.L1.Cardinality = protoreflect.Cardinality(fd.GetLabel())
		desc_init.go#L135: 			f.L1.Kind = protoreflect.Kind(fd.GetType())
		desc_init.go#L138: 			f.L1.StringName.InitJSON(fd.GetJsonName())
		desc_resolve.go#L33: 			if f.L1.Cardinality == protoreflect.Required {
		desc_resolve.go#L34: 				m.L2.RequiredNumbers.List = append(m.L2.RequiredNumbers.List, f.L1.Number)
		desc_resolve.go#L42: 				f.L1.ContainingOneof = o
		desc_resolve.go#L46: 			if f.L1.Kind, f.L1.Enum, f.L1.Message, err = r.findTarget(f.Kind(), f.Parent().FullName(), partialName(fd.GetTypeName()), f.IsWeak()); err != nil {
		desc_resolve.go#L54: 				f.L1.Default = filedesc.DefaultValue(v, ev)
		desc_validate.go#L151: 			if f.L1.IsProto3Optional {