code: func (r *logRun) getSteps(ctx context.Context) ([]*pb.Step, error) {
  	r.getBuild.Fields = &field_mask.FieldMask{Paths: []string{"steps"}}
  	build, err := r.client.GetBuild(ctx, r.getBuild, prpc.ExpectedCode(codes.NotFound))
  	switch status.Code(err) {
  	case codes.OK:
  		return build.Steps, nil
  	case codes.NotFound:
  		return nil, fmt.Errorf("build not found")
  	default:
  		return nil, err
  	}
  }
docs: // getSteps fetches steps of the build.