proto-google-cloud-video-intelligence-v1beta1

PROTO library for proto-google-cloud-video-intelligence-v1beta1

License

License

Categories

Categories

IDE Development Tools gRPC Net Networking Google Cloud Container PaaS Providers
GroupId

GroupId

com.google.api.grpc
ArtifactId

ArtifactId

proto-google-cloud-video-intelligence-v1beta1
Last Version

Last Version

0.80.0
Release Date

Release Date

Type

Type

jar
Description

Description

proto-google-cloud-video-intelligence-v1beta1
PROTO library for proto-google-cloud-video-intelligence-v1beta1
Project URL

Project URL

https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1
Project Organization

Project Organization

Google LLC

Download proto-google-cloud-video-intelligence-v1beta1

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
com.google.protobuf : protobuf-java jar
com.google.api.grpc : proto-google-common-protos jar 1.17.0
javax.annotation : javax.annotation-api jar 1.3.2

Project Modules

There are no modules declared in this project.

Google Cloud Java Client Libraries

Java idiomatic client for Google Cloud Platform services.

Supported APIs

Libraries are available on GitHub and Maven Central for developing Java applications that interact with individual Google Cloud services:

Client Release Level Version
Access Approval GA Maven
Asset Inventory GA Maven
Auto ML GA Maven
BigQuery GA Maven
BigQuery Connection GA Maven
BigQuery Data Transfer Service GA Maven
BigQuery Reservation GA Maven
BigQuery Storage GA Maven
Bigtable GA Maven
Bigtable Hbase Client GA Maven
Billing GA Maven
Build GA Maven
Container Analysis GA Maven
DNS GA Maven
Data Catalog GA Maven
Data Loss Prevention GA Maven
Dataproc GA Maven
Datastore GA Maven
Dialogflow API GA Maven
Firestore GA Maven
Functions GA Maven
Gaming GA Maven
IAM Service Account Credentials API GA Maven
Identity Access Context Manager GA Maven
Internet of Things (IoT) Core GA Maven
Key Management Service GA Maven
Kubernetes Engine GA Maven
Logging GA Maven
Monitoring Dashboards GA Maven
Natural Language GA Maven
OS Config API GA Maven
OS Login GA Maven
Organization Policy GA Maven
Pub/Sub GA Maven
Recommender GA Maven
Redis GA Maven
Scheduler GA Maven
Secret Management GA Maven
Security Command Center GA Maven
Security Scanner GA Maven
Spanner GA Maven
Spanner JDBC GA Maven
Speech GA Maven
Stackdriver Monitoring GA Maven
Stackdriver Trace GA Maven
Storage GA Maven
Talent Solution GA Maven
Tasks GA Maven
Text-to-Speech GA Maven
Translation GA Maven
Video Intelligence GA Maven
Vision GA Maven
Web Risk GA Maven
reCAPTCHA Enterprise GA Maven
AI Platform Notebooks Beta Maven
Billing Budgets Beta Maven
Data Labeling Beta Maven
Document AI Beta Maven
Error Reporting Beta Maven
Media Translation API Beta Maven
Memcache Beta Maven
Phishing Protection Beta Maven
Pub/Sub Lite Beta Maven
Pub/Sub Lite Kafka Shim Beta Maven
Recommendations AI Beta Maven
Security Command Center Settings API Beta Maven
Service Directory Beta Maven
Shared Dependencies BOM Beta Maven
Analytics Admin Alpha Maven
Compute Engine Alpha Maven
Logging Logback Appender Alpha Maven
NIO Filesystem Provider for Storage Alpha Maven
Resource Manager API Alpha Maven
Stackdriver Incident Response & Management Alpha Maven

If the service is not listed, google-api-java-client interfaces with additional Google Cloud APIs using a legacy REST interface.

When building Java applications, preference should be given to the libraries listed in the table.

Specifying a Project ID

Most google-cloud libraries require a project ID. There are multiple ways to specify this project ID.

  1. When using google-cloud libraries from within Compute/App Engine, there's no need to specify a project ID. It is automatically inferred from the production environment.
  2. When using google-cloud elsewhere, you can do one of the following:
  • Supply the project ID when building the service options. For example, to use Datastore from a project with ID "PROJECT_ID", you can write:
Datastore datastore = DatastoreOptions.newBuilder().setProjectId("PROJECT_ID").build().getService();
  • Specify the environment variable GOOGLE_CLOUD_PROJECT to be your desired project ID.
  • Set the project ID using the Google Cloud SDK. To use the SDK, download the SDK if you haven't already, and set the project ID from the command line. For example:
gcloud config set project PROJECT_ID

google-cloud determines the project ID from the following sources in the listed order, stopping once it finds a value:

  1. The project ID supplied when building the service options
  2. Project ID specified by the environment variable GOOGLE_CLOUD_PROJECT
  3. The App Engine / Compute Engine project ID
  4. The project ID specified in the JSON credentials file pointed by the GOOGLE_APPLICATION_CREDENTIALS environment variable
  5. The Google Cloud SDK project ID

