google.golang.org/protobuf/internal/filedesc.Field.L1 (field)
108 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc.go#L268: L1 FieldL1
desc.go#L337: if f := fd.L1.Options; f != nil {
desc.go#L342: func (fd *Field) Number() protoreflect.FieldNumber { return fd.L1.Number }
desc.go#L343: func (fd *Field) Cardinality() protoreflect.Cardinality { return fd.L1.Cardinality }
desc.go#L345: return fd.L1.Kind
desc.go#L347: func (fd *Field) HasJSONName() bool { return fd.L1.StringName.hasJSON }
desc.go#L348: func (fd *Field) JSONName() string { return fd.L1.StringName.getJSON(fd) }
desc.go#L349: func (fd *Field) TextName() string { return fd.L1.StringName.getText(fd) }
desc.go#L351: if fd.L1.Cardinality == protoreflect.Repeated {
desc.go#L354: return fd.IsExtension() || fd.L1.EditionFeatures.IsFieldPresence || fd.L1.Message != nil || fd.L1.ContainingOneof != nil
desc.go#L357: return (fd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 && fd.L1.Cardinality == protoreflect.Optional && fd.L1.ContainingOneof == nil) || fd.L1.IsProto3Optional
desc.go#L360: if fd.L1.Cardinality != protoreflect.Repeated {
desc.go#L363: switch fd.L1.Kind {
desc.go#L367: return fd.L1.EditionFeatures.IsPacked
desc.go#L371: func (fd *Field) IsLazy() bool { return fd.L1.IsLazy }
desc.go#L386: func (fd *Field) HasDefault() bool { return fd.L1.Default.has }
desc.go#L387: func (fd *Field) Default() protoreflect.Value { return fd.L1.Default.get(fd) }
desc.go#L388: func (fd *Field) DefaultEnumValue() protoreflect.EnumValueDescriptor { return fd.L1.Default.enum }
desc.go#L389: func (fd *Field) ContainingOneof() protoreflect.OneofDescriptor { return fd.L1.ContainingOneof }
desc.go#L394: return fd.L1.Enum
desc.go#L397: return fd.L1.Message
desc.go#L414: return fd.L1.EditionFeatures.IsUTF8Validated
desc_lazy.go#L36: switch fd.L1.Kind {
desc_lazy.go#L38: fd.L1.Enum = file.resolveEnumDependency(fd.L1.Enum, listFieldDeps, depIdx)
desc_lazy.go#L41: fd.L1.Message = file.resolveMessageDependency(fd.L1.Message, listFieldDeps, depIdx)
desc_lazy.go#L43: if fd.L1.Kind == protoreflect.GroupKind && (fd.IsMap() || fd.IsMapEntry()) {
desc_lazy.go#L46: fd.L1.Kind = protoreflect.MessageKind
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#L327: if fd.L1.Cardinality == protoreflect.Required {
desc_lazy.go#L328: md.L2.RequiredNumbers.List = append(md.L2.RequiredNumbers.List, fd.L1.Number)
desc_lazy.go#L415: fd.L1.EditionFeatures = featuresFromParentDesc(fd.Parent())
desc_lazy.go#L428: fd.L1.Number = protoreflect.FieldNumber(v)
desc_lazy.go#L430: fd.L1.Cardinality = protoreflect.Cardinality(v)
desc_lazy.go#L432: fd.L1.Kind = protoreflect.Kind(v)
desc_lazy.go#L439: if fd.L1.ContainingOneof != nil {
desc_lazy.go#L442: fd.L1.ContainingOneof = od
desc_lazy.go#L444: fd.L1.IsProto3Optional = protowire.DecodeBool(v)
desc_lazy.go#L453: fd.L1.StringName.InitJSON(sb.MakeString(v))
desc_lazy.go#L455: fd.L1.Default.val = protoreflect.ValueOfBytes(v) // temporarily store as bytes; later resolved in resolveMessages
desc_lazy.go#L467: if fd.L1.Kind == protoreflect.MessageKind && fd.L1.EditionFeatures.IsDelimitedEncoded {
desc_lazy.go#L468: fd.L1.Kind = protoreflect.GroupKind
desc_lazy.go#L470: if fd.L1.EditionFeatures.IsLegacyRequired {
desc_lazy.go#L471: fd.L1.Cardinality = protoreflect.Required
desc_lazy.go#L475: switch fd.L1.Kind {
desc_lazy.go#L477: fd.L1.Enum = PlaceholderEnum(name)
desc_lazy.go#L479: fd.L1.Message = PlaceholderMessage(name)
desc_lazy.go#L482: fd.L1.Options = pf.builder.optionsUnmarshaler(&descopts.Field, rawOptions)
desc_lazy.go#L497: fd.L1.EditionFeatures.IsPacked = protowire.DecodeBool(v)
desc_lazy.go#L499: fd.L1.IsLazy = protowire.DecodeBool(v)
desc_lazy.go#L501: fd.L1.EditionFeatures.IsUTF8Validated = protowire.DecodeBool(v)
desc_lazy.go#L508: fd.L1.EditionFeatures = unmarshalFeatureSet(v, fd.L1.EditionFeatures)
google.golang.org/protobuf/internal/encoding/tag
tag.go#L35: f.L1.EditionFeatures = f.L0.ParentFile.L1.EditionFeatures
tag.go#L46: f.L1.Number = protoreflect.FieldNumber(n)
tag.go#L48: f.L1.Cardinality = protoreflect.Optional
tag.go#L50: f.L1.Cardinality = protoreflect.Required
tag.go#L52: f.L1.Cardinality = protoreflect.Repeated
tag.go#L56: f.L1.Kind = protoreflect.BoolKind
tag.go#L58: f.L1.Kind = protoreflect.Int32Kind
tag.go#L60: f.L1.Kind = protoreflect.Int64Kind
tag.go#L62: f.L1.Kind = protoreflect.Uint32Kind
tag.go#L64: f.L1.Kind = protoreflect.Uint64Kind
tag.go#L68: f.L1.Kind = protoreflect.Sint32Kind
tag.go#L72: f.L1.Kind = protoreflect.Sint64Kind
tag.go#L77: f.L1.Kind = protoreflect.Sfixed32Kind
tag.go#L79: f.L1.Kind = protoreflect.Fixed32Kind
tag.go#L81: f.L1.Kind = protoreflect.FloatKind
tag.go#L86: f.L1.Kind = protoreflect.Sfixed64Kind
tag.go#L88: f.L1.Kind = protoreflect.Fixed64Kind
tag.go#L90: f.L1.Kind = protoreflect.DoubleKind
tag.go#L95: f.L1.Kind = protoreflect.StringKind
tag.go#L97: f.L1.Kind = protoreflect.BytesKind
tag.go#L99: f.L1.Kind = protoreflect.MessageKind
tag.go#L102: f.L1.Kind = protoreflect.GroupKind
tag.go#L104: f.L1.Kind = protoreflect.EnumKind
tag.go#L108: f.L1.StringName.InitJSON(jsonName)
tag.go#L111: f.L1.EditionFeatures.IsPacked = true
tag.go#L116: v, ev, _ := defval.Unmarshal(s, f.L1.Kind, evs, defval.GoTag)
tag.go#L117: f.L1.Default = filedesc.DefaultValue(v, ev)
tag.go#L126: 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.L1.EditionFeatures = fd.L1.EditionFeatures
legacy_extension.go#L122: xd.L2.Default = fd.L1.Default
legacy_message.go#L264: fd.L1.ContainingOneof = od
legacy_message.go#L265: fd.L1.EditionFeatures = od.L1.EditionFeatures
legacy_message.go#L313: if fd.L1.EditionFeatures.IsPacked {
legacy_message.go#L314: fd.L1.Options = func() protoreflect.ProtoMessage {
legacy_message.go#L316: if fd.L1.EditionFeatures.IsPacked {
legacy_message.go#L317: opts.Set(opts.Descriptor().Fields().ByName("packed"), protoreflect.ValueOfBool(fd.L1.EditionFeatures.IsPacked))
legacy_message.go#L327: fd.L1.Enum = v.Descriptor()
legacy_message.go#L329: fd.L1.Enum = LegacyLoadEnumDesc(t)
legacy_message.go#L335: fd.L1.Message = v.ProtoReflect().Descriptor()
legacy_message.go#L337: fd.L1.Message = LegacyLoadMessageDesc(t)
legacy_message.go#L359: fd.L1.Message = md2
legacy_message.go#L362: fd.L1.Message = aberrantLoadMessageDescReentrant(t, "")
google.golang.org/protobuf/encoding/protojson
encode.go#L183: fd.L1.Cardinality = protoreflect.Optional
encode.go#L184: fd.L1.Kind = protoreflect.StringKind