Skip to content

Commit

Permalink
chore: re-generated to pick up changes from googleapis (#330)
Browse files Browse the repository at this point in the history
* chore: changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* chore: set Ruby namespace in proto options

PiperOrigin-RevId: 316144276

Source-Author: Google APIs <noreply@google.com>
Source-Date: Fri Jun 12 11:38:22 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: b5653ef55579186841dee924592248d821902a12
Source-Link: googleapis/googleapis@b5653ef

* chore: fully qualify response type in longrunning_operation.info for CreateBackup in the same fashion as all other longrunning operations

PiperOrigin-RevId: 320022685

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jul 7 11:19:52 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 4d8706453bf6016ebf1bb241d78b4dc58c92064d
Source-Link: googleapis/googleapis@4d87064

* fix: migrate spanner/database/v1 to grpc_service_config

PiperOrigin-RevId: 320114022

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jul 7 20:27:27 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: d8354750a5fe21173832ab9a1f2ce6348cd27d83
Source-Link: googleapis/googleapis@d835475

* fix: migrate spanner/instance/v1 to grpc_service_config

PiperOrigin-RevId: 320114042

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jul 7 20:27:36 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 8bbefeffb4c91fd34e1729bbc51dfc136557d88d
Source-Link: googleapis/googleapis@8bbefef

* fix: migrate spanner/v1 to grpc_service_config

PiperOrigin-RevId: 320114059

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jul 7 20:27:48 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: c29c4c519667a51c0e2cfddda9c3a66be77bdf38
Source-Link: googleapis/googleapis@c29c4c5

* fix: apply SpannerOptionsTest patch (#332)

Co-authored-by: Noah Dietz <noahdietz@users.noreply.github.com>
  • Loading branch information
yoshi-automation and noahdietz committed Jul 14, 2020
1 parent 8aa591e commit 60dd9fb
Show file tree
Hide file tree
Showing 37 changed files with 2,702 additions and 2,509 deletions.

Large diffs are not rendered by default.

Expand Up @@ -103,12 +103,6 @@
@Generated("by gapic-generator")
@BetaApi
public class DatabaseAdminSettings extends ClientSettings<DatabaseAdminSettings> {
/** Returns the object with the settings used for calls to listDatabases. */
public PagedCallSettings<ListDatabasesRequest, ListDatabasesResponse, ListDatabasesPagedResponse>
listDatabasesSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).listDatabasesSettings();
}

/** Returns the object with the settings used for calls to createDatabase. */
public UnaryCallSettings<CreateDatabaseRequest, Operation> createDatabaseSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).createDatabaseSettings();
Expand All @@ -122,11 +116,6 @@ public UnaryCallSettings<CreateDatabaseRequest, Operation> createDatabaseSetting
return ((DatabaseAdminStubSettings) getStubSettings()).createDatabaseOperationSettings();
}

/** Returns the object with the settings used for calls to getDatabase. */
public UnaryCallSettings<GetDatabaseRequest, Database> getDatabaseSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).getDatabaseSettings();
}

/** Returns the object with the settings used for calls to updateDatabaseDdl. */
public UnaryCallSettings<UpdateDatabaseDdlRequest, Operation> updateDatabaseDdlSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).updateDatabaseDdlSettings();
Expand All @@ -140,6 +129,43 @@ public UnaryCallSettings<UpdateDatabaseDdlRequest, Operation> updateDatabaseDdlS
return ((DatabaseAdminStubSettings) getStubSettings()).updateDatabaseDdlOperationSettings();
}

/** Returns the object with the settings used for calls to createBackup. */
public UnaryCallSettings<CreateBackupRequest, Operation> createBackupSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).createBackupSettings();
}

/** Returns the object with the settings used for calls to createBackup. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<CreateBackupRequest, Backup, CreateBackupMetadata>
createBackupOperationSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).createBackupOperationSettings();
}

/** Returns the object with the settings used for calls to restoreDatabase. */
public UnaryCallSettings<RestoreDatabaseRequest, Operation> restoreDatabaseSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).restoreDatabaseSettings();
}

