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

Method ProtoReflect

validator/validator.pb.go:2060–2070  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2058func (*MediaQuerySpec) ProtoMessage() {}
2059
2060func (x *MediaQuerySpec) ProtoReflect() protoreflect.Message {
2061 mi := &file_validator_proto_msgTypes[10]
2062 if protoimpl.UnsafeEnabled && x != nil {
2063 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2064 if ms.LoadMessageInfo() == nil {
2065 ms.StoreMessageInfo(mi)
2066 }
2067 return ms
2068 }
2069 return mi.MessageOf(x)
2070}
2071
2072// Deprecated: Use MediaQuerySpec.ProtoReflect.Descriptor instead.
2073func (*MediaQuerySpec) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected