Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

chore(deps): Update gapic-generator-java to 2.16.0 #754

Closed
wants to merge 14 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-mediatranslation:0.11.0'
implementation 'com.google.cloud:google-cloud-mediatranslation:0.19.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.11.0"
libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.19.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,21 +108,6 @@
* SpeechTranslationServiceClient.create(speechTranslationServiceSettings);
* }</pre>
*
* <p>To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over
* the wire:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* SpeechTranslationServiceSettings speechTranslationServiceSettings =
* SpeechTranslationServiceSettings.newHttpJsonBuilder().build();
* SpeechTranslationServiceClient speechTranslationServiceClient =
* SpeechTranslationServiceClient.create(speechTranslationServiceSettings);
* }</pre>
*
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
@BetaApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
Expand Down Expand Up @@ -109,18 +108,11 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde
return SpeechTranslationServiceStubSettings.defaultCredentialsProviderBuilder();
}

/** Returns a builder for the default gRPC ChannelProvider for this service. */
/** Returns a builder for the default ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return SpeechTranslationServiceStubSettings.defaultGrpcTransportProviderBuilder();
}

/** Returns a builder for the default REST ChannelProvider for this service. */
@BetaApi
public static InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder() {
return SpeechTranslationServiceStubSettings.defaultHttpJsonTransportProviderBuilder();
}

public static TransportChannelProvider defaultTransportChannelProvider() {
return SpeechTranslationServiceStubSettings.defaultTransportChannelProvider();
}
Expand All @@ -130,17 +122,11 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil
return SpeechTranslationServiceStubSettings.defaultApiClientHeaderProviderBuilder();
}

/** Returns a new gRPC builder for this class. */
/** Returns a new builder for this class. */
public static Builder newBuilder() {
return Builder.createDefault();
}

/** Returns a new REST builder for this class. */
@BetaApi
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}

/** Returns a new builder for this class. */
public static Builder newBuilder(ClientContext clientContext) {
return new Builder(clientContext);
Expand Down Expand Up @@ -179,11 +165,6 @@ private static Builder createDefault() {
return new Builder(SpeechTranslationServiceStubSettings.newBuilder());
}

@BetaApi
private static Builder createHttpJsonDefault() {
return new Builder(SpeechTranslationServiceStubSettings.newHttpJsonBuilder());
}

public SpeechTranslationServiceStubSettings.Builder getStubSettingsBuilder() {
return ((SpeechTranslationServiceStubSettings.Builder) getStubSettings());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

/**
* The interfaces provided are listed below, along with usage samples.
* A client to Media Translation API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= SpeechTranslationServiceClient =======================
*
Expand Down

This file was deleted.

This file was deleted.

Loading