gtfs-realtime-bindings

Java classes generated from the GTFS-realtime protocol buffer specification.

License

License

GroupId

GroupId

com.google.transit
ArtifactId

ArtifactId

gtfs-realtime-bindings
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

gtfs-realtime-bindings
Java classes generated from the GTFS-realtime protocol buffer specification.
Project URL

Project URL

https://github.com/google/gtfs-realtime-bindings
Source Code Management

Source Code Management

http://github.com/google/gtfs-realtime-bindings

Download gtfs-realtime-bindings

How to add to project

<!-- https://jarcasting.com/artifacts/com.google.transit/gtfs-realtime-bindings/ -->
<dependency>
    <groupId>com.google.transit</groupId>
    <artifactId>gtfs-realtime-bindings</artifactId>
    <version>0.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.google.transit/gtfs-realtime-bindings/
implementation 'com.google.transit:gtfs-realtime-bindings:0.0.4'
// https://jarcasting.com/artifacts/com.google.transit/gtfs-realtime-bindings/
implementation ("com.google.transit:gtfs-realtime-bindings:0.0.4")
'com.google.transit:gtfs-realtime-bindings:jar:0.0.4'
<dependency org="com.google.transit" name="gtfs-realtime-bindings" rev="0.0.4">
  <artifact name="gtfs-realtime-bindings" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.google.transit', module='gtfs-realtime-bindings', version='0.0.4')
)
libraryDependencies += "com.google.transit" % "gtfs-realtime-bindings" % "0.0.4"
[com.google.transit/gtfs-realtime-bindings "0.0.4"]

Dependencies

compile (1)

Group / Artifact Type Version
com.google.protobuf : protobuf-java jar 2.6.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

gtfs-realtime-bindings Join the MobilityData IO chat

Language bindings generated from the GTFS-realtime protocol buffer spec for popular languages.

Introduction

GTFS-realtime is a data format for communicating real-time information about public transit systems. GTFS-realtime data is encoded and decoded using Protocol Buffers, a compact binary representation designed for fast and efficient processing. The data schema itself is defined in gtfs-realtime.proto.

To work with GTFS-realtime data, a developer would typically use the gtfs-realtime.proto schema to generate classes in the programming language of their choice. These classes can then be used for constructing GTFS-realtime data model objects and serializing them as binary data or, in the reverse direction, parsing binary data into data model objects.

Because generating GTFS-realtime data model classes from the gtfs-realtime.proto schema is such a common task, but also one that sometimes causes confusion for first-time developers, this project aims to provide pre-generated GTFS-realtime language bindings for a number of the most popular programming languages. Where possible, these language bindings will be published as packages to facilitate their use in other projects.

Supported Languages

Other Languages

We don't provide generated code for C++, use the official protoc compiler for that (from here or here)

Are we missing your favorite language? Consider contributing:

  1. Read CONTRIBUTING.md.
  2. Open a pull request with your language of choice. Please include update instructions (ideally, scripts). Also, provide packaging suitable for the language ecosystem.

Project History

This project was originally created by Google - MobilityData started to maintain the project in early 2019.

Older versions of the bindings libraries are still published under Google's name. See the documentation for each language here to find the last version published by Google.

com.google.transit

Google

Google ❤️ Open Source

Versions

Version
0.0.4
0.0.3
0.0.2
0.0.1