google.golang.org/protobuf/reflect/protoreflect.Value.Int (method)
67 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
value_union.go#L205: return int32(v.Int())
value_union.go#L207: return int64(v.Int())
value_union.go#L280: func (v Value) Int() int64 {
value_union.go#L421: return Value(k).Int()
google.golang.org/protobuf/encoding/protojson
encode.go#L269: e.WriteInt(val.Int())
well_known_types.go#L601: secs := secsVal.Int()
well_known_types.go#L602: nanos := nanosVal.Int()
well_known_types.go#L789: secs := secsVal.Int()
well_known_types.go#L790: nanos := nanosVal.Int()
google.golang.org/protobuf/encoding/prototext
encode.go#L222: e.WriteInt(val.Int())
google.golang.org/protobuf/internal/encoding/defval
default.go#L144: return strconv.FormatInt(v.Int(), 10), nil
google.golang.org/protobuf/internal/impl
codec_gen.go#L831: return tagsize + protowire.SizeVarint(uint64(int32(v.Int())))
codec_gen.go#L837: b = protowire.AppendVarint(b, uint64(int32(v.Int())))
codec_gen.go#L876: size += tagsize + protowire.SizeVarint(uint64(int32(v.Int())))
codec_gen.go#L887: b = protowire.AppendVarint(b, uint64(int32(v.Int())))
codec_gen.go#L960: n += protowire.SizeVarint(uint64(int32(v.Int())))
codec_gen.go#L976: n += protowire.SizeVarint(uint64(int32(v.Int())))
codec_gen.go#L981: b = protowire.AppendVarint(b, uint64(int32(v.Int())))
codec_gen.go#L1237: return tagsize + protowire.SizeVarint(protowire.EncodeZigZag(int64(int32(v.Int()))))
codec_gen.go#L1243: b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(int32(v.Int()))))
codec_gen.go#L1282: size += tagsize + protowire.SizeVarint(protowire.EncodeZigZag(int64(int32(v.Int()))))
codec_gen.go#L1293: b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(int32(v.Int()))))
codec_gen.go#L1366: n += protowire.SizeVarint(protowire.EncodeZigZag(int64(int32(v.Int()))))
codec_gen.go#L1382: n += protowire.SizeVarint(protowire.EncodeZigZag(int64(int32(v.Int()))))
codec_gen.go#L1387: b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(int32(v.Int()))))
codec_gen.go#L2049: return tagsize + protowire.SizeVarint(uint64(v.Int()))
codec_gen.go#L2055: b = protowire.AppendVarint(b, uint64(v.Int()))
codec_gen.go#L2094: size += tagsize + protowire.SizeVarint(uint64(v.Int()))
codec_gen.go#L2105: b = protowire.AppendVarint(b, uint64(v.Int()))
codec_gen.go#L2178: n += protowire.SizeVarint(uint64(v.Int()))
codec_gen.go#L2194: n += protowire.SizeVarint(uint64(v.Int()))
codec_gen.go#L2199: b = protowire.AppendVarint(b, uint64(v.Int()))
codec_gen.go#L2455: return tagsize + protowire.SizeVarint(protowire.EncodeZigZag(v.Int()))
codec_gen.go#L2461: b = protowire.AppendVarint(b, protowire.EncodeZigZag(v.Int()))
codec_gen.go#L2500: size += tagsize + protowire.SizeVarint(protowire.EncodeZigZag(v.Int()))
codec_gen.go#L2511: b = protowire.AppendVarint(b, protowire.EncodeZigZag(v.Int()))
codec_gen.go#L2584: n += protowire.SizeVarint(protowire.EncodeZigZag(v.Int()))
codec_gen.go#L2600: n += protowire.SizeVarint(protowire.EncodeZigZag(v.Int()))
codec_gen.go#L2605: b = protowire.AppendVarint(b, protowire.EncodeZigZag(v.Int()))
codec_gen.go#L3224: b = protowire.AppendFixed32(b, uint32(v.Int()))
codec_gen.go#L3261: b = protowire.AppendFixed32(b, uint32(v.Int()))
codec_gen.go#L3327: b = protowire.AppendFixed32(b, uint32(v.Int()))
codec_gen.go#L4172: b = protowire.AppendFixed64(b, uint64(v.Int()))
codec_gen.go#L4209: b = protowire.AppendFixed64(b, uint64(v.Int()))
codec_gen.go#L4275: b = protowire.AppendFixed64(b, uint64(v.Int()))
convert.go#L182: return reflect.ValueOf(int32(v.Int())).Convert(c.goType)
convert.go#L206: return reflect.ValueOf(int64(v.Int())).Convert(c.goType)
google.golang.org/protobuf/proto
encode_gen.go#L47: b = protowire.AppendVarint(b, uint64(int32(v.Int())))
encode_gen.go#L49: b = protowire.AppendVarint(b, protowire.EncodeZigZag(int64(int32(v.Int()))))
encode_gen.go#L53: b = protowire.AppendVarint(b, uint64(v.Int()))
encode_gen.go#L55: b = protowire.AppendVarint(b, protowire.EncodeZigZag(v.Int()))
encode_gen.go#L59: b = protowire.AppendFixed32(b, uint32(v.Int()))
encode_gen.go#L65: b = protowire.AppendFixed64(b, uint64(v.Int()))
equal.go#L126: return x.Int() == y.Int()
size_gen.go#L21: return protowire.SizeVarint(uint64(int32(v.Int())))
size_gen.go#L23: return protowire.SizeVarint(protowire.EncodeZigZag(int64(int32(v.Int()))))
size_gen.go#L27: return protowire.SizeVarint(uint64(v.Int()))
size_gen.go#L29: return protowire.SizeVarint(protowire.EncodeZigZag(v.Int()))
github.com/golang/protobuf/jsonpb
encode.go#L172: s := m.Get(fds.ByNumber(1)).Int()
encode.go#L173: ns := m.Get(fds.ByNumber(2)).Int()
encode.go#L196: s := m.Get(fds.ByNumber(1)).Int()
encode.go#L197: ns := m.Get(fds.ByNumber(2)).Int()
encode.go#L463: return entries[i].key.Int() < entries[j].key.Int()
github.com/golang/protobuf/proto
text_encode.go#L309: return entries[i].key.Int() < entries[j].key.Int()