Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ private final CheckValidCredsResponse checkValidCreds(CheckValidCredsRequest req
}

@Override
public final void close() throws Exception {
public final void close() {
stub.close();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ public DataTransferServiceStubSettings.Builder getStubSettingsBuilder() {
return ((DataTransferServiceStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,7 @@ public UnaryCallable<DeleteTransferRunRequest, Empty> deleteTransferRunCallable(
public UnaryCallable<CheckValidCredsRequest, CheckValidCredsResponse> checkValidCredsCallable() {
throw new UnsupportedOperationException("Not implemented: checkValidCredsCallable()");
}

@Override
public abstract void close();
}
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ protected Builder(DataTransferServiceStubSettings settings) {
checkValidCredsSettings);
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public UnaryCallable<CheckValidCredsRequest, CheckValidCredsResponse> checkValid
}

@Override
public final void close() throws Exception {
public final void close() {
shutdown();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ public final ReadModifyWriteRowResponse readModifyWriteRow(ReadModifyWriteRowReq
}

@Override
public final void close() throws Exception {
public final void close() {
stub.close();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public BigtableStubSettings.Builder getStubSettingsBuilder() {
return ((BigtableStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,7 @@ public ServerStreamingCallable<MutateRowsRequest, MutateRowsResponse> mutateRows
readModifyWriteRowCallable() {
throw new UnsupportedOperationException("Not implemented: readModifyWriteRowCallable()");
}

@Override
public abstract void close();
}
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ protected Builder(BigtableStubSettings settings) {
mutateRowSettings, checkAndMutateRowSettings, readModifyWriteRowSettings);
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public ServerStreamingCallable<MutateRowsRequest, MutateRowsResponse> mutateRows
}

@Override
public final void close() throws Exception {
public final void close() {
shutdown();
}

Expand Down
14 changes: 12 additions & 2 deletions google-cloud-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@
<gax.version>1.23.0</gax.version>
<gax-grpc.version>1.23.0</gax-grpc.version>
<gax-httpjson.version>0.40.0</gax-httpjson.version>
<generated-proto-beta.version>0.8.0</generated-proto-beta.version>
<generated-proto-ga.version>1.7.0</generated-proto-ga.version>
<generated-proto-beta.version>0.9.0</generated-proto-beta.version>
<generated-proto-ga.version>1.8.0</generated-proto-ga.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -429,6 +429,16 @@
<artifactId>grpc-google-cloud-dialogflow-v2beta1</artifactId>
<version>${generated-proto-beta.version}</version>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-dialogflow-v2</artifactId>
<version>${generated-proto-beta.version}</version>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-dialogflow-v2</artifactId>
<version>${generated-proto-beta.version}</version>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-dns</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2772,7 +2772,7 @@ public final Operation setMaintenancePolicy(SetMaintenancePolicyRequest request)
}

@Override
public final void close() throws Exception {
public final void close() {
stub.close();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ public ClusterManagerStubSettings.Builder getStubSettingsBuilder() {
return ((ClusterManagerStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,7 @@ public UnaryCallable<SetNetworkPolicyRequest, Operation> setNetworkPolicyCallabl
public UnaryCallable<SetMaintenancePolicyRequest, Operation> setMaintenancePolicyCallable() {
throw new UnsupportedOperationException("Not implemented: setMaintenancePolicyCallable()");
}

@Override
public abstract void close();
}
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,7 @@ protected Builder(ClusterManagerStubSettings settings) {
setMaintenancePolicySettings);
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ public UnaryCallable<SetMaintenancePolicyRequest, Operation> setMaintenancePolic
}

@Override
public final void close() throws Exception {
public final void close() {
shutdown();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ public final UnaryCallable<DiagnoseClusterRequest, Operation> diagnoseClusterCal
}

@Override
public final void close() throws Exception {
public final void close() {
stub.close();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ public ClusterControllerStubSettings.Builder getStubSettingsBuilder() {
return ((ClusterControllerStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ public final UnaryCallable<DeleteJobRequest, Empty> deleteJobCallable() {
}

@Override
public final void close() throws Exception {
public final void close() {
stub.close();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ public JobControllerStubSettings.Builder getStubSettingsBuilder() {
return ((JobControllerStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,7 @@ public UnaryCallable<ListClustersRequest, ListClustersResponse> listClustersCall
public UnaryCallable<DiagnoseClusterRequest, Operation> diagnoseClusterCallable() {
throw new UnsupportedOperationException("Not implemented: diagnoseClusterCallable()");
}

@Override
public abstract void close();
}
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ protected Builder(ClusterControllerStubSettings settings) {
diagnoseClusterSettings);
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public UnaryCallable<DiagnoseClusterRequest, Operation> diagnoseClusterCallable(
}

@Override
public final void close() throws Exception {
public final void close() {
shutdown();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public UnaryCallable<DeleteJobRequest, Empty> deleteJobCallable() {
}

@Override
public final void close() throws Exception {
public final void close() {
shutdown();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,7 @@ public UnaryCallable<CancelJobRequest, Job> cancelJobCallable() {
public UnaryCallable<DeleteJobRequest, Empty> deleteJobCallable() {
throw new UnsupportedOperationException("Not implemented: deleteJobCallable()");
}

@Override
public abstract void close();
}
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ protected Builder(JobControllerStubSettings settings) {
deleteJobSettings);
}

// NEXT_MAJOR_VER: remove 'throws Exception'
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
Expand Down
13 changes: 11 additions & 2 deletions google-cloud-dialogflow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<name>Google Cloud Dialog Flow API</name>
<url>https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-dialogflow</url>
<description>
Java idiomatic client for Cloud Dialog Flow API v2beta1.
Java idiomatic client for Cloud Dialog Flow API.
</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pom</artifactId>
<version>0.43.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-pom:current} -->
</parent>
<properties>
<site.installationModule>google-cloud-dialogflow-v2beta1</site.installationModule>
<site.installationModule>google-cloud-dialogflow</site.installationModule>
</properties>
<dependencies>
<dependency>
Expand All @@ -30,6 +30,10 @@
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-dialogflow-v2beta1</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-dialogflow-v2</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
Expand Down Expand Up @@ -68,6 +72,11 @@
<artifactId>grpc-google-cloud-dialogflow-v2beta1</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-dialogflow-v2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
Expand Down
Loading