MCPcopy Create free account
hub / github.com/ampproject/amphtml / ProtoReflect

Method ProtoReflect

validator/validator.pb.go:2830–2840  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2828func (*ExtensionSpec) ProtoMessage() {}
2829
2830func (x *ExtensionSpec) ProtoReflect() protoreflect.Message {
2831 mi := &file_validator_proto_msgTypes[19]
2832 if protoimpl.UnsafeEnabled && x != nil {
2833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2834 if ms.LoadMessageInfo() == nil {
2835 ms.StoreMessageInfo(mi)
2836 }
2837 return ms
2838 }
2839 return mi.MessageOf(x)
2840}
2841
2842// Deprecated: Use ExtensionSpec.ProtoReflect.Descriptor instead.
2843func (*ExtensionSpec) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected