com.google.api.grpc
proto-google-iam-v1
diff --git a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/NetAppClient.java b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/NetAppClient.java
similarity index 93%
rename from java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/NetAppClient.java
rename to java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/NetAppClient.java
index 0b4bf53ad66e..c34a7d300ef4 100644
--- a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/NetAppClient.java
+++ b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/NetAppClient.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.google.cloud.netapp.v1beta1;
+package com.google.cloud.netapp.v1;
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
@@ -28,12 +28,8 @@
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PageContext;
import com.google.api.gax.rpc.UnaryCallable;
-import com.google.cloud.location.GetLocationRequest;
-import com.google.cloud.location.ListLocationsRequest;
-import com.google.cloud.location.ListLocationsResponse;
-import com.google.cloud.location.Location;
-import com.google.cloud.netapp.v1beta1.stub.NetAppStub;
-import com.google.cloud.netapp.v1beta1.stub.NetAppStubSettings;
+import com.google.cloud.netapp.v1.stub.NetAppStub;
+import com.google.cloud.netapp.v1.stub.NetAppStubSettings;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
@@ -130,7 +126,6 @@
*
* Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
-@BetaApi
@Generated("by gapic-generator-java")
public class NetAppClient implements BackgroundResource {
private final NetAppSettings settings;
@@ -206,9 +201,7 @@ public final OperationsClient getHttpJsonOperationsClient() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListStoragePools
- *
- *
Returns descriptions of all storage pools owned by the caller.
+ * Returns descriptions of all storage pools owned by the caller.
*
*
Sample code:
*
@@ -239,9 +232,7 @@ public final ListStoragePoolsPagedResponse listStoragePools(LocationName parent)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListStoragePools
- *
- *
Returns descriptions of all storage pools owned by the caller.
+ * Returns descriptions of all storage pools owned by the caller.
*
*
Sample code:
*
@@ -270,9 +261,7 @@ public final ListStoragePoolsPagedResponse listStoragePools(String parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListStoragePools
- *
- *
Returns descriptions of all storage pools owned by the caller.
+ * Returns descriptions of all storage pools owned by the caller.
*
*
Sample code:
*
@@ -306,9 +295,7 @@ public final ListStoragePoolsPagedResponse listStoragePools(ListStoragePoolsRequ
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListStoragePools
- *
- *
Returns descriptions of all storage pools owned by the caller.
+ * Returns descriptions of all storage pools owned by the caller.
*
*
Sample code:
*
@@ -343,9 +330,7 @@ public final ListStoragePoolsPagedResponse listStoragePools(ListStoragePoolsRequ
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListStoragePools
- *
- *
Returns descriptions of all storage pools owned by the caller.
+ * Returns descriptions of all storage pools owned by the caller.
*
*
Sample code:
*
@@ -386,9 +371,7 @@ public final ListStoragePoolsPagedResponse listStoragePools(ListStoragePoolsRequ
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateStoragePool
- *
- *
Creates a new storage pool.
+ * Creates a new storage pool.
*
*
Sample code:
*
@@ -426,9 +409,7 @@ public final OperationFuture createStoragePoolAs
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateStoragePool
- *
- * Creates a new storage pool.
+ * Creates a new storage pool.
*
*
Sample code:
*
@@ -466,9 +447,7 @@ public final OperationFuture createStoragePoolAs
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateStoragePool
- *
- * Creates a new storage pool.
+ * Creates a new storage pool.
*
*
Sample code:
*
@@ -499,9 +478,7 @@ public final OperationFuture createStoragePoolAs
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateStoragePool
- *
- * Creates a new storage pool.
+ * Creates a new storage pool.
*
*
Sample code:
*
@@ -532,9 +509,7 @@ public final OperationFuture createStoragePoolAs
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateStoragePool
- *
- * Creates a new storage pool.
+ * Creates a new storage pool.
*
*
Sample code:
*
@@ -563,7 +538,7 @@ public final UnaryCallable createStoragePoo
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetStoragePool Returns the description of the specified storage pool by poolId.
+ * Returns the description of the specified storage pool by poolId.
*
* Sample code:
*
@@ -590,7 +565,7 @@ public final StoragePool getStoragePool(StoragePoolName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetStoragePool Returns the description of the specified storage pool by poolId.
+ * Returns the description of the specified storage pool by poolId.
*
*
Sample code:
*
@@ -616,7 +591,7 @@ public final StoragePool getStoragePool(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetStoragePool Returns the description of the specified storage pool by poolId.
+ * Returns the description of the specified storage pool by poolId.
*
*
Sample code:
*
@@ -644,7 +619,7 @@ public final StoragePool getStoragePool(GetStoragePoolRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetStoragePool Returns the description of the specified storage pool by poolId.
+ * Returns the description of the specified storage pool by poolId.
*
*
Sample code:
*
@@ -671,9 +646,7 @@ public final UnaryCallable getStoragePoolCal
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateStoragePool
- *
- * Updates the storage pool properties with the full spec
+ * Updates the storage pool properties with the full spec
*
*
Sample code:
*
@@ -709,9 +682,7 @@ public final OperationFuture updateStoragePoolAs
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateStoragePool
- *
- * Updates the storage pool properties with the full spec
+ * Updates the storage pool properties with the full spec
*
*
Sample code:
*
@@ -741,9 +712,7 @@ public final OperationFuture updateStoragePoolAs
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateStoragePool
- *
- * Updates the storage pool properties with the full spec
+ * Updates the storage pool properties with the full spec
*
*
Sample code:
*
@@ -773,9 +742,7 @@ public final OperationFuture updateStoragePoolAs
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateStoragePool
- *
- * Updates the storage pool properties with the full spec
+ * Updates the storage pool properties with the full spec
*
*
Sample code:
*
@@ -803,9 +770,7 @@ public final UnaryCallable updateStoragePoo
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteStoragePool
- *
- * Warning! This operation will permanently delete the storage pool.
+ * Warning! This operation will permanently delete the storage pool.
*
*
Sample code:
*
@@ -835,9 +800,7 @@ public final OperationFuture deleteStoragePoolAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteStoragePool
- *
- * Warning! This operation will permanently delete the storage pool.
+ * Warning! This operation will permanently delete the storage pool.
*
*
Sample code:
*
@@ -863,9 +826,7 @@ public final OperationFuture deleteStoragePoolAsync(St
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteStoragePool
- *
- * Warning! This operation will permanently delete the storage pool.
+ * Warning! This operation will permanently delete the storage pool.
*
*
Sample code:
*
@@ -894,9 +855,7 @@ public final OperationFuture deleteStoragePoolAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteStoragePool
- *
- * Warning! This operation will permanently delete the storage pool.
+ * Warning! This operation will permanently delete the storage pool.
*
*
Sample code:
*
@@ -925,9 +884,7 @@ public final OperationFuture deleteStoragePoolAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteStoragePool
- *
- * Warning! This operation will permanently delete the storage pool.
+ * Warning! This operation will permanently delete the storage pool.
*
*
Sample code:
*
@@ -954,7 +911,7 @@ public final UnaryCallable deleteStoragePoo
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListVolumes Lists Volumes in a given project.
+ * Lists Volumes in a given project.
*
* Sample code:
*
@@ -985,7 +942,7 @@ public final ListVolumesPagedResponse listVolumes(LocationName parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListVolumes Lists Volumes in a given project.
+ * Lists Volumes in a given project.
*
*
Sample code:
*
@@ -1013,7 +970,7 @@ public final ListVolumesPagedResponse listVolumes(String parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListVolumes Lists Volumes in a given project.
+ * Lists Volumes in a given project.
*
*
Sample code:
*
@@ -1047,7 +1004,7 @@ public final ListVolumesPagedResponse listVolumes(ListVolumesRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListVolumes Lists Volumes in a given project.
+ * Lists Volumes in a given project.
*
*
Sample code:
*
@@ -1081,7 +1038,7 @@ public final ListVolumesPagedResponse listVolumes(ListVolumesRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListVolumes Lists Volumes in a given project.
+ * Lists Volumes in a given project.
*
*
Sample code:
*
@@ -1121,7 +1078,7 @@ public final UnaryCallable listVolumesC
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetVolume Gets details of a single Volume.
+ * Gets details of a single Volume.
*
* Sample code:
*
@@ -1148,7 +1105,7 @@ public final Volume getVolume(VolumeName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetVolume Gets details of a single Volume.
+ * Gets details of a single Volume.
*
*
Sample code:
*
@@ -1174,7 +1131,7 @@ public final Volume getVolume(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetVolume Gets details of a single Volume.
+ * Gets details of a single Volume.
*
*
Sample code:
*
@@ -1202,7 +1159,7 @@ public final Volume getVolume(GetVolumeRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetVolume Gets details of a single Volume.
+ * Gets details of a single Volume.
*
*
Sample code:
*
@@ -1229,7 +1186,7 @@ public final UnaryCallable getVolumeCallable() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateVolume Creates a new Volume in a given project and location.
+ * Creates a new Volume in a given project and location.
*
* Sample code:
*
@@ -1266,7 +1223,7 @@ public final OperationFuture createVolumeAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateVolume Creates a new Volume in a given project and location.
+ * Creates a new Volume in a given project and location.
*
* Sample code:
*
@@ -1303,7 +1260,7 @@ public final OperationFuture createVolumeAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateVolume Creates a new Volume in a given project and location.
+ * Creates a new Volume in a given project and location.
*
* Sample code:
*
@@ -1334,7 +1291,7 @@ public final OperationFuture createVolumeAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateVolume Creates a new Volume in a given project and location.
+ * Creates a new Volume in a given project and location.
*
* Sample code:
*
@@ -1365,7 +1322,7 @@ public final OperationFuture createVolumeAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateVolume Creates a new Volume in a given project and location.
+ * Creates a new Volume in a given project and location.
*
* Sample code:
*
@@ -1394,7 +1351,7 @@ public final UnaryCallable createVolumeCallable(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateVolume Updates the parameters of a single Volume.
+ * Updates the parameters of a single Volume.
*
* Sample code:
*
@@ -1427,7 +1384,7 @@ public final OperationFuture updateVolumeAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateVolume Updates the parameters of a single Volume.
+ * Updates the parameters of a single Volume.
*
* Sample code:
*
@@ -1457,7 +1414,7 @@ public final OperationFuture updateVolumeAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateVolume Updates the parameters of a single Volume.
+ * Updates the parameters of a single Volume.
*
* Sample code:
*
@@ -1487,7 +1444,7 @@ public final OperationFuture updateVolumeAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateVolume Updates the parameters of a single Volume.
+ * Updates the parameters of a single Volume.
*
* Sample code:
*
@@ -1515,7 +1472,7 @@ public final UnaryCallable updateVolumeCallable(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteVolume Deletes a single Volume.
+ * Deletes a single Volume.
*
* Sample code:
*
@@ -1542,7 +1499,7 @@ public final OperationFuture deleteVolumeAsync(VolumeN
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteVolume Deletes a single Volume.
+ * Deletes a single Volume.
*
* Sample code:
*
@@ -1568,7 +1525,7 @@ public final OperationFuture deleteVolumeAsync(String
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteVolume Deletes a single Volume.
+ * Deletes a single Volume.
*
* Sample code:
*
@@ -1598,7 +1555,7 @@ public final OperationFuture deleteVolumeAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteVolume Deletes a single Volume.
+ * Deletes a single Volume.
*
* Sample code:
*
@@ -1628,7 +1585,7 @@ public final OperationFuture deleteVolumeAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteVolume Deletes a single Volume.
+ * Deletes a single Volume.
*
* Sample code:
*
@@ -2459,7 +2416,7 @@ public final UnaryCallable updateSnapshotCalla
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListActiveDirectories Lists active directories.
+ * Lists active directories.
*
* Sample code:
*
@@ -2490,7 +2447,7 @@ public final ListActiveDirectoriesPagedResponse listActiveDirectories(LocationNa
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListActiveDirectories Lists active directories.
+ * Lists active directories.
*
*
Sample code:
*
@@ -2519,7 +2476,7 @@ public final ListActiveDirectoriesPagedResponse listActiveDirectories(String par
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListActiveDirectories Lists active directories.
+ * Lists active directories.
*
*
Sample code:
*
@@ -2554,7 +2511,7 @@ public final ListActiveDirectoriesPagedResponse listActiveDirectories(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListActiveDirectories Lists active directories.
+ * Lists active directories.
*
*
Sample code:
*
@@ -2589,7 +2546,7 @@ public final ListActiveDirectoriesPagedResponse listActiveDirectories(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListActiveDirectories Lists active directories.
+ * Lists active directories.
*
*
Sample code:
*
@@ -2631,7 +2588,7 @@ public final ListActiveDirectoriesPagedResponse listActiveDirectories(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DescribeActiveDirectory Describes a specified active directory.
+ * Describes a specified active directory.
*
*
Sample code:
*
@@ -2661,7 +2618,7 @@ public final ActiveDirectory getActiveDirectory(ActiveDirectoryName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DescribeActiveDirectory Describes a specified active directory.
+ * Describes a specified active directory.
*
*
Sample code:
*
@@ -2689,7 +2646,7 @@ public final ActiveDirectory getActiveDirectory(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DescribeActiveDirectory Describes a specified active directory.
+ * Describes a specified active directory.
*
*
Sample code:
*
@@ -2719,7 +2676,7 @@ public final ActiveDirectory getActiveDirectory(GetActiveDirectoryRequest reques
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DescribeActiveDirectory Describes a specified active directory.
+ * Describes a specified active directory.
*
*
Sample code:
*
@@ -2917,7 +2874,7 @@ public final OperationFuture createActiveDir
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateActiveDirectory Update the parameters of an active directories.
+ * Update the parameters of an active directories.
*
* Sample code:
*
@@ -2954,7 +2911,7 @@ public final OperationFuture updateActiveDir
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateActiveDirectory Update the parameters of an active directories.
+ * Update the parameters of an active directories.
*
* Sample code:
*
@@ -2984,7 +2941,7 @@ public final OperationFuture updateActiveDir
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateActiveDirectory Update the parameters of an active directories.
+ * Update the parameters of an active directories.
*
* Sample code:
*
@@ -3014,7 +2971,7 @@ public final OperationFuture updateActiveDir
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateActiveDirectory Update the parameters of an active directories.
+ * Update the parameters of an active directories.
*
* Sample code:
*
@@ -3044,7 +3001,7 @@ public final OperationFuture updateActiveDir
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteActiveDirectory Delete the active directory specified in the request.
+ * Delete the active directory specified in the request.
*
* Sample code:
*
@@ -3075,7 +3032,7 @@ public final OperationFuture deleteActiveDirectoryAsyn
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteActiveDirectory Delete the active directory specified in the request.
+ * Delete the active directory specified in the request.
*
* Sample code:
*
@@ -3103,7 +3060,7 @@ public final OperationFuture deleteActiveDirectoryAsyn
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteActiveDirectory Delete the active directory specified in the request.
+ * Delete the active directory specified in the request.
*
* Sample code:
*
@@ -3134,7 +3091,7 @@ public final OperationFuture deleteActiveDirectoryAsyn
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteActiveDirectory Delete the active directory specified in the request.
+ * Delete the active directory specified in the request.
*
* Sample code:
*
@@ -3165,7 +3122,7 @@ public final OperationFuture deleteActiveDirectoryAsyn
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteActiveDirectory Delete the active directory specified in the request.
+ * Delete the active directory specified in the request.
*
* Sample code:
*
@@ -3196,9 +3153,7 @@ public final OperationFuture deleteActiveDirectoryAsyn
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListKmsConfigs
- *
- * Returns descriptions of all KMS configs owned by the caller.
+ * Returns descriptions of all KMS configs owned by the caller.
*
*
Sample code:
*
@@ -3229,9 +3184,7 @@ public final ListKmsConfigsPagedResponse listKmsConfigs(LocationName parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListKmsConfigs
- *
- *
Returns descriptions of all KMS configs owned by the caller.
+ * Returns descriptions of all KMS configs owned by the caller.
*
*
Sample code:
*
@@ -3259,9 +3212,7 @@ public final ListKmsConfigsPagedResponse listKmsConfigs(String parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListKmsConfigs
- *
- *
Returns descriptions of all KMS configs owned by the caller.
+ * Returns descriptions of all KMS configs owned by the caller.
*
*
Sample code:
*
@@ -3295,9 +3246,7 @@ public final ListKmsConfigsPagedResponse listKmsConfigs(ListKmsConfigsRequest re
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListKmsConfigs
- *
- *
Returns descriptions of all KMS configs owned by the caller.
+ * Returns descriptions of all KMS configs owned by the caller.
*
*
Sample code:
*
@@ -3331,9 +3280,7 @@ public final ListKmsConfigsPagedResponse listKmsConfigs(ListKmsConfigsRequest re
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ListKmsConfigs
- *
- *
Returns descriptions of all KMS configs owned by the caller.
+ * Returns descriptions of all KMS configs owned by the caller.
*
*
Sample code:
*
@@ -3374,9 +3321,7 @@ public final ListKmsConfigsPagedResponse listKmsConfigs(ListKmsConfigsRequest re
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateKmsConfig
- *
- *
Creates a new KMS config.
+ * Creates a new KMS config.
*
*
Sample code:
*
@@ -3413,9 +3358,7 @@ public final OperationFuture createKmsConfigAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateKmsConfig
- *
- * Creates a new KMS config.
+ * Creates a new KMS config.
*
*
Sample code:
*
@@ -3452,9 +3395,7 @@ public final OperationFuture createKmsConfigAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateKmsConfig
- *
- * Creates a new KMS config.
+ * Creates a new KMS config.
*
*
Sample code:
*
@@ -3485,9 +3426,7 @@ public final OperationFuture createKmsConfigAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateKmsConfig
- *
- * Creates a new KMS config.
+ * Creates a new KMS config.
*
*
Sample code:
*
@@ -3518,9 +3457,7 @@ public final OperationFuture createKmsConfigAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * CreateKmsConfig
- *
- * Creates a new KMS config.
+ * Creates a new KMS config.
*
*
Sample code:
*
@@ -3549,7 +3486,7 @@ public final UnaryCallable createKmsConfigCal
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetKmsConfig Returns the description of the specified KMS config by kms_config_id.
+ * Returns the description of the specified KMS config by kms_config_id.
*
* Sample code:
*
@@ -3576,7 +3513,7 @@ public final KmsConfig getKmsConfig(KmsConfigName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetKmsConfig Returns the description of the specified KMS config by kms_config_id.
+ * Returns the description of the specified KMS config by kms_config_id.
*
*
Sample code:
*
@@ -3602,7 +3539,7 @@ public final KmsConfig getKmsConfig(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetKmsConfig Returns the description of the specified KMS config by kms_config_id.
+ * Returns the description of the specified KMS config by kms_config_id.
*
*
Sample code:
*
@@ -3630,7 +3567,7 @@ public final KmsConfig getKmsConfig(GetKmsConfigRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * GetKmsConfig Returns the description of the specified KMS config by kms_config_id.
+ * Returns the description of the specified KMS config by kms_config_id.
*
*
Sample code:
*
@@ -3657,9 +3594,7 @@ public final UnaryCallable getKmsConfigCallable(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateKmsConfig
- *
- * Updates the Kms config properties with the full spec
+ * Updates the Kms config properties with the full spec
*
*
Sample code:
*
@@ -3695,9 +3630,7 @@ public final OperationFuture updateKmsConfigAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateKmsConfig
- *
- * Updates the Kms config properties with the full spec
+ * Updates the Kms config properties with the full spec
*
*
Sample code:
*
@@ -3727,9 +3660,7 @@ public final OperationFuture updateKmsConfigAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateKmsConfig
- *
- * Updates the Kms config properties with the full spec
+ * Updates the Kms config properties with the full spec
*
*
Sample code:
*
@@ -3759,9 +3690,7 @@ public final OperationFuture updateKmsConfigAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * UpdateKmsConfig
- *
- * Updates the Kms config properties with the full spec
+ * Updates the Kms config properties with the full spec
*
*
Sample code:
*
@@ -3789,9 +3718,7 @@ public final UnaryCallable updateKmsConfigCal
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * EncryptVolumes
- *
- * Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the
+ * Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the
* whole region.
*
*
Sample code:
@@ -3821,9 +3748,7 @@ public final OperationFuture encryptVolumesAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * EncryptVolumes
- *
- * Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the
+ * Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the
* whole region.
*
*
Sample code:
@@ -3853,9 +3778,7 @@ public final OperationFuture encryptVolumesAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * EncryptVolumes
- *
- * Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the
+ * Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the
* whole region.
*
*
Sample code:
@@ -3883,9 +3806,7 @@ public final UnaryCallable encryptVolumesCalla
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * VerifyKmsConfigRequest
- *
- * Verifies KMS config reachability.
+ * Verifies KMS config reachability.
*
*
Sample code:
*
@@ -3913,9 +3834,7 @@ public final VerifyKmsConfigResponse verifyKmsConfig(VerifyKmsConfigRequest requ
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * VerifyKmsConfigRequest
- *
- *
Verifies KMS config reachability.
+ * Verifies KMS config reachability.
*
*
Sample code:
*
@@ -3944,9 +3863,7 @@ public final VerifyKmsConfigResponse verifyKmsConfig(VerifyKmsConfigRequest requ
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteKmsConfig
- *
- *
Warning! This operation will permanently delete the Kms config.
+ * Warning! This operation will permanently delete the Kms config.
*
*
Sample code:
*
@@ -3973,9 +3890,7 @@ public final OperationFuture deleteKmsConfigAsync(KmsC
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteKmsConfig
- *
- * Warning! This operation will permanently delete the Kms config.
+ * Warning! This operation will permanently delete the Kms config.
*
*
Sample code:
*
@@ -4001,9 +3916,7 @@ public final OperationFuture deleteKmsConfigAsync(Stri
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteKmsConfig
- *
- * Warning! This operation will permanently delete the Kms config.
+ * Warning! This operation will permanently delete the Kms config.
*
*
Sample code:
*
@@ -4032,9 +3945,7 @@ public final OperationFuture deleteKmsConfigAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteKmsConfig
- *
- * Warning! This operation will permanently delete the Kms config.
+ * Warning! This operation will permanently delete the Kms config.
*
*
Sample code:
*
@@ -4063,9 +3974,7 @@ public final OperationFuture deleteKmsConfigAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * DeleteKmsConfig
- *
- * Warning! This operation will permanently delete the Kms config.
+ * Warning! This operation will permanently delete the Kms config.
*
*
Sample code:
*
@@ -5009,8 +4918,7 @@ public final UnaryCallable resumeReplicatio
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ReverseReplicationDirection reverses direction of replication. Source becomes destination and
- * destination becomes source.
+ * Reverses direction of replication. Source becomes destination and destination becomes source.
*
* Sample code:
*
@@ -5041,8 +4949,7 @@ public final OperationFuture reverseReplicationD
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ReverseReplicationDirection reverses direction of replication. Source becomes destination and
- * destination becomes source.
+ * Reverses direction of replication. Source becomes destination and destination becomes source.
*
* Sample code:
*
@@ -5073,8 +4980,7 @@ public final OperationFuture reverseReplicationD
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * ReverseReplicationDirection reverses direction of replication. Source becomes destination and
- * destination becomes source.
+ * Reverses direction of replication. Source becomes destination and destination becomes source.
*
* Sample code:
*
@@ -5103,160 +5009,6 @@ public final OperationFuture reverseReplicationD
return stub.reverseReplicationDirectionCallable();
}
- // AUTO-GENERATED DOCUMENTATION AND METHOD.
- /**
- * Lists information about the supported locations for this service.
- *
- * Sample code:
- *
- *
{@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
- * try (NetAppClient netAppClient = NetAppClient.create()) {
- * ListLocationsRequest request =
- * ListLocationsRequest.newBuilder()
- * .setName("name3373707")
- * .setFilter("filter-1274492040")
- * .setPageSize(883849137)
- * .setPageToken("pageToken873572522")
- * .build();
- * for (Location element : netAppClient.listLocations(request).iterateAll()) {
- * // doThingsWith(element);
- * }
- * }
- * }
- *
- * @param request The request object containing all of the parameters for the API call.
- * @throws com.google.api.gax.rpc.ApiException if the remote call fails
- */
- public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) {
- return listLocationsPagedCallable().call(request);
- }
-
- // AUTO-GENERATED DOCUMENTATION AND METHOD.
- /**
- * Lists information about the supported locations for this service.
- *
- * Sample code:
- *
- *
{@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
- * try (NetAppClient netAppClient = NetAppClient.create()) {
- * ListLocationsRequest request =
- * ListLocationsRequest.newBuilder()
- * .setName("name3373707")
- * .setFilter("filter-1274492040")
- * .setPageSize(883849137)
- * .setPageToken("pageToken873572522")
- * .build();
- * ApiFuture future = netAppClient.listLocationsPagedCallable().futureCall(request);
- * // Do something.
- * for (Location element : future.get().iterateAll()) {
- * // doThingsWith(element);
- * }
- * }
- * }
- */
- public final UnaryCallable
- listLocationsPagedCallable() {
- return stub.listLocationsPagedCallable();
- }
-
- // AUTO-GENERATED DOCUMENTATION AND METHOD.
- /**
- * Lists information about the supported locations for this service.
- *
- * Sample code:
- *
- *
{@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
- * try (NetAppClient netAppClient = NetAppClient.create()) {
- * ListLocationsRequest request =
- * ListLocationsRequest.newBuilder()
- * .setName("name3373707")
- * .setFilter("filter-1274492040")
- * .setPageSize(883849137)
- * .setPageToken("pageToken873572522")
- * .build();
- * while (true) {
- * ListLocationsResponse response = netAppClient.listLocationsCallable().call(request);
- * for (Location element : response.getLocationsList()) {
- * // doThingsWith(element);
- * }
- * String nextPageToken = response.getNextPageToken();
- * if (!Strings.isNullOrEmpty(nextPageToken)) {
- * request = request.toBuilder().setPageToken(nextPageToken).build();
- * } else {
- * break;
- * }
- * }
- * }
- * }
- */
- public final UnaryCallable listLocationsCallable() {
- return stub.listLocationsCallable();
- }
-
- // AUTO-GENERATED DOCUMENTATION AND METHOD.
- /**
- * Gets information about a location.
- *
- * Sample code:
- *
- *
{@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
- * try (NetAppClient netAppClient = NetAppClient.create()) {
- * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
- * Location response = netAppClient.getLocation(request);
- * }
- * }
- *
- * @param request The request object containing all of the parameters for the API call.
- * @throws com.google.api.gax.rpc.ApiException if the remote call fails
- */
- public final Location getLocation(GetLocationRequest request) {
- return getLocationCallable().call(request);
- }
-
- // AUTO-GENERATED DOCUMENTATION AND METHOD.
- /**
- * Gets information about a location.
- *
- * Sample code:
- *
- *
{@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
- * try (NetAppClient netAppClient = NetAppClient.create()) {
- * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
- * ApiFuture future = netAppClient.getLocationCallable().futureCall(request);
- * // Do something.
- * Location response = future.get();
- * }
- * }
- */
- public final UnaryCallable getLocationCallable() {
- return stub.getLocationCallable();
- }
-
@Override
public final void close() {
stub.close();
@@ -5749,80 +5501,4 @@ protected ListReplicationsFixedSizeCollection createCollection(
return new ListReplicationsFixedSizeCollection(pages, collectionSize);
}
}
-
- public static class ListLocationsPagedResponse
- extends AbstractPagedListResponse<
- ListLocationsRequest,
- ListLocationsResponse,
- Location,
- ListLocationsPage,
- ListLocationsFixedSizeCollection> {
-
- public static ApiFuture createAsync(
- PageContext context,
- ApiFuture futureResponse) {
- ApiFuture futurePage =
- ListLocationsPage.createEmptyPage().createPageAsync(context, futureResponse);
- return ApiFutures.transform(
- futurePage,
- input -> new ListLocationsPagedResponse(input),
- MoreExecutors.directExecutor());
- }
-
- private ListLocationsPagedResponse(ListLocationsPage page) {
- super(page, ListLocationsFixedSizeCollection.createEmptyCollection());
- }
- }
-
- public static class ListLocationsPage
- extends AbstractPage<
- ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage> {
-
- private ListLocationsPage(
- PageContext context,
- ListLocationsResponse response) {
- super(context, response);
- }
-
- private static ListLocationsPage createEmptyPage() {
- return new ListLocationsPage(null, null);
- }
-
- @Override
- protected ListLocationsPage createPage(
- PageContext context,
- ListLocationsResponse response) {
- return new ListLocationsPage(context, response);
- }
-
- @Override
- public ApiFuture createPageAsync(
- PageContext context,
- ApiFuture futureResponse) {
- return super.createPageAsync(context, futureResponse);
- }
- }
-
- public static class ListLocationsFixedSizeCollection
- extends AbstractFixedSizeCollection<
- ListLocationsRequest,
- ListLocationsResponse,
- Location,
- ListLocationsPage,
- ListLocationsFixedSizeCollection> {
-
- private ListLocationsFixedSizeCollection(List pages, int collectionSize) {
- super(pages, collectionSize);
- }
-
- private static ListLocationsFixedSizeCollection createEmptyCollection() {
- return new ListLocationsFixedSizeCollection(null, 0);
- }
-
- @Override
- protected ListLocationsFixedSizeCollection createCollection(
- List pages, int collectionSize) {
- return new ListLocationsFixedSizeCollection(pages, collectionSize);
- }
- }
}
diff --git a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/NetAppSettings.java b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/NetAppSettings.java
similarity index 95%
rename from java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/NetAppSettings.java
rename to java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/NetAppSettings.java
index e970d072e82d..7b8c32c796be 100644
--- a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/NetAppSettings.java
+++ b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/NetAppSettings.java
@@ -14,15 +14,14 @@
* limitations under the License.
*/
-package com.google.cloud.netapp.v1beta1;
+package com.google.cloud.netapp.v1;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListActiveDirectoriesPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListKmsConfigsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListLocationsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListReplicationsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListSnapshotsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListStoragePoolsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListVolumesPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListActiveDirectoriesPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListKmsConfigsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListReplicationsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListSnapshotsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListStoragePoolsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListVolumesPagedResponse;
import com.google.api.core.ApiFunction;
import com.google.api.core.BetaApi;
@@ -37,11 +36,7 @@
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
-import com.google.cloud.location.GetLocationRequest;
-import com.google.cloud.location.ListLocationsRequest;
-import com.google.cloud.location.ListLocationsResponse;
-import com.google.cloud.location.Location;
-import com.google.cloud.netapp.v1beta1.stub.NetAppStubSettings;
+import com.google.cloud.netapp.v1.stub.NetAppStubSettings;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
@@ -84,7 +79,6 @@
* NetAppSettings netAppSettings = netAppSettingsBuilder.build();
* }
*/
-@BetaApi
@Generated("by gapic-generator-java")
public class NetAppSettings extends ClientSettings {
@@ -424,17 +418,6 @@ public UnaryCallSettings resumeReplicationS
return ((NetAppStubSettings) getStubSettings()).reverseReplicationDirectionOperationSettings();
}
- /** Returns the object with the settings used for calls to listLocations. */
- public PagedCallSettings
- listLocationsSettings() {
- return ((NetAppStubSettings) getStubSettings()).listLocationsSettings();
- }
-
- /** Returns the object with the settings used for calls to getLocation. */
- public UnaryCallSettings getLocationSettings() {
- return ((NetAppStubSettings) getStubSettings()).getLocationSettings();
- }
-
public static final NetAppSettings create(NetAppStubSettings stub) throws IOException {
return new NetAppSettings.Builder(stub.toBuilder()).build();
}
@@ -897,18 +880,6 @@ public UnaryCallSettings.Builder stopReplicat
return getStubSettingsBuilder().reverseReplicationDirectionOperationSettings();
}
- /** Returns the builder for the settings used for calls to listLocations. */
- public PagedCallSettings.Builder<
- ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
- listLocationsSettings() {
- return getStubSettingsBuilder().listLocationsSettings();
- }
-
- /** Returns the builder for the settings used for calls to getLocation. */
- public UnaryCallSettings.Builder getLocationSettings() {
- return getStubSettingsBuilder().getLocationSettings();
- }
-
@Override
public NetAppSettings build() throws IOException {
return new NetAppSettings(this);
diff --git a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/gapic_metadata.json b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/gapic_metadata.json
similarity index 95%
rename from java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/gapic_metadata.json
rename to java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/gapic_metadata.json
index 68410cf4c899..34a3656561e8 100644
--- a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/gapic_metadata.json
+++ b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/gapic_metadata.json
@@ -2,8 +2,8 @@
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "java",
- "protoPackage": "google.cloud.netapp.v1beta1",
- "libraryPackage": "com.google.cloud.netapp.v1beta1",
+ "protoPackage": "google.cloud.netapp.v1",
+ "libraryPackage": "com.google.cloud.netapp.v1",
"services": {
"NetApp": {
"clients": {
@@ -55,9 +55,6 @@
"GetKmsConfig": {
"methods": ["getKmsConfig", "getKmsConfig", "getKmsConfig", "getKmsConfigCallable"]
},
- "GetLocation": {
- "methods": ["getLocation", "getLocationCallable"]
- },
"GetReplication": {
"methods": ["getReplication", "getReplication", "getReplication", "getReplicationCallable"]
},
@@ -76,9 +73,6 @@
"ListKmsConfigs": {
"methods": ["listKmsConfigs", "listKmsConfigs", "listKmsConfigs", "listKmsConfigsPagedCallable", "listKmsConfigsCallable"]
},
- "ListLocations": {
- "methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
- },
"ListReplications": {
"methods": ["listReplications", "listReplications", "listReplications", "listReplicationsPagedCallable", "listReplicationsCallable"]
},
diff --git a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/package-info.java b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/package-info.java
similarity index 97%
rename from java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/package-info.java
rename to java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/package-info.java
index c0fe8f8f96a2..3c3371d091cc 100644
--- a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/package-info.java
+++ b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/package-info.java
@@ -38,6 +38,6 @@
* }
*/
@Generated("by gapic-generator-java")
-package com.google.cloud.netapp.v1beta1;
+package com.google.cloud.netapp.v1;
import javax.annotation.Generated;
diff --git a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/GrpcNetAppCallableFactory.java b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/GrpcNetAppCallableFactory.java
similarity index 98%
rename from java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/GrpcNetAppCallableFactory.java
rename to java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/GrpcNetAppCallableFactory.java
index b62bfc26a5c4..a8cbf4c96d6a 100644
--- a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/GrpcNetAppCallableFactory.java
+++ b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/GrpcNetAppCallableFactory.java
@@ -14,9 +14,8 @@
* limitations under the License.
*/
-package com.google.cloud.netapp.v1beta1.stub;
+package com.google.cloud.netapp.v1.stub;
-import com.google.api.core.BetaApi;
import com.google.api.gax.grpc.GrpcCallSettings;
import com.google.api.gax.grpc.GrpcCallableFactory;
import com.google.api.gax.grpc.GrpcStubCallableFactory;
@@ -42,7 +41,6 @@
*
* This class is for advanced usage.
*/
-@BetaApi
@Generated("by gapic-generator-java")
public class GrpcNetAppCallableFactory implements GrpcStubCallableFactory {
diff --git a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/GrpcNetAppStub.java b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/GrpcNetAppStub.java
similarity index 87%
rename from java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/GrpcNetAppStub.java
rename to java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/GrpcNetAppStub.java
index eb77e92f6133..1cf07978a12f 100644
--- a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/GrpcNetAppStub.java
+++ b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/GrpcNetAppStub.java
@@ -14,17 +14,15 @@
* limitations under the License.
*/
-package com.google.cloud.netapp.v1beta1.stub;
+package com.google.cloud.netapp.v1.stub;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListActiveDirectoriesPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListKmsConfigsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListLocationsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListReplicationsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListSnapshotsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListStoragePoolsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListVolumesPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListActiveDirectoriesPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListKmsConfigsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListReplicationsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListSnapshotsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListStoragePoolsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListVolumesPagedResponse;
-import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.core.BackgroundResourceAggregation;
import com.google.api.gax.grpc.GrpcCallSettings;
@@ -33,60 +31,56 @@
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.RequestParamsBuilder;
import com.google.api.gax.rpc.UnaryCallable;
-import com.google.cloud.location.GetLocationRequest;
-import com.google.cloud.location.ListLocationsRequest;
-import com.google.cloud.location.ListLocationsResponse;
-import com.google.cloud.location.Location;
-import com.google.cloud.netapp.v1beta1.ActiveDirectory;
-import com.google.cloud.netapp.v1beta1.CreateActiveDirectoryRequest;
-import com.google.cloud.netapp.v1beta1.CreateKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.CreateReplicationRequest;
-import com.google.cloud.netapp.v1beta1.CreateSnapshotRequest;
-import com.google.cloud.netapp.v1beta1.CreateStoragePoolRequest;
-import com.google.cloud.netapp.v1beta1.CreateVolumeRequest;
-import com.google.cloud.netapp.v1beta1.DeleteActiveDirectoryRequest;
-import com.google.cloud.netapp.v1beta1.DeleteKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.DeleteReplicationRequest;
-import com.google.cloud.netapp.v1beta1.DeleteSnapshotRequest;
-import com.google.cloud.netapp.v1beta1.DeleteStoragePoolRequest;
-import com.google.cloud.netapp.v1beta1.DeleteVolumeRequest;
-import com.google.cloud.netapp.v1beta1.EncryptVolumesRequest;
-import com.google.cloud.netapp.v1beta1.GetActiveDirectoryRequest;
-import com.google.cloud.netapp.v1beta1.GetKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.GetReplicationRequest;
-import com.google.cloud.netapp.v1beta1.GetSnapshotRequest;
-import com.google.cloud.netapp.v1beta1.GetStoragePoolRequest;
-import com.google.cloud.netapp.v1beta1.GetVolumeRequest;
-import com.google.cloud.netapp.v1beta1.KmsConfig;
-import com.google.cloud.netapp.v1beta1.ListActiveDirectoriesRequest;
-import com.google.cloud.netapp.v1beta1.ListActiveDirectoriesResponse;
-import com.google.cloud.netapp.v1beta1.ListKmsConfigsRequest;
-import com.google.cloud.netapp.v1beta1.ListKmsConfigsResponse;
-import com.google.cloud.netapp.v1beta1.ListReplicationsRequest;
-import com.google.cloud.netapp.v1beta1.ListReplicationsResponse;
-import com.google.cloud.netapp.v1beta1.ListSnapshotsRequest;
-import com.google.cloud.netapp.v1beta1.ListSnapshotsResponse;
-import com.google.cloud.netapp.v1beta1.ListStoragePoolsRequest;
-import com.google.cloud.netapp.v1beta1.ListStoragePoolsResponse;
-import com.google.cloud.netapp.v1beta1.ListVolumesRequest;
-import com.google.cloud.netapp.v1beta1.ListVolumesResponse;
-import com.google.cloud.netapp.v1beta1.OperationMetadata;
-import com.google.cloud.netapp.v1beta1.Replication;
-import com.google.cloud.netapp.v1beta1.ResumeReplicationRequest;
-import com.google.cloud.netapp.v1beta1.ReverseReplicationDirectionRequest;
-import com.google.cloud.netapp.v1beta1.RevertVolumeRequest;
-import com.google.cloud.netapp.v1beta1.Snapshot;
-import com.google.cloud.netapp.v1beta1.StopReplicationRequest;
-import com.google.cloud.netapp.v1beta1.StoragePool;
-import com.google.cloud.netapp.v1beta1.UpdateActiveDirectoryRequest;
-import com.google.cloud.netapp.v1beta1.UpdateKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.UpdateReplicationRequest;
-import com.google.cloud.netapp.v1beta1.UpdateSnapshotRequest;
-import com.google.cloud.netapp.v1beta1.UpdateStoragePoolRequest;
-import com.google.cloud.netapp.v1beta1.UpdateVolumeRequest;
-import com.google.cloud.netapp.v1beta1.VerifyKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.VerifyKmsConfigResponse;
-import com.google.cloud.netapp.v1beta1.Volume;
+import com.google.cloud.netapp.v1.ActiveDirectory;
+import com.google.cloud.netapp.v1.CreateActiveDirectoryRequest;
+import com.google.cloud.netapp.v1.CreateKmsConfigRequest;
+import com.google.cloud.netapp.v1.CreateReplicationRequest;
+import com.google.cloud.netapp.v1.CreateSnapshotRequest;
+import com.google.cloud.netapp.v1.CreateStoragePoolRequest;
+import com.google.cloud.netapp.v1.CreateVolumeRequest;
+import com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest;
+import com.google.cloud.netapp.v1.DeleteKmsConfigRequest;
+import com.google.cloud.netapp.v1.DeleteReplicationRequest;
+import com.google.cloud.netapp.v1.DeleteSnapshotRequest;
+import com.google.cloud.netapp.v1.DeleteStoragePoolRequest;
+import com.google.cloud.netapp.v1.DeleteVolumeRequest;
+import com.google.cloud.netapp.v1.EncryptVolumesRequest;
+import com.google.cloud.netapp.v1.GetActiveDirectoryRequest;
+import com.google.cloud.netapp.v1.GetKmsConfigRequest;
+import com.google.cloud.netapp.v1.GetReplicationRequest;
+import com.google.cloud.netapp.v1.GetSnapshotRequest;
+import com.google.cloud.netapp.v1.GetStoragePoolRequest;
+import com.google.cloud.netapp.v1.GetVolumeRequest;
+import com.google.cloud.netapp.v1.KmsConfig;
+import com.google.cloud.netapp.v1.ListActiveDirectoriesRequest;
+import com.google.cloud.netapp.v1.ListActiveDirectoriesResponse;
+import com.google.cloud.netapp.v1.ListKmsConfigsRequest;
+import com.google.cloud.netapp.v1.ListKmsConfigsResponse;
+import com.google.cloud.netapp.v1.ListReplicationsRequest;
+import com.google.cloud.netapp.v1.ListReplicationsResponse;
+import com.google.cloud.netapp.v1.ListSnapshotsRequest;
+import com.google.cloud.netapp.v1.ListSnapshotsResponse;
+import com.google.cloud.netapp.v1.ListStoragePoolsRequest;
+import com.google.cloud.netapp.v1.ListStoragePoolsResponse;
+import com.google.cloud.netapp.v1.ListVolumesRequest;
+import com.google.cloud.netapp.v1.ListVolumesResponse;
+import com.google.cloud.netapp.v1.OperationMetadata;
+import com.google.cloud.netapp.v1.Replication;
+import com.google.cloud.netapp.v1.ResumeReplicationRequest;
+import com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest;
+import com.google.cloud.netapp.v1.RevertVolumeRequest;
+import com.google.cloud.netapp.v1.Snapshot;
+import com.google.cloud.netapp.v1.StopReplicationRequest;
+import com.google.cloud.netapp.v1.StoragePool;
+import com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest;
+import com.google.cloud.netapp.v1.UpdateKmsConfigRequest;
+import com.google.cloud.netapp.v1.UpdateReplicationRequest;
+import com.google.cloud.netapp.v1.UpdateSnapshotRequest;
+import com.google.cloud.netapp.v1.UpdateStoragePoolRequest;
+import com.google.cloud.netapp.v1.UpdateVolumeRequest;
+import com.google.cloud.netapp.v1.VerifyKmsConfigRequest;
+import com.google.cloud.netapp.v1.VerifyKmsConfigResponse;
+import com.google.cloud.netapp.v1.Volume;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.GrpcOperationsStub;
import com.google.protobuf.Empty;
@@ -102,14 +96,13 @@
*
*
This class is for advanced usage and reflects the underlying API directly.
*/
-@BetaApi
@Generated("by gapic-generator-java")
public class GrpcNetAppStub extends NetAppStub {
private static final MethodDescriptor
listStoragePoolsMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ListStoragePools")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ListStoragePools")
.setRequestMarshaller(
ProtoUtils.marshaller(ListStoragePoolsRequest.getDefaultInstance()))
.setResponseMarshaller(
@@ -120,7 +113,7 @@ public class GrpcNetAppStub extends NetAppStub {
createStoragePoolMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/CreateStoragePool")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/CreateStoragePool")
.setRequestMarshaller(
ProtoUtils.marshaller(CreateStoragePoolRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -130,7 +123,7 @@ public class GrpcNetAppStub extends NetAppStub {
getStoragePoolMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/GetStoragePool")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/GetStoragePool")
.setRequestMarshaller(
ProtoUtils.marshaller(GetStoragePoolRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(StoragePool.getDefaultInstance()))
@@ -140,7 +133,7 @@ public class GrpcNetAppStub extends NetAppStub {
updateStoragePoolMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/UpdateStoragePool")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/UpdateStoragePool")
.setRequestMarshaller(
ProtoUtils.marshaller(UpdateStoragePoolRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -150,7 +143,7 @@ public class GrpcNetAppStub extends NetAppStub {
deleteStoragePoolMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/DeleteStoragePool")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/DeleteStoragePool")
.setRequestMarshaller(
ProtoUtils.marshaller(DeleteStoragePoolRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -160,7 +153,7 @@ public class GrpcNetAppStub extends NetAppStub {
listVolumesMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ListVolumes")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ListVolumes")
.setRequestMarshaller(ProtoUtils.marshaller(ListVolumesRequest.getDefaultInstance()))
.setResponseMarshaller(
ProtoUtils.marshaller(ListVolumesResponse.getDefaultInstance()))
@@ -169,7 +162,7 @@ public class GrpcNetAppStub extends NetAppStub {
private static final MethodDescriptor getVolumeMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/GetVolume")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/GetVolume")
.setRequestMarshaller(ProtoUtils.marshaller(GetVolumeRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Volume.getDefaultInstance()))
.build();
@@ -178,7 +171,7 @@ public class GrpcNetAppStub extends NetAppStub {
createVolumeMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/CreateVolume")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/CreateVolume")
.setRequestMarshaller(ProtoUtils.marshaller(CreateVolumeRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
.build();
@@ -187,7 +180,7 @@ public class GrpcNetAppStub extends NetAppStub {
updateVolumeMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/UpdateVolume")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/UpdateVolume")
.setRequestMarshaller(ProtoUtils.marshaller(UpdateVolumeRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
.build();
@@ -196,7 +189,7 @@ public class GrpcNetAppStub extends NetAppStub {
deleteVolumeMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/DeleteVolume")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/DeleteVolume")
.setRequestMarshaller(ProtoUtils.marshaller(DeleteVolumeRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
.build();
@@ -205,7 +198,7 @@ public class GrpcNetAppStub extends NetAppStub {
revertVolumeMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/RevertVolume")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/RevertVolume")
.setRequestMarshaller(ProtoUtils.marshaller(RevertVolumeRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
.build();
@@ -214,7 +207,7 @@ public class GrpcNetAppStub extends NetAppStub {
listSnapshotsMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ListSnapshots")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ListSnapshots")
.setRequestMarshaller(
ProtoUtils.marshaller(ListSnapshotsRequest.getDefaultInstance()))
.setResponseMarshaller(
@@ -224,7 +217,7 @@ public class GrpcNetAppStub extends NetAppStub {
private static final MethodDescriptor getSnapshotMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/GetSnapshot")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/GetSnapshot")
.setRequestMarshaller(ProtoUtils.marshaller(GetSnapshotRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Snapshot.getDefaultInstance()))
.build();
@@ -233,7 +226,7 @@ public class GrpcNetAppStub extends NetAppStub {
createSnapshotMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/CreateSnapshot")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/CreateSnapshot")
.setRequestMarshaller(
ProtoUtils.marshaller(CreateSnapshotRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -243,7 +236,7 @@ public class GrpcNetAppStub extends NetAppStub {
deleteSnapshotMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/DeleteSnapshot")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/DeleteSnapshot")
.setRequestMarshaller(
ProtoUtils.marshaller(DeleteSnapshotRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -253,7 +246,7 @@ public class GrpcNetAppStub extends NetAppStub {
updateSnapshotMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/UpdateSnapshot")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/UpdateSnapshot")
.setRequestMarshaller(
ProtoUtils.marshaller(UpdateSnapshotRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -263,7 +256,7 @@ public class GrpcNetAppStub extends NetAppStub {
listActiveDirectoriesMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ListActiveDirectories")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ListActiveDirectories")
.setRequestMarshaller(
ProtoUtils.marshaller(ListActiveDirectoriesRequest.getDefaultInstance()))
.setResponseMarshaller(
@@ -274,7 +267,7 @@ public class GrpcNetAppStub extends NetAppStub {
getActiveDirectoryMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/GetActiveDirectory")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/GetActiveDirectory")
.setRequestMarshaller(
ProtoUtils.marshaller(GetActiveDirectoryRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(ActiveDirectory.getDefaultInstance()))
@@ -284,7 +277,7 @@ public class GrpcNetAppStub extends NetAppStub {
createActiveDirectoryMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/CreateActiveDirectory")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/CreateActiveDirectory")
.setRequestMarshaller(
ProtoUtils.marshaller(CreateActiveDirectoryRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -294,7 +287,7 @@ public class GrpcNetAppStub extends NetAppStub {
updateActiveDirectoryMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/UpdateActiveDirectory")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/UpdateActiveDirectory")
.setRequestMarshaller(
ProtoUtils.marshaller(UpdateActiveDirectoryRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -304,7 +297,7 @@ public class GrpcNetAppStub extends NetAppStub {
deleteActiveDirectoryMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/DeleteActiveDirectory")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/DeleteActiveDirectory")
.setRequestMarshaller(
ProtoUtils.marshaller(DeleteActiveDirectoryRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -314,7 +307,7 @@ public class GrpcNetAppStub extends NetAppStub {
listKmsConfigsMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ListKmsConfigs")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ListKmsConfigs")
.setRequestMarshaller(
ProtoUtils.marshaller(ListKmsConfigsRequest.getDefaultInstance()))
.setResponseMarshaller(
@@ -325,7 +318,7 @@ public class GrpcNetAppStub extends NetAppStub {
createKmsConfigMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/CreateKmsConfig")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/CreateKmsConfig")
.setRequestMarshaller(
ProtoUtils.marshaller(CreateKmsConfigRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -335,7 +328,7 @@ public class GrpcNetAppStub extends NetAppStub {
getKmsConfigMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/GetKmsConfig")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/GetKmsConfig")
.setRequestMarshaller(ProtoUtils.marshaller(GetKmsConfigRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(KmsConfig.getDefaultInstance()))
.build();
@@ -344,7 +337,7 @@ public class GrpcNetAppStub extends NetAppStub {
updateKmsConfigMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/UpdateKmsConfig")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/UpdateKmsConfig")
.setRequestMarshaller(
ProtoUtils.marshaller(UpdateKmsConfigRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -354,7 +347,7 @@ public class GrpcNetAppStub extends NetAppStub {
encryptVolumesMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/EncryptVolumes")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/EncryptVolumes")
.setRequestMarshaller(
ProtoUtils.marshaller(EncryptVolumesRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -364,7 +357,7 @@ public class GrpcNetAppStub extends NetAppStub {
verifyKmsConfigMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/VerifyKmsConfig")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/VerifyKmsConfig")
.setRequestMarshaller(
ProtoUtils.marshaller(VerifyKmsConfigRequest.getDefaultInstance()))
.setResponseMarshaller(
@@ -375,7 +368,7 @@ public class GrpcNetAppStub extends NetAppStub {
deleteKmsConfigMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/DeleteKmsConfig")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/DeleteKmsConfig")
.setRequestMarshaller(
ProtoUtils.marshaller(DeleteKmsConfigRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -385,7 +378,7 @@ public class GrpcNetAppStub extends NetAppStub {
listReplicationsMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ListReplications")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ListReplications")
.setRequestMarshaller(
ProtoUtils.marshaller(ListReplicationsRequest.getDefaultInstance()))
.setResponseMarshaller(
@@ -396,7 +389,7 @@ public class GrpcNetAppStub extends NetAppStub {
getReplicationMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/GetReplication")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/GetReplication")
.setRequestMarshaller(
ProtoUtils.marshaller(GetReplicationRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Replication.getDefaultInstance()))
@@ -406,7 +399,7 @@ public class GrpcNetAppStub extends NetAppStub {
createReplicationMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/CreateReplication")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/CreateReplication")
.setRequestMarshaller(
ProtoUtils.marshaller(CreateReplicationRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -416,7 +409,7 @@ public class GrpcNetAppStub extends NetAppStub {
deleteReplicationMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/DeleteReplication")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/DeleteReplication")
.setRequestMarshaller(
ProtoUtils.marshaller(DeleteReplicationRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -426,7 +419,7 @@ public class GrpcNetAppStub extends NetAppStub {
updateReplicationMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/UpdateReplication")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/UpdateReplication")
.setRequestMarshaller(
ProtoUtils.marshaller(UpdateReplicationRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -436,7 +429,7 @@ public class GrpcNetAppStub extends NetAppStub {
stopReplicationMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/StopReplication")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/StopReplication")
.setRequestMarshaller(
ProtoUtils.marshaller(StopReplicationRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -446,7 +439,7 @@ public class GrpcNetAppStub extends NetAppStub {
resumeReplicationMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ResumeReplication")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ResumeReplication")
.setRequestMarshaller(
ProtoUtils.marshaller(ResumeReplicationRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
@@ -456,31 +449,12 @@ public class GrpcNetAppStub extends NetAppStub {
reverseReplicationDirectionMethodDescriptor =
MethodDescriptor.newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ReverseReplicationDirection")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ReverseReplicationDirection")
.setRequestMarshaller(
ProtoUtils.marshaller(ReverseReplicationDirectionRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
.build();
- private static final MethodDescriptor
- listLocationsMethodDescriptor =
- MethodDescriptor.newBuilder()
- .setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.location.Locations/ListLocations")
- .setRequestMarshaller(
- ProtoUtils.marshaller(ListLocationsRequest.getDefaultInstance()))
- .setResponseMarshaller(
- ProtoUtils.marshaller(ListLocationsResponse.getDefaultInstance()))
- .build();
-
- private static final MethodDescriptor getLocationMethodDescriptor =
- MethodDescriptor.newBuilder()
- .setType(MethodDescriptor.MethodType.UNARY)
- .setFullMethodName("google.cloud.location.Locations/GetLocation")
- .setRequestMarshaller(ProtoUtils.marshaller(GetLocationRequest.getDefaultInstance()))
- .setResponseMarshaller(ProtoUtils.marshaller(Location.getDefaultInstance()))
- .build();
-
private final UnaryCallable
listStoragePoolsCallable;
private final UnaryCallable
@@ -585,10 +559,6 @@ public class GrpcNetAppStub extends NetAppStub {
private final OperationCallable<
ReverseReplicationDirectionRequest, Replication, OperationMetadata>
reverseReplicationDirectionOperationCallable;
- private final UnaryCallable listLocationsCallable;
- private final UnaryCallable
- listLocationsPagedCallable;
- private final UnaryCallable getLocationCallable;
private final BackgroundResource backgroundResources;
private final GrpcOperationsStub operationsStub;
@@ -1004,26 +974,6 @@ protected GrpcNetAppStub(
return builder.build();
})
.build();
- GrpcCallSettings listLocationsTransportSettings =
- GrpcCallSettings.newBuilder()
- .setMethodDescriptor(listLocationsMethodDescriptor)
- .setParamsExtractor(
- request -> {
- RequestParamsBuilder builder = RequestParamsBuilder.create();
- builder.add("name", String.valueOf(request.getName()));
- return builder.build();
- })
- .build();
- GrpcCallSettings getLocationTransportSettings =
- GrpcCallSettings.newBuilder()
- .setMethodDescriptor(getLocationMethodDescriptor)
- .setParamsExtractor(
- request -> {
- RequestParamsBuilder builder = RequestParamsBuilder.create();
- builder.add("name", String.valueOf(request.getName()));
- return builder.build();
- })
- .build();
this.listStoragePoolsCallable =
callableFactory.createUnaryCallable(
@@ -1317,15 +1267,6 @@ protected GrpcNetAppStub(
settings.reverseReplicationDirectionOperationSettings(),
clientContext,
operationsStub);
- this.listLocationsCallable =
- callableFactory.createUnaryCallable(
- listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
- this.listLocationsPagedCallable =
- callableFactory.createPagedCallable(
- listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
- this.getLocationCallable =
- callableFactory.createUnaryCallable(
- getLocationTransportSettings, settings.getLocationSettings(), clientContext);
this.backgroundResources =
new BackgroundResourceAggregation(clientContext.getBackgroundResources());
@@ -1692,22 +1633,6 @@ public UnaryCallable resumeReplicationCalla
return reverseReplicationDirectionOperationCallable;
}
- @Override
- public UnaryCallable listLocationsCallable() {
- return listLocationsCallable;
- }
-
- @Override
- public UnaryCallable
- listLocationsPagedCallable() {
- return listLocationsPagedCallable;
- }
-
- @Override
- public UnaryCallable getLocationCallable() {
- return getLocationCallable;
- }
-
@Override
public final void close() {
try {
diff --git a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/HttpJsonNetAppCallableFactory.java b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/HttpJsonNetAppCallableFactory.java
similarity index 99%
rename from java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/HttpJsonNetAppCallableFactory.java
rename to java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/HttpJsonNetAppCallableFactory.java
index 48e83e27da84..ba9abce70b7e 100644
--- a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/HttpJsonNetAppCallableFactory.java
+++ b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/HttpJsonNetAppCallableFactory.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.google.cloud.netapp.v1beta1.stub;
+package com.google.cloud.netapp.v1.stub;
import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
@@ -40,8 +40,8 @@
*
* This class is for advanced usage.
*/
-@BetaApi
@Generated("by gapic-generator-java")
+@BetaApi
public class HttpJsonNetAppCallableFactory
implements HttpJsonStubCallableFactory {
diff --git a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/HttpJsonNetAppStub.java b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/HttpJsonNetAppStub.java
similarity index 88%
rename from java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/HttpJsonNetAppStub.java
rename to java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/HttpJsonNetAppStub.java
index 33f646143cf8..884fe55376f7 100644
--- a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1beta1/stub/HttpJsonNetAppStub.java
+++ b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/HttpJsonNetAppStub.java
@@ -14,17 +14,15 @@
* limitations under the License.
*/
-package com.google.cloud.netapp.v1beta1.stub;
+package com.google.cloud.netapp.v1.stub;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListActiveDirectoriesPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListKmsConfigsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListLocationsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListReplicationsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListSnapshotsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListStoragePoolsPagedResponse;
-import static com.google.cloud.netapp.v1beta1.NetAppClient.ListVolumesPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListActiveDirectoriesPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListKmsConfigsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListReplicationsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListSnapshotsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListStoragePoolsPagedResponse;
+import static com.google.cloud.netapp.v1.NetAppClient.ListVolumesPagedResponse;
-import com.google.api.HttpRule;
import com.google.api.core.BetaApi;
import com.google.api.core.InternalApi;
import com.google.api.gax.core.BackgroundResource;
@@ -41,61 +39,56 @@
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.RequestParamsBuilder;
import com.google.api.gax.rpc.UnaryCallable;
-import com.google.cloud.location.GetLocationRequest;
-import com.google.cloud.location.ListLocationsRequest;
-import com.google.cloud.location.ListLocationsResponse;
-import com.google.cloud.location.Location;
-import com.google.cloud.netapp.v1beta1.ActiveDirectory;
-import com.google.cloud.netapp.v1beta1.CreateActiveDirectoryRequest;
-import com.google.cloud.netapp.v1beta1.CreateKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.CreateReplicationRequest;
-import com.google.cloud.netapp.v1beta1.CreateSnapshotRequest;
-import com.google.cloud.netapp.v1beta1.CreateStoragePoolRequest;
-import com.google.cloud.netapp.v1beta1.CreateVolumeRequest;
-import com.google.cloud.netapp.v1beta1.DeleteActiveDirectoryRequest;
-import com.google.cloud.netapp.v1beta1.DeleteKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.DeleteReplicationRequest;
-import com.google.cloud.netapp.v1beta1.DeleteSnapshotRequest;
-import com.google.cloud.netapp.v1beta1.DeleteStoragePoolRequest;
-import com.google.cloud.netapp.v1beta1.DeleteVolumeRequest;
-import com.google.cloud.netapp.v1beta1.EncryptVolumesRequest;
-import com.google.cloud.netapp.v1beta1.GetActiveDirectoryRequest;
-import com.google.cloud.netapp.v1beta1.GetKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.GetReplicationRequest;
-import com.google.cloud.netapp.v1beta1.GetSnapshotRequest;
-import com.google.cloud.netapp.v1beta1.GetStoragePoolRequest;
-import com.google.cloud.netapp.v1beta1.GetVolumeRequest;
-import com.google.cloud.netapp.v1beta1.KmsConfig;
-import com.google.cloud.netapp.v1beta1.ListActiveDirectoriesRequest;
-import com.google.cloud.netapp.v1beta1.ListActiveDirectoriesResponse;
-import com.google.cloud.netapp.v1beta1.ListKmsConfigsRequest;
-import com.google.cloud.netapp.v1beta1.ListKmsConfigsResponse;
-import com.google.cloud.netapp.v1beta1.ListReplicationsRequest;
-import com.google.cloud.netapp.v1beta1.ListReplicationsResponse;
-import com.google.cloud.netapp.v1beta1.ListSnapshotsRequest;
-import com.google.cloud.netapp.v1beta1.ListSnapshotsResponse;
-import com.google.cloud.netapp.v1beta1.ListStoragePoolsRequest;
-import com.google.cloud.netapp.v1beta1.ListStoragePoolsResponse;
-import com.google.cloud.netapp.v1beta1.ListVolumesRequest;
-import com.google.cloud.netapp.v1beta1.ListVolumesResponse;
-import com.google.cloud.netapp.v1beta1.OperationMetadata;
-import com.google.cloud.netapp.v1beta1.Replication;
-import com.google.cloud.netapp.v1beta1.ResumeReplicationRequest;
-import com.google.cloud.netapp.v1beta1.ReverseReplicationDirectionRequest;
-import com.google.cloud.netapp.v1beta1.RevertVolumeRequest;
-import com.google.cloud.netapp.v1beta1.Snapshot;
-import com.google.cloud.netapp.v1beta1.StopReplicationRequest;
-import com.google.cloud.netapp.v1beta1.StoragePool;
-import com.google.cloud.netapp.v1beta1.UpdateActiveDirectoryRequest;
-import com.google.cloud.netapp.v1beta1.UpdateKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.UpdateReplicationRequest;
-import com.google.cloud.netapp.v1beta1.UpdateSnapshotRequest;
-import com.google.cloud.netapp.v1beta1.UpdateStoragePoolRequest;
-import com.google.cloud.netapp.v1beta1.UpdateVolumeRequest;
-import com.google.cloud.netapp.v1beta1.VerifyKmsConfigRequest;
-import com.google.cloud.netapp.v1beta1.VerifyKmsConfigResponse;
-import com.google.cloud.netapp.v1beta1.Volume;
-import com.google.common.collect.ImmutableMap;
+import com.google.cloud.netapp.v1.ActiveDirectory;
+import com.google.cloud.netapp.v1.CreateActiveDirectoryRequest;
+import com.google.cloud.netapp.v1.CreateKmsConfigRequest;
+import com.google.cloud.netapp.v1.CreateReplicationRequest;
+import com.google.cloud.netapp.v1.CreateSnapshotRequest;
+import com.google.cloud.netapp.v1.CreateStoragePoolRequest;
+import com.google.cloud.netapp.v1.CreateVolumeRequest;
+import com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest;
+import com.google.cloud.netapp.v1.DeleteKmsConfigRequest;
+import com.google.cloud.netapp.v1.DeleteReplicationRequest;
+import com.google.cloud.netapp.v1.DeleteSnapshotRequest;
+import com.google.cloud.netapp.v1.DeleteStoragePoolRequest;
+import com.google.cloud.netapp.v1.DeleteVolumeRequest;
+import com.google.cloud.netapp.v1.EncryptVolumesRequest;
+import com.google.cloud.netapp.v1.GetActiveDirectoryRequest;
+import com.google.cloud.netapp.v1.GetKmsConfigRequest;
+import com.google.cloud.netapp.v1.GetReplicationRequest;
+import com.google.cloud.netapp.v1.GetSnapshotRequest;
+import com.google.cloud.netapp.v1.GetStoragePoolRequest;
+import com.google.cloud.netapp.v1.GetVolumeRequest;
+import com.google.cloud.netapp.v1.KmsConfig;
+import com.google.cloud.netapp.v1.ListActiveDirectoriesRequest;
+import com.google.cloud.netapp.v1.ListActiveDirectoriesResponse;
+import com.google.cloud.netapp.v1.ListKmsConfigsRequest;
+import com.google.cloud.netapp.v1.ListKmsConfigsResponse;
+import com.google.cloud.netapp.v1.ListReplicationsRequest;
+import com.google.cloud.netapp.v1.ListReplicationsResponse;
+import com.google.cloud.netapp.v1.ListSnapshotsRequest;
+import com.google.cloud.netapp.v1.ListSnapshotsResponse;
+import com.google.cloud.netapp.v1.ListStoragePoolsRequest;
+import com.google.cloud.netapp.v1.ListStoragePoolsResponse;
+import com.google.cloud.netapp.v1.ListVolumesRequest;
+import com.google.cloud.netapp.v1.ListVolumesResponse;
+import com.google.cloud.netapp.v1.OperationMetadata;
+import com.google.cloud.netapp.v1.Replication;
+import com.google.cloud.netapp.v1.ResumeReplicationRequest;
+import com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest;
+import com.google.cloud.netapp.v1.RevertVolumeRequest;
+import com.google.cloud.netapp.v1.Snapshot;
+import com.google.cloud.netapp.v1.StopReplicationRequest;
+import com.google.cloud.netapp.v1.StoragePool;
+import com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest;
+import com.google.cloud.netapp.v1.UpdateKmsConfigRequest;
+import com.google.cloud.netapp.v1.UpdateReplicationRequest;
+import com.google.cloud.netapp.v1.UpdateSnapshotRequest;
+import com.google.cloud.netapp.v1.UpdateStoragePoolRequest;
+import com.google.cloud.netapp.v1.UpdateVolumeRequest;
+import com.google.cloud.netapp.v1.VerifyKmsConfigRequest;
+import com.google.cloud.netapp.v1.VerifyKmsConfigResponse;
+import com.google.cloud.netapp.v1.Volume;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import com.google.protobuf.TypeRegistry;
@@ -113,31 +106,31 @@
*
* This class is for advanced usage and reflects the underlying API directly.
*/
-@BetaApi
@Generated("by gapic-generator-java")
+@BetaApi
public class HttpJsonNetAppStub extends NetAppStub {
private static final TypeRegistry typeRegistry =
TypeRegistry.newBuilder()
+ .add(StoragePool.getDescriptor())
.add(Empty.getDescriptor())
.add(OperationMetadata.getDescriptor())
- .add(StoragePool.getDescriptor())
+ .add(Volume.getDescriptor())
.add(KmsConfig.getDescriptor())
.add(Snapshot.getDescriptor())
.add(ActiveDirectory.getDescriptor())
.add(Replication.getDescriptor())
- .add(Volume.getDescriptor())
.build();
private static final ApiMethodDescriptor
listStoragePoolsMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ListStoragePools")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ListStoragePools")
.setHttpMethod("GET")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{parent=projects/*/locations/*}/storagePools",
+ "/v1/{parent=projects/*/locations/*}/storagePools",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer serializer =
@@ -169,13 +162,13 @@ public class HttpJsonNetAppStub extends NetAppStub {
private static final ApiMethodDescriptor
createStoragePoolMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/CreateStoragePool")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/CreateStoragePool")
.setHttpMethod("POST")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{parent=projects/*/locations/*}/storagePools",
+ "/v1/{parent=projects/*/locations/*}/storagePools",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer serializer =
@@ -211,13 +204,13 @@ public class HttpJsonNetAppStub extends NetAppStub {
private static final ApiMethodDescriptor
getStoragePoolMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/GetStoragePool")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/GetStoragePool")
.setHttpMethod("GET")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{name=projects/*/locations/*/storagePools/*}",
+ "/v1/{name=projects/*/locations/*/storagePools/*}",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer serializer =
@@ -245,13 +238,13 @@ public class HttpJsonNetAppStub extends NetAppStub {
private static final ApiMethodDescriptor
updateStoragePoolMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/UpdateStoragePool")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/UpdateStoragePool")
.setHttpMethod("PATCH")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{storagePool.name=projects/*/locations/*/storagePools/*}",
+ "/v1/{storagePool.name=projects/*/locations/*/storagePools/*}",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer serializer =
@@ -287,13 +280,13 @@ public class HttpJsonNetAppStub extends NetAppStub {
private static final ApiMethodDescriptor
deleteStoragePoolMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/DeleteStoragePool")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/DeleteStoragePool")
.setHttpMethod("DELETE")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{name=projects/*/locations/*/storagePools/*}",
+ "/v1/{name=projects/*/locations/*/storagePools/*}",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer serializer =
@@ -324,13 +317,13 @@ public class HttpJsonNetAppStub extends NetAppStub {
private static final ApiMethodDescriptor
listVolumesMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/ListVolumes")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/ListVolumes")
.setHttpMethod("GET")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{parent=projects/*/locations/*}/volumes",
+ "/v1/{parent=projects/*/locations/*}/volumes",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer serializer =
@@ -361,13 +354,13 @@ public class HttpJsonNetAppStub extends NetAppStub {
private static final ApiMethodDescriptor getVolumeMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/GetVolume")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/GetVolume")
.setHttpMethod("GET")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{name=projects/*/locations/*/volumes/*}",
+ "/v1/{name=projects/*/locations/*/volumes/*}",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer serializer =
@@ -395,13 +388,13 @@ public class HttpJsonNetAppStub extends NetAppStub {
private static final ApiMethodDescriptor
createVolumeMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/CreateVolume")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/CreateVolume")
.setHttpMethod("POST")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{parent=projects/*/locations/*}/volumes",
+ "/v1/{parent=projects/*/locations/*}/volumes",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer serializer =
@@ -436,13 +429,13 @@ public class HttpJsonNetAppStub extends NetAppStub {
private static final ApiMethodDescriptor
updateVolumeMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/UpdateVolume")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/UpdateVolume")
.setHttpMethod("PATCH")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{volume.name=projects/*/locations/*/volumes/*}",
+ "/v1/{volume.name=projects/*/locations/*/volumes/*}",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer serializer =
@@ -478,13 +471,13 @@ public class HttpJsonNetAppStub extends NetAppStub {
private static final ApiMethodDescriptor
deleteVolumeMethodDescriptor =
ApiMethodDescriptor.newBuilder()
- .setFullMethodName("google.cloud.netapp.v1beta1.NetApp/DeleteVolume")
+ .setFullMethodName("google.cloud.netapp.v1.NetApp/DeleteVolume")
.setHttpMethod("DELETE")
.setType(ApiMethodDescriptor.MethodType.UNARY)
.setRequestFormatter(
ProtoMessageRequestFormatter.newBuilder()
.setPath(
- "/v1beta1/{name=projects/*/locations/*/volumes/*}",
+ "/v1/{name=projects/*/locations/*/volumes/*}",
request -> {
Map fields = new HashMap<>();
ProtoRestSerializer