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

Method ProtoReflect

validator/validator.pb.go:2131–2141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2129func (*SelectorSpec) ProtoMessage() {}
2130
2131func (x *SelectorSpec) ProtoReflect() protoreflect.Message {
2132 mi := &file_validator_proto_msgTypes[11]
2133 if protoimpl.UnsafeEnabled && x != nil {
2134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2135 if ms.LoadMessageInfo() == nil {
2136 ms.StoreMessageInfo(mi)
2137 }
2138 return ms
2139 }
2140 return mi.MessageOf(x)
2141}
2142
2143// Deprecated: Use SelectorSpec.ProtoReflect.Descriptor instead.
2144func (*SelectorSpec) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected