macOS
brew install protoc-gen-grpc-javalocal Homebrew formula metadata
安装
brew install protoc-gen-grpc-javalocal Homebrew formula metadata
nix profile install nixpkgs#protoc-gen-grpc-javanixpkgs package indexes · pkgs/by-name/pr/protoc-gen-grpc-java/package.nix · 来源: api.github.com
概览
Protoc plugin for gRPC Java
历史
protoc-gen-grpc-java is the official gRPC Java plugin for protoc. It generates Java client stubs, server base types, method descriptors, and service descriptors from protobuf service definitions.
gRPC was publicly announced in 2015 and reached its 1.0 production milestone for Java, Go, and several other language implementations in August 2016.
protoc-gen-grpc-java is developed within grpc-java as the code-generation plugin that converts protobuf service definitions into Java gRPC interfaces. The official compiler documentation describes both precompiled distribution and building the native generator from source.
Java was one of the gRPC implementations declared production-ready with gRPC 1.0 in August 2016. The milestone announcement described existing use across open-source infrastructure and commercial deployments.
Precompiled protoc-gen-grpc-java executables are published for common platforms, and Java builds often resolve the generator through Maven or Gradle integrations. Homebrew and Nix availability in source_facts.package-manager also supports direct command-line use.
Invoke protoc with the plugin available on PATH or specify it explicitly with --plugin, then pass --grpc-java_out for the output directory. The lite option generates bindings suited to protobuf-lite environments. Maven, Gradle, and Bazel builds commonly automate generator resolution and invocation. The executable has no documented persistent configuration or credentials file.
The plugin is a native protoc executable even though its output targets Java, so build tooling must select a binary matching the build host rather than the Java runtime target.
Its separation from protobuf's Java message generator exposes the two-stage nature of gRPC builds: protobuf generates messages, while protoc-gen-grpc-java generates service base classes and stubs. Build-system plugins commonly coordinate both artifacts.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
protoc-gen-grpc-java | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/grpc/grpc-java
安装元数据
| 软件包键 | brew:protoc-gen-grpc-java |
|---|---|
| 版本 | 1.84.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/protoc-gen-grpc-java |
| 主页 | https://grpc.io/docs/languages/java/ |
| 仓库 | https://github.com/grpc/grpc-java |
| 上游文档 | https://grpc.io/docs/languages/java/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/grpc/grpc-java/archive/refs/tags/v1.83.1.tar.gz |
| 最后更新 | 2026-09-14T13:44:11+02:00 |
| Pulse | updated |
| 依赖 | abseil, protobuf |
| 构建依赖 | gradle@8, openjdk, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | protoc-gen-grpc-java |
| Version Scheme | 0 |
| Revision | 3 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
protoc-gen-grpc-java
nix profile install nixpkgs#protoc-gen-grpc-java来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.