code: func (r *baseCommandRun) retrieveBuildID(ctx context.Context, build string) (int64, error) {
  	getBuild, err := protoutil.ParseGetBuildRequest(build)
  	if err != nil {
  		return 0, err
  	}
  
  	if getBuild.Id != 0 {
  		return getBuild.Id, nil
  	}
  
  	res, err := r.client.GetBuild(ctx, getBuild)
  	if err != nil {
  		return 0, err
  	}
  	return res.Id, nil
  }
docs: // retrieveBuildID converts a build string into a build id.
  // May make a GetBuild RPC.