func SessionProto(s Session) *pb.Session {
	return &pb.Session{
		Name:    s.GetName(),
		Version: s.GetVersion(),
	}
}
SessionProto returns a proto representation of the Session.
package server
import (
	"strings"
	"sync"
	"github.com/golang/protobuf/ptypes/empty"
	pb "github.com/googleapis/gapic-showcase/server/genproto"
	"google.golang.org/grpc/codes"
	"google.golang.org/grpc/status"
)
type Session interface {
	GetName() string
	GetVersion() pb.Session_Version
	GetReport() *pb.ReportSessionResponse
	RegisterTests(tests []Test)
	ListTests(in *pb.ListTestsRequest) (*pb.ListTestsResponse, error)
	DeleteTest(name string) (*empty.Empty, error)
}