pkg.soopen package index

brew / 排名 2966

使用 Homebrew, Nix 安装 protoc-gen-grpc-java

查看 protoc-gen-grpc-java 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install protoc-gen-grpc-java

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#protoc-gen-grpc-java

nixpkgs package indexes · pkgs/by-name/pr/protoc-gen-grpc-java/package.nix · 来源: api.github.com

概览

软件包摘要

Protoc plugin for gRPC Java

命令和别名

  • protoc-gen-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.

时间线

  • 2015: gRPC was publicly announced.
  • 2016: gRPC 1.0 declared the Java implementation production-ready.
  • Subsequent grpc-java releases have continued publishing the generator alongside the Java runtime libraries.

Related projects

  • protoc and the Java protobuf generator produce message classes alongside the service code.
  • grpc-java provides the API, stub, protobuf integration, and transports used by generated sources.
  • The protobuf Gradle plugin can resolve and invoke protoc-gen-grpc-java as a build artifact.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
protoc-gen-grpc-javacli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本1.84.0
管理器更新时间2026-09-14
本地数据OK
上游当前
检测到的最新版本v1.83.1

https://github.com/grpc/grpc-java

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖abseil, protobuf
构建依赖gradle@8, openjdk, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameprotoc-gen-grpc-java
Version Scheme0
Revision3
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

protoc-gen-grpc-java

nix profile install nixpkgs#protoc-gen-grpc-java
  • normalized package name match
  • 匹配方式:Protoc Gen Grpc Java
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/protoc-gen-grpc-java/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation