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

Method ProtoReflect

validator/validator.pb.go:1592–1602  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1590func (*AttrSpec) ProtoMessage() {}
1591
1592func (x *AttrSpec) ProtoReflect() protoreflect.Message {
1593 mi := &file_validator_proto_msgTypes[5]
1594 if protoimpl.UnsafeEnabled && x != nil {
1595 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1596 if ms.LoadMessageInfo() == nil {
1597 ms.StoreMessageInfo(mi)
1598 }
1599 return ms
1600 }
1601 return mi.MessageOf(x)
1602}
1603
1604// Deprecated: Use AttrSpec.ProtoReflect.Descriptor instead.
1605func (*AttrSpec) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected