Skip to content

Commit

Permalink
Regenerate java clients, bump proto-/grpc-artifacts dependency versio…
Browse files Browse the repository at this point in the history
…ns (#3173)

* Regenerate java clients, bump proto-/grpc-artifacts dependency versions

* .
  • Loading branch information
vam-google authored Apr 19, 2018
1 parent d94eb19 commit 9bbe190
Show file tree
Hide file tree
Showing 30 changed files with 137 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2202,7 +2202,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
}

@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 @@ -307,6 +307,7 @@ public BigtableInstanceAdminStubSettings.Builder getStubSettingsBuilder() {
return ((BigtableInstanceAdminStubSettings.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 @@ -1826,7 +1826,7 @@ public final UnaryCallable<DeleteSnapshotRequest, Empty> deleteSnapshotCallable(
}

@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 @@ -255,6 +255,7 @@ public BigtableTableAdminStubSettings.Builder getStubSettingsBuilder() {
return ((BigtableTableAdminStubSettings.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 @@ -173,4 +173,7 @@ public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
testIamPermissionsCallable() {
throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
}

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

// 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 @@ -136,4 +136,7 @@ public UnaryCallable<ListSnapshotsRequest, ListSnapshotsResponse> listSnapshotsC
public UnaryCallable<DeleteSnapshotRequest, Empty> deleteSnapshotCallable() {
throw new UnsupportedOperationException("Not implemented: deleteSnapshotCallable()");
}

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

// 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 @@ -755,7 +755,7 @@ public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
}

@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 @@ -573,7 +573,7 @@ public UnaryCallable<DeleteSnapshotRequest, Empty> deleteSnapshotCallable() {
}

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

Expand Down
4 changes: 2 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.9.0</generated-proto-beta.version>
<generated-proto-ga.version>1.8.0</generated-proto-ga.version>
<generated-proto-beta.version>0.10.0</generated-proto-beta.version>
<generated-proto-ga.version>1.9.0</generated-proto-ga.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,10 @@ public ContextsStub getStub() {
*
* @param parent Required. The session to list all contexts from. Format: `projects/&lt;Project
* ID&gt;/agent/sessions/&lt;Session ID&gt;` or `projects/&lt;Project
* ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session ID&gt;`. Note: Runtimes are
* under construction and will be available soon. If &lt;Runtime ID&gt; is not specified, we
* assume default 'sandbox' runtime.
* ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User ID&gt;/sessions/&lt;Session
* ID&gt;`. Note: Environments and users are under construction and will be available soon. If
* &lt;Environment ID&gt; is not specified, we assume default 'draft' environment. If &lt;User
* ID&gt; is not specified, we assume default '-' user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListContextsPagedResponse listContexts(SessionName parent) {
Expand Down Expand Up @@ -212,9 +213,10 @@ public final ListContextsPagedResponse listContexts(SessionName parent) {
*
* @param parent Required. The session to list all contexts from. Format: `projects/&lt;Project
* ID&gt;/agent/sessions/&lt;Session ID&gt;` or `projects/&lt;Project
* ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session ID&gt;`. Note: Runtimes are
* under construction and will be available soon. If &lt;Runtime ID&gt; is not specified, we
* assume default 'sandbox' runtime.
* ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User ID&gt;/sessions/&lt;Session
* ID&gt;`. Note: Environments and users are under construction and will be available soon. If
* &lt;Environment ID&gt; is not specified, we assume default 'draft' environment. If &lt;User
* ID&gt; is not specified, we assume default '-' user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListContextsPagedResponse listContexts(String parent) {
Expand Down Expand Up @@ -318,10 +320,11 @@ public final UnaryCallable<ListContextsRequest, ListContextsResponse> listContex
*
* @param name Required. The name of the context. Format: `projects/&lt;Project
* ID&gt;/agent/sessions/&lt;Session ID&gt;/contexts/&lt;Context ID&gt;` or
* `projects/&lt;Project ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session
* ID&gt;/contexts/&lt;Context ID&gt;`. Note: Runtimes are under construction and will be
* available soon. If &lt;Runtime ID&gt; is not specified, we assume default 'sandbox'
* runtime.
* `projects/&lt;Project ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User
* ID&gt;/sessions/&lt;Session ID&gt;/contexts/&lt;Context ID&gt;`. Note: Environments and
* users are under construction and will be available soon. If &lt;Environment ID&gt; is not
* specified, we assume default 'draft' environment. If &lt;User ID&gt; is not specified, we
* assume default '-' user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Context getContext(ContextName name) {
Expand All @@ -346,10 +349,11 @@ public final Context getContext(ContextName name) {
*
* @param name Required. The name of the context. Format: `projects/&lt;Project
* ID&gt;/agent/sessions/&lt;Session ID&gt;/contexts/&lt;Context ID&gt;` or
* `projects/&lt;Project ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session
* ID&gt;/contexts/&lt;Context ID&gt;`. Note: Runtimes are under construction and will be
* available soon. If &lt;Runtime ID&gt; is not specified, we assume default 'sandbox'
* runtime.
* `projects/&lt;Project ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User
* ID&gt;/sessions/&lt;Session ID&gt;/contexts/&lt;Context ID&gt;`. Note: Environments and
* users are under construction and will be available soon. If &lt;Environment ID&gt; is not
* specified, we assume default 'draft' environment. If &lt;User ID&gt; is not specified, we
* assume default '-' user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Context getContext(String name) {
Expand Down Expand Up @@ -419,9 +423,10 @@ public final UnaryCallable<GetContextRequest, Context> getContextCallable() {
*
* @param parent Required. The session to create a context for. Format: `projects/&lt;Project
* ID&gt;/agent/sessions/&lt;Session ID&gt;` or `projects/&lt;Project
* ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session ID&gt;`. Note: Runtimes are
* under construction and will be available soon. If &lt;Runtime ID&gt; is not specified, we
* assume default 'sandbox' runtime.
* ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User ID&gt;/sessions/&lt;Session
* ID&gt;`. Note: Environments and users are under construction and will be available soon. If
* &lt;Environment ID&gt; is not specified, we assume default 'draft' environment. If &lt;User
* ID&gt; is not specified, we assume default '-' user.
* @param context Required. The context to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -451,9 +456,10 @@ public final Context createContext(SessionName parent, Context context) {
*
* @param parent Required. The session to create a context for. Format: `projects/&lt;Project
* ID&gt;/agent/sessions/&lt;Session ID&gt;` or `projects/&lt;Project
* ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session ID&gt;`. Note: Runtimes are
* under construction and will be available soon. If &lt;Runtime ID&gt; is not specified, we
* assume default 'sandbox' runtime.
* ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User ID&gt;/sessions/&lt;Session
* ID&gt;`. Note: Environments and users are under construction and will be available soon. If
* &lt;Environment ID&gt; is not specified, we assume default 'draft' environment. If &lt;User
* ID&gt; is not specified, we assume default '-' user.
* @param context Required. The context to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -595,10 +601,11 @@ public final UnaryCallable<UpdateContextRequest, Context> updateContextCallable(
*
* @param name Required. The name of the context to delete. Format: `projects/&lt;Project
* ID&gt;/agent/sessions/&lt;Session ID&gt;/contexts/&lt;Context ID&gt;` or
* `projects/&lt;Project ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session
* ID&gt;/contexts/&lt;Context ID&gt;`. Note: Runtimes are under construction and will be
* available soon. If &lt;Runtime ID&gt; is not specified, we assume default 'sandbox'
* runtime.
* `projects/&lt;Project ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User
* ID&gt;/sessions/&lt;Session ID&gt;/contexts/&lt;Context ID&gt;`. Note: Environments and
* users are under construction and will be available soon. If &lt;Environment ID&gt; is not
* specified, we assume default 'draft' environment. If &lt;User ID&gt; is not specified, we
* assume default '-' user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteContext(ContextName name) {
Expand All @@ -623,10 +630,11 @@ public final void deleteContext(ContextName name) {
*
* @param name Required. The name of the context to delete. Format: `projects/&lt;Project
* ID&gt;/agent/sessions/&lt;Session ID&gt;/contexts/&lt;Context ID&gt;` or
* `projects/&lt;Project ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session
* ID&gt;/contexts/&lt;Context ID&gt;`. Note: Runtimes are under construction and will be
* available soon. If &lt;Runtime ID&gt; is not specified, we assume default 'sandbox'
* runtime.
* `projects/&lt;Project ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User
* ID&gt;/sessions/&lt;Session ID&gt;/contexts/&lt;Context ID&gt;`. Note: Environments and
* users are under construction and will be available soon. If &lt;Environment ID&gt; is not
* specified, we assume default 'draft' environment. If &lt;User ID&gt; is not specified, we
* assume default '-' user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteContext(String name) {
Expand Down Expand Up @@ -695,9 +703,10 @@ public final UnaryCallable<DeleteContextRequest, Empty> deleteContextCallable()
*
* @param parent Required. The name of the session to delete all contexts from. Format:
* `projects/&lt;Project ID&gt;/agent/sessions/&lt;Session ID&gt;` or `projects/&lt;Project
* ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session ID&gt;`. Note: Runtimes are
* under construction and will be available soon. If &lt;Runtime ID&gt; is not specified we
* assume default 'sandbox' runtime.
* ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User ID&gt;/sessions/&lt;Session
* ID&gt;`. Note: Environments and users are under construction and will be available soon. If
* &lt;Environment ID&gt; is not specified we assume default 'draft' environment. If &lt;User
* ID&gt; is not specified, we assume default '-' user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteAllContexts(SessionName parent) {
Expand All @@ -724,9 +733,10 @@ public final void deleteAllContexts(SessionName parent) {
*
* @param parent Required. The name of the session to delete all contexts from. Format:
* `projects/&lt;Project ID&gt;/agent/sessions/&lt;Session ID&gt;` or `projects/&lt;Project
* ID&gt;/agent/runtimes/&lt;Runtime ID&gt;/sessions/&lt;Session ID&gt;`. Note: Runtimes are
* under construction and will be available soon. If &lt;Runtime ID&gt; is not specified we
* assume default 'sandbox' runtime.
* ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User ID&gt;/sessions/&lt;Session
* ID&gt;`. Note: Environments and users are under construction and will be available soon. If
* &lt;Environment ID&gt; is not specified we assume default 'draft' environment. If &lt;User
* ID&gt; is not specified, we assume default '-' user.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteAllContexts(String parent) {
Expand Down
Loading

0 comments on commit 9bbe190

Please sign in to comment.