blob: 494d6ceef9e6ffa54bbdee980b902fd1d49e4ebd [file] [log] [blame]
Damien Neilcc2b0782019-04-05 14:33:10 -07001// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// The protoreflect build tag disables use of fast-path methods.
Damien Neil3a9e1dc2021-12-06 14:18:55 -08006//go:build protoreflect
Damien Neilcc2b0782019-04-05 14:33:10 -07007// +build protoreflect
8
9package proto
10
Joe Tsai0f81b382019-07-10 23:14:31 -070011import (
12 "google.golang.org/protobuf/reflect/protoreflect"
13 "google.golang.org/protobuf/runtime/protoiface"
14)
Damien Neilcc2b0782019-04-05 14:33:10 -070015
Joe Tsai705acad2019-09-14 18:22:59 -070016const hasProtoMethods = false
17
Joe Tsai0f81b382019-07-10 23:14:31 -070018func protoMethods(m protoreflect.Message) *protoiface.Methods {
Damien Neilcc2b0782019-04-05 14:33:10 -070019 return nil
20}