code: func GetByAddress(c context.Context, client *Service, address string) (*ApiCommonBuildMessage, error) {
  	id, _, _, _, _, err := ParseBuildAddress(address)
  	if err != nil {
  		return nil, err
  	}
  
  	if id != 0 {
  		res, err := client.Get(id).Context(c).Do()
  		switch {
  		case err != nil:
  			return nil, err
  		case res.Error != nil && res.Error.Reason == ReasonNotFound:
  			return nil, nil
  		default:
  			return res.Build, nil
  		}
  	}
  
  	msgs, _, err := client.Search().
  		Context(c).
  		Tag(strpair.Format(TagBuildAddress, address)).
  		IncludeExperimental(true).
  		Fetch(1, nil)
  	switch {
  	case err != nil:
  		return nil, err
  	case len(msgs) == 0:
  		return nil, nil
  	default:
  		return msgs[0], nil
  	}
  }
docs: // GetByAddress fetches a build by its address.
  // Returns (nil, nil) if build is not found.