type google.golang.org/protobuf/encoding/protowire.Number
95 uses
google.golang.org/protobuf/encoding/protowire (current package)
wire.go#L21: type Number int32
wire.go#L24: MinValidNumber Number = 1
wire.go#L25: FirstReservedNumber Number = 19000
wire.go#L26: LastReservedNumber Number = 19999
wire.go#L27: MaxValidNumber Number = 1<<29 - 1
wire.go#L32: func (n Number) IsValid() bool {
wire.go#L94: func ConsumeField(b []byte) (Number, Type, int) {
wire.go#L112: func ConsumeFieldValue(num Number, typ Type, b []byte) (n int) {
wire.go#L116: func consumeFieldValueD(num Number, typ Type, b []byte, depth int) (n int) {
wire.go#L162: func AppendTag(b []byte, num Number, typ Type) []byte {
wire.go#L168: func ConsumeTag(b []byte) (Number, Type, int) {
wire.go#L180: func SizeTag(num Number) int {
wire.go#L467: func AppendGroup(b []byte, num Number, v []byte) []byte {
wire.go#L475: func ConsumeGroup(num Number, b []byte) (v []byte, n int) {
wire.go#L494: func SizeGroup(num Number, n int) int {
wire.go#L501: func DecodeTag(x uint64) (Number, Type) {
wire.go#L506: return Number(x >> 3), Type(x & 7)
wire.go#L510: func EncodeTag(num Number, typ Type) uint64 {
google.golang.org/protobuf/internal/encoding/messageset
messageset.go#L28: FieldItem = protowire.Number(1)
messageset.go#L29: FieldTypeID = protowire.Number(2)
messageset.go#L30: FieldMessage = protowire.Number(3)
messageset.go#L66: func SizeField(num protowire.Number) int {
messageset.go#L77: func Unmarshal(b []byte, wantLen bool, fn func(typeID protowire.Number, value []byte) error) error {
messageset.go#L113: func ConsumeFieldValue(b []byte, wantLen bool) (typeid protowire.Number, message []byte, n int, err error) {
messageset.go#L138: typeid = protowire.Number(v)
messageset.go#L184: func AppendFieldStart(b []byte, num protowire.Number) []byte {
google.golang.org/protobuf/internal/impl
codec_extension.go#L81: func (f *ExtensionField) appendLazyBytes(xt protoreflect.ExtensionType, xi *extensionFieldInfo, num protowire.Number, wtyp protowire.Type, b []byte) {
codec_extension.go#L148: num := protowire.Number(tag >> 3)
codec_field.go#L246: func consumeMessageValue(b []byte, v protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (protoreflect.Value, unmarshalOutput, error) {
codec_field.go#L275: func consumeGroupValue(b []byte, v protoreflect.Value, num protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (protoreflect.Value, unmarshalOutput, error) {
codec_field.go#L360: func consumeGroup(b []byte, m proto.Message, num protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (out unmarshalOutput, err error) {
codec_field.go#L567: func consumeMessageSliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_field.go#L636: func consumeGroupSliceValue(b []byte, listv protoreflect.Value, num protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_field.go#L724: func consumeGroupSlice(b []byte, p pointer, num protowire.Number, wtyp protowire.Type, goType reflect.Type, opts unmarshalOptions) (out unmarshalOutput, err error) {
codec_gen.go#L281: func consumeBoolValue(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L332: func consumeBoolSliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L445: func consumeEnumValue(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L496: func consumeEnumSliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L860: func consumeInt32Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L911: func consumeInt32SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L1275: func consumeSint32Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L1326: func consumeSint32SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L1690: func consumeUint32Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L1741: func consumeUint32SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L2105: func consumeInt64Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L2156: func consumeInt64SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L2520: func consumeSint64Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L2571: func consumeSint64SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L2935: func consumeUint64Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L2986: func consumeUint64SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L3296: func consumeSfixed32Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L3334: func consumeSfixed32SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L3616: func consumeFixed32Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L3654: func consumeFixed32SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L3936: func consumeFloatValue(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L3974: func consumeFloatSliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L4256: func consumeSfixed64Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L4294: func consumeSfixed64SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L4576: func consumeFixed64Value(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L4614: func consumeFixed64SliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L4896: func consumeDoubleValue(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L4934: func consumeDoubleSliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L5300: func consumeStringValue(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L5330: func consumeStringValueValidateUTF8(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L5374: func consumeStringSliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L5640: func consumeBytesValue(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_gen.go#L5681: func consumeBytesSliceValue(b []byte, listv protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (_ protoreflect.Value, out unmarshalOutput, err error) {
codec_message.go#L27: coderFields map[protowire.Number]*coderFieldInfo
codec_message.go#L77: mi.coderFields = make(map[protowire.Number]*coderFieldInfo)
codec_message_opaque.go#L27: mi.coderFields = make(map[protowire.Number]*coderFieldInfo)
codec_messageset.go#L129: err = messageset.Unmarshal(b, true, func(num protowire.Number, v []byte) error {
codec_tables.go#L30: unmarshal func(b []byte, v protoreflect.Value, num protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (protoreflect.Value, unmarshalOutput, error)
decode.go#L103: func (mi *MessageInfo) unmarshalPointer(b []byte, p pointer, groupTag protowire.Number, opts unmarshalOptions) (out unmarshalOutput, err error) {
decode.go#L125: func (mi *MessageInfo) unmarshalPointerEager(b []byte, p pointer, groupTag protowire.Number, opts unmarshalOptions) (out unmarshalOutput, err error) {
decode.go#L154: var num protowire.Number
decode.go#L158: num = protowire.Number(n)
decode.go#L248: func (mi *MessageInfo) unmarshalExtension(b []byte, num protowire.Number, wtyp protowire.Type, exts map[int32]ExtensionField, opts unmarshalOptions) (out unmarshalOutput, err error) {
decode.go#L300: func skipExtension(b []byte, xi *extensionFieldInfo, num protowire.Number, wtyp protowire.Type, opts unmarshalOptions) (out unmarshalOutput, _ ValidationStatus) {
lazy.go#L45: func UnmarshalField(m interface{}, num protowire.Number) {
lazy.go#L104: var num protowire.Number
lazy.go#L108: num = protowire.Number(n)
lazy.go#L175: func (mi *MessageInfo) unmarshalPointerLazy(b []byte, p pointer, groupTag protowire.Number, opts unmarshalOptions) (out unmarshalOutput, err error) {
lazy.go#L181: var lastNum protowire.Number
lazy.go#L237: var num protowire.Number
lazy.go#L241: num = protowire.Number(n)
validate.go#L239: func (mi *MessageInfo) validate(b []byte, groupTag protowire.Number, opts unmarshalOptions) (out unmarshalOutput, result ValidationStatus) {
validate.go#L244: endGroup protowire.Number
validate.go#L282: var num protowire.Number
validate.go#L286: num = protowire.Number(n)
google.golang.org/protobuf/proto
messageset.go#L68: return messageset.Unmarshal(b, false, func(num protowire.Number, v []byte) error {
messageset.go#L81: func (o UnmarshalOptions) unmarshalMessageSetField(m protoreflect.Message, num protowire.Number, v []byte) error {
size.go#L85: func (o MarshalOptions) sizeList(num protowire.Number, fd protoreflect.FieldDescriptor, list protoreflect.List) (size int) {
size.go#L102: func (o MarshalOptions) sizeMap(num protowire.Number, fd protoreflect.FieldDescriptor, mapv protoreflect.Map) (size int) {
size_gen.go#L14: func (o MarshalOptions) sizeSingular(num protowire.Number, kind protoreflect.Kind, v protoreflect.Value) int {
google.golang.org/protobuf/reflect/protoreflect
proto.go#L378: type FieldNumber = protowire.Number