/** Returns the object with the settings used for calls to restoreDatabase. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<RestoreDatabaseRequest, Database, RestoreDatabaseMetadata>
restoreDatabaseOperationSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).restoreDatabaseOperationSettings();
}

/** Returns the object with the settings used for calls to listDatabases. */
public PagedCallSettings<ListDatabasesRequest, ListDatabasesResponse, ListDatabasesPagedResponse>
listDatabasesSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).listDatabasesSettings();
}

/** Returns the object with the settings used for calls to getDatabase. */
public UnaryCallSettings<GetDatabaseRequest, Database> getDatabaseSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).getDatabaseSettings();
}

/** Returns the object with the settings used for calls to dropDatabase. */
public UnaryCallSettings<DropDatabaseRequest, Empty> dropDatabaseSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).dropDatabaseSettings();
Expand All @@ -166,19 +192,6 @@ public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).testIamPermissionsSettings();
}

/** Returns the object with the settings used for calls to createBackup. */
public UnaryCallSettings<CreateBackupRequest, Operation> createBackupSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).createBackupSettings();
}

/** Returns the object with the settings used for calls to createBackup. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<CreateBackupRequest, Backup, CreateBackupMetadata>
createBackupOperationSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).createBackupOperationSettings();
}

/** Returns the object with the settings used for calls to getBackup. */
public UnaryCallSettings<GetBackupRequest, Backup> getBackupSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).getBackupSettings();
Expand All @@ -200,19 +213,6 @@ public UnaryCallSettings<DeleteBackupRequest, Empty> deleteBackupSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).listBackupsSettings();
}

/** Returns the object with the settings used for calls to restoreDatabase. */
public UnaryCallSettings<RestoreDatabaseRequest, Operation> restoreDatabaseSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).restoreDatabaseSettings();
}

/** Returns the object with the settings used for calls to restoreDatabase. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<RestoreDatabaseRequest, Database, RestoreDatabaseMetadata>
restoreDatabaseOperationSettings() {
return ((DatabaseAdminStubSettings) getStubSettings()).restoreDatabaseOperationSettings();
}

/** Returns the object with the settings used for calls to listDatabaseOperations. */
public PagedCallSettings<
ListDatabaseOperationsRequest,
Expand Down Expand Up @@ -328,13 +328,6 @@ public Builder applyToAllUnaryMethods(
return this;
}

/** Returns the builder for the settings used for calls to listDatabases. */
public PagedCallSettings.Builder<
ListDatabasesRequest, ListDatabasesResponse, ListDatabasesPagedResponse>
listDatabasesSettings() {
return getStubSettingsBuilder().listDatabasesSettings();
}

/** Returns the builder for the settings used for calls to createDatabase. */
public UnaryCallSettings.Builder<CreateDatabaseRequest, Operation> createDatabaseSettings() {
return getStubSettingsBuilder().createDatabaseSettings();
Expand All @@ -348,11 +341,6 @@ public UnaryCallSettings.Builder<CreateDatabaseRequest, Operation> createDatabas
return getStubSettingsBuilder().createDatabaseOperationSettings();
}

/** Returns the builder for the settings used for calls to getDatabase. */
public UnaryCallSettings.Builder<GetDatabaseRequest, Database> getDatabaseSettings() {
return getStubSettingsBuilder().getDatabaseSettings();
}

/** Returns the builder for the settings used for calls to updateDatabaseDdl. */
public UnaryCallSettings.Builder<UpdateDatabaseDdlRequest, Operation>
updateDatabaseDdlSettings() {
Expand All @@ -367,6 +355,44 @@ public UnaryCallSettings.Builder<GetDatabaseRequest, Database> getDatabaseSettin
return getStubSettingsBuilder().updateDatabaseDdlOperationSettings();
}

