code: func (c *CipdPackage) ToCipdPackage() *swarm.SwarmingRpcsCipdPackage {
  	if c == nil {
  		return nil
  	}
  	return &swarm.SwarmingRpcsCipdPackage{PackageName: c.Name, Version: c.Version}
  }
docs: // ToCipdPackage converts this to a swarming api SwarmingRpcsCipdPackage.