Skip to content

Commit

Permalink
revert auto gen changes/files for copy backup API
Browse files Browse the repository at this point in the history
  • Loading branch information
Tracy Cui committed Sep 16, 2022
1 parent 6861857 commit b6efd2d
Show file tree
Hide file tree
Showing 19 changed files with 2,189 additions and 6,027 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
import com.google.bigtable.admin.v2.Backup;
import com.google.bigtable.admin.v2.CheckConsistencyRequest;
import com.google.bigtable.admin.v2.CheckConsistencyResponse;
import com.google.bigtable.admin.v2.CopyBackupMetadata;
import com.google.bigtable.admin.v2.CopyBackupRequest;
import com.google.bigtable.admin.v2.CreateBackupMetadata;
import com.google.bigtable.admin.v2.CreateBackupRequest;
import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata;
Expand Down Expand Up @@ -83,43 +81,7 @@
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Settings class to configure an instance of {@link BaseBigtableTableAdminClient}.
*
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (bigtableadmin.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
* build() is called, the tree of builders is called to create the complete settings object.
*
* <p>For example, to set the total timeout of createTable to 30 seconds:
*
* <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
* BaseBigtableTableAdminSettings.Builder baseBigtableTableAdminSettingsBuilder =
* BaseBigtableTableAdminSettings.newBuilder();
* baseBigtableTableAdminSettingsBuilder
* .createTableSettings()
* .setRetrySettings(
* baseBigtableTableAdminSettingsBuilder
* .createTableSettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* BaseBigtableTableAdminSettings baseBigtableTableAdminSettings =
* baseBigtableTableAdminSettingsBuilder.build();
* }</pre>
*/
/** For internal use only. */
@Generated("by gapic-generator")
@InternalApi
public class BaseBigtableTableAdminSettings extends ClientSettings<BaseBigtableTableAdminSettings> {
Expand Down Expand Up @@ -273,17 +235,6 @@ public UnaryCallSettings<RestoreTableRequest, Operation> restoreTableSettings()
return ((BigtableTableAdminStubSettings) getStubSettings()).restoreTableOperationSettings();
}

/** Returns the object with the settings used for calls to copyBackup. */
public UnaryCallSettings<CopyBackupRequest, Operation> copyBackupSettings() {
return ((BigtableTableAdminStubSettings) getStubSettings()).copyBackupSettings();
}

/** Returns the object with the settings used for calls to copyBackup. */
public OperationCallSettings<CopyBackupRequest, Backup, CopyBackupMetadata>
copyBackupOperationSettings() {
return ((BigtableTableAdminStubSettings) getStubSettings()).copyBackupOperationSettings();
}

/** Returns the object with the settings used for calls to getIamPolicy. */
public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() {
return ((BigtableTableAdminStubSettings) getStubSettings()).getIamPolicySettings();
Expand Down Expand Up @@ -550,17 +501,6 @@ public UnaryCallSettings.Builder<RestoreTableRequest, Operation> restoreTableSet
return getStubSettingsBuilder().restoreTableOperationSettings();
}

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

/** Returns the builder for the settings used for calls to copyBackup. */
public OperationCallSettings.Builder<CopyBackupRequest, Backup, CopyBackupMetadata>
copyBackupOperationSettings() {
return getStubSettingsBuilder().copyBackupOperationSettings();
}

/** Returns the builder for the settings used for calls to getIamPolicy. */
public UnaryCallSettings.Builder<GetIamPolicyRequest, Policy> getIamPolicySettings() {
return getStubSettingsBuilder().getIamPolicySettings();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import com.google.bigtable.admin.v2.Backup;
import com.google.bigtable.admin.v2.CheckConsistencyRequest;
import com.google.bigtable.admin.v2.CheckConsistencyResponse;
import com.google.bigtable.admin.v2.CopyBackupMetadata;
import com.google.bigtable.admin.v2.CopyBackupRequest;
import com.google.bigtable.admin.v2.CreateBackupMetadata;
import com.google.bigtable.admin.v2.CreateBackupRequest;
import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata;
Expand Down Expand Up @@ -72,11 +70,7 @@
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Base stub class for the BigtableTableAdmin service API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
/** For internal use only. */
@Generated("by gapic-generator")
@InternalApi
public abstract class BigtableTableAdminStub implements BackgroundResource {
Expand Down Expand Up @@ -216,15 +210,6 @@ public UnaryCallable<RestoreTableRequest, Operation> restoreTableCallable() {
throw new UnsupportedOperationException("Not implemented: restoreTableCallable()");
}

public OperationCallable<CopyBackupRequest, Backup, CopyBackupMetadata>
copyBackupOperationCallable() {
throw new UnsupportedOperationException("Not implemented: copyBackupOperationCallable()");
}

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

public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
}
Expand Down
Loading

0 comments on commit b6efd2d

Please sign in to comment.