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

Method ProtoReflect

validator/validator.pb.go:1387–1397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1385func (*UrlSpec) ProtoMessage() {}
1386
1387func (x *UrlSpec) ProtoReflect() protoreflect.Message {
1388 mi := &file_validator_proto_msgTypes[3]
1389 if protoimpl.UnsafeEnabled && x != nil {
1390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1391 if ms.LoadMessageInfo() == nil {
1392 ms.StoreMessageInfo(mi)
1393 }
1394 return ms
1395 }
1396 return mi.MessageOf(x)
1397}
1398
1399// Deprecated: Use UrlSpec.ProtoReflect.Descriptor instead.
1400func (*UrlSpec) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected