code: func toRuntimeProtocol(protocol v1.Protocol) runtimeapi.Protocol {
  	switch protocol {
  	case v1.ProtocolTCP:
  		return runtimeapi.Protocol_TCP
  	case v1.ProtocolUDP:
  		return runtimeapi.Protocol_UDP
  	case v1.ProtocolSCTP:
  		return runtimeapi.Protocol_SCTP
  	}
  
  	klog.Warningf("Unknown protocol %q: defaulting to TCP", protocol)
  	return runtimeapi.Protocol_TCP
  }
docs: // toRuntimeProtocol converts v1.Protocol to runtimeapi.Protocol.