Registry / serialization / protobuf-java

protobuf-java

JSON →
library4.35.1javamavenunverified

Core Protocol Buffers library for encoding structured data in an efficient and extensible format for Java.

<dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>4.35.1</version> </dependency>
INSTALL
IMPORT
SIG · PROTOBUF-JAVA
P
protobuf-java
serializationjavav4.35.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Message
com.google.protobuf.Message

Reference the Message interface from Protocol Buffers.

import com.google.protobuf.Message; public class Example { public static void main(String[] args) { // Message is an interface; typically use generated message types System.out.println(Message.class.getName()); } }
Debug
Known issues
breakingProtobuf 4.x (protobuf-java) uses the com.google.protobuf package but has breaking API changes from 3.x.
fix
Check migration guide from protobuf 3.x to 4.x for changes in API and generated code.
affects: >=4.0.0
Upgrade
Version history
4.35.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
protobuf-java — mvn dependency:get protobuf-java · libregistry