/common-protos-java

Google common protos for Java

Primary LanguageJavaApache License 2.0Apache-2.0

Google Common Protos Java

release level

This repository is a home for the protocol buffer types which are common dependencies throughout the Google API ecosystem, generated for Java. The protobuf definitions for these generated Java classes are provided in the googleapis repository.

Quickstart

If you are using Maven, add this to your pom.xml file

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.google.api.grpc</groupId>
        <artifactId>proto-google-common-protos</artifactId>
        <version>1.15.0</version>
       </dependency>

       <dependency>
         <groupId>com.google.api.grpc</groupId>
         <artifactId>grpc-google-common-protos</artifactId>
         <version>1.15.0</version>
       </dependency>
        ...
    </dependencies>
  </dependencyManagement>

If you are using Gradle, add this to your dependencies

compile 'com.google.api.grpc:proto-google-common-protos:1.15.0'
compile 'com.google.api.grpc:grpc-google-common-protos:1.15.0'

If you are using SBT, add this to your dependencies

libraryDependencies += "com.google.api.grpc" % "proto-google-common-protos" % "1.15.0"
libraryDependencies += "com.google.api.grpc" % "grpc-google-common-protos" % "1.15.0"

License

These classes are licensed using the Apache 2.0 software license, a permissive, copyfree license. You are free to use them in your applications provided the license terms are honored.