File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ Code under ` cab-token-generator/java/com/google/auth/credentialaccessboundary/protobuf ` are generated manually.
2+ To re-generate, follow steps below:
3+
4+ Determine the protoc version to use for generate, this guide will use v33.2 as example.
5+ Steps to generate the java code using protoc 33.2.
6+ 1 . Download these files from https://github.com/protocolbuffers/protobuf/releases/tag/v33.2
7+ ```
8+ src/google/protobuf/duration.proto
9+ src/google/protobuf/struct.proto
10+ src/google/protobuf/timestamp.proto
11+ ```
12+ 2 . Create a workspace in g3, copy the above files in ` google/protobuf ` directory.
13+ 3 . Run the following command to generate java code:
14+ ``` sh
15+ # in google3 directory
16+ ~ /.local/bin/protoc --java_out ~ /Downloads/java-output -I. cloud/identity/unifiedauth/proto/client_side_access_boundary.proto
17+ ```
You can’t perform that action at this time.
0 commit comments