In cases where the library may expect a project ID explicitly, we provide a helper that can provide the inferred project ID:

  import com.google.cloud.ServiceOptions;
  ...
  String projectId = ServiceOptions.getDefaultProjectId();

Authentication

google-cloud-java uses https://github.com/googleapis/google-auth-library-java to authenticate requests. google-auth-library-java supports a wide range of authentication types; see the project's README and javadoc for more details.

Google Cloud Platform environment

When using Google Cloud libraries from a Google Cloud Platform environment such as Compute Engine, Kubernetes Engine, or App Engine, no additional authentication steps are necessary.

For example:

Storage storage = StorageOptions.getDefaultInstance().getService();

or:

CloudTasksClient cloudTasksClient = CloudTasksClient.create();

Other environments

Using a service account (recommended)

  1. Generate a JSON service account key.

  2. After downloading that key, you must do one of the following:

    • Define the environment variable GOOGLE_APPLICATION_CREDENTIALS to be the location of the key. For example:
    export GOOGLE_APPLICATION_CREDENTIALS=/path/to/my/key.json
    • Supply the JSON credentials file when building the service options. For example, this Storage object has the necessary permissions to interact with your Google Cloud Storage data:
    Storage storage = StorageOptions.newBuilder()
        .setCredentials(ServiceAccountCredentials.fromStream(new FileInputStream("/path/to/my/key.json")))
        .build()
        .getService();

Local development/testing

If running locally for development/testing, you can use the Google Cloud SDK. Create Application Default Credentials with gcloud auth application-default login, and then google-cloud will automatically detect such credentials.

Existing OAuth2 access token

If you already have an OAuth2 access token, you can use it to authenticate (notice that in this case, the access token will not be automatically refreshed):

Credentials credentials = GoogleCredentials.create(new AccessToken(accessToken, expirationTime));
Storage storage = StorageOptions.newBuilder()
    .setCredentials(credentials)
    .build()
    .getService();

or:

Credentials credentials = GoogleCredentials.create(new AccessToken(accessToken, expirationTime));
CloudTasksSettings cloudTasksSettings = CloudTasksSettings.newBuilder()
    .setCredentialProvider(FixedCredentialsProvider.create(credentials))
    .build();
CloudTasksClient cloudTasksClient = CloudTasksClient.create(cloudTasksSettings);

Application Default Credentials

If no credentials are provided, google-cloud will attempt to detect them from the environment using GoogleCredentials.getApplicationDefault() which will search for Application Default Credentials in the following locations (in order):

  1. The credentials file pointed to by the GOOGLE_APPLICATION_CREDENTIALS environment variable
  2. Credentials provided by the Google Cloud SDK gcloud auth application-default login command
  3. Google App Engine built-in credentials
  4. Google Cloud Shell built-in credentials
  5. Google Compute Engine built-in credentials

Troubleshooting

To get help, follow the instructions in the Troubleshooting document.

Configuring a Proxy

HTTP Clients

For HTTP clients, a proxy can be configured by using http.proxyHost, https.proxyHost, and related system properties as documented by Java Networking and Proxies.

gRPC Clients

For gRPC clients, a proxy can be configured by using the GRPC_PROXY_EXP environment variable as documented by the gRPC release notes. Please note that gRPC proxy support is currently experimental.

For a more custom proxy, you will need supply a ProxyDetector to the ManagedChannelBuilder:

import com.google.api.core.ApiFunction;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.cloud.tasks.v2.CloudTasksClient;
import com.google.cloud.tasks.v2.CloudTasksSettings;
import com.google.cloud.tasks.v2.stub.CloudTasksStubSettings;
import io.grpc.HttpConnectProxiedSocketAddress;
import io.grpc.ManagedChannelBuilder;
import io.grpc.ProxiedSocketAddress;
import io.grpc.ProxyDetector;

import javax.annotation.Nullable;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;

public CloudTasksClient getService() throws IOException {
  TransportChannelProvider transportChannelProvider =
      CloudTasksStubSettings.defaultGrpcTransportProviderBuilder()
          .setChannelConfigurator(
              new ApiFunction<ManagedChannelBuilder, ManagedChannelBuilder>() {
                @Override
                public ManagedChannelBuilder apply(ManagedChannelBuilder managedChannelBuilder) {
                  return managedChannelBuilder.proxyDetector(
                      new ProxyDetector() {
                        @Nullable
                        @Override
                        public ProxiedSocketAddress proxyFor(SocketAddress socketAddress)
                            throws IOException {
                          return HttpConnectProxiedSocketAddress.newBuilder()
                              .setUsername(PROXY_USERNAME)
                              .setPassword(PROXY_PASSWORD)
                              .setProxyAddress(new InetSocketAddress(PROXY_HOST, PROXY_PORT))
                              .setTargetAddress((InetSocketAddress) socketAddress)
                              .build();
                        }
                      });
                }
              })
          .build();
  CloudTasksSettings cloudTasksSettings =
      CloudTasksSettings.newBuilder()
          .setTransportChannelProvider(transportChannelProvider)
          .build();
  return CloudTasksClient.create(cloudTasksSettings);
}

