genlocal is a binary for generating gapics locally. It may be used to test out new changes, test the generation of a new library, test new generator tweaks, run generators against googleapis-private, and various other local tasks.
Install docker
Install protoc
Install Go
Install python3, pip3
Install virtualenv pip3 install virtualenv
Install Go tools:
go get \ github.com/golang/protobuf/protoc-gen-go \ golang.org/x/lint/golint \ golang.org/x/tools/cmd/goimports \ honnef.co/go/tools/cmd/staticcheck \ golang.org/x/review/git-codereview \ github.com/googleapis/gapic-generator-go/cmd/protoc-gen-go_gapic
cd /path/to/internal/gapicgen go run cloud.google.com/go/internal/gapicgen/cmd/genlocal