/** Returns the builder for the settings used for calls to createBackup. */
public UnaryCallSettings.Builder<CreateBackupRequest, Operation> createBackupSettings() {
return getStubSettingsBuilder().createBackupSettings();
}

/** Returns the builder for the settings used for calls to createBackup. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<CreateBackupRequest, Backup, CreateBackupMetadata>
createBackupOperationSettings() {
return getStubSettingsBuilder().createBackupOperationSettings();
}

/** Returns the builder for the settings used for calls to restoreDatabase. */
public UnaryCallSettings.Builder<RestoreDatabaseRequest, Operation> restoreDatabaseSettings() {
return getStubSettingsBuilder().restoreDatabaseSettings();
}

/** Returns the builder for the settings used for calls to restoreDatabase. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<RestoreDatabaseRequest, Database, RestoreDatabaseMetadata>
restoreDatabaseOperationSettings() {
return getStubSettingsBuilder().restoreDatabaseOperationSettings();
}

/** Returns the builder for the settings used for calls to listDatabases. */
public PagedCallSettings.Builder<
ListDatabasesRequest, ListDatabasesResponse, ListDatabasesPagedResponse>
listDatabasesSettings() {
return getStubSettingsBuilder().listDatabasesSettings();
}

/** Returns the builder for the settings used for calls to getDatabase. */
public UnaryCallSettings.Builder<GetDatabaseRequest, Database> getDatabaseSettings() {
return getStubSettingsBuilder().getDatabaseSettings();
}

/** Returns the builder for the settings used for calls to dropDatabase. */
public UnaryCallSettings.Builder<DropDatabaseRequest, Empty> dropDatabaseSettings() {
return getStubSettingsBuilder().dropDatabaseSettings();
Expand Down Expand Up @@ -394,19 +420,6 @@ public UnaryCallSettings.Builder<GetIamPolicyRequest, Policy> getIamPolicySettin
return getStubSettingsBuilder().testIamPermissionsSettings();
}

/** Returns the builder for the settings used for calls to createBackup. */
public UnaryCallSettings.Builder<CreateBackupRequest, Operation> createBackupSettings() {
return getStubSettingsBuilder().createBackupSettings();
}

/** Returns the builder for the settings used for calls to createBackup. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<CreateBackupRequest, Backup, CreateBackupMetadata>
createBackupOperationSettings() {
return getStubSettingsBuilder().createBackupOperationSettings();
}

/** Returns the builder for the settings used for calls to getBackup. */
public UnaryCallSettings.Builder<GetBackupRequest, Backup> getBackupSettings() {
return getStubSettingsBuilder().getBackupSettings();
Expand All @@ -429,19 +442,6 @@ public UnaryCallSettings.Builder<DeleteBackupRequest, Empty> deleteBackupSetting
return getStubSettingsBuilder().listBackupsSettings();
}

/** Returns the builder for the settings used for calls to restoreDatabase. */
public UnaryCallSettings.Builder<RestoreDatabaseRequest, Operation> restoreDatabaseSettings() {
return getStubSettingsBuilder().restoreDatabaseSettings();
}

/** Returns the builder for the settings used for calls to restoreDatabase. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<RestoreDatabaseRequest, Database, RestoreDatabaseMetadata>
restoreDatabaseOperationSettings() {
return getStubSettingsBuilder().restoreDatabaseOperationSettings();
}

/** Returns the builder for the settings used for calls to listDatabaseOperations. */
public PagedCallSettings.Builder<
ListDatabaseOperationsRequest,
Expand Down
Expand Up @@ -74,15 +74,6 @@ public OperationsStub getOperationsStub() {
throw new UnsupportedOperationException("Not implemented: getOperationsStub()");
}

public UnaryCallable<ListDatabasesRequest, ListDatabasesPagedResponse>
listDatabasesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listDatabasesPagedCallable()");
}

public UnaryCallable<ListDatabasesRequest, ListDatabasesResponse> listDatabasesCallable() {
throw new UnsupportedOperationException("Not implemented: listDatabasesCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<CreateDatabaseRequest, Database, CreateDatabaseMetadata>
createDatabaseOperationCallable() {
Expand All @@ -93,10 +84,6 @@ public UnaryCallable<CreateDatabaseRequest, Operation> createDatabaseCallable()
throw new UnsupportedOperationException("Not implemented: createDatabaseCallable()");
}

public UnaryCallable<GetDatabaseRequest, Database> getDatabaseCallable() {
throw new UnsupportedOperationException("Not implemented: getDatabaseCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<UpdateDatabaseDdlRequest, Empty, UpdateDatabaseDdlMetadata>
updateDatabaseDdlOperationCallable() {
Expand All @@ -108,6 +95,39 @@ public UnaryCallable<UpdateDatabaseDdlRequest, Operation> updateDatabaseDdlCalla
throw new UnsupportedOperationException("Not implemented: updateDatabaseDdlCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<CreateBackupRequest, Backup, CreateBackupMetadata>
createBackupOperationCallable() {
throw new UnsupportedOperationException("Not implemented: createBackupOperationCallable()");
}

public UnaryCallable<CreateBackupRequest, Operation> createBackupCallable() {
throw new UnsupportedOperationException("Not implemented: createBackupCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<RestoreDatabaseRequest, Database, RestoreDatabaseMetadata>
restoreDatabaseOperationCallable() {
throw new UnsupportedOperationException("Not implemented: restoreDatabaseOperationCallable()");
}

public UnaryCallable<RestoreDatabaseRequest, Operation> restoreDatabaseCallable() {
throw new UnsupportedOperationException("Not implemented: restoreDatabaseCallable()");
}

public UnaryCallable<ListDatabasesRequest, ListDatabasesPagedResponse>
listDatabasesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listDatabasesPagedCallable()");
}

public UnaryCallable<ListDatabasesRequest, ListDatabasesResponse> listDatabasesCallable() {
throw new UnsupportedOperationException("Not implemented: listDatabasesCallable()");
}

public UnaryCallable<GetDatabaseRequest, Database> getDatabaseCallable() {
throw new UnsupportedOperationException("Not implemented: getDatabaseCallable()");
}

public UnaryCallable<DropDatabaseRequest, Empty> dropDatabaseCallable() {
throw new UnsupportedOperationException("Not implemented: dropDatabaseCallable()");
}
Expand All @@ -129,16 +149,6 @@ public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<CreateBackupRequest, Backup, CreateBackupMetadata>
createBackupOperationCallable() {
throw new UnsupportedOperationException("Not implemented: createBackupOperationCallable()");
}

public UnaryCallable<CreateBackupRequest, Operation> createBackupCallable() {
throw new UnsupportedOperationException("Not implemented: createBackupCallable()");
}

public UnaryCallable<GetBackupRequest, Backup> getBackupCallable() {
throw new UnsupportedOperationException("Not implemented: getBackupCallable()");
}
Expand All @@ -159,16 +169,6 @@ public UnaryCallable<ListBackupsRequest, ListBackupsResponse> listBackupsCallabl
throw new UnsupportedOperationException("Not implemented: listBackupsCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<RestoreDatabaseRequest, Database, RestoreDatabaseMetadata>
restoreDatabaseOperationCallable() {
throw new UnsupportedOperationException("Not implemented: restoreDatabaseOperationCallable()");
}

public UnaryCallable<RestoreDatabaseRequest, Operation> restoreDatabaseCallable() {
throw new UnsupportedOperationException("Not implemented: restoreDatabaseCallable()");
}

public UnaryCallable<ListDatabaseOperationsRequest, ListDatabaseOperationsPagedResponse>
listDatabaseOperationsPagedCallable() {
throw new UnsupportedOperationException(
Expand Down

0 comments on commit 60dd9fb

Please sign in to comment.