Java Versions

Java 7 or above is required for using the clients in this repository.

Supported Platforms

Clients in this repository use either HTTP or gRPC for the transport layer. All HTTP-based clients should work in all environments.

For clients that use gRPC, the supported platforms are constrained by the platforms that Forked Tomcat Native supports, which for architectures means only x86_64, and for operating systems means Mac OS X, Windows, and Linux. Additionally, gRPC constrains the use of platforms with threading restrictions.

Thus, the following are not supported:

  • Android
    • Consider Firebase, which includes many of these APIs.
    • It is possible to use these libraries in many cases, although it is unsupported. You can find examples, such as this one, in this example repository but consider the risks carefully before using these libraries in an application.
  • Alpine Linux (due to netty-tcnative requiring glibc, which is not present on Alpine)
  • Raspberry Pi (since it runs on the ARM architecture)
  • Google App Engine Standard Java 7

The following environments should work (among others):

  • standalone Windows on x86_64
  • standalone Mac OS X on x86_64
  • standalone Linux on x86_64
  • Google Compute Engine (GCE)
  • Google Container Engine (GKE)
  • Google App Engine Standard Java 8 (GAE Std J8)
  • Google App Engine Flex (GAE Flex)

Testing

This library provides tools to help write tests for code that uses google-cloud services.

See TESTING to read more about using our testing helpers.

Versioning

This library follows Semantic Versioning, with some additional qualifications:

  1. Components marked with @BetaApi or @Experimental are considered to be "0.x" features inside a "1.x" library. This means they can change between minor and patch releases in incompatible ways. These features should not be used by any library "B" that itself has consumers, unless the components of library B that use @BetaApi features are also marked with @BetaApi. Features marked as @BetaApi are on a path to eventually become "1.x" features with the marker removed.

    Special exception for google-cloud-java: google-cloud-java is allowed to depend on @BetaApi features in gax-java without declaring the consuming code @BetaApi, because gax-java and google-cloud-java move in step with each other. For this reason, gax-java should not be used independently of google-cloud-java.

  2. Components marked with @InternalApi are technically public, but only because of the limitations of Java's access modifiers. For the purposes of semver, they should be considered private.

  3. Interfaces marked with @InternalExtensionOnly are public, but should only be implemented by internal classes. For the purposes of semver, we reserve the right to add to these interfaces without default implementations (for Java 7).

Please note these clients are currently under active development. Any release versioned 0.x.y is subject to backwards incompatible changes at any time.

GA

Libraries defined at a GA quality level are expected to be stable and all updates in the libraries are guaranteed to be backwards-compatible. Any backwards-incompatible changes will lead to the major version increment (1.x.y -> 2.0.0).

Beta

Libraries defined at a Beta quality level are expected to be mostly stable and we're working towards their release candidate. We will address issues and requests with a higher priority.

Alpha

Libraries defined at an Alpha quality level are still a work-in-progress and are more likely to get backwards-incompatible updates. Additionally, it's possible for Alpha libraries to get deprecated and deleted before ever being promoted to Beta or GA.

IDE Plugins

If you're using IntelliJ or Eclipse, you can add client libraries to your project using these IDE plugins:

Besides adding client libraries, the plugins provide additional functionality, such as service account key management. Refer to the documentation for each plugin for more details.

These client libraries can be used on App Engine standard for Java 8 runtime and App Engine flexible (including the Compat runtime). Most of the libraries do not work on the App Engine standard for Java 7 runtime. However, Datastore, Storage, and Bigquery should work.

Contributing

Contributions to this library are always welcome and highly encouraged.

See google-cloud's CONTRIBUTING documentation and the shared documentation for more information on how to get started.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Code of Conduct for more information.

License

Apache 2.0 - See LICENSE for more information.

com.google.api.grpc

Google APIs

Clients for Google APIs and tools that help produce them.

Versions

Version
0.80.0
0.79.0
0.76.0
0.75.0
0.74.0
0.73.0
0.72.0
0.71.0
0.70.0
0.69.0
0.68.0
0.67.0
0.66.0
0.65.0
0.64.0
0.63.0
0.62.0
0.61.0
0.60.0
0.59.0
0.58.0
0.57.0
0.56.0
0.55.0
0.54.0
0.53.0
0.52.0
0.51.0
0.50.0
0.49.0
0.48.0
0.47.0
0.46.0
0.45.0
0.44.0
0.43.0
0.42.0
0.41.0
0.40.0
0.39.0
0.38.0
0.37.0
0.36.0
0.35.0
0.34.0
0.33.0
0.32.0
0.31.0
0.30.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.0
0.23.0
0.22.0
0.21.0
0.20.1
0.20.0
0.19.0
0.18.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.1
0.2.0
0.1.30
0.1.29
0.1.28
0.1.27
0.1.26
0.1.25
0.1.24
0.1.23
0.1.22
0.1.21
0.1.20
0.1.19
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11