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

Method ProtoReflect

validator/validator.pb.go:2500–2510  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2498func (*AmpLayout) ProtoMessage() {}
2499
2500func (x *AmpLayout) ProtoReflect() protoreflect.Message {
2501 mi := &file_validator_proto_msgTypes[15]
2502 if protoimpl.UnsafeEnabled && x != nil {
2503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2504 if ms.LoadMessageInfo() == nil {
2505 ms.StoreMessageInfo(mi)
2506 }
2507 return ms
2508 }
2509 return mi.MessageOf(x)
2510}
2511
2512// Deprecated: Use AmpLayout.ProtoReflect.Descriptor instead.
2513func (*AmpLayout) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected