com.google.api.grpc:grpc-google-cloud-language-v1beta1

GRPC library for grpc-google-cloud-language-v1beta1

License

License

Apache-2.0
Categories

Categories

gRPC Net Networking Google Cloud Container PaaS Providers
GroupId

GroupId

com.google.api.grpc
ArtifactId

ArtifactId

grpc-google-cloud-language-v1beta1
Last Version

Last Version

0.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

com.google.api.grpc:grpc-google-cloud-language-v1beta1
GRPC library for grpc-google-cloud-language-v1beta1
Project URL

Project URL

https://github.com/googleapis/googleapis
Source Code Management

Source Code Management

https://github.com/google/googleapis

Download grpc-google-cloud-language-v1beta1

How to add to project

<!-- https://jarcasting.com/artifacts/com.google.api.grpc/grpc-google-cloud-language-v1beta1/ -->
<dependency>
    <groupId>com.google.api.grpc</groupId>
    <artifactId>grpc-google-cloud-language-v1beta1</artifactId>
    <version>0.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.google.api.grpc/grpc-google-cloud-language-v1beta1/
implementation 'com.google.api.grpc:grpc-google-cloud-language-v1beta1:0.1.3'
// https://jarcasting.com/artifacts/com.google.api.grpc/grpc-google-cloud-language-v1beta1/
implementation ("com.google.api.grpc:grpc-google-cloud-language-v1beta1:0.1.3")
'com.google.api.grpc:grpc-google-cloud-language-v1beta1:jar:0.1.3'
<dependency org="com.google.api.grpc" name="grpc-google-cloud-language-v1beta1" rev="0.1.3">
  <artifact name="grpc-google-cloud-language-v1beta1" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.google.api.grpc', module='grpc-google-cloud-language-v1beta1', version='0.1.3')
)
libraryDependencies += "com.google.api.grpc" % "grpc-google-cloud-language-v1beta1" % "0.1.3"
[com.google.api.grpc/grpc-google-cloud-language-v1beta1 "0.1.3"]

Dependencies

compile (4)

Group / Artifact Type Version
com.google.api.grpc : grpc-google-common-protos jar 0.1.3
io.grpc : grpc-all jar 1.0.1
com.google.protobuf : protobuf-java jar 3.0.0
com.google.api : api-common jar 0.0.2

Project Modules

There are no modules declared in this project.

Google APIs

This repository contains the original interface definitions of public Google APIs that support both REST and gRPC protocols. Reading the original interface definitions can provide a better understanding of Google APIs and help you to utilize them more efficiently. You can also use these definitions with open source tools to generate client libraries, documentation, and other artifacts.

Building

Bazel

The recommended way to build the API client libraries is through Bazel >= 2.0.0.

First, install bazel.

To build all libraries:

bazel build //...

To test all libraries:

bazel test //...

To build one library in all languages:

bazel build //google/example/library/v1/...

To build the Java package for one library:

bazel build //google/example/library/v1:google-cloud-library-v1-java

Bazel packages exist in all the libraries for Java, Go, Python, Ruby, Node.js, PHP and C#.

Artman

API client libraries can be built directly from files in this repo using Artman. The latest generation status can be tracked here which currently has status CircleCI.

To build the Java package for one library:

artman --config google/example/library/artman_library_example_v1.yaml generate java_gapic

Artman can only build one library in one language at a time.

For more details on all Google APIs and developer tools, see the Google Developers site.

Overview

Google APIs are typically deployed as API services that are hosted under different DNS names. One API service may implement multiple APIs and multiple versions of the same API.

Google APIs use Protocol Buffers version 3 (proto3) as their Interface Definition Language (IDL) to define the API interface and the structure of the payload messages. The same interface definition is used for both REST and RPC versions of the API, which can be accessed over different wire protocols.

There are several ways of accessing Google APIs:

  1. JSON over HTTP: You can access all Google APIs directly using JSON over HTTP, using Google API client library or third-party API client libraries.

  2. Protocol Buffers over gRPC: You can access Google APIs published in this repository through GRPC, which is a high-performance binary RPC protocol over HTTP/2. It offers many useful features, including request/response multiplex and full-duplex streaming.

  3. Google Cloud Client Libraries: You can use these libraries to access Google Cloud APIs. They are based on gRPC for better performance and provide idiomatic client surface for better developer experience.

Discussions

This repo contains copies of Google API definitions and related files. For discussions or to raise issues about Google API client libraries, GRPC or Google Cloud Client Libraries please refer to the repos associated with each area.

Repository Structure

This repository uses a directory hierarchy that reflects the Google API product structure. In general, every API has its own root directory, and each major version of the API has its own subdirectory. The proto package names exactly match the directory: this makes it easy to locate the proto definitions and ensures that the generated client libraries have idiomatic namespaces in most programming languages. Alongside the API directories live the configuration files for the GAPIC toolkit.

NOTE: The major version of an API is used to indicate breaking change to the API.

Generate gRPC Source Code

To generate gRPC source code for Google APIs in this repository, you first need to install both Protocol Buffers and gRPC on your local machine, then you can run make LANGUAGE=xxx all to generate the source code. You need to integrate the generated source code into your application build system.

NOTE: The Makefile is only intended to generate source code for the entire repository. It is not for generating linkable client library for a specific API. Please see other repositories under https://github.com/googleapis for generating linkable client libraries.

Go gRPC Source Code

It is difficult to generate Go gRPC source code from this repository, since Go has different directory structure. Please use this repository instead.

com.google.api.grpc

Google

Google ❤️ Open Source

Versions

Version
0.1.3
0.1.2
0.1.1
0.1.0
0.0.7