Wire - Clean, lightweight protocol buffers for Android and Java.

  •        0

Schemas describe and document data models. If you have data, you should have a schema. Google's Protocol Buffers are built around a great schema language. It's cross platform and language independent. Whatever programming language you use, you'll be able to use proto schemas with your application. Proto schemas are backwards-compatible and future-proof. You can evolve your schema as your application loses old features and gains new ones.

Why Wire?
The Protocol Buffers schema language and binary encoding are both defined by Google. Wire is an independent implementation from Square that's specifically designed for Android and Java. For each message type defined in the schema, Wire generates an immutable model class and its builder. The generated code looks like code you'd write by hand: it's documented, formatted, and simple. Wire's APIs should feel at home to programmers who like Effective Java.

https://github.com/square/wire

Tags
Implementation
License
Platform

   




Related Projects

Protocol Buffers - Google's data interchange format


Protocol buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages.

Cap'n Proto - Serialization/RPC system


Cap'n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster. In fact, in benchmarks, Cap'n Proto is INFINITY TIMES faster than Protocol Buffers.

php-protobuf - PHP Protobuf - Google's Protocol Buffers for PHP


Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. It might be used in file formats and RPC protocols.PHP Protobuf is Google's Protocol Buffers implementation for PHP with a goal to provide high performance, including a protoc plugin to generate PHP classes from .proto files. The heavy-lifting (a parsing and a serialization) is done by a PHP extension.

protobuf - Protocol Buffers - Google's data interchange format


Protocol Buffers - Google's data interchange format

protobuf - Protocol Buffers - Google's data interchange format


Protocol Buffers - Google's data interchange format

goprotowrap - A package-at-a-time wrapper for protoc, for generating Go protobuf code.


A package-at-a-time wrapper for protoc, for generating Go protobuf code.protowrap is a small tool we found helpful when working with protocol buffers in Go at Square. We're publishing it in the hope that others find it useful too. Contributions are welcome.

protoc-gen-haxe - Protocol Buffers compiler and run-time library for Haxe


I am also the author of [protoc-gen-as3](https://code.google.com/p/protoc-gen-as3/),which is the best Protocol Buffers implementation in ActionScript 3.I rewritten these code because I want to try the Haxe way to generate code.This table lists main difference between `protoc-gen-as` (or any other Protocol Buffers implementation) and `protoc-gen-haxe`:| | protoc-gen-as3 | protoc-gen-haxe || ------------- | ------------- | ----- || Cross-platform | No. It only runs in Adobe Flash Player or Adobe A

idris-protobuf - A partial implementation of Protocol Buffers in Idris


Protocol buffers are a serializable format for structured data that is ubiquitous at Google. Idris is a language where types are first class values that is useful for theorem proving and metaprogramming. This package contains a partial implementation of protocol buffers in the Idris language. The goal is to demonstrate how Idris is capable of advanced metaprogramming that simplifies the implementation of protocol buffers.This is not an official Google product. This project is a personal 20% project.

piqi-erlang - Protocol Buffers, JSON, XML data serialization system for Erlang


Protocol Buffers, JSON, XML data serialization system for Erlang

protobuf-socket-rpc - Socket RPC client & server using protobuf as the wire protocol


Socket RPC client & server using protobuf as the wire protocol

external-protobuf - Waf build scripts for Google Protocol Buffers (protobuf)


Waf build scripts for Google Protocol Buffers (protobuf)

collection-protobuf


> NOTE: The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL> NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"> in this document are to be interpreted as described in> [RFC2119](http://tools.ietf.org/html/rfc2119).`collection+protobuf` follows the[collection+json](http://amundsen.com/media-types/collection/format/)specification but uses[Protocol Buffers](https://developers.google.com/protocol-buffers/docs/overview)to provide a structure for a language-neutral, extensib

protobuf - Go support for Google's protocol buffers


This package and the code it generates requires at least Go 1.4.This software has two parts: a 'protocol compiler plugin' that generates Go source files that, once compiled, can access and manage protocol buffers; and a library that implements run-time support for encoding (marshaling), decoding (unmarshaling), and accessing protocol buffers.

ScalaBuff - the scala protocol buffers (protobuf) compiler


the scala protocol buffers (protobuf) compiler

fepss-rpc - Protocol Buffers RPC Server Implemention based on Mina(2.0.0-RC1) and Protobuf(2.1.0)


Protocol Buffers RPC Server Implemention based on Mina(2.0.0-RC1) and Protobuf(2.1.0)

upb - small, fast parsers for the 21st century


Unleaded is a library of fast parsers and serializers. These parsers/serializers are written in C and use every available avenue (particularly JIT compilation) to achieve the fastest possible speed. However they are also extremely lightweight (less than 100k of object code) and low-overhead.The library started as a Protocol Buffers library (upb originally meant μpb: Micro Protocol Buffers). It still uses protobuf-like schemas as a core abstraction, but it has expanded beyond just Protocol Buffers to JSON, and other formats are planned.

protobuf-java-serializable


Patched version of google protocol buffers to allow for java serialization.

dart-protoc-plugin - Dart plugin for protobuf compiler (protoc)


This repository provides a plugin for the protoc compiler. It generates Dart files for working with data in protocol buffers format. At this time we only support proto2, but proto3 may work in simple cases due to backwards compatibility.To compile a .proto file, you must use the 'protoc' command which is installed separately. Protobuf 3.0.0 or above is required.

Protocol Buffers Workbench


Protocol Buffers Workbench helps developers to explore the Google Protocol Buffers serialization format. Given the message definition (in .proto format) it can translate messages back and forth between text and binary format. It's developed